/* Lantis — aligned with https://lantis.app/ (Elementor global kit colours) */
:root {
  /* From lantis.app Elementor kit */
  --color-primary: #5e54b5;
  --color-primary-deep: #4d449e;
  --color-accent-soft: #d7d5f7;
  --color-secondary: #717184;
  --color-text: #000000;
  --color-surface: #ffffff;
  --color-surface-alt: #efecf5;

  --bg-deep: var(--color-surface-alt);
  --bg-card: #ffffff;
  --border: rgba(94, 84, 181, 0.14);
  --border-strong: rgba(94, 84, 181, 0.22);
  --shadow-sm: 0 1px 3px rgba(77, 68, 158, 0.06);
  --shadow-md: 0 8px 30px rgba(77, 68, 158, 0.08);
  --shadow-hero-cta: 0 4px 20px rgba(0, 0, 0, 0.1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --prose: 40rem;
  --prose-wide: 44rem;
  --section-y: clamp(3rem, 5.5vw, 4.75rem);
  --focus-ring: 0 0 0 3px rgba(94, 84, 181, 0.35);
  --text: #1a1a20;
  --text-card: #3f3d4d;
  --muted: var(--color-secondary);
  --accent: var(--color-primary);
  --accent-dim: var(--color-primary-deep);
  --glow: rgba(94, 84, 181, 0.35);
  --danger: #b8325a;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --hero-text: #ffffff;
  --hero-text-muted: rgba(255, 255, 255, 0.88);
  /* Light surfaces (CTA band, cards) — body copy on white */
  --text-on-light: var(--text-card);
  --text-on-light-muted: #5a5868;

  /* Motion (scroll reveal, hero, micro-interactions) */
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --motion-soft: cubic-bezier(0.2, 0.85, 0.2, 1);
  --reveal-duration: 0.88s;
  --reveal-distance: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  color: var(--text);
  /* Smooth brand atmosphere — no grid/box pattern */
  background-color: #f3f1f9;
  background-image:
    radial-gradient(
      ellipse 140% 70% at 50% -15%,
      rgba(94, 84, 181, 0.09),
      transparent 58%
    ),
    radial-gradient(
      ellipse 70% 50% at 105% 35%,
      rgba(215, 213, 247, 0.55),
      transparent 52%
    ),
    radial-gradient(
      ellipse 55% 45% at -5% 95%,
      rgba(239, 236, 245, 0.9),
      transparent 55%
    );
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Skip link — keyboard / screen reader first stop */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  box-shadow: 0 8px 28px rgba(77, 68, 158, 0.35);
  outline: none;
}

.skip-link:focus-visible {
  box-shadow: 0 8px 28px rgba(77, 68, 158, 0.35), var(--focus-ring);
}

main {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 1.75rem);
}

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

.tab-section {
  scroll-margin-top: 5.5rem;
}

/* —— Hero load-in (respects reduced motion below) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes lantis-hero-in {
    from {
      opacity: 0;
      transform: translate3d(0, calc(var(--reveal-distance) * 0.9), 0) scale(0.96);
      filter: blur(3px);
    }
    50% {
      filter: blur(0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }
  }

  @keyframes hero-slab-mesh {
    0%,
    100% {
      opacity: 0.5;
      transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
      opacity: 0.95;
      transform: translate3d(3%, -4%, 0) scale(1.04);
    }
  }

  .home-hero-section .hero-slab::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
      radial-gradient(ellipse 120% 85% at 50% -15%, rgba(255, 255, 255, 0.22) 0%, transparent 52%),
      radial-gradient(ellipse 90% 60% at 110% 80%, rgba(215, 213, 247, 0.35) 0%, transparent 48%);
    animation: hero-slab-mesh 18s ease-in-out infinite alternate;
    pointer-events: none;
  }

  .home-hero-section .hero-slab .hero-inner > * {
    animation: lantis-hero-in 0.92s var(--motion-soft) both;
  }

  .home-hero-section .hero-slab .hero-inner > *:nth-child(1) {
    animation-delay: 0.04s;
  }
  .home-hero-section .hero-slab .hero-inner > *:nth-child(2) {
    animation-delay: 0.1s;
  }
  .home-hero-section .hero-slab .hero-inner > *:nth-child(3) {
    animation-delay: 0.16s;
  }
  .home-hero-section .hero-slab .hero-inner > *:nth-child(4) {
    animation-delay: 0.22s;
  }
  .home-hero-section .hero-slab .hero-inner > *:nth-child(5) {
    animation-delay: 0.28s;
  }
  .home-hero-section .hero-slab .hero-inner > *:nth-child(6) {
    animation-delay: 0.34s;
  }
  .home-hero-section .hero-slab .hero-inner > *:nth-child(7) {
    animation-delay: 0.4s;
  }
}

/* —— Scroll reveal (class `reveal` + `reveal--visible` from script.js) */
.reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0) scale(0.97);
  filter: blur(2px);
  transition:
    opacity var(--reveal-duration) var(--motion-ease),
    transform var(--reveal-duration) var(--motion-ease),
    filter 0.5s var(--motion-ease);
}

.reveal.reveal--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: no-preference) {
  .feature-grid .feature-card.reveal:nth-child(1) {
    transition-delay: 0.03s;
  }
  .feature-grid .feature-card.reveal:nth-child(2) {
    transition-delay: 0.07s;
  }
  .feature-grid .feature-card.reveal:nth-child(3) {
    transition-delay: 0.11s;
  }
  .feature-grid .feature-card.reveal:nth-child(4) {
    transition-delay: 0.15s;
  }
  .feature-grid .feature-card.reveal:nth-child(5) {
    transition-delay: 0.19s;
  }
  .feature-grid .feature-card.reveal:nth-child(6) {
    transition-delay: 0.23s;
  }

  .features-timeline .feature-timeline-item.reveal:nth-child(1) {
    transition-delay: 0.03s;
  }
  .features-timeline .feature-timeline-item.reveal:nth-child(2) {
    transition-delay: 0.08s;
  }
  .features-timeline .feature-timeline-item.reveal:nth-child(3) {
    transition-delay: 0.13s;
  }
  .features-timeline .feature-timeline-item.reveal:nth-child(4) {
    transition-delay: 0.18s;
  }
  .features-timeline .feature-timeline-item.reveal:nth-child(5) {
    transition-delay: 0.23s;
  }
  .features-timeline .feature-timeline-item.reveal:nth-child(6) {
    transition-delay: 0.28s;
  }
  .features-timeline .feature-timeline-item.reveal:nth-child(7) {
    transition-delay: 0.33s;
  }

  .faq-list .faq-item.reveal:nth-child(1) {
    transition-delay: 0.02s;
  }
  .faq-list .faq-item.reveal:nth-child(2) {
    transition-delay: 0.05s;
  }
  .faq-list .faq-item.reveal:nth-child(3) {
    transition-delay: 0.08s;
  }
  .faq-list .faq-item.reveal:nth-child(4) {
    transition-delay: 0.11s;
  }
  .faq-list .faq-item.reveal:nth-child(5) {
    transition-delay: 0.14s;
  }
  .faq-list .faq-item.reveal:nth-child(6) {
    transition-delay: 0.17s;
  }
  .faq-list .faq-item.reveal:nth-child(7) {
    transition-delay: 0.2s;
  }
  .faq-list .faq-item.reveal:nth-child(8) {
    transition-delay: 0.23s;
  }

  @keyframes lantis-video-frame-in {
    from {
      opacity: 0.55;
      transform: scale(0.92) translateY(14px);
    }
    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }

  .video-section.reveal.reveal--visible .video-frame {
    animation: lantis-video-frame-in 1s var(--motion-soft) 0.08s both;
    box-shadow:
      0 12px 40px rgba(77, 68, 158, 0.14),
      0 0 0 1px rgba(94, 84, 181, 0.12);
  }

  @keyframes lantis-timeline-dot {
    0% {
      transform: scale(0.6);
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    60% {
      transform: scale(1.08);
    }
    100% {
      transform: scale(1);
    }
  }

  .features-timeline .feature-timeline-item.reveal.reveal--visible .feature-timeline-num {
    animation: lantis-timeline-dot 0.65s var(--motion-spring) both;
  }

  @keyframes insight-shell-breathe {
    0%,
    100% {
      box-shadow:
        0 16px 48px rgba(77, 68, 158, 0.09),
        0 4px 14px rgba(77, 68, 158, 0.05);
    }
    50% {
      box-shadow:
        0 22px 56px rgba(77, 68, 158, 0.12),
        0 6px 18px rgba(77, 68, 158, 0.07);
    }
  }

  .insight-tabs-section.reveal.reveal--visible .insight-tabs {
    animation: insight-shell-breathe 10s ease-in-out infinite;
  }

  @keyframes faq-answer-in {
    from {
      opacity: 0;
      transform: translate3d(0, -6px, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  .faq-item[open] > p {
    animation: faq-answer-in 0.42s var(--motion-ease) both;
  }
}

/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.38s var(--motion-ease),
    border-color 0.38s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 28px rgba(77, 68, 158, 0.12);
  border-bottom-color: rgba(94, 84, 181, 0.16);
}

.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(94, 84, 181, 0.06);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--accent);
  border-radius: 1px;
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem 1.25rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .site-header-inner.nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-tabs a {
    text-align: center;
  }
}

.site-nav {
  display: flex;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--accent-dim);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.88;
}

.logo:focus-visible {
  outline: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--focus-ring);
}

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

@media (prefers-reduced-motion: no-preference) {
  @keyframes logo-mark-in {
    from {
      opacity: 0;
      transform: translate3d(-8px, 0, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  .logo {
    animation: logo-mark-in 0.62s var(--motion-ease-out) both;
  }
}

.nav-tabs {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-tabs a {
  display: block;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  color: var(--text-card);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.nav-tabs a:hover {
  color: var(--accent);
  background: rgba(94, 84, 181, 0.08);
  text-decoration: none;
}

.nav-tabs a:hover:not(.is-active) {
  transform: translateY(-2px);
}

.nav-tabs a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.nav-tabs a.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  box-shadow: 0 4px 20px var(--glow);
}

/* Hero slab — gradient matches lantis.app hero (#4D449E → #5E54B5) */
.home-hero-section {
  padding: 0;
}

.hero-slab {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  /* Tighter top: less empty purple under the nav */
  padding: clamp(1.35rem, 3.5vw, 2.5rem) 1.5rem clamp(2.25rem, 5vw, 3.75rem);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--accent-dim) 0%,
    var(--accent) 100%
  );
  border-radius: 0 0 clamp(20px, 4vw, 32px) clamp(20px, 4vw, 32px);
  box-shadow: 0 12px 48px rgba(77, 68, 158, 0.28);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
  margin-bottom: 0.75rem;
}

.hero-slab h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw + 1rem, 3.25rem);
  line-height: 1.15;
  margin: 0 0 clamp(0.35rem, 1.5vw, 0.65rem);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  color: var(--hero-text);
}

/* Hero preview video: glass “display” between headline and lead */
.hero-cinematic-wrap {
  width: 100%;
  max-width: min(72rem, 100%);
  margin: clamp(0.45rem, 1.6vw, 0.95rem) auto clamp(1.4rem, 3.5vw, 2.1rem);
  padding: 0 clamp(0.15rem, 1.5vw, 0.35rem);
}

.hero-video-stage {
  position: relative;
  border-radius: clamp(20px, 3.2vw, 30px);
  padding: clamp(7px, 1.1vw, 11px);
  background:
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.05) 42%,
      rgba(255, 165, 110, 0.12) 100%
    );
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.hero-video-figure {
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Hero video: mute / unmute (default muted for autoplay; user can enable sound) */
.hero-video-sound-btn {
  position: absolute;
  right: clamp(0.65rem, 2vw, 1.1rem);
  bottom: clamp(0.65rem, 2vw, 1.1rem);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: #ffffff;
  background: rgba(12, 8, 32, 0.55);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  transition:
    background 0.2s ease,
    transform 0.2s var(--motion-spring),
    box-shadow 0.2s ease;
}

.hero-video-sound-btn:hover {
  background: rgba(12, 8, 32, 0.72);
  transform: scale(1.06);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.28);
}

.hero-video-sound-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.95),
    0 0 0 5px rgba(94, 84, 181, 0.55);
}

.hero-video-sound-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.hero-video-sound-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.hero-video-sound-icon--sound {
  display: none;
}

.hero-video-sound-btn--unmuted .hero-video-sound-icon--muted {
  display: none;
}

.hero-video-sound-btn--unmuted .hero-video-sound-icon--sound {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-sound-btn:hover {
    transform: none;
  }
}

.hero-cinematic-wrap .video-frame--hero {
  border: none;
  border-radius: clamp(14px, 2.2vw, 20px);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.45),
    0 20px 48px rgba(0, 0, 0, 0.35),
    0 0 72px -20px var(--hero-ember-core),
    0 0 96px -36px var(--hero-ember);
  width: 100%;
  max-width: 100%;
  /* Taller + wider than before so the clip reads clearly on desktop and mobile */
  max-height: min(68vh, 720px);
  min-height: clamp(200px, 38vh, 380px);
  aspect-ratio: 16 / 9;
}

.hero-cinematic-wrap .video-frame--hero video {
  object-fit: contain;
  background: radial-gradient(ellipse at center, #2a2450 0%, #141028 100%);
}

.hero-cinematic-wrap .video-fallback--hero {
  background: radial-gradient(
    ellipse at center,
    rgba(232, 228, 247, 0.97) 0%,
    rgba(245, 243, 252, 1) 72%
  );
}

.hero-cinematic-wrap .video-frame--hero::after {
  box-shadow: inset 0 0 min(88px, 13vw) rgba(8, 6, 24, 0.32);
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-video-stage-shimmer {
    0%,
    100% {
      opacity: 0.55;
    }
    50% {
      opacity: 0.85;
    }
  }

  .hero-video-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
      105deg,
      transparent 0%,
      transparent 40%,
      rgba(255, 255, 255, 0.07) 50%,
      transparent 60%,
      transparent 100%
    );
    background-size: 200% 100%;
    animation: hero-video-stage-shimmer 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
  }
}

.hero-lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--hero-text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text);
  margin: 2rem auto 0.75rem;
  letter-spacing: 0.04em;
}

.hero-copy {
  color: var(--hero-text-muted);
  max-width: 720px;
  margin: 0 auto 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.85rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: linear-gradient(135deg, #ffffff 0%, var(--color-accent-soft) 100%);
  color: var(--accent-dim);
  box-shadow: var(--shadow-hero-cta);
  transition:
    transform 0.32s var(--motion-spring),
    box-shadow 0.32s var(--motion-ease),
    filter 0.28s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 36px rgba(77, 68, 158, 0.22),
    0 4px 14px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow: var(--shadow-hero-cta), var(--focus-ring);
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(94, 84, 181, 0.28);
  background: transparent;
  color: var(--accent-dim);
  cursor: pointer;
  transition:
    border-color 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    transform 0.32s var(--motion-spring);
  text-decoration: none;
  text-align: center;
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(94, 84, 181, 0.06);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-ghost:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-ghost-on-hero {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}
.btn-ghost-on-hero:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.cta-row-spaced {
  margin-top: 2rem;
}

.accent-line {
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.06em;
  margin: 0;
}

.section-lead-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.taglines-tight {
  margin-bottom: 0 !important;
}

/* Flashy store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 2rem;
}

.store-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.35rem;
  border-radius: 14px;
  text-decoration: none;
  color: var(--hero-text);
  font-weight: 700;
  font-size: 0.9rem;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.22s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .store-link {
    animation: store-badge-glow 4.2s ease-in-out infinite;
    cursor: pointer;
  }

  .store-link::after {
    transform-origin: center;
    animation: store-inner-pulse 4.4s ease-in-out infinite;
  }
}

.store-link::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(
    125deg,
    var(--accent-dim) 0%,
    #7c6fd4 12%,
    #ffffff 28%,
    var(--accent) 42%,
    #b8a9ff 58%,
    var(--color-accent-soft) 72%,
    #ffffff 88%,
    var(--accent-dim) 100%
  );
  background-size: 400% 400%;
  animation: border-spin 3.2s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.store-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(145deg, #2d2660 0%, #1e1848 100%);
  z-index: -1;
}

.store-link-light::after {
  background: linear-gradient(145deg, #ffffff 0%, var(--color-surface-alt) 100%);
}

.store-link-light {
  color: var(--accent-dim);
}

.store-link-light small {
  color: var(--muted);
}

.store-link:hover {
  transform: translateY(-4px) scale(1.03);
  filter: brightness(1.12) saturate(1.08);
  text-decoration: none;
}

.store-link:active {
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.05);
}

.store-link:focus-visible {
  outline: none;
  border-radius: 16px;
  box-shadow: var(--focus-ring);
}

.store-link .shine {
  position: absolute;
  top: -10%;
  left: -100%;
  width: 42%;
  height: 120%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 34%,
    rgba(255, 255, 255, 0.85) 49%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.12) 66%,
    transparent 100%
  );
  transform: skewX(-22deg);
  animation: shine 3.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* Second glint, offset — reads as continuous sparkle */
.store-link .shine--echo {
  width: 38%;
  background: linear-gradient(
    95deg,
    transparent 0%,
    rgba(215, 213, 247, 0.15) 40%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(167, 139, 250, 0.35) 58%,
    transparent 100%
  );
  transform: skewX(18deg);
  animation: shine-echo 3.8s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  animation-delay: 1.35s;
}

@keyframes store-badge-glow {
  0%,
  100% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.24),
      0 0 14px rgba(94, 84, 181, 0.45),
      0 0 0 0 rgba(255, 255, 255, 0);
  }
  22% {
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.16),
      0 0 38px rgba(255, 255, 255, 0.42),
      0 0 52px rgba(139, 127, 216, 0.85),
      0 0 80px rgba(94, 84, 181, 0.35);
  }
  45% {
    box-shadow:
      0 5px 22px rgba(0, 0, 0, 0.2),
      0 0 22px rgba(94, 84, 181, 0.5),
      0 0 0 rgba(255, 255, 255, 0);
  }
  68% {
    box-shadow:
      0 8px 30px rgba(0, 0, 0, 0.14),
      0 0 44px rgba(255, 255, 255, 0.38),
      0 0 56px rgba(180, 170, 255, 0.8),
      0 0 72px rgba(255, 255, 255, 0.12);
  }
}

@keyframes store-inner-pulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  35% {
    transform: scale(1.028);
    filter: brightness(1.06);
  }
  70% {
    transform: scale(1.012);
    filter: brightness(1.03);
  }
}

@keyframes border-spin {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

@keyframes shine {
  0% {
    left: -120%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  42% {
    left: 240%;
    opacity: 1;
  }
  52%,
  100% {
    left: 240%;
    opacity: 0;
  }
}

@keyframes shine-echo {
  0% {
    left: 120%;
    opacity: 0;
  }
  10% {
    opacity: 0.95;
  }
  45% {
    left: -140%;
    opacity: 1;
  }
  55%,
  100% {
    left: -140%;
    opacity: 0;
  }
}

.store-link svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
  filter: drop-shadow(0 0 8px rgba(94, 84, 181, 0.5));
}

@media (prefers-reduced-motion: no-preference) {
  .store-link svg {
    animation: store-icon-glow 3.6s ease-in-out infinite;
  }
}

@keyframes store-icon-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(94, 84, 181, 0.5))
      drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  30% {
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.75))
      drop-shadow(0 0 20px rgba(94, 84, 181, 0.85));
  }
  55% {
    filter: drop-shadow(0 0 8px rgba(215, 213, 247, 0.9))
      drop-shadow(0 0 12px rgba(94, 84, 181, 0.55));
  }
}

.store-link small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.04em;
}

.store-link .label-main {
  line-height: 1.2;
}

/* Video block (standalone sections only — hero embed uses .hero-cinematic-wrap) */
.video-section {
  margin: clamp(2rem, 5vw, 3.5rem) 0;
}

.video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 560px);
  margin: 0 auto;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* Inset edge darkening on video frames */
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 min(120px, 18vw) rgba(15, 10, 35, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .video-frame::after {
    box-shadow: inset 0 0 48px rgba(15, 10, 35, 0.22);
  }
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #ece9f5;
}

.video-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
  background: radial-gradient(ellipse at center, #e8e4f7 0%, var(--color-surface-alt) 70%);
  color: var(--muted);
  font-size: 0.95rem;
}

.video-fallback-title {
  color: var(--accent);
  font-family: var(--font-display);
}

.video-fallback-text code {
  color: var(--text);
  font-size: 0.85rem;
}

.video-frame.no-video .video-fallback {
  display: flex;
}

.video-frame.no-video video {
  display: none;
}

.video-note {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-card);
  letter-spacing: 0.02em;
}

/* Sections */
section {
  padding: var(--section-y) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.22;
  color: var(--accent-dim);
}

.section-lead {
  color: var(--text-on-light);
  max-width: var(--prose-wide);
  margin: 0 0 1.5rem;
  line-height: 1.68;
  font-size: 1.02rem;
}

.hook-line {
  font-style: italic;
  color: var(--danger);
  margin: 1.25rem 0 1.5rem;
  font-size: 1.05rem;
}

.two-col {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.bullet-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-on-light);
}
.bullet-list li {
  margin-bottom: 0.5rem;
}

/* Home: privacy overview tabs (Industry baseline / Lantis standard) */
.insight-tabs-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.insight-tabs {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(94, 84, 181, 0.16);
  background: #ffffff;
  box-shadow:
    0 16px 48px rgba(77, 68, 158, 0.09),
    0 4px 14px rgba(77, 68, 158, 0.05);
  overflow: hidden;
}

.insight-tabs::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-dim) 0%,
    var(--accent) 45%,
    var(--color-accent-soft) 100%
  );
}

.insight-tabs-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem 1rem;
  background: linear-gradient(
    180deg,
    var(--color-surface-alt) 0%,
    rgba(245, 243, 252, 0.98) 100%
  );
  border-bottom: 1px solid rgba(94, 84, 181, 0.12);
}

.insight-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.1rem 1rem;
  margin: 0;
  border: none;
  border-radius: 20px;
  font: inherit;
  text-align: center;
  cursor: pointer;
  color: var(--text-card);
  background: #ffffff;
  border: 1px solid rgba(94, 84, 181, 0.18);
  box-shadow:
    0 2px 8px rgba(77, 68, 158, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  min-height: 5.75rem;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.25s ease;
}

.insight-tab:hover:not(.is-active) {
  transform: translateY(-2px);
  color: var(--accent);
  background: #ffffff;
  border-color: rgba(94, 84, 181, 0.28);
  box-shadow:
    0 6px 20px rgba(77, 68, 158, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.insight-tab:active:not(.is-active) {
  transform: translateY(0) scale(0.99);
}

.insight-tab:focus {
  outline: none;
}

.insight-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  z-index: 1;
}

.insight-tab.is-active {
  /* Match .nav-tabs a.is-active (Home selected) */
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 20px var(--glow);
  animation: insight-tab-activate 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes insight-tab-activate {
  from {
    opacity: 0.92;
    transform: translateY(4px) scale(0.98);
    box-shadow: 0 2px 10px rgba(77, 68, 158, 0.12);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 20px var(--glow);
  }
}

.insight-tab.is-active:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 24px var(--glow);
}

.insight-tab-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.95;
  line-height: 1.25;
  max-width: 15rem;
}

.insight-tab:not(.is-active) .insight-tab-kicker {
  color: var(--muted);
}

.insight-tab.is-active .insight-tab-kicker {
  color: #ffffff;
  opacity: 0.92;
}

.insight-tab-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.32;
  color: inherit;
  max-width: 16rem;
}

.insight-tab:not(.is-active) .insight-tab-title {
  color: var(--accent-dim);
  font-weight: 600;
}

.insight-tab.is-active .insight-tab-title {
  color: #ffffff;
}

.insight-tab:hover:not(.is-active) .insight-tab-kicker,
.insight-tab:hover:not(.is-active) .insight-tab-title {
  color: var(--accent);
}

.insight-panels {
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.35rem, 4vw, 2.5rem)
    clamp(2.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, #ffffff 0%, rgba(252, 251, 255, 0.98) 100%);
}

/* Insight panels: fade + slide when a tab becomes active */
.insight-panel.is-active .insight-panel-headline {
  animation: insight-panel-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.insight-panel.is-active .insight-panel-grid {
  animation: insight-panel-in 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.07s both;
}

.insight-panel.is-active .insight-panel-headline::after {
  animation: insight-accent-bar-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

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

@keyframes insight-accent-bar-in {
  from {
    opacity: 0;
    transform: scaleX(0.35);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.insight-panel-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.28;
  margin: 0 auto 1.65rem;
  padding: 0 0 1.35rem;
  max-width: 44rem;
  text-align: center;
  color: var(--accent-dim);
  border-bottom: none;
  position: relative;
}

.insight-panel-headline::after {
  content: "";
  display: block;
  width: 4rem;
  height: 5px;
  margin: 1.05rem auto 0;
  border-radius: 6px;
  transform-origin: center;
  background: linear-gradient(
    90deg,
    var(--accent-dim),
    var(--accent),
    var(--color-accent-soft)
  );
}

.insight-panel-grid {
  align-items: stretch;
  gap: clamp(1.65rem, 3.5vw, 2.5rem);
}

.insight-panel-grid > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.insight-panel-lead {
  margin-top: 0 !important;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-card);
  letter-spacing: 0.01em;
}

.insight-panel-hook {
  margin-bottom: 0 !important;
}

.insight-accent {
  margin-top: 0.35rem !important;
  font-size: 1.05rem;
}

.insight-bullet-list {
  margin: 0;
  padding: 1.35rem 1.45rem 1.35rem 1.55rem;
  border-radius: 16px;
  background: linear-gradient(
    155deg,
    rgba(248, 246, 255, 0.98) 0%,
    rgba(237, 232, 252, 0.88) 55%,
    rgba(231, 226, 248, 0.55) 100%
  );
  border: 1px solid rgba(94, 84, 181, 0.18);
  border-left: 5px solid var(--accent);
  box-shadow:
    0 10px 32px rgba(77, 68, 158, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  list-style-position: outside;
  color: var(--text-card);
  font-size: 0.98rem;
  line-height: 1.58;
}

.insight-bullet-list li {
  margin-bottom: 0.6rem;
  padding-left: 0.2rem;
}

.insight-bullet-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .insight-tabs-bar {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .insight-tab {
    min-height: unset;
    padding: 0.95rem 1rem;
  }

  .insight-tab-kicker,
  .insight-tab-title {
    max-width: none;
  }

  .insight-panel-headline {
    text-align: left;
  }

  .insight-panel-headline::after {
    margin-left: 0;
    margin-right: auto;
  }
}

.divider {
  height: 1px;
  margin: clamp(0.5rem, 2vw, 1rem) auto;
  max-width: 1140px;
  border: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(94, 84, 181, 0.12) 20%,
    rgba(94, 84, 181, 0.12) 80%,
    transparent
  );
}

/* Feature grid 3 x 2 */
.features-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.features-intro .section-title {
  margin-bottom: 0.75rem;
  color: var(--accent-dim);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Same kit as Features page titles — body reads purple-neutral, not flat grey */
.features-intro .section-lead {
  color: var(--text-card);
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 1.35rem;
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

.feature-card {
  position: relative;
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.38s var(--motion-spring),
    box-shadow 0.38s var(--motion-ease),
    border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(94, 84, 181, 0.28);
  box-shadow:
    0 14px 40px rgba(77, 68, 158, 0.12),
    0 4px 12px rgba(77, 68, 158, 0.06);
}

.feature-card:nth-child(even):hover {
  transform: translateY(-6px) scale(1.01);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  color: var(--accent);
  background: linear-gradient(
    145deg,
    rgba(94, 84, 181, 0.14) 0%,
    rgba(77, 68, 158, 0.08) 100%
  );
  border: 1px solid rgba(94, 84, 181, 0.18);
  flex-shrink: 0;
  transform: scale(1) rotate(0deg);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.42s var(--motion-spring);
}

.feature-card:hover .feature-icon {
  border-color: rgba(94, 84, 181, 0.35);
  background: linear-gradient(
    145deg,
    rgba(94, 84, 181, 0.22) 0%,
    rgba(77, 68, 158, 0.14) 100%
  );
  transform: scale(1.08) rotate(-4deg);
}

.feature-icon-svg {
  width: 1.375rem;
  height: 1.375rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
  color: var(--accent-dim);
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-card);
  line-height: 1.58;
}

/* Launch / WhatsApp promotional artwork (grid also used inside .cta-band) */
.promo-showcase-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

@media (min-width: 900px) {
  .promo-showcase-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.promo-showcase-card {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.35s var(--motion-ease),
    transform 0.35s var(--motion-spring);
}

@media (prefers-reduced-motion: no-preference) {
  .promo-showcase-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }
}

.promo-showcase-card img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.cta-band .cta-band-promo-grid {
  margin: 0 auto clamp(1.25rem, 3.5vw, 2rem);
  max-width: min(100%, 68rem);
}

/* CTA footer band — full brand purple (same family as header / nav active) */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
  margin: 2rem 0 0;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    rgba(215, 213, 247, 0.55) 0%,
    #ffffff 42%,
    rgba(239, 236, 245, 0.95) 100%
  );
  border: 1px solid rgba(94, 84, 181, 0.22);
  box-shadow: var(--shadow-md);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--accent-dim),
    var(--accent),
    var(--color-accent-soft)
  );
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--accent-dim);
  letter-spacing: -0.02em;
}

.cta-band .taglines {
  color: var(--text-on-light);
  max-width: 520px;
  margin: 0 auto 1rem;
}

.cta-band .taglines-tight {
  color: var(--text-on-light-muted);
  font-weight: 600;
}

.cta-band .closing {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin: 1.5rem 0 0;
}

/* Buttons in this band only — hero keeps light pills on purple slab */
.cta-band .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #ffffff;
  box-shadow: 0 6px 24px var(--glow);
  animation: none;
}

.cta-band .btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 32px rgba(94, 84, 181, 0.35);
}

.cta-band .btn-ghost {
  border: 2px solid var(--accent);
  color: var(--accent-dim);
  background: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

.cta-band .btn-ghost:hover {
  border-color: var(--accent-dim);
  background: rgba(94, 84, 181, 0.12);
  color: var(--accent-dim);
}

.cta-band .btn-primary:focus-visible,
.cta-band .btn-ghost:focus-visible {
  outline: none;
  box-shadow: 0 8px 28px rgba(94, 84, 181, 0.35), var(--focus-ring);
}

/* TAB 2: Features — vertical timeline + readable cards */
.features-page {
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(0.5rem, 2vw, 1.25rem);
}

.features-page-header {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.features-page-eyebrow {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.features-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--accent-dim);
  margin: 0 0 1rem;
  line-height: 1.12;
}

.features-page-lead {
  margin: 0;
  font-size: clamp(0.98rem, 0.5vw + 0.9rem, 1.125rem);
  line-height: 1.68;
  color: var(--text-card);
}

.features-timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 52rem;
}

.feature-timeline-item {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0 1.25rem;
  align-items: stretch;
  margin: 0;
  padding: 0 0 clamp(1.5rem, 3vw, 2rem);
}

.feature-timeline-item:last-child {
  padding-bottom: 0;
}

.feature-timeline-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 3.5rem;
  min-height: 100%;
}

.feature-timeline-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-dim) 100%);
  box-shadow:
    0 4px 18px rgba(77, 68, 158, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.feature-timeline-line {
  flex: 1 1 auto;
  width: 3px;
  min-height: 1.5rem;
  margin-top: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(94, 84, 181, 0.55) 0%,
    rgba(94, 84, 181, 0.08) 100%
  );
}

.feature-timeline-card {
  position: relative;
  margin: 0;
  padding: 1.35rem 1.45rem 1.5rem;
  padding-top: calc(1.35rem + 3px);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.3s ease,
    box-shadow 0.36s var(--motion-ease),
    transform 0.38s var(--motion-spring);
}

.feature-timeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(
    90deg,
    var(--accent-dim),
    var(--accent),
    var(--color-accent-soft)
  );
}

.feature-timeline-item:hover .feature-timeline-card {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-timeline-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.2vw + 0.85rem, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
  line-height: 1.38;
  color: var(--accent-dim);
}

.feature-timeline-card > p {
  margin: 0 0 0.85rem;
  color: var(--text-card);
  font-size: 1.01rem;
  line-height: 1.62;
}

.feature-timeline-card .feature-card-list + p.feature-detail-pull {
  margin-top: 0.5rem;
}

.feature-card-list {
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-card-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--text-card);
  font-size: 0.98rem;
  line-height: 1.52;
}

.feature-card-list li:last-child {
  margin-bottom: 0;
}

.feature-card-list li::before {
  content: "";
  position: absolute;
  left: 0.05rem;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  box-shadow: 0 0 0 2px rgba(94, 84, 181, 0.14);
}

.feature-detail-pull {
  font-style: italic;
  color: var(--danger) !important;
  margin-top: 0.65rem !important;
  margin-bottom: 0 !important;
  font-size: 0.98rem;
  line-height: 1.55;
}

.bullet-list-tight li {
  margin-bottom: 0.35rem;
}

.section-title-large {
  text-align: center;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 800;
  color: var(--accent-dim);
  margin-bottom: 0.35rem;
}

@media (max-width: 600px) {
  .feature-timeline-item {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0 0.85rem;
  }

  .feature-timeline-track {
    width: 2.75rem;
  }

  .feature-timeline-num {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 0.95rem;
  }

  .feature-timeline-line {
    width: 2px;
  }

  .feature-timeline-card {
    padding: 1.15rem 1.15rem 1.35rem;
    padding-top: calc(1.15rem + 3px);
  }
}

@media (max-width: 400px) {
  .feature-timeline-item {
    grid-template-columns: 1fr;
    gap: 0.65rem 0;
  }

  .feature-timeline-track {
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    gap: 0.75rem;
    min-height: unset;
  }

  .feature-timeline-line {
    flex: 1;
    min-height: 0;
    height: 2px;
    margin-top: 0;
    align-self: center;
    background: linear-gradient(
      90deg,
      rgba(94, 84, 181, 0.45) 0%,
      rgba(94, 84, 181, 0.08) 100%
    );
  }

  .feature-timeline-item--last .feature-timeline-track .feature-timeline-line {
    display: none;
  }
}

/* Comparison table */
.compare-section {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* Comparison nested under #features — override generic section padding */
#features section.compare-section.compare-section--features {
  padding-top: clamp(0.5rem, 1.5vw, 1rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.75rem);
  margin-top: clamp(0.35rem, 1.5vw, 0.85rem);
}

.features-compare-divider {
  margin: clamp(1.25rem, 3vw, 2rem) 0;
}

/* Single elevated module: headline + table read as one block */
.compare-shell {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(94, 84, 181, 0.2);
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    rgba(250, 249, 255, 0.98) 45%,
    rgba(239, 236, 245, 0.9) 100%
  );
  box-shadow:
    0 8px 32px rgba(77, 68, 158, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  overflow: hidden;
}

.compare-shell::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-dim),
    var(--accent),
    var(--color-accent-soft)
  );
}

.compare-intro {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.compare-shell .compare-intro {
  margin: 0 auto;
  max-width: 40rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem)
    clamp(1rem, 2vw, 1.35rem);
}

.compare-intro-title {
  color: var(--accent-dim);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.compare-shell .compare-intro-title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin-bottom: 0.7rem;
}

.compare-intro-lead {
  margin: 0;
  color: var(--text-card);
  line-height: 1.65;
  font-size: 1.025rem;
}

.compare-table-wrap {
  overflow-x: auto;
  margin-top: 0;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.compare-shell .compare-table-wrap {
  margin-top: 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(94, 84, 181, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.compare-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(94, 84, 181, 0.07);
  padding: 1.1rem 1.25rem;
  vertical-align: bottom;
}

.compare-table th:first-child {
  min-width: 9.5rem;
}

.compare-table th:nth-child(2) {
  color: var(--muted);
  background: rgba(113, 113, 132, 0.08);
}

.compare-table th:nth-child(3) {
  color: var(--accent-dim);
  background: rgba(94, 84, 181, 0.12);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-card);
}

.compare-table td:nth-child(2) {
  color: var(--muted);
}

.compare-win {
  color: var(--accent);
  font-weight: 600;
  background: rgba(94, 84, 181, 0.04);
  box-shadow: inset 3px 0 0 0 var(--accent);
}

.compare-table tbody tr {
  transition: background 0.15s ease;
}

.compare-table tbody tr:hover {
  background: rgba(94, 84, 181, 0.045);
}

.compare-table tbody tr:hover td.compare-win {
  background: rgba(94, 84, 181, 0.09);
}

.compare-table tbody tr:nth-child(even) {
  background: rgba(94, 84, 181, 0.03);
}

.compare-table tbody tr:nth-child(even) td.compare-win {
  background: rgba(94, 84, 181, 0.06);
}

.compare-table tbody tr:nth-child(even):hover {
  background: rgba(94, 84, 181, 0.06);
}

.compare-table tbody tr:nth-child(even):hover td.compare-win {
  background: rgba(94, 84, 181, 0.08);
}

/* TAB 3: FAQ */
.faq-section {
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.faq-section .section-title-large {
  margin-bottom: 0;
}

.faq-list {
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  list-style: none;
  color: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(94, 84, 181, 0.08);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  float: none;
  transition:
    transform 0.4s var(--motion-spring),
    background 0.25s ease,
    color 0.25s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg) scale(1.05);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--text-card);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-cta {
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 44rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    rgba(245, 242, 252, 0.95) 100%
  );
  box-shadow: var(--shadow-sm);
}

.faq-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 800;
  margin: 0 0 1.5rem;
  letter-spacing: 0.04em;
  color: var(--accent-dim);
}

.faq-cta .store-badges {
  margin-top: 0;
}

/* Footer */
.site-footer-full {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-surface-alt) 100%);
  padding: 3rem 0 2.5rem;
}

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

.logo-footer {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-jump {
  margin: 0 0 1.35rem;
}

.footer-jump-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-jump-list a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-jump-list a:hover {
  color: var(--accent);
  background: rgba(94, 84, 181, 0.08);
  text-decoration: none;
}

.footer-jump-list li + li::before {
  content: "·";
  margin-right: 0.65rem;
  color: rgba(94, 84, 181, 0.38);
  font-weight: 400;
}

.social-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--accent-dim);
  background: rgba(94, 84, 181, 0.06);
  border: 1px solid var(--border);
  transition:
    transform 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  text-decoration: none;
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.social-link:hover {
  transform: translateY(-3px);
  color: var(--accent);
  border-color: rgba(94, 84, 181, 0.4);
  box-shadow: 0 8px 24px rgba(94, 84, 181, 0.12);
  background: rgba(94, 84, 181, 0.1);
  text-decoration: none;
}

.social-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.footer-copy {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}

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

@media (prefers-reduced-motion: reduce) {
  .home-hero-section .hero-slab .hero-inner > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .reveal,
  .reveal.reveal--visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .logo {
    animation: none !important;
  }

  .insight-tabs-section.reveal.reveal--visible .insight-tabs {
    animation: none !important;
  }

  .features-timeline .feature-timeline-item.reveal.reveal--visible .feature-timeline-num {
    animation: none !important;
  }

  .faq-item[open] > p {
    animation: none !important;
  }

  .video-section.reveal--visible .video-frame {
    animation: none !important;
    box-shadow: var(--shadow-md);
  }

  .site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
  }

  .store-link,
  .store-link::before,
  .store-link::after,
  .store-link .shine,
  .store-link .shine--echo,
  .store-link svg {
    animation: none !important;
  }

  .store-link::after {
    transform: none;
    filter: none;
  }

  .store-link svg {
    filter: drop-shadow(0 0 8px rgba(94, 84, 181, 0.45));
  }

  .store-link:hover,
  .store-link:active {
    filter: none;
    transform: translateY(-2px);
  }

  .insight-panel.is-active .insight-panel-headline,
  .insight-panel.is-active .insight-panel-grid,
  .insight-panel.is-active .insight-panel-headline::after {
    animation: none !important;
  }

  .insight-tab.is-active {
    animation: none !important;
  }

  .insight-tab:hover:not(.is-active),
  .insight-tab:active:not(.is-active) {
    transform: none;
  }

  .nav-tabs a:hover:not(.is-active) {
    transform: none;
  }

  .faq-item summary::after {
    transition: none !important;
    transform: none !important;
  }

  .faq-item[open] summary::after {
    transform: none !important;
  }

  .btn-primary,
  .btn-ghost,
  .nav-tabs a,
  .insight-tab,
  .feature-card,
  .feature-timeline-card,
  .feature-icon,
  .faq-item,
  .social-link {
    transition-duration: 0.01ms;
  }

  html {
    scroll-behavior: auto;
  }
}
