/* ==========================================================================
   Aurelian Travel - Design System & Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   CSS Variables - Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-primary: #FAF9F7;      /* Warm cream */
  --bg-surface: #FFFFFF;       /* White cards */
  --bg-muted: #F5F5F4;        /* Subtle sections */

  /* Text */
  --text-primary: #1C1917;     /* Warm charcoal */
  --text-secondary: #78716C;   /* Warm gray */
  --text-muted: #A8A29E;       /* Light gray */

  /* Accent - Terracotta */
  --accent: #C2410C;           /* Primary terracotta */
  --accent-light: #EA580C;     /* Hover state */
  --accent-dark: #9A3412;      /* Active state */
  --accent-bg: #FFF7ED;        /* Light accent background */

  /* Borders */
  --border: #E7E5E4;           /* Stone */
  --border-strong: #D6D3D1;

  /* Legacy color mappings for compatibility */
  --white: #FFFFFF;
  --ivory: #FAF9F7;
  --charcoal: #1C1917;
  --gray-100: #F5F5F4;
  --gray-200: #E7E5E4;
  --gray-300: #D6D3D1;
  --gray-400: #A8A29E;
  --gray-500: #78716C;
  --gray-600: #57534E;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 3rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 4rem);
  --text-5xl: clamp(3rem, 2.25rem + 3.75vw, 5rem);

  /* 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;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-padding: clamp(1rem, 5vw, 2rem);

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --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.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

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

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
}

/* --------------------------------------------------------------------------
   Base Typography
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2, h3 {
  font-weight: 700;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-4);
  color: var(--gray-600);
}

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

a:hover {
  color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

.section--dark {
  background-color: var(--charcoal);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: var(--gray-300);
}

.section--cream {
  background-color: var(--bg-primary);
}

.section--muted {
  background-color: var(--bg-muted);
}

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

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 65, 12, 0.45);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn--secondary:hover {
  background: var(--text-primary);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--text-primary);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-4) 0;
  background: transparent;
  transition: all var(--transition-base);
}

.nav--scrolled {
  background: rgba(28, 25, 23, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-3) 0;
  box-shadow: var(--shadow-lg);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

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

.nav__link {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav__link:hover {
  color: var(--accent-light);
}

.nav__cta {
  margin-left: var(--space-4);
}

/* Mobile menu */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

/* Hide close button on desktop - only show in mobile menu */
.nav__close {
  display: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--charcoal);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--space-20) var(--space-8);
    gap: var(--space-6);
    transition: right var(--transition-base);
    box-shadow: var(--shadow-xl);
  }

  .nav__menu.is-open {
    right: 0;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .nav__link {
    font-size: var(--text-lg);
  }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-4);
  }

  .nav__close {
    display: block;
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    color: var(--white);
    font-size: var(--text-2xl);
    cursor: pointer;
    padding: var(--space-2);
  }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(to bottom, rgba(28, 25, 23, 0.7) 0%, rgba(28, 25, 23, 0.85) 100%),
    url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&q=80') center/cover no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll; /* Disable parallax on mobile for performance */
  }
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(194, 65, 12, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(194, 65, 12, 0.12) 0%, transparent 40%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  padding: var(--space-20) var(--container-padding);
  max-width: 900px;
}

.hero__logo {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(194, 65, 12, 0.5));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(194, 65, 12, 0.8));
    transform: scale(1.02);
  }
}

.hero__title {
  color: var(--white);
  font-size: var(--text-5xl);
  margin-bottom: var(--space-6);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__title span {
  color: var(--accent-light);
}

.hero__tagline {
  color: var(--gray-300);
  font-size: var(--text-xl);
  margin-bottom: var(--space-10);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  color: var(--accent-light);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.hero__stat-label {
  color: var(--gray-400);
  font-size: var(--text-sm);
}

.hero__offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.hero__offer-badge {
  display: inline-block;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%);
  color: var(--white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  position: relative;
  overflow: hidden;
}

.hero__offer-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: badge-shimmer 3s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

.hero__offer-text {
  color: var(--gray-400);
  font-size: var(--text-base);
  font-weight: 500;
}

/* Gold badge for free emphasis */
.hero__offer-badge--gold {
  background: linear-gradient(135deg, #D4AF37 0%, #F4E4BA 50%, #D4AF37 100%);
  color: var(--charcoal);
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.hero__offer-badge--gold::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%
  );
}

/* Hero subtagline */
.hero__subtagline {
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-8);
  letter-spacing: 0.02em;
}

.hero__ctas {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Problem Section (Why)
   -------------------------------------------------------------------------- */
.problem {
  background: var(--ivory);
}

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

.problem__subtitle {
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.problem__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .problem__cards {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.problem__card {
  background: var(--bg-surface);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--accent);
  transition: all var(--transition-base);
  position: relative;
}

.problem__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(194, 65, 12, 0.3);
}

.problem__card:hover .problem__icon {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(194, 65, 12, 0.35);
}

.problem__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: all var(--transition-base);
}

.problem__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

.problem__card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.problem__card p {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Guide Section (Our Story)
   -------------------------------------------------------------------------- */
.guide {
  background: var(--white);
}

.guide__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 1024px) {
  .guide__content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.guide__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--gray-600) 100%);
  box-shadow: var(--shadow-xl);
}

.guide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.guide__image:hover img {
  transform: scale(1.03);
}

.guide__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.guide__image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.guide__image-placeholder svg {
  width: 80px;
  height: 80px;
  fill: var(--accent);
  opacity: 0.5;
  margin-bottom: var(--space-4);
}

.guide__image-placeholder span {
  color: var(--gray-400);
  font-size: var(--text-sm);
}

.guide__subtitle {
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.guide__title {
  margin-bottom: var(--space-6);
}

.guide__text p {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.guide__values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  margin-bottom: var(--space-8);
}

.guide__value {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-primary);
  font-weight: 500;
}

.guide__value svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

/* Testimonial */
.testimonial {
  background: var(--bg-muted);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
}

.testimonial__quote {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: var(--space-4);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
}

.testimonial__info strong {
  display: block;
  color: var(--text-primary);
}

.testimonial__info span {
  color: var(--gray-500);
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   How It Works Section
   -------------------------------------------------------------------------- */
.how-it-works {
  background: var(--charcoal);
}

.how-it-works__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.how-it-works__subtitle {
  color: var(--accent-light);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .how-it-works__steps::before {
    display: none;
  }
}

.how-it-works__step {
  text-align: center;
  position: relative;
}

.how-it-works__number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  position: relative;
  z-index: 1;
}

.how-it-works__number span {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
}

/* Gold number for step 2 (free credit) */
.how-it-works__number--gold {
  background: linear-gradient(135deg, #D4AF37 0%, #F4E4BA 50%, #D4AF37 100%);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.how-it-works__number--gold span {
  color: var(--charcoal);
}

.how-it-works__step h3 {
  color: var(--white);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.how-it-works__step p {
  color: var(--gray-400);
  margin-bottom: 0;
}

.how-it-works__icon {
  width: 48px;
  height: 48px;
  margin: var(--space-4) auto 0;
}

.how-it-works__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 1.5;
}

/* --------------------------------------------------------------------------
   Outcomes Section (Before/After)
   -------------------------------------------------------------------------- */
.outcomes {
  background: var(--ivory);
}

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

.outcomes__subtitle {
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

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

@media (max-width: 768px) {
  .outcomes__grid {
    grid-template-columns: 1fr;
  }
}

.outcomes__card {
  padding: var(--space-10);
  border-radius: var(--radius-xl);
}

.outcomes__card--before {
  background: var(--charcoal);
  color: var(--white);
}

.outcomes__card--after {
  background: var(--bg-surface);
  border: 2px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.outcomes__card--after::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

.outcomes__card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.outcomes__card--before h3 {
  color: var(--gray-400);
}

.outcomes__card--after h3 {
  color: var(--accent);
}

.outcomes__list {
  list-style: none;
}

.outcomes__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}

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

.outcomes__card--before .outcomes__list li {
  color: var(--gray-400);
}

.outcomes__card--after .outcomes__list li {
  color: var(--charcoal);
}

.outcomes__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.outcomes__icon--x {
  background: rgba(239, 68, 68, 0.2);
}

.outcomes__icon--x svg {
  width: 14px;
  height: 14px;
  stroke: #EF4444;
  stroke-width: 3;
}

.outcomes__icon--check {
  background: rgba(34, 197, 94, 0.2);
}

.outcomes__icon--check svg {
  width: 14px;
  height: 14px;
  stroke: #22C55E;
  stroke-width: 3;
}

/* --------------------------------------------------------------------------
   Benefits Section
   -------------------------------------------------------------------------- */
.benefits {
  background: var(--white);
}

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

.benefits__subtitle {
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .benefits__grid {
    grid-template-columns: 1fr;
  }
}

.benefits__card {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--bg-muted);
  transition: all var(--transition-base);
  position: relative;
}

.benefits__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.benefits__card:hover {
  background: var(--bg-surface);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(194, 65, 12, 0.2);
  transform: translateY(-8px);
}

.benefits__card:hover::before {
  opacity: 1;
}

.benefits__card:hover .benefits__icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(194, 65, 12, 0.4);
}

.benefits__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.benefits__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
}

/* Gold icon for reciprocity benefit */
.benefits__icon--gold {
  background: linear-gradient(135deg, #D4AF37 0%, #F4E4BA 50%, #D4AF37 100%);
}

.benefits__icon--gold svg {
  stroke: var(--charcoal);
}

.benefits__card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.benefits__card p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
  background:
    linear-gradient(to bottom, rgba(28, 25, 23, 0.88) 0%, rgba(28, 25, 23, 0.95) 100%),
    url('https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?w=1920&q=80') center/cover no-repeat;
  background-attachment: fixed;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cta {
    background-attachment: scroll;
  }
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(194, 65, 12, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(194, 65, 12, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.cta__content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.cta__badge {
  display: inline-block;
  background: rgba(194, 65, 12, 0.2);
  color: var(--accent-light);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.cta__title {
  color: var(--white);
  margin-bottom: var(--space-6);
}

.cta__text {
  color: var(--gray-300);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.cta__pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.cta__pricing-free {
  display: inline-block;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%);
  color: var(--white);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.cta__pricing-after {
  color: var(--gray-400);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* Gold CTA badge */
.cta__badge--gold {
  background: linear-gradient(135deg, #D4AF37 0%, #F4E4BA 50%, #D4AF37 100%);
  color: var(--charcoal);
  font-weight: 600;
  text-shadow: none;
}

/* Free credit highlight box */
.cta__free-highlight {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-8);
}

.cta__free-badge {
  background: linear-gradient(135deg, #D4AF37, #F4E4BA);
  color: var(--charcoal);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
}

.cta__free-text {
  color: var(--gray-300);
  font-size: var(--text-sm);
  font-weight: 500;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--charcoal);
  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);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer__logo img {
  height: 36px;
  width: auto;
}

.footer__tagline {
  color: var(--gray-400);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--accent);
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.footer__column h4 {
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
}

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

.footer__links a {
  color: var(--gray-400);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent-light);
}

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

.footer__copyright {
  color: var(--gray-500);
  font-size: var(--text-sm);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  color: var(--gray-500);
  font-size: var(--text-sm);
}

.footer__legal a:hover {
  color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   Glassmorphism & Special Effects
   -------------------------------------------------------------------------- */

/* Terracotta shimmer text effect */
.shimmer-gold {
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    #FED7AA 25%,
    var(--accent-light) 50%,
    #FED7AA 75%,
    var(--accent) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

/* Glassmorphism card */
.glass-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-xl);
}

/* Enhanced button glow on hover */
.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--accent-dark));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--primary:hover {
  box-shadow: 0 8px 25px rgba(194, 65, 12, 0.6), 0 0 40px rgba(194, 65, 12, 0.3);
  transform: translateY(-3px);
}

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

@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.animate-on-scroll.is-visible {
  animation: fade-in 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-on-scroll.delay-1 { animation-delay: 0.1s; }
.animate-on-scroll.delay-2 { animation-delay: 0.2s; }
.animate-on-scroll.delay-3 { animation-delay: 0.3s; }
.animate-on-scroll.delay-4 { animation-delay: 0.4s; }
.animate-on-scroll.delay-5 { animation-delay: 0.5s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .animate-on-scroll.is-visible {
    animation: none;
  }

  .hero__logo {
    animation: none;
  }

  .shimmer-gold {
    animation: none;
    -webkit-text-fill-color: var(--accent-light);
  }
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    width: 100%;
    padding: 0 var(--space-4);
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__stats {
    gap: var(--space-4);
  }

  .hero__offer-badge {
    font-size: var(--text-base);
    padding: var(--space-2) var(--space-4);
  }

  .cta__buttons {
    flex-direction: column;
    padding: 0 var(--space-4);
  }

  .cta__buttons .btn {
    width: 100%;
  }
}

/* Respect reduced motion for badge shimmer */
@media (prefers-reduced-motion: reduce) {
  .hero__offer-badge::before {
    animation: none;
  }
}
