/* ============================================================
   CIVICSYNC — style.css
   Design system: Deep Royal Blue (#1D3557), Vibrant Red (#E63946),
   White / Light Gray backgrounds
   ============================================================ */

/* ─────────────────────────────────────────────
   0. RESET & CUSTOM PROPERTIES
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:        #1D3557;
  --blue-mid:    #2a4a78;
  --blue-light:  #E8EEF6;
  --red:         #E63946;
  --red-dark:    #c02d38;
  --white:       #ffffff;
  --gray-50:     #F8F9FB;
  --gray-100:    #EFF1F5;
  --gray-200:    #D8DCE6;
  --gray-400:    #9AA3B5;
  --gray-600:    #5A6380;
  --gray-800:    #2D3348;
  --text-dark:   #0F1929;

  --font:        'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --shadow-red:  0 6px 24px rgba(230,57,70,.35);
  --shadow-blue: 0 6px 24px rgba(29,53,87,.30);

  --nav-h:       68px;
  --transition:  0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ─────────────────────────────────────────────
   1. UTILITIES
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────────────────────────────────────────
   2. BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  line-height: 1;
  border: none;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 9999px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), opacity var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn--red:hover, .btn--red:focus-visible {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(230,57,70,.45);
}
.btn--red:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.65);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  font-size: 1.0625rem;
  padding: 17px 38px;
}

.btn--full {
  width: 100%;
}

/* ─────────────────────────────────────────────
   3. SECTION SHARED STYLES
───────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-label--light {
  color: rgba(255,255,255,.75);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   4. NAV
───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(29,53,87,.08);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 4px 24px rgba(29,53,87,.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
}

.nav__brand {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  margin-left: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 16px 24px 24px;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.nav__mobile-cta {
  margin-top: 12px;
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: 9999px;
  font-weight: 700;
  border: none;
}

/* ─────────────────────────────────────────────
   5. HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero.loaded .hero__bg { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(15, 25, 41, 0.82) 0%,
    rgba(29, 53, 87, 0.72) 40%,
    rgba(20, 20, 40, 0.78) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 9999px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease forwards;
}

.hero__badge-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.4); }
  50%       { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.hero__headline {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeUp 0.65s 0.1s ease both;
}

.hero__headline--accent {
  background: linear-gradient(90deg, #E63946 0%, #ff7083 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtext {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 0.65s 0.2s ease both;
}
.hero__subtext em { color: var(--white); font-style: normal; font-weight: 600; }

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.65s 0.3s ease both;
}

.hero__disclaimer {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
  animation: fadeUp 0.65s 0.4s ease both;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
}

.hero__scroll-dot {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.8));
  animation: scroll-pulse 2s infinite;
}

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

/* ─────────────────────────────────────────────
   6. WHY CIVICSYNC
───────────────────────────────────────────── */
.why {
  padding: 96px 0;
  background: var(--gray-50);
}

.why__header {
  text-align: center;
  margin-bottom: 56px;
}

.why__headline {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.25;
}

.why__headline strong {
  color: var(--red);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 0 24px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.why__col {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.why__col--civic {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-blue);
}

.why__col-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--gray-400);
}

.why__col--civic .why__col-label { color: var(--blue); }

.why__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--gray-600);
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-100);
}
.why__list li:last-child { border-bottom: none; }

.why__list--con li::before {
  content: '✗';
  color: var(--gray-400);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.why__list--pro li {
  color: var(--blue);
  font-weight: 500;
}
.why__list--pro li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.why__divider {
  display: flex;
  align-items: center;
  justify-content: center;
}
.why__divider svg {
  width: 52px; height: 52px;
}

/* ─────────────────────────────────────────────
   7. FEATURES
───────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--white);
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card__mockup {
  margin: -36px -28px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-100);
  height: 210px;
}

.feature-card__mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-card__mockup-img {
  transform: scale(1.05);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }

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

.feature-card__icon-wrap--red {
  background: rgba(230,57,70,.08);
  color: var(--red);
}
.feature-card__icon-wrap--blue {
  background: rgba(29,53,87,.08);
  color: var(--blue);
}

.feature-card__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.25;
}

.feature-card__body {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-card__bullets li {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding-left: 18px;
  position: relative;
}
.feature-card__bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ─────────────────────────────────────────────
   8. HOW IT WORKS
───────────────────────────────────────────── */
.how {
  padding: 100px 0;
  background: var(--gray-50);
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Connecting line */
.how__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  width: calc(75% - 56px);
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  z-index: 0;
}

.how__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.how__step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-blue);
  position: relative;
}
.how__step:nth-child(1) .how__step-num,
.how__step:nth-child(3) .how__step-num { background: var(--red); box-shadow: var(--shadow-red); }

.how__step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}

.how__step-body {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   9. WAITLIST
───────────────────────────────────────────── */
.waitlist {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue) 0%, #0e1f36 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative circles */
.waitlist::before, .waitlist::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.waitlist::before {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(230,57,70,.15) 0%, transparent 70%);
}
.waitlist::after {
  width: 400px; height: 400px;
  bottom: -150px; left: -50px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
}

.waitlist__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.waitlist__headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.waitlist__subtext {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 32px;
}

.waitlist__perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.waitlist__perks li {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

/* Form */
.waitlist__form-wrap {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  backdrop-filter: blur(16px);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9375rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form-input::placeholder { color: rgba(255,255,255,.35); }
.form-input:focus {
  border-color: var(--red);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(230,57,70,.2);
}
.form-input.error { border-color: #ff6b6b; }

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

.form-select option {
  background: var(--blue);
  color: var(--white);
}

.form-disclaimer {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.45);
  text-align: center;
}
.form-disclaimer__link {
  color: rgba(255,255,255,.65);
  text-decoration: underline;
}
.form-disclaimer__link:hover { color: var(--white); }

/* Success state */
.waitlist__success {
  text-align: center;
  padding: 40px 24px;
}
.waitlist__success-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(34,197,94,.4);
}
.waitlist__success-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.waitlist__success-body {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
}
.waitlist__success-body span { color: var(--white); font-weight: 600; }

/* ─────────────────────────────────────────────
   10. FOOTER
───────────────────────────────────────────── */
.footer {
  background: #0b141f;
  padding-top: 72px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.footer__brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer__legal {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  max-width: 340px;
}

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

.footer__nav-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}

.footer__nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--white); }

.footer__bottom {
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__copy, .footer__built {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.28);
}

/* ─────────────────────────────────────────────
   11. ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Intersection observer classes */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─────────────────────────────────────────────
   12. RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .how__steps {
    grid-template-columns: 1fr 1fr;
    gap: 48px 32px;
  }
  .how__steps::before { display: none; }

  .waitlist__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .hero {
    padding-top: calc(var(--nav-h) + 24px);
    min-height: 100svh;
  }

  .why__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .why__divider { transform: rotate(90deg); }

  .how__steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .btn--lg { width: 100%; text-align: center; }
  .features__grid { max-width: 100%; }
  .footer__nav { grid-template-columns: 1fr; }
  .waitlist__form-wrap { padding: 28px 20px; }
}

/* ─────────────────────────────────────────────
   13. COOKIE BANNER
───────────────────────────────────────────── */
.btn--sm {
  font-size: 0.8125rem;
  padding: 8px 18px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 999;
  background: rgba(15, 25, 41, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: slideUp 0.4s ease-out;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-banner__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.cookie-banner__link {
  color: #ffffff;
  text-decoration: underline;
}
.cookie-banner__link:hover {
  color: var(--red);
}

.cookie-banner__actions {
  flex-shrink: 0;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner__actions {
    width: 100%;
    margin-top: 8px;
  }
  .cookie-banner__actions .btn {
    width: 100%;
  }
}

