/* ═══════════════════════════════════════════════════════════════════════════════
   SHIELDIFY — Design System & Styles
   Modern SaaS Landing Page
   ═══════════════════════════════════════════════════════════════════════════════ */

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

:root {
  /* Primary palette */
  --primary-50:  #EEF2FF;
  --primary-100: #E0E7FF;
  --primary-200: #C7D2FE;
  --primary-400: #818CF8;
  --primary-500: #6C63FF;
  --primary-600: #5B52E5;
  --primary-700: #4F46E5;

  /* Accent */
  --accent-400: #38BDF8;
  --accent-500: #3B82F6;
  --accent-600: #2563EB;

  /* Neutrals */
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --gray-950: #020617;

  /* Semantic */
  --green:  #10B981;
  --orange: #F59E0B;
  --red:    #EF4444;
  --pink:   #EC4899;
  --teal:   #14B8A6;

  /* Surface */
  --bg-main:    #FAFBFF;
  --bg-section: #F1F4FF;
  --bg-card:    #FFFFFF;

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

  /* Spacing */
  --section-py: 100px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(15,23,42,.05);
  --shadow-md:  0 4px 16px rgba(15,23,42,.08);
  --shadow-lg:  0 8px 32px rgba(15,23,42,.10);
  --shadow-xl:  0 16px 48px rgba(15,23,42,.12);
  --shadow-glow: 0 0 60px rgba(108,99,255,.15);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  color: var(--gray-700);
  background: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .2s var(--ease);
}

ul { list-style: none; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: .9rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(108,99,255,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(108,99,255,.45);
}

.btn-outline {
  color: var(--gray-700);
  border-color: var(--gray-300);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--primary-500);
  color: var(--primary-500);
  background: var(--primary-50);
}

.btn-ghost {
  color: var(--gray-600);
  background: transparent;
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--primary-500);
  background: var(--primary-50);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* ─── Section Headers ──────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-500);
  background: var(--primary-50);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.link {
  color: var(--primary-500);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(108,99,255,.3);
  text-underline-offset: 3px;
}
.link:hover {
  text-decoration-color: var(--primary-500);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,251,255,.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
}

.logo-icon { flex-shrink: 0; }

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-500);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all .2s var(--ease);
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-500);
  background: var(--primary-50);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all .3s var(--ease);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 160px 0 80px;
  background: var(--bg-main);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary-600);
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  animation: fadeInUp .6s var(--ease) both;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 20px;
  animation: fadeInUp .6s var(--ease) .1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
  animation: fadeInUp .6s var(--ease) .2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp .6s var(--ease) .3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  animation: fadeInUp .6s var(--ease) .4s both;
}

.stat {
  display: flex;
  flex-direction: column;
  min-width: 140px;
  padding: 14px 16px;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.7);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(15,23,42,.04);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
}

.stat-label {
  font-size: .8rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* ─── Hero Visual / Dashboard Mockup ───────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeInUp .8s var(--ease) .3s both;
}

.hero-graphic {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding-bottom: 28px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  width: 280px; height: 280px;
  background: rgba(108,99,255,.18);
  top: 20px; left: -40px;
}
.glow-2 {
  width: 200px; height: 200px;
  background: rgba(59,130,246,.15);
  bottom: 20px; right: -20px;
}

.dashboard-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  z-index: 1;
}

.card-main {
  padding: 0;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,247,255,.96));
}

.dashboard-header {
  display: flex;
  gap: 6px;
  padding: 14px 20px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot.green  { background: var(--green); }
.dot.yellow { background: var(--orange); }
.dot.red    { background: var(--red); }

.dashboard-body {
  padding: 24px;
}

.dashboard-body::after {
  content: '';
  display: block;
  margin-top: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(108,99,255,.28), rgba(59,130,246,.08), transparent);
}

.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.dash-row:last-of-type { border-bottom: none; }

.dash-row .label {
  font-size: .85rem;
  color: var(--gray-500);
  font-weight: 500;
}

.dash-row .value {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-800);
}

.dash-row .value:not(.safe) {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.05);
}

.dash-row .value.safe {
  color: var(--green);
  background: rgba(16,185,129,.1);
  padding: 2px 12px;
  border-radius: 999px;
  font-size: .75rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding-top: 16px;
  margin-top: 8px;
}

.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--primary-400), var(--primary-200));
  border-radius: 4px 4px 0 0;
  transition: height .4s var(--ease);
  animation: barGrow .8s var(--ease) both;
}
.bar.highlight {
  background: linear-gradient(180deg, var(--green), rgba(16,185,129,.4));
}

.card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.card-float-1 {
  top: -10px;
  right: -30px;
  animation-delay: 0s;
}

.card-float-2 {
  bottom: 128px;
  left: -40px;
  animation-delay: 3s;
}

.signal-strip {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(15,23,42,.88);
  border: 1px solid rgba(148,163,184,.12);
  box-shadow: 0 18px 36px rgba(2,6,23,.22);
  margin-left: 24px;
  margin-right: 24px;
}

.signal-strip__item {
  min-height: 70px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(148,163,184,.08);
}

.signal-strip__label {
  display: block;
  margin-bottom: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.signal-strip__value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.signal-strip__value--warm {
  color: #F59E0B;
}

.signal-strip__value--cool {
  color: #38BDF8;
}

.signal-strip__value--good {
  color: #34D399;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════════════════════════ */
.features {
  padding: var(--section-py) 0;
  background: var(--bg-section);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(108,99,255,.85), rgba(59,130,246,.5), transparent);
  opacity: .7;
}

.feature-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.icon-purple { background: rgba(108,99,255,.1); color: var(--primary-500); }
.icon-blue   { background: rgba(59,130,246,.1);  color: var(--accent-500); }
.icon-green  { background: rgba(16,185,129,.1);   color: var(--green); }
.icon-orange { background: rgba(245,158,11,.1);   color: var(--orange); }
.icon-pink   { background: rgba(236,72,153,.1);   color: var(--pink); }
.icon-teal   { background: rgba(20,184,166,.1);   color: var(--teal); }

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: .92rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   GLOBAL NETWORK
   ═══════════════════════════════════════════════════════════════════════════════ */
.global-network {
  padding: var(--section-py) 0;
  background: var(--bg-main);
  overflow: hidden;
}

/* ─── Comparison Cards ─────────────────────────────────────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto 60px;
}

.compare-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}

.compare-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(108,99,255,.8), rgba(59,130,246,.35), transparent);
}

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

.compare-good { border-color: rgba(108,99,255,.3); }
.compare-bad  { border-color: rgba(239,68,68,.2); }

.compare-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.compare-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}

.compare-badge {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.badge-good {
  background: rgba(108,99,255,.1);
  color: var(--primary-600);
}

.badge-bad {
  background: rgba(239,68,68,.08);
  color: var(--red);
}

.compare-desc {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ─── World Map (Canvas) ───────────────────────────────────────────────────── */
.world-map-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

#world-map-canvas {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════════════════════ */
.pricing {
  padding: var(--section-py) 0;
  background: var(--bg-section);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.pricing-grid.single-plan {
  display: flex;
  justify-content: center;
}

.pricing-grid.single-plan .pricing-card {
  width: 100%;
  max-width: 480px;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(108,99,255,.95), rgba(59,130,246,.55), transparent);
}

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

.pricing-card.featured {
  border-color: var(--primary-400);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--primary-400);
  transform: none;
  z-index: 2;
}
.pricing-card.featured:hover {
  transform: translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 3;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
  margin-top: 28px;
}

.plan-tagline {
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 28px;
}

.currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
}

.amount {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.period {
  font-size: .9rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-left: 4px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-600);
}

.plan-features li svg { flex-shrink: 0; }

/* ─── Trial Banner ─────────────────────────────────────────────────────────── */
.trial-banner {
  background: var(--gray-900);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.trial-banner-graphic {
  position: absolute;
  left: -20px;
  bottom: -20px;
  width: 140px;
  height: 140px;
  pointer-events: none;
}

.trial-banner-graphic svg {
  width: 100%;
  height: 100%;
}

.trial-banner-content {
  flex: 1;
  padding-left: 110px; /* Make room for the illustration */
  position: relative;
  z-index: 2;
}

.trial-banner-title {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}

.trial-banner-desc {
  color: var(--gray-300);
  font-size: .95rem;
  font-weight: 500;
}

.trial-banner-action {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.btn-trial {
  background: linear-gradient(135deg, #FF9B50 0%, #E25E3E 100%);
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 4px 14px rgba(226, 94, 62, 0.3);
  text-decoration: none;
}

.btn-trial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 94, 62, 0.4);
}

.btn-trial svg {
  flex-shrink: 0;
  transition: transform .2s var(--ease);
}

.btn-trial:hover svg {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════════════════ */
.faq {
  padding: var(--section-py) 0;
  background: var(--bg-main);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.faq-item:hover {
  border-color: var(--primary-200);
}

.faq-item.open {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color .2s var(--ease);
}

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

.faq-chevron {
  flex-shrink: 0;
  transition: transform .3s var(--ease);
  color: var(--gray-400);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary-500);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: .92rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 64px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: .9rem;
  color: var(--gray-400);
  max-width: 260px;
}

.footer-links-group {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-200);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: .88rem;
  color: var(--gray-400);
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: .82rem;
  color: var(--gray-500);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--gray-400);
  transition: all .25s var(--ease);
}
.social-icon:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes barGrow {
  from { height: 0; }
  to   { height: var(--h); }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Tablets */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { order: 1; }
  .hero-visual  { order: 2; }

  .hero-title { font-size: 2.6rem; }
  .hero-desc  { margin-left: auto; margin-right: auto; }
  .hero-cta   { justify-content: center; }
  .hero-stats { justify-content: center; }
  .signal-strip { grid-template-columns: repeat(2, 1fr); }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid  { max-width: 100%; }
  .pricing-grid  { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { grid-column: span 2; max-width: 420px; justify-self: center; }

  .trial-banner { padding: 32px; gap: 24px; }
  .trial-banner-title { font-size: 1.5rem; }

  .section-title { font-size: 2rem; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-py: 72px; }

  .nav-links,
  .nav-actions { display: none; }

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

  .mobile-toggle { display: flex; }

  /* Mobile menu */
  .nav {
    flex-wrap: wrap;
  }

  .nav-links.open {
    order: 10;
    flex-basis: 100%;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
  }

  .nav-actions.open {
    order: 11;
    flex-basis: 100%;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: 2rem; }
  .hero-desc  { font-size: .95rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-graphic { max-width: 360px; }
  .signal-strip { grid-template-columns: 1fr 1fr; }

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

  .compare-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .compare-number { font-size: 2.2rem; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { grid-column: span 1; max-width: none; transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }

  .trial-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    margin-top: 40px;
  }
  .trial-banner-content { padding-left: 0; }
  .trial-banner-graphic { display: none; }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.6rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .card-float { display: none; }
  .signal-strip { grid-template-columns: 1fr; }
}
