/* ===================================================================
   FundHub Landing — Design System & Styles
   Palette: Navy / Emerald / Gold / Warm Neutrals
   Typography: Georgia (serif headings) + System Stack (body)
   =================================================================== */

/* --- Design Tokens --- */
:root {
  /* Primary */
  --navy-900: #0f2340;
  --navy-800: #152d50;
  --navy-700: #1a365d;
  --navy-600: #1e4478;
  --navy-500: #2a5a9e;
  --navy-400: #4a7fc4;
  --navy-300: #7aa3d8;
  --navy-200: #b3cde9;
  --navy-100: #dce8f5;

  /* Emerald */
  --emerald-700: #04684b;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-100: #d1fae5;

  /* Gold / Amber */
  --gold-700: #b45309;
  --gold-600: #d97706;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-300: #fcd34d;
  --gold-200: #fde68a;
  --gold-100: #fef3c7;

  /* Neutrals */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Semantic */
  --color-primary: var(--navy-700);
  --color-primary-light: var(--navy-600);
  --color-success: var(--emerald-600);
  --color-accent: var(--gold-600);
  --color-accent-light: var(--gold-500);
  --color-text: var(--gray-800);
  --color-text-light: var(--gray-500);
  --color-text-inverse: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: var(--gray-50);
  --color-border: var(--gray-200);

  /* Typography */
  --font-heading: Georgia, 'Times New Roman', 'Palatino Linotype', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  /* Type Scale (1.25 ratio) */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.75rem;   /* 60px */

  /* Spacing Scale (4px base) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Borders */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-glow-gold: 0 0 24px rgba(217, 119, 6, 0.25);
  --shadow-glow-emerald: 0 0 24px rgba(5, 150, 105, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --max-width: 1200px;
  --section-padding: var(--space-20);
}


/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-600);
}


/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.section-padding {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.text-center {
  text-align: center;
}

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


/* --- Navigation --- */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 35, 64, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-base);
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-inverse);
  letter-spacing: -0.02em;
}

.nav-logo-accent {
  color: var(--gold-400);
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

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

.nav-cta {
  background: var(--gold-600);
  color: var(--color-text-inverse) !important;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--gold-500);
  color: var(--color-text-inverse) !important;
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-inverse);
  font-size: var(--text-2xl);
  cursor: pointer;
  padding: var(--space-2);
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: var(--navy-900);
  border-color: transparent;
  box-shadow: var(--shadow-md), 0 0 20px rgba(245, 158, 11, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.3);
  color: var(--navy-900);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy-700);
  color: var(--color-text-inverse);
  border-color: var(--navy-700);
}

.btn-dark:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  transform: translateY(-2px);
  color: var(--color-text-inverse);
}

.btn-lg {
  font-size: var(--text-xl);
  padding: var(--space-5) var(--space-10);
}


/* --- SECTION: Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-inverse);
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 40%, var(--navy-800) 70%, #0d2847 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(5, 150, 105, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(217, 119, 6, 0.1) 0%, transparent 60%);
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--gold-300);
  font-weight: 500;
  margin-bottom: var(--space-8);
  animation: fadeSlideDown 0.6s ease-out;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  animation: fadeSlideUp 0.7s ease-out 0.1s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin: 0 auto var(--space-10);
  animation: fadeSlideUp 0.7s ease-out 0.25s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s ease-out 0.4s both;
}

.hero-trust {
  margin-top: var(--space-12);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  animation: fadeSlideUp 0.7s ease-out 0.55s both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-indicator svg {
  width: 28px;
  height: 28px;
  stroke: rgba(255, 255, 255, 0.3);
  fill: none;
  stroke-width: 2;
}


/* --- SECTION: Why Fundraise --- */
.why-fundraise {
  background-color: var(--color-surface);
  position: relative;
}

.why-fundraise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--gray-50), transparent);
  pointer-events: none;
}

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

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-600);
  margin-bottom: var(--space-3);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

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

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.reason-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-300);
}

.reason-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  display: block;
}

.reason-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: var(--space-2);
}

.reason-card p {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.65;
}


/* --- SECTION: Who Can Use --- */
.who-section {
  background: var(--navy-900);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}

.who-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(5, 150, 105, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(217, 119, 6, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.who-section .section-label {
  color: var(--gold-400);
}

.who-section .section-header h2 {
  color: var(--color-text-inverse);
}

.who-section .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

.who-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.who-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.who-card-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  display: block;
}

.who-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-text-inverse);
}

.who-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.who-card ul li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.who-card ul li:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}


/* --- SECTION: How It Works (Renewal Advantage) --- */
.how-section {
  background: var(--color-surface);
  position: relative;
}

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

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: 900px;
  margin: 0 auto var(--space-12);
}

.step-card {
  position: relative;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-5);
}

.step-card:first-child .step-number {
  background: var(--navy-100);
  color: var(--navy-700);
}

.step-card:nth-child(2) .step-number {
  background: var(--emerald-100);
  color: var(--emerald-700);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: var(--space-3);
}

.step-card p {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* The RENEWAL step — signature moment */
.step-renewal {
  position: relative;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: none;
  overflow: visible;
}

.step-renewal::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-xl) + 3px);
  background: linear-gradient(135deg, var(--emerald-500), var(--gold-500), var(--emerald-400), var(--gold-400));
  background-size: 300% 300%;
  z-index: -1;
  animation: gradientShift 4s ease infinite;
  box-shadow: 0 8px 30px rgba(5, 150, 105, 0.25);
}

.step-renewal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.step-renewal .step-number {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-400));
  color: white;
  box-shadow: var(--shadow-glow-emerald);
  animation: pulse-number 2s ease-in-out infinite;
}

.step-renewal .renewal-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-left: var(--space-3);
  vertical-align: middle;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) 0;
}

.step-connector svg {
  width: 24px;
  height: 24px;
  stroke: var(--gray-300);
  fill: none;
  stroke-width: 2;
}

/* Callout box */
.renewal-callout {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.renewal-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(5, 150, 105, 0.15), transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(217, 119, 6, 0.1), transparent 60%);
  pointer-events: none;
}

.renewal-callout p {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.renewal-callout .callout-highlight {
  color: var(--gold-400);
  font-weight: 700;
}

.renewal-callout .callout-emphasis {
  color: var(--emerald-400);
  font-weight: 700;
}


/* --- SECTION: Comparison (Benefits Grid) --- */
.comparison-section {
  background: var(--gray-50);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.comparison-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: box-shadow var(--transition-base);
}

.comparison-card:hover {
  box-shadow: var(--shadow-md);
}

.comparison-old {
  background: var(--gray-50);
  padding: var(--space-6) var(--space-8);
  border-right: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  position: relative;
}

.comparison-old::before {
  content: '✕';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-size: var(--text-sm);
  font-weight: 700;
  flex-shrink: 0;
}

.comparison-new {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  position: relative;
}

.comparison-new::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald-700);
  font-size: var(--text-sm);
  font-weight: 700;
  flex-shrink: 0;
}

.comparison-old p,
.comparison-new p {
  font-size: var(--text-base);
  line-height: 1.5;
}

.comparison-old p {
  color: var(--gray-400);
  text-decoration: line-through;
  text-decoration-color: rgba(220, 38, 38, 0.3);
}

.comparison-new p {
  color: var(--navy-800);
  font-weight: 500;
}


/* --- SECTION: CTA Footer --- */
.cta-section {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 50%, #0d2847 100%);
  color: var(--color-text-inverse);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(217, 119, 6, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 30% 80%, rgba(5, 150, 105, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section .section-header {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  color: var(--color-text-inverse);
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.cta-trust {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  margin-top: var(--space-6);
  letter-spacing: 0.02em;
}


/* --- Footer --- */
.landing-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: var(--space-8) var(--space-6);
  font-size: var(--text-sm);
}

.landing-footer a {
  color: rgba(255, 255, 255, 0.6);
}

.landing-footer a:hover {
  color: var(--gold-400);
}


/* --- Animations --- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

@keyframes pulse-number {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}


/* --- Responsive: Mobile First Overrides for Larger Screens --- */

@media (min-width: 640px) {
  .steps-container {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .step-connector {
    padding: var(--space-1) 0;
  }
}

@media (min-width: 768px) {
  :root {
    --section-padding: var(--space-24);
  }

  .nav-mobile-toggle {
    display: none;
  }

  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .who-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .who-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* --- Mobile: Nav collapse --- */
@media (max-width: 767px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .hero-content {
    padding: var(--space-4);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .who-grid {
    grid-template-columns: 1fr;
  }

  .who-card ul li {
    font-size: var(--text-xs);
  }

  .comparison-card {
    grid-template-columns: 1fr;
  }

  .comparison-old {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-5) var(--space-6);
  }

  .comparison-new {
    padding: var(--space-5) var(--space-6);
  }

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

  .renewal-callout {
    padding: var(--space-8) var(--space-6);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 93.75%;
  }

  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}