/* ============================================
  HOSTING CHRONICLE - PROFESSIONAL REVIEW DESIGN
  WebsitePlanet-inspired comparison UX
  Clean | Trustworthy | Readable | Conversion-Focused
  ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Colors - Editorial comparison palette */
  --primary: #3157f6;
  --primary-dark: #2442c2;
  --primary-light: #eef3ff;
  --secondary: #0f9fa8;
  
  --accent-green: #00a76f;
  --accent-orange: #ffb000;
  --accent-orange-dark: #d88700;
  --accent-red: #dc2626;
  
  --text-dark: #122033;
  --text-body: #42526b;
  --text-light: #66758d;
  --text-muted: #8a97ab;
  
  --bg-white: #ffffff;
  --bg-light: #f5f7fb;
  --bg-soft: #eef3ff;
  --bg-border: #dce3ee;
  --bg-card: #ffffff;
  --bg-navy: #111f3d;

  /* Compatibility aliases used by older pages/scripts */
  --bg-secondary: var(--bg-light);
  --glass-border: var(--bg-border);
  --text-secondary: var(--text-light);
  --text-tertiary: var(--text-muted);
  --purple-400: var(--primary);
  --emerald-500: var(--accent-green);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  
  /* Shadows - Soft & Natural */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 8px 18px rgb(17 31 61 / 0.08);
  --shadow-lg: 0 14px 34px rgb(17 31 61 / 0.12);
  --shadow-xl: 0 24px 60px rgb(17 31 61 / 0.16);
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Layout */
  --max-width: 1180px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 8px;
}

/* ============================================
   BASE STYLES
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

:focus-visible {
  outline: 3px solid rgba(49, 87, 246, 0.28);
  outline-offset: 3px;
}

::selection {
  background: rgba(37, 99, 235, 0.15);
  color: var(--text-dark);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(49, 87, 246, 0.18);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  border: 1px solid var(--bg-border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-affiliate {
  background: var(--accent-orange);
  color: #1b2430;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(255, 176, 0, 0.22);
}

.btn-affiliate:hover {
  background: var(--accent-orange-dark);
  color: #111827;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--bg-border);
  padding: var(--space-3) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.navbar.scrolled {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(18, 32, 51, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo:hover {
  color: var(--text-dark);
}

.logo span {
  color: var(--primary);
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--bg-navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.925rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: white !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: var(--space-2);
}

/* ============================================
   HERO SECTION - CLEAN & PROFESSIONAL
   ============================================ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(49, 87, 246, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(49, 87, 246, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 84%);
  background-size: 44px 44px, 44px 44px, auto;
  padding: var(--space-20) 0 var(--space-16);
}

.hero-compact {
  padding: var(--space-16) 0;
}

.hero-centered .container {
  display: block;
}

.hero-centered .hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.author-box-spaced {
  margin-bottom: var(--space-6);
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: var(--space-12);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: #ffffff;
  border: 1px solid rgba(49, 87, 246, 0.18);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-5);
}

.hero h1 {
  max-width: 660px;
  font-size: 3.45rem;
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: var(--space-5);
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  max-width: 620px;
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  max-width: 620px;
  margin-top: var(--space-8);
}

.hero-proof-item {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.hero-proof-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero-proof-label {
  display: block;
  margin-top: var(--space-1);
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* Hero Right Side - Simple Illustration */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: var(--bg-white);
  border: 1px solid rgba(49, 87, 246, 0.16);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 420px;
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-orange));
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--bg-border);
}

.hero-card-badge {
  width: 48px;
  height: 48px;
  background: var(--bg-navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hero-card-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.125rem;
}

.hero-card-subtitle {
  font-size: 0.875rem;
  color: var(--text-light);
}

.hero-provider-card {
  background: var(--bg-light);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}

.hero-provider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.hero-provider-name {
  font-weight: 800;
  color: var(--text-dark);
}

.hero-rating-row {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-3);
}

.hero-stars {
  color: var(--accent-orange);
}

.hero-rating-note,
.price-period {
  font-size: 0.875rem;
  color: var(--text-light);
}

.hero-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.hero-price-row strong {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-green);
}

/* Stats in Hero Card */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.hero-stat {
  text-align: center;
  padding: var(--space-3);
  background: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: var(--space-1);
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--bg-border);
  padding: var(--space-4) 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-body);
  font-weight: 600;
}

.trust-item svg {
  color: var(--accent-green);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: var(--space-16) 0;
}

.section-alt {
  background: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}

.section-label {
  display: inline-block;
  padding: var(--space-1) var(--space-4);
  background: var(--primary-light);
  border: 1px solid rgba(49, 87, 246, 0.12);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
  letter-spacing: 0;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   REVIEW CARDS - CLEAN DESIGN
   ============================================ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(18, 32, 51, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
  border-color: rgba(49, 87, 246, 0.38);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.review-card.featured {
  border-color: var(--accent-orange);
  box-shadow: 0 18px 42px rgba(255, 176, 0, 0.14);
  position: relative;
}

.review-card.featured::before {
  content: "Editor's Pick";
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--accent-orange);
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.card-header {
  padding: var(--space-6) var(--space-6) var(--space-5);
  border-bottom: 1px solid var(--bg-border);
}

.card-body {
  padding: var(--space-6);
}

.card-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--bg-border);
  display: flex;
  gap: var(--space-3);
  background: linear-gradient(180deg, #ffffff, #f8faff);
}

.card-footer .btn {
  flex: 1;
}

.provider-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
}

.provider-logo-sm {
  width: 44px;
  height: 44px;
  font-size: 1.125rem;
}

.provider-logo-lg {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
}

.provider-logo-hostinger {
  background: linear-gradient(135deg, #673de6, #8f5cf7);
}

.provider-logo-bluehost {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}

.provider-logo-siteground {
  background: linear-gradient(135deg, #059669, #10b981);
}

.provider-logo-a2 {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.provider-logo-dreamhost {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.provider-logo-inmotion {
  background: linear-gradient(135deg, #ea580c, #fb923c);
}

.provider-card-heading,
.provider-card-heading-sm {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.provider-card-heading-sm {
  gap: var(--space-3);
}

.provider-title,
.provider-title-sm {
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}

.provider-title {
  font-size: 1.375rem;
}

.provider-title-sm {
  font-size: 1.0625rem;
}

.review-summary {
  color: var(--text-body);
  margin-bottom: var(--space-4);
}

.review-summary-sm {
  color: var(--text-body);
  font-size: 0.875rem;
  margin-bottom: var(--space-4);
}

.feature-list {
  list-style: none;
  margin-bottom: var(--space-6);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-body);
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.checkmark {
  color: var(--accent-green);
  font-weight: 800;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.price-current {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-green);
}

.price-current-sm {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-green);
}

.price-old {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: line-through;
}

.rating-spaced {
  margin-bottom: var(--space-4);
}

.section-action {
  text-align: center;
  margin-top: var(--space-12);
}

.signup-form {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
}

.signup-input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.25rem;
  border: 0;
  border-radius: var(--radius-md);
  font: inherit;
}

.cta-section .signup-submit {
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 800;
}

/* ============================================
   STAR RATING
   ============================================ */

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.star {
  color: var(--accent-orange);
  font-size: 1.05rem;
}

.star.empty {
  color: var(--bg-border);
}

.rating-value {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.125rem;
}

.rating-count {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ============================================
   BADGES
   ============================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-orange);
}

/* ============================================
   METHODOLOGY CARDS
   ============================================ */

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-6);
}

.mission-grid {
  margin: var(--space-8) 0;
}

.method-card {
  padding: var(--space-6);
}

.method-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: var(--space-5);
}

.method-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}

.method-card p {
  color: var(--text-body);
  font-size: 0.9rem;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg-border);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison-table thead {
  background: var(--bg-navy);
}

.comparison-table th {
  padding: var(--space-4) var(--space-6);
  text-align: left;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 0;
  white-space: nowrap;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
}

.comparison-table th:first-child {
  z-index: 2;
  background: var(--bg-navy);
}

.comparison-table td {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--bg-border);
  color: var(--text-body);
  background: #ffffff;
}

.comparison-table tbody tr:nth-child(even) td {
  background: #f9fbff;
}

.comparison-table tbody tr:hover {
  background: transparent;
}

.comparison-table tbody tr:hover td {
  background: var(--primary-light);
}

.comparison-table .provider-name {
  font-weight: 600;
  color: var(--text-dark);
  min-width: 150px;
}

.comparison-table .price {
  font-weight: 800;
  color: var(--accent-green);
  font-size: 1.125rem;
}

.comparison-table .check {
  color: var(--accent-green);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--accent-red);
}

/* ============================================
   QUICK ANSWER BOX
   ============================================ */

.quick-answer {
  background: #ffffff;
  border: 1px solid rgba(49, 87, 246, 0.18);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-md);
}

.quick-answer h3 {
  color: var(--primary-dark);
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.quick-answer p {
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  border-left: 3px solid;
  margin-bottom: var(--space-6);
}

.alert-info {
  background: #eff6ff;
  border-color: var(--primary);
  color: var(--primary-dark);
}

.alert-success {
  background: #ecfdf5;
  border-color: var(--accent-green);
  color: #047857;
}

.alert-warning {
  background: #fffbeb;
  border-color: var(--accent-orange);
  color: #b45309;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--bg-border);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  width: 100%;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-light);
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--space-6) var(--space-6);
}

.faq-answer p {
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    var(--bg-navy);
  background-size: 42px 42px, 42px 42px, auto;
  color: white;
  padding: var(--space-16) 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: #0d182b;
  color: var(--text-muted);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand .logo {
  color: white;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.footer-column h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: var(--space-4);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--space-2);
}

.footer-column a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: 0.875rem;
}

/* ============================================
   AUTHOR BOX
   ============================================ */

.author-box {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--bg-light);
  border: 1.5px solid var(--bg-border);
  border-radius: var(--radius-lg);
  margin-top: var(--space-12);
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--primary);
}

.author-info h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--text-dark);
}

.author-role {
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.author-info p {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================
   AFFILIATE DISCLOSURE
   ============================================ */

.affiliate-disclosure {
  background: var(--bg-light);
  border: 1.5px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: var(--space-8);
}

.footer-disclosure {
  margin-top: var(--space-4);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

.scroll-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* ============================================
   READING PROGRESS
   ============================================ */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary);
  z-index: 1001;
  transition: width 0.1s linear;
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--bg-border);
  box-shadow: 0 -10px 30px rgba(18, 32, 51, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.cookie-banner-text {
  font-size: 0.875rem;
  color: var(--text-light);
}

.cookie-banner-link {
  color: var(--primary);
  font-weight: 600;
}

.cookie-banner-button {
  min-height: 38px;
  padding: 0.5rem 1.35rem;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1,
  .hero p,
  .hero-proof {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-visual {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }

  .navbar .container {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--bg-border);
    padding: var(--space-4);
    flex-direction: column;
    gap: var(--space-4);
    align-items: stretch;
    box-shadow: var(--shadow-lg);
  }

  .nav-links a {
    display: block;
    padding: var(--space-2) 0;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero {
    padding: var(--space-12) 0;
  }
  
  .hero h1 {
    font-size: 2.15rem;
    line-height: 1.14;
  }

  .hero p,
  .section-header p,
  .cta-section p {
    font-size: 1rem;
  }

  .hero-buttons,
  .card-footer {
    flex-direction: column;
  }

  .hero-buttons .btn,
  .card-footer .btn {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  .section-header h2,
  .cta-section h2 {
    font-size: 1.75rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  
  .comparison-table {
    font-size: 0.875rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: var(--space-3) var(--space-4);
  }

  .quick-answer {
    padding: var(--space-5);
  }

  .trust-bar .container {
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--space-3);
  }
}

/* ============================================
   WEBSITEPLANET-STYLE COMPONENTS (v2)
   ============================================ */

/* --- Tabbed Hero --- */
.hero-v2 {
  background: linear-gradient(180deg,#eef3ff 0%,#f8faff 60%,#ffffff 100%);
  padding: var(--space-16) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}
.hero-v2 .container { display: block; max-width: 1200px; }
.hero-v2-eyebrow {
  display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center;
  margin-bottom: var(--space-5);
}
.hero-v2-tab {
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--bg-border);
  font-weight: 600;
  color: var(--text-body);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all .2s ease;
}
.hero-v2-tab:hover { color: var(--primary); border-color: var(--primary); }
.hero-v2-tab.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(49,87,246,.25);
}
.hero-v2-title {
  text-align: center;
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto var(--space-4);
}
.hero-v2-title span { color: var(--primary); }
.hero-v2-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}
.hero-v2-quicklinks {
  display: flex; gap: var(--space-3); flex-wrap: wrap;
  justify-content: center; align-items: center;
  margin-bottom: var(--space-10);
}
.hero-v2-quicklinks .label {
  font-weight: 700; color: var(--text-dark); margin-right: var(--space-2);
}
.hero-v2-quicklinks a {
  padding: 0.45rem 1rem;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--bg-border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
}
.hero-v2-quicklinks a:hover { border-color: var(--primary); color: var(--primary); }
.hero-v2-cta {
  display: flex; gap: var(--space-4); justify-content: center;
  flex-wrap: wrap; margin-bottom: var(--space-10);
}
.hero-v2-panel { display: none; }
.hero-v2-panel.active {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  background: #fff;
  border: 1px solid var(--bg-border);
  border-radius: 16px;
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}
.hero-v2-panel-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: linear-gradient(135deg,#dde7ff,#b9c9ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
}
.hero-v2-panel-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}
.hero-v2-panel-content p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

/* --- Press Strip --- */
.press-strip {
  background: #fff;
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
  padding: var(--space-8) 0;
}
.press-strip-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}
.press-logos {
  display: flex; justify-content: center; align-items: center;
  gap: var(--space-10); flex-wrap: wrap;
}
.press-logo {
  font-family: 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #8a97ab;
  opacity: .85;
  transition: opacity .2s, color .2s;
}
.press-logo:hover { opacity: 1; color: var(--text-dark); }

/* --- Category Mega Cards --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.category-card {
  background: #fff;
  border: 1px solid var(--bg-border);
  border-radius: 14px;
  padding: var(--space-8) var(--space-6);
  text-align: center;
  transition: all .25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.category-card-icon {
  width: 72px; height: 72px;
  margin: 0 auto var(--space-5);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  background: var(--primary-light);
}
.category-card-icon.green { background: rgba(0,167,111,.1); }
.category-card-icon.orange { background: rgba(255,176,0,.1); }
.category-card-icon.purple { background: rgba(124,58,237,.1); }
.category-card-icon.red { background: rgba(220,38,38,.1); }
.category-card-icon.teal { background: rgba(15,159,168,.1); }
.category-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}
.category-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* --- Listicle Cards --- */
.listicle-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.listicle-card {
  background: #fff;
  border: 1px solid var(--bg-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all .25s ease;
}
.listicle-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  color: inherit;
}
.listicle-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: #fff;
}
.listicle-thumb.bg-2 { background: linear-gradient(135deg,#7c3aed,#a855f7); }
.listicle-thumb.bg-3 { background: linear-gradient(135deg,#ea580c,#fb923c); }
.listicle-thumb.bg-4 { background: linear-gradient(135deg,#059669,#10b981); }
.listicle-body { padding: var(--space-5) var(--space-6) var(--space-6); }
.listicle-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--space-2);
}
.listicle-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}
.listicle-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: var(--space-4);
}
.listicle-readmore {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.875rem;
  margin-top: auto;
}

/* --- Free Tools Grid --- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.tool-card {
  background: #fff;
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: all .2s ease;
  text-decoration: none;
  color: inherit;
}
.tool-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.tool-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.tool-card h3, .tool-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}
.tool-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}

/* --- Authors / Trust Strip --- */
.trust-section {
  background: linear-gradient(180deg,#f5f7fb 0%,#fff 100%);
  padding: var(--space-16) 0;
}
.author-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.author-card {
  background: #fff;
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: var(--space-6) var(--space-5);
  text-align: center;
  transition: all .2s ease;
}
.author-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.author-card-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.author-card-name {
  font-weight: 800;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: var(--space-1);
}
.author-card-role {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Stats Strip --- */
.stats-strip {
  background: var(--bg-navy);
  color: #fff;
  padding: var(--space-12) 0;
}
.stats-strip h2 {
  text-align: center;
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: var(--space-3);
  color: #fff;
}
.stats-strip > .container > p {
  text-align: center;
  color: rgba(255,255,255,.75);
  max-width: 640px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-6);
  text-align: center;
}
.stat-block { padding: var(--space-4); }
.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-value span { color: var(--accent-orange); }
.stat-label {
  color: rgba(255,255,255,.7);
  font-size: 0.875rem;
}

/* --- Mega Footer --- */
.footer-mega {
  background: #0b1428;
  color: rgba(255,255,255,.72);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-mega-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer-mega-brand .logo,
.footer-mega-brand .logo:hover { color: #fff; margin-bottom: var(--space-4); }
.footer-mega-brand .logo span { color: var(--accent-orange); }
.footer-mega-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}
.footer-mega-social { display: flex; gap: var(--space-3); }
.footer-mega-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all .2s ease;
}
.footer-mega-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-mega-col h5 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}
.footer-mega-col ul { list-style: none; }
.footer-mega-col li { margin-bottom: var(--space-3); }
.footer-mega-col a {
  color: rgba(255,255,255,.7);
  font-size: 0.875rem;
  transition: color .2s ease;
}
.footer-mega-col a:hover { color: #fff; }
.footer-mega-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
}

/* --- Blog --- */
.blog-hero {
  background: linear-gradient(180deg,#eef3ff,#fff);
  padding: var(--space-16) 0 var(--space-12);
  text-align: center;
}
.blog-hero h1 {
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.blog-hero p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}
.blog-categories {
  display: flex; gap: var(--space-3); flex-wrap: wrap;
  justify-content: center; margin-top: var(--space-8);
}
.blog-category-tag {
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--bg-border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
}
.blog-category-tag.active,
.blog-category-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-10);
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--bg-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: var(--space-12);
  text-decoration: none;
  color: inherit;
  transition: all .25s ease;
}
.blog-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
.blog-featured .listicle-thumb { aspect-ratio: auto; height: 100%; min-height: 280px; font-size: 5rem; }
.blog-featured-body { padding: var(--space-10); display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: var(--space-4);
}
.blog-featured-body p { color: var(--text-light); margin-bottom: var(--space-5); line-height: 1.7; }
.blog-meta {
  display: flex; gap: var(--space-4); align-items: center;
  font-size: 0.8125rem; color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.blog-meta-author {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; color: var(--text-body);
}
.blog-meta-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.75rem; font-weight: 700;
}

/* --- Article body --- */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
}
.article-wrap h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}
.article-wrap h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: var(--space-10) 0 var(--space-4);
}
.article-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: var(--space-8) 0 var(--space-3);
}
.article-wrap p { color: var(--text-body); line-height: 1.8; margin-bottom: var(--space-5); font-size: 1.0625rem; }
.article-wrap ul, .article-wrap ol { margin: 0 0 var(--space-5) var(--space-6); }
.article-wrap li { margin-bottom: var(--space-2); color: var(--text-body); line-height: 1.7; }
.article-hero-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  margin-bottom: var(--space-8);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: #fff;
}

/* --- Section header alignment helpers --- */
.section-header.align-left { text-align: left; max-width: 760px; margin-left: 0; margin-right: auto; }
.section-header .header-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6);
  text-align: left;
}
.section-header .header-row a { font-weight: 700; white-space: nowrap; }

/* --- Mobile --- */
@media (max-width: 1024px) {
  .footer-mega-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-mega-brand { grid-column: 1 / -1; }
  .blog-featured { grid-template-columns: 1fr; }
  .hero-v2-panel.active { grid-template-columns: 1fr; padding: var(--space-6); }
}
@media (max-width: 768px) {
  .hero-v2-title { font-size: 2.15rem; }
  .hero-v2-subtitle { font-size: 1rem; }
  .footer-mega-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip h2 { font-size: 1.5rem; }
  .stat-value { font-size: 2rem; }
  .blog-hero h1 { font-size: 2rem; }
  .article-wrap h1 { font-size: 1.85rem; }
  .blog-featured-body { padding: var(--space-6); }
}

.blog-meta-byline{margin-bottom:2rem}

/* ===== Tool app components ===== */
.tool-app{max-width:980px;margin:0 auto}
.tool-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:1.5rem;background:#fff;border:1px solid #e6e8ef;border-radius:14px;margin-bottom:1.5rem;box-shadow:0 4px 14px rgba(17,31,61,.04)}
.tool-controls label{display:flex;flex-direction:column;gap:.4rem;font-size:.85rem;font-weight:600;color:#5b6478}
.tool-controls label[for],.tool-controls label{cursor:pointer}
.tool-controls input[type="checkbox"]{width:20px;height:20px;margin-top:.2rem;cursor:pointer;accent-color:var(--primary)}
.tool-controls select{padding:.7rem .8rem;border:1px solid #d8dce6;border-radius:8px;background:#fff;font:inherit;font-weight:500;color:#111f3d;cursor:pointer}
.tool-controls select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(49,87,246,.15)}

.calc-results{background:#fff;border:1px solid #e6e8ef;border-radius:14px;overflow:hidden;box-shadow:0 4px 14px rgba(17,31,61,.04)}
.calc-table-wrap{overflow-x:auto}
.calc-table{width:100%;border-collapse:collapse;font-size:.95rem}
.calc-table thead{background:#f5f7fb}
.calc-table th{padding:1rem;text-align:left;font-weight:700;color:#111f3d;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e6e8ef}
.calc-table td{padding:1rem;border-bottom:1px solid #eef0f5;color:#3a4258}
.calc-table tbody tr:hover{background:#fafbfd}
.calc-table tbody tr:last-child td{border-bottom:none}
.calc-rating{display:inline-block;margin-left:.4rem;color:#ffb000;font-weight:600;font-size:.85rem}
.calc-badge{display:inline-block;padding:.25rem .6rem;background:#00a76f;color:#fff;border-radius:999px;font-size:.75rem;font-weight:700;letter-spacing:.3px}
.calc-summary{padding:1.25rem 1.5rem;background:#f5f7fb;color:#3a4258;font-size:.95rem;margin:0;border-top:1px solid #e6e8ef}

.tool-form{display:flex;gap:.75rem;max-width:680px;margin:0 auto 1.5rem}
.tool-form input[type="text"]{flex:1;padding:.95rem 1rem;border:1.5px solid #d8dce6;border-radius:10px;font:inherit;font-size:1rem;color:#111f3d;background:#fff}
.tool-form input[type="text"]:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(49,87,246,.15)}
.tool-form .btn{white-space:nowrap}

.tool-output{margin-top:1.5rem;display:flex;flex-direction:column;gap:1rem}
.tool-loading{padding:1.5rem;text-align:center;color:#5b6478;background:#f5f7fb;border-radius:12px}
.tool-error{padding:1.25rem;background:#fff3f3;border:1px solid #f5c2c2;color:#a02020;border-radius:12px;font-weight:500}
.tool-warn{padding:.75rem 1rem;background:#fff7e6;border:1px solid #ffd591;color:#a04a00;border-radius:8px;font-weight:600;margin:.5rem 0}
.tool-note{margin-top:1.5rem;padding:1rem 1.25rem;background:#f5f7fb;border-left:3px solid var(--primary);border-radius:6px;color:#5b6478;font-size:.9rem;max-width:980px;margin-left:auto;margin-right:auto}

.dns-block{background:#fff;border:1px solid #e6e8ef;border-radius:12px;padding:1.25rem;box-shadow:0 4px 14px rgba(17,31,61,.04)}
.dns-block h3{margin:0 0 .75rem;font-size:1.05rem;color:#111f3d;display:flex;align-items:center;gap:.6rem}
.dns-count{display:inline-block;padding:.15rem .55rem;background:#eef2ff;color:var(--primary);border-radius:999px;font-size:.75rem;font-weight:700}
.dns-empty{opacity:.55}
.dns-empty p{margin:0;color:#5b6478;font-size:.9rem}
.dns-table{width:100%;border-collapse:collapse;font-size:.9rem}
.dns-table th{text-align:left;padding:.6rem .75rem;font-weight:600;color:#5b6478;font-size:.75rem;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #eef0f5}
.dns-table td{padding:.7rem .75rem;border-bottom:1px solid #f3f4f8;color:#3a4258;vertical-align:top;word-break:break-word}
.dns-table tr:last-child td{border-bottom:none}
.dns-table code{background:#f5f7fb;padding:.15rem .4rem;border-radius:4px;font-size:.85em;color:#111f3d}

.tool-result{background:#fff;border:1px solid #e6e8ef;border-radius:14px;padding:1.5rem;box-shadow:0 4px 14px rgba(17,31,61,.04)}
.tool-result h3{margin:0 0 1rem;font-size:1.3rem;color:#111f3d}
.tool-result-good{border-color:#a7e3c5;background:#f0fbf5}

.cta-section-spaced{margin-top:3rem}

@media (max-width:640px){
  .tool-form{flex-direction:column}
  .calc-table th,.calc-table td{padding:.75rem .5rem;font-size:.85rem}
}


/* ===== Tool-specific result styles (batch 2) ===== */
.speed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-top:.5rem}
.speed-card{background:#fff;border:1px solid #e6e8ef;border-radius:12px;padding:1.1rem;display:flex;flex-direction:column;gap:.35rem;box-shadow:0 4px 14px rgba(17,31,61,.04)}
.speed-card.good{border-color:#a7e3c5;background:#f0fbf5}
.speed-card.mid{border-color:#ffd591;background:#fff9ef}
.speed-card.bad{border-color:#f5c2c2;background:#fff3f3}
.speed-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.5px;color:#5b6478;font-weight:700}
.speed-value{font-size:1.6rem;font-weight:800;color:#111f3d;line-height:1.1}
.speed-rating{font-size:.8rem;color:#5b6478;font-weight:600}

.dom-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem}
.dom-card{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.85rem 1rem;background:#fff;border:1px solid #e6e8ef;border-radius:10px;box-shadow:0 2px 6px rgba(17,31,61,.03);transition:all .2s}
.dom-card.available{border-color:#a7e3c5;background:#f0fbf5}
.dom-card.taken{border-color:#f5c2c2;background:#fff3f3;opacity:.8}
.dom-card.unknown{opacity:.6}
.dom-card.pending{opacity:.5}
.dom-name{font-weight:600;color:#111f3d;font-size:.95rem;word-break:break-all}
.dom-status{font-size:.85rem;font-weight:700;color:#5b6478;white-space:nowrap}
.dom-card.available .dom-status{color:#00a76f}
.dom-card.taken .dom-status{color:#a02020}

.cdn-result{display:flex;align-items:center;gap:1.25rem;padding:1.5rem;border:2px solid #e6e8ef;border-radius:14px;background:#fff;margin-top:.5rem}
.cdn-result.good{border-color:#a7e3c5;background:#f0fbf5}
.cdn-result.mid{border-color:#ffd591;background:#fff9ef}
.cdn-icon{font-size:3rem;line-height:1}
.cdn-label{font-size:.8rem;text-transform:uppercase;letter-spacing:.5px;color:#5b6478;font-weight:700}
.cdn-name{font-size:1.5rem;font-weight:800;color:#111f3d}

.mig-form{display:grid;gap:1.1rem;max-width:680px;margin:0 auto;padding:1.75rem;background:#fff;border:1px solid #e6e8ef;border-radius:14px;box-shadow:0 4px 14px rgba(17,31,61,.04)}
.mig-q{display:flex;flex-direction:column;gap:.4rem}
.mig-q label{font-weight:600;color:#111f3d;font-size:.95rem}
.mig-q select{padding:.7rem .8rem;border:1px solid #d8dce6;border-radius:8px;background:#fff;font:inherit;color:#111f3d;cursor:pointer}
.mig-q select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(49,87,246,.15)}
.mig-form .btn{justify-self:start;margin-top:.5rem}
.mig-list{padding-left:1.25rem;margin:.5rem 0;color:#3a4258}
.mig-list li{margin-bottom:.55rem;line-height:1.55}

/* Blacklist checker links grid */
.bl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.85rem;margin-top:.5rem}
.bl-card{display:flex;flex-direction:column;gap:.35rem;padding:1rem 1.1rem;background:#fff;border:1px solid #e6e8ef;border-radius:10px;text-decoration:none;color:inherit;transition:all .2s;box-shadow:0 2px 6px rgba(17,31,61,.03)}
.bl-card:hover{border-color:var(--primary);box-shadow:0 6px 16px rgba(49,87,246,.12);transform:translateY(-1px)}
.bl-name{font-weight:700;color:#111f3d;font-size:.98rem}
.bl-desc{font-size:.83rem;color:#5b6478;line-height:1.45}
/* Logo image (replaces emoji icon) */
.logo-icon-img {
  height: 34px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-mega-brand .logo .logo-icon-img,
.footer-mega-brand .logo:hover .logo-icon-img {
  height: 30px;
  background: #fff;
  border-radius: 6px;
  padding: 3px 4px;
}