/* ============================================================
   ASHCRAFT DIGITAL — Styles
   ============================================================ */

/* ----- Custom Properties ----- */
:root {
  /* Colors — Slate */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Colors — Blue */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  /* Colors — Emerald */
  --emerald-400: #34d399;
  --emerald-500: #10b981;

  /* Colors — Red */
  --red-100: #fee2e2;
  --red-400: #f87171;
  --red-500: #ef4444;

  /* Semantic */
  --color-bg: #ffffff;
  --color-bg-alt: var(--slate-50);
  --color-bg-dark: var(--slate-900);
  --color-bg-darker: var(--slate-950);
  --color-text: var(--slate-700);
  --color-text-light: var(--slate-500);
  --color-text-dark: var(--slate-900);
  --color-text-inv: #ffffff;
  --color-primary: var(--blue-600);
  --color-primary-hover: var(--blue-700);
  --color-primary-light: var(--blue-50);
  --color-border: var(--slate-200);
  --color-border-light: var(--slate-100);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;

  /* Effects */
  --shadow-sm: 0 1px 2px 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.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
blockquote { margin: 0; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-size: var(--font-size-sm);
}
.skip-link:focus { top: var(--space-md); }

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

/* ----- Typography ----- */
h1, h2, h3, h4, h5 {
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-xl); }

.text-gradient {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-600) 50%, var(--emerald-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}
.section-header p {
  margin-top: var(--space-md);
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
}

.section-label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.section-label--light {
  color: var(--blue-400);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 1px 3px rgba(37,99,235,0.3);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
  transform: translateY(-1px);
}

.btn--outline {
  border: 2px solid var(--color-border);
  color: var(--color-text-dark);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.btn--ghost {
  color: var(--color-text-inv);
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}
.btn--white:hover {
  background: var(--slate-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xl);
}

.btn--sm { padding: 0.5rem 1.25rem; font-size: var(--font-size-sm); }
.btn--lg { padding: 1rem 2rem; font-size: var(--font-size-lg); }
.btn--full { width: 100%; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled .nav__logo { color: var(--color-text-dark); }
.site-header.scrolled .nav__links a { color: var(--color-text); }
.site-header.scrolled .nav__links a:hover { color: var(--color-primary); }
.site-header.scrolled .nav__toggle { color: var(--color-text-dark); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #fff;
  transition: color var(--transition);
  z-index: 101;
}
.nav__logo-icon { width: 32px; height: 32px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav__links a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.nav__links a:hover { color: #fff; }
.nav__links .btn { color: #fff; }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 101;
}
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--header-height) 0 var(--space-2xl);
  background: linear-gradient(160deg, var(--slate-950) 0%, var(--slate-900) 50%, #0c1a2e 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero__glow--1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: rgba(59,130,246,0.12);
}
.hero__glow--2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -50px;
  background: rgba(52,211,153,0.08);
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.hero__content {
  position: relative;
  max-width: 620px;
  flex: 1;
}

.hero__mascot {
  flex-shrink: 0;
  width: 380px;
}
.hero__mascot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--blue-400);
  margin-bottom: var(--space-xl);
}
.hero__badge svg { width: 18px; height: 18px; flex-shrink: 0; }

.hero__title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--slate-400);
}
.hero__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-400);
  flex-shrink: 0;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
}

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

.stats__item {
  text-align: center;
  padding: var(--space-lg);
}

.stats__number {
  display: inline;
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.stats__percent {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
}

.stats__label {
  display: block;
  margin-top: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-alt);
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.problem__card {
  padding: var(--space-2xl);
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition);
}
.problem__card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border);
}

.problem__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}
.problem__icon svg { width: 24px; height: 24px; }
.problem__icon--red {
  background: var(--red-100);
  color: var(--red-500);
}

.problem__card h3 {
  margin-bottom: var(--space-sm);
}
.problem__card p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--space-5xl) 0;
  background: var(--color-bg);
}

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

.services__card {
  padding: var(--space-2xl);
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition-slow);
}
.services__card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.services__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}
.services__icon svg { width: 24px; height: 24px; }

.services__card h3 {
  margin-bottom: var(--space-sm);
}
.services__card p {
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: var(--font-size-sm);
}

/* ============================================================
   PROCESS (How It Works)
   ============================================================ */
.process {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-alt);
}

.process__steps {
  max-width: 680px;
  margin: 0 auto;
}

.process__step {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

.process__step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border: 2px solid var(--blue-200);
  border-radius: var(--radius-full);
}

.process__step-content h3 {
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-xl);
}
.process__step-content p {
  color: var(--color-text-light);
  line-height: 1.7;
}

.process__connector {
  width: 2px;
  height: 40px;
  background: var(--color-border);
  margin-left: 27px;
}

.process__cta {
  text-align: center;
  margin-top: var(--space-3xl);
}

/* ============================================================
   RESULTS
   ============================================================ */
.results {
  padding: var(--space-5xl) 0;
  background: linear-gradient(160deg, var(--slate-900) 0%, var(--slate-950) 100%);
  color: #fff;
}
.results h2 { color: #fff; }

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

.results__card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.results__card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
}

.results__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--blue-400);
}
.results__icon svg { width: 28px; height: 28px; }

.results__stat {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.results__desc {
  font-size: var(--font-size-sm);
  color: var(--slate-400);
  line-height: 1.5;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: var(--space-5xl) 0;
  background: var(--color-bg);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.pricing__card {
  position: relative;
  padding: var(--space-2xl);
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.pricing__card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing__card--popular {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}
.pricing__card--popular:hover {
  box-shadow: 0 25px 30px -5px rgba(0,0,0,0.1), 0 10px 12px -6px rgba(0,0,0,0.05);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1.25rem;
  background: var(--color-primary);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
}

.pricing__card-header {
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: var(--space-xl);
}

.pricing__tier {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xs);
}

.pricing__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.pricing__currency {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text-dark);
}
.pricing__amount {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing__term {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-left: var(--space-xs);
}

.pricing__features {
  margin-bottom: var(--space-xl);
}
.pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 1.5;
}
.pricing__features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--emerald-500);
  margin-top: 1px;
}

.pricing__note {
  text-align: center;
  margin-top: var(--space-2xl);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}
.pricing__note a {
  color: var(--color-primary);
  font-weight: 500;
}
.pricing__note a:hover { text-decoration: underline; }

/* Add-On + Website Section */
.pricing__addons-header.section-header {
  margin-bottom: var(--space-xl);
}

.pricing__addons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 880px;
  margin: 0 auto;
}
.pricing__addon {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.pricing__addon:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border);
}
.pricing__addon-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
}
.pricing__addon-icon svg { width: 22px; height: 22px; }
.pricing__addon-name {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}
.pricing__addon-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}
.pricing__addon-price {
  font-size: var(--font-size-sm);
  color: var(--color-text-dark);
}

/* Website Build Card */
.pricing__website {
  margin-top: var(--space-xl);
}
.pricing__website-inner {
  display: flex;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  border-radius: var(--radius-xl);
  color: #fff;
}
.pricing__website-content {
  flex: 1;
}
.pricing__website-content .section-label { color: var(--blue-400); }
.pricing__website-content h3 {
  color: #fff;
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}
.pricing__website-content > p {
  color: var(--slate-400);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}
.pricing__website-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs) var(--space-lg);
}
.pricing__website-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--slate-300);
  line-height: 1.5;
}
.pricing__website-features svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--emerald-400);
}
.pricing__website-cta {
  flex-shrink: 0;
  text-align: center;
  padding: var(--space-xl);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  min-width: 240px;
}
.pricing__website-price {
  font-size: var(--font-size-lg);
  color: var(--slate-300);
  margin-bottom: var(--space-xs);
}
.pricing__website-price strong {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: #fff;
}
.pricing__website-note {
  font-size: var(--font-size-xs);
  color: var(--slate-500);
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .pricing__addons { grid-template-columns: 1fr; }
  .pricing__website-inner { flex-direction: column; text-align: center; }
  .pricing__website-features { grid-template-columns: 1fr; }
  .pricing__website-cta { width: 100%; min-width: auto; }
}

/* ============================================================
   VALUE COMPARISON
   ============================================================ */
.compare {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-alt);
}

.compare__table-wrap {
  max-width: 700px;
  margin: 0 auto;
}
.compare__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-xl);
}
.compare__table th,
.compare__table td {
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--color-border-light);
}
.compare__table th {
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fff;
}
.compare__table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--red-500);
  white-space: nowrap;
}
.compare__total td {
  font-weight: 700 !important;
  font-size: var(--font-size-base) !important;
  color: var(--color-text-dark) !important;
  background: var(--red-100);
  border-bottom: none;
}
.compare__total td:last-child {
  color: var(--red-500) !important;
}

.compare__vs {
  text-align: center;
  padding: var(--space-2xl);
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  position: relative;
}
.compare__vs-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 800;
  border-radius: var(--radius-full);
}
.compare__vs-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}
.compare__vs-price {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}
.compare__vs-price span {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--space-5xl) 0;
  background: var(--color-bg-alt);
}

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

.testimonials__card {
  padding: var(--space-2xl);
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.testimonials__card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonials__quote {
  margin-bottom: var(--space-lg);
  color: var(--blue-200);
}
.testimonials__quote svg { width: 32px; height: 32px; }

.testimonials__card blockquote p {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.testimonials__avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.testimonials__name {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: var(--font-size-sm);
}
.testimonials__role {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: var(--space-5xl) 0;
  background: var(--color-bg);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border-light);
}
.faq__item:first-child { border-top: 1px solid var(--color-border-light); }

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text-dark);
  gap: var(--space-md);
  transition: color var(--transition);
}
.faq__trigger:hover { color: var(--color-primary); }

.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-light);
  transition: transform 0.3s ease;
}
.faq__item.active .faq__chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq__content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq__content p {
  padding-bottom: var(--space-lg);
  color: var(--color-text-light);
  line-height: 1.7;
}

.faq__item.active .faq__content {
  max-height: 300px;
}

/* ============================================================
   SERVICE AREA
   ============================================================ */
.service-area {
  padding: var(--space-5xl) 0;
  background: var(--color-bg);
}

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

.area__group {
  padding: var(--space-xl);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
}

.area__group-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.area__cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs) var(--space-md);
}
.area__cities li {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  padding: var(--space-xs) 0;
  line-height: 1.5;
}

.area__note {
  text-align: center;
  margin-top: var(--space-2xl);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}
.area__note a {
  color: var(--color-primary);
  font-weight: 500;
}
.area__note a:hover { text-decoration: underline; }

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

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--space-5xl) 0;
  background: linear-gradient(160deg, var(--slate-900) 0%, var(--slate-950) 100%);
  color: #fff;
}
.contact h2 { color: #fff; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact__info p {
  margin-top: var(--space-md);
  color: var(--slate-400);
  line-height: 1.7;
  font-size: var(--font-size-lg);
}

.contact__details {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--slate-300);
  font-size: var(--font-size-sm);
}
.contact__detail svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--slate-500); }
.contact__detail a {
  color: var(--slate-300);
  transition: color var(--transition);
}
.contact__detail a:hover { color: #fff; }

.contact__trust {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.contact__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--slate-400);
}
.contact__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-400);
  flex-shrink: 0;
}

/* Form */
.contact__form-wrapper {
  position: relative;
}

.contact__form {
  padding: var(--space-2xl);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form__group {
  margin-bottom: var(--space-lg);
}

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

.form__label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--slate-300);
  margin-bottom: var(--space-sm);
}
.form__optional {
  font-weight: 400;
  color: var(--slate-500);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: var(--font-size-base);
  transition: all var(--transition);
}
.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--slate-600);
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
  background: rgba(255,255,255,0.08);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form__select option {
  background: var(--slate-800);
  color: #fff;
}

.form__textarea { resize: vertical; min-height: 100px; }

.form__input.error,
.form__select.error,
.form__textarea.error {
  border-color: var(--red-400);
  box-shadow: 0 0 0 3px rgba(248,113,113,0.15);
}

/* Submit button loading state */
.btn__loading { display: none; }
.btn.loading .btn__text { visibility: hidden; }
.btn.loading .btn__loading {
  display: block;
  position: absolute;
  animation: spin 0.8s linear infinite;
}
.btn.loading .btn__loading svg { width: 24px; height: 24px; }

/* Success state */
.contact__success {
  display: none;
  text-align: center;
  padding: var(--space-3xl) var(--space-2xl);
}
.contact__success.show {
  display: block;
}
.contact__success-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  background: rgba(52,211,153,0.12);
  border-radius: var(--radius-full);
  color: var(--emerald-400);
}
.contact__success-icon svg { width: 32px; height: 32px; }
.contact__success h3 {
  color: #fff;
  margin-bottom: var(--space-md);
}
.contact__success p {
  color: var(--slate-400);
  line-height: 1.7;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: var(--space-4xl) 0;
  background: var(--color-primary);
  text-align: center;
}
.final-cta h2 {
  color: #fff;
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
}
.final-cta p {
  color: rgba(255,255,255,0.8);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--slate-950);
  color: var(--slate-400);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand .nav__logo {
  color: #fff;
  margin-bottom: var(--space-md);
}
.footer__brand p {
  font-size: var(--font-size-sm);
  line-height: 1.7;
  max-width: 300px;
}

.footer__links h4,
.footer__contact h4 {
  color: #fff;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-lg);
}
.footer__links li,
.footer__contact li {
  margin-bottom: var(--space-sm);
}
.footer__links a,
.footer__contact a {
  font-size: var(--font-size-sm);
  transition: color var(--transition);
}
.footer__links a:hover,
.footer__contact a:hover {
  color: #fff;
}

.footer__bottom {
  padding-top: var(--space-xl);
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--slate-600);
}

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border-light);
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.mobile-cta.visible {
  transform: translateY(0);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 80;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.back-to-top svg { width: 20px; height: 20px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.services__grid .reveal:nth-child(2),
.problem__grid .reveal:nth-child(2),
.results__grid .reveal:nth-child(2),
.testimonials__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services__grid .reveal:nth-child(3),
.problem__grid .reveal:nth-child(3),
.results__grid .reveal:nth-child(3),
.testimonials__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services__grid .reveal:nth-child(4),
.problem__grid .reveal:nth-child(4),
.results__grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.services__grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.services__grid .reveal:nth-child(6) { transition-delay: 0.5s; }

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

/* Tablet */
@media (max-width: 1024px) {
  .services__grid,
  .pricing__grid,
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing__card--popular { transform: scale(1); }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.25rem;
    --font-size-4xl: 1.875rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
    --space-5xl: 5rem;
  }

  .container { padding: 0 var(--space-lg); }

  /* Nav mobile */
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    background: var(--slate-900);
    border-left: 1px solid rgba(255,255,255,0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
    overflow-y: auto;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: var(--space-md) 0;
    font-size: var(--font-size-base);
    color: var(--slate-300) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav__links .btn {
    margin-top: var(--space-md);
    text-align: center;
  }

  .nav__toggle { display: flex; }

  /* Mobile overlay */
  .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .nav__overlay.visible { opacity: 1; visibility: visible; }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  .stats__item { padding: var(--space-md); }
  .stats__number { font-size: var(--font-size-3xl); }

  /* Problem */
  .problem__grid { grid-template-columns: 1fr; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing__card--popular { order: -1; }

  /* Results */
  .results__grid { grid-template-columns: 1fr 1fr; }

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  /* Form row */
  .form__row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { margin-bottom: var(--space-lg); }

  /* Hero */
  .hero { padding-bottom: var(--space-4xl); }
  .hero__inner { flex-direction: column; }
  .hero__mascot { width: 260px; order: -1; margin: 0 auto; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  /* Mobile CTA bar */
  .mobile-cta { display: block; }

  /* Back to top — shift up above mobile CTA */
  .back-to-top { bottom: 80px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: 1fr; }
  .hero__trust { flex-direction: column; }
}
