@charset "UTF-8";

/* ─── Design Tokens ───────────────────────────────────────────── */
:root {
  --green:        #20d696;
  --green-dim:    rgba(32, 214, 150, 0.75);
  --green-dark:   #17c085;
  --blue:         #1ca1f2;
  --blue-dim:     rgba(28, 161, 242, 0.75);
  --purple:       #7b61ff;
  --purple-dim:   rgba(123, 97, 255, 0.75);
  --navy:         #0d1117;

  --bg:           #F9F9F7;
  --bg-card:      #ffffff;
  --bg-subtle:    #F3F3EF;
  --text-1:       #0d1117;
  --text-2:       #44505e;
  --text-3:       #8493a6;
  --border:       rgba(0,0,0,0.07);
  --border-med:   rgba(0,0,0,0.11);

  --max-w:        1200px;
  --rx-xl:        2rem;
  --rx-lg:        1.5rem;
  --rx-md:        1rem;
  --rx-pill:      999px;

  --ease-spring:  cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ─── Noise Overlay (GPU-safe, fixed, pointer-events-none) ────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ─── Layout ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 9rem 0; }
.section-alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ─── Typography ──────────────────────────────────────────────── */
h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--navy);
}
h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
p  { color: var(--text-2); font-size: 1.0625rem; line-height: 1.7; }
.text-sm { font-size: 0.875rem; color: var(--text-3); line-height: 1.65; }
.text-muted { color: var(--text-3); }

/* ─── Eyebrow Tag ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--rx-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(32, 214, 150, 0.1);
  color: var(--green-dark);
  border: 1px solid rgba(32, 214, 150, 0.2);
  margin-bottom: 1.75rem;
}
.eyebrow-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ─── Hero Eyebrow — elevated version ───────────────────────── */
.hero-content .eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
  padding: 0.6rem 1.25rem 0.6rem 0.85rem;
  background: rgba(32, 214, 150, 0.18);
  border: 1.5px solid rgba(32, 214, 150, 0.55);
  color: #0a6640;
  box-shadow:
    0 0 0 4px rgba(32, 214, 150, 0.07),
    0 4px 20px rgba(32, 214, 150, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-content .eyebrow-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(32, 214, 150, 0.25), 0 0 10px rgba(32, 214, 150, 0.7);
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--rx-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: transform 0.6s var(--ease-spring), box-shadow 0.6s var(--ease-spring), background 0.2s;
  position: relative;
  overflow: hidden; /* required for ripple clip */
}
.btn:active { transform: scale(0.97); }

/* Trailing icon pill inside button */
.btn-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease-spring);
  flex-shrink: 0;
}
.btn:hover .btn-icon { transform: translate(2px, -1px) scale(1.1); }

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: #141c26;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(13,17,23,0.28);
}

.btn-accent {
  background: var(--green);
  color: var(--navy);
}
.btn-accent:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(32,214,150,0.35);
}
.btn-accent .btn-icon { background: rgba(13,17,23,0.1); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border-med);
}
.btn-ghost:hover {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.18);
}

/* ─── Floating Pill Nav ───────────────────────────────────────── */
nav {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 1.5rem;
  pointer-events: none;
}
.nav-island {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3.5rem;
  padding: 0 0.5rem 0 1.25rem;
  background: rgba(249,249,247,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--rx-pill);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 8px 32px -8px rgba(0,0,0,0.08);
  pointer-events: all;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 1.75rem; width: auto; object-fit: contain; }
.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-2);
  padding: 0.4rem 0.85rem;
  border-radius: var(--rx-pill);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
  background: rgba(0,0,0,0.05);
  color: var(--navy);
}
.nav-cta { padding: 0.55rem 1.25rem; font-size: 0.875rem; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  nav { top: 0.75rem; padding: 0 1rem; }
}

/* ─── Ambient Glow Background ────────────────────────────────── */
.ambient-glow {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}
.glow {
  position: absolute;
  filter: blur(100px);
  opacity: 0.1;
  border-radius: 50%;
  animation: drift 22s infinite alternate var(--ease-smooth);
}
.glow-1 { background: var(--green);  width: 55vw; height: 55vw; top: -15vw; left: -5vw; }
.glow-2 { background: var(--blue);   width: 45vw; height: 45vw; bottom: -15vw; right: -5vw; animation-delay: -7s; }
.glow-3 { background: var(--purple); width: 40vw; height: 40vw; top: 35%; left: 45%; transform: translate(-50%,-50%); animation-delay: -14s; opacity: 0.07; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(4vw, 6vh) scale(1.05); }
  66%  { transform: translate(-2vw, 9vh) scale(0.96); }
  100% { transform: translate(-5vw, -4vh) scale(1.08); }
}

/* ─── Grid Overlay ───────────────────────────────────────────── */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(13,17,23,0.7) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.025;
  z-index: -3;
  pointer-events: none;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  padding: 10rem 0 7rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ── Floating 3-bar decorative system ─────────────────────────
   Three independent glass panels drifting at different depths.
   Each floats on its own timing to create a parallax-like 3D feel.
   backdrop-filter gives the frosted glass / material depth.
──────────────────────────────────────────────────────────────── */
.hero-decorative {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.symbol-element {
  position: absolute;
  border-radius: 1.75rem;
  /* Glass material: frosted surface + edge refraction */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 2px 0   rgba(255,255,255,0.7) inset,     /* top highlight — edge refraction */
    0 -1px 0  rgba(0,0,0,0.04)     inset,      /* bottom micro-shadow */
    0 20px 60px -12px rgba(0,0,0,0.10),         /* primary elevation shadow */
    0  6px 18px -6px  rgba(0,0,0,0.06);         /* secondary close shadow */
  will-change: transform;
}

/* Green bar — upper-left, partially off screen */
.shape-top {
  background: linear-gradient(125deg,
    rgba(32, 214, 150, 0.82) 0%,
    rgba(32, 214, 150, 0.28) 55%,
    rgba(32, 214, 150, 0.04) 100%
  );
  border: 1px solid rgba(32, 214, 150, 0.5);
  width: 30vw;
  height: 10vh;
  min-height: 60px;
  top: 10%;
  left: -7vw;
  transform: skewY(-19deg);
  animation: float-a 11s ease-in-out infinite alternate;
}

/* Blue bar — mid-right, partially off screen */
.shape-mid {
  background: linear-gradient(125deg,
    rgba(28, 161, 242, 0.82) 0%,
    rgba(28, 161, 242, 0.28) 55%,
    rgba(28, 161, 242, 0.04) 100%
  );
  border: 1px solid rgba(28, 161, 242, 0.5);
  width: 34vw;
  height: 10vh;
  min-height: 60px;
  top: 42%;
  right: -10vw;
  transform: skewY(-19deg);
  animation: float-b 13s ease-in-out infinite alternate;
  animation-delay: -4s;
}

/* Purple bar — lower-left */
.shape-bot {
  background: linear-gradient(125deg,
    rgba(123, 97, 255, 0.82) 0%,
    rgba(123, 97, 255, 0.28) 55%,
    rgba(123, 97, 255, 0.04) 100%
  );
  border: 1px solid rgba(123, 97, 255, 0.5);
  width: 22vw;
  height: 10vh;
  min-height: 60px;
  bottom: 8%;
  left: 7vw;
  transform: skewY(-19deg);
  animation: float-c 9s ease-in-out infinite alternate;
  animation-delay: -8s;
}

/* Each bar has a slightly different arc so they never sync */
@keyframes float-a {
  0%   { transform: skewY(-19deg) translateY(0px)   rotate(0deg)   translateX(0); }
  40%  { transform: skewY(-19deg) translateY(-16px)  rotate(0.4deg) translateX(4px); }
  100% { transform: skewY(-19deg) translateY(-30px)  rotate(1.1deg) translateX(-3px); }
}
@keyframes float-b {
  0%   { transform: skewY(-19deg) translateY(0px)   rotate(0deg)    translateX(0); }
  50%  { transform: skewY(-19deg) translateY(-20px)  rotate(-0.5deg) translateX(-5px); }
  100% { transform: skewY(-19deg) translateY(-36px)  rotate(1.3deg)  translateX(3px); }
}
@keyframes float-c {
  0%   { transform: skewY(-19deg) translateY(0px)   rotate(0deg)   translateX(0); }
  60%  { transform: skewY(-19deg) translateY(-12px)  rotate(0.6deg) translateX(5px); }
  100% { transform: skewY(-19deg) translateY(-24px)  rotate(-0.8deg) translateX(-2px); }
}

/* ── Scroll driver wraps the entire sticky hero ── */
.hero-scroll-driver {
  position: relative;
  /* height is set dynamically by JS once video duration is known */
  height: 500vh;
}

/* Hero sticks to viewport while scroll driver scrolls past it */
.hero {
  position: sticky !important;
  top: 0;
  height: 100dvh;
  min-height: 100dvh;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 2-column layout inside the sticky hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content { position: relative; z-index: 10; }
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content p   { max-width: 480px; margin-bottom: 2.5rem; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; }

/* ── Video frame — double-bezel screen ── */
.hero-video-wrap {
  position: relative;
  z-index: 10;
  /* Outer shell */
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1.75rem;
  padding: 0.5rem;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 40px 100px -24px rgba(0,0,0,0.13),
    0 12px 32px -12px rgba(0,0,0,0.07);
}
.hero-video-screen {
  /* Inner screen */
  border-radius: calc(1.75rem - 0.5rem);
  overflow: hidden;
  background: #0d1117;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
  aspect-ratio: 16 / 9;
  position: relative;
}
.hero-video-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Scroll progress indicator — thin line at bottom of video */
.video-progress-track {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 0 0 calc(1.75rem - 0.5rem) calc(1.75rem - 0.5rem);
  overflow: hidden;
}
.video-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--green);
  transition: width 0.05s linear;
  border-radius: inherit;
}

/* Scroll hint at bottom of hero */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.45;
  animation: hint-fade 2.5s ease-in-out infinite alternate;
}
.hero-scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-3);
}
.scroll-arrow {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  animation: scroll-arrow 1.8s ease-in-out infinite;
}
@keyframes scroll-arrow {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.1%{ transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes hint-fade {
  from { opacity: 0.45; }
  to   { opacity: 0.15; }
}

/* Metrics strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 10;
  margin-top: auto;
}
.hero-bottom {
  padding: 0 2rem 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.metric {
  padding: 0 2rem 0 0;
  border-right: 1px solid var(--border);
}
.metric:first-child { padding-left: 0; }
.metric:last-child  { border-right: none; }
.metric-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.metric-label { font-size: 0.8125rem; color: var(--text-3); font-weight: 500; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-video-wrap { max-width: 520px; margin: 0 auto; }
  .hero-content p { max-width: 100%; }
  .hero-decorative { opacity: 0.3; }
}

/* ── Mobile hero: sticky scroll-drive, compact layout ── */
@media (max-width: 768px) {
  /* Grid: text above, video below, tight gap */
  .hero-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Video: full width, compact height so everything fits in 100dvh */
  .hero-video-wrap { display: block !important; max-width: 100%; margin: 0; }
  .hero-video-screen { aspect-ratio: 16 / 7; }

  /* Tighten nav clearance to gain more room */
  .hero .container { padding-top: 4.5rem !important; }

  /* Tighten text spacing to make room for the video */
  .hero-content h1 { margin-bottom: 0.75rem; }
  .hero-content p  { margin-bottom: 1.25rem; }

  /* Decorative bars softer so they don't fight the text */
  .hero-decorative { opacity: 0.18; }
}

@media (max-width: 640px) {
  .metrics-strip { grid-template-columns: repeat(2,1fr); gap: 1.5rem 0; }
  .metric { border-right: none; padding: 0; }
  .metric:nth-child(odd) { border-right: 1px solid var(--border); padding-right: 1.5rem; }
  .metric:nth-child(even) { padding-left: 1.5rem; }
}

/* ─── Section Header ─────────────────────────────────────────── */
.section-header { max-width: 600px; margin-bottom: 5rem; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { margin-top: 0.75rem; max-width: 52ch; }
.section-header.center p { margin-left: auto; margin-right: auto; }

/* ─── Double-Bezel Cards ────────────────────────────────────── */
.card-shell {
  background: rgba(0,0,0,0.025);
  border: 1px solid var(--border);
  border-radius: calc(var(--rx-xl) + 0.375rem);
  padding: 0.375rem;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring);
}
.card-shell:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.1);
}
.card-core {
  background: var(--bg-card);
  border-radius: var(--rx-xl);
  padding: 2rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,1);
  height: 100%;
}

/* ─── Audience Cards ─────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
}
.audience-card .card-core { padding: 2.25rem; }
.card-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}
.card-icon-wrap svg { width: 1.375rem; height: 1.375rem; }
.audience-card h3 { margin-bottom: 0.75rem; }

/* Color accents on audience cards */
.audience-card:nth-child(1) .card-shell { border-top: 2px solid var(--green); }
.audience-card:nth-child(2) .card-shell { border-top: 2px solid var(--blue); }
.audience-card:nth-child(3) .card-shell { border-top: 2px solid var(--purple); }
.audience-card:nth-child(1) .card-icon-wrap { background: rgba(32,214,150,0.08); border-color: rgba(32,214,150,0.2); color: var(--green-dark); }
.audience-card:nth-child(2) .card-icon-wrap { background: rgba(28,161,242,0.08); border-color: rgba(28,161,242,0.2); color: var(--blue); }
.audience-card:nth-child(3) .card-icon-wrap { background: rgba(123,97,255,0.08); border-color: rgba(123,97,255,0.2); color: var(--purple); }

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

/* ─── Audience Partner Logos ─────────────────────────────────── */
.partners-logos {
  margin: 2rem 0.5rem 1.25rem;
}
.partners-logos .card-core {
  padding: 1.5rem 1.75rem;
}
.partners-logos-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 0.45rem;
}
.partners-logos-subtitle {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 62ch;
  margin-bottom: 1rem;
}
.partners-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
}
.partner-logo-item {
  height: 84px;
  border-radius: var(--rx-md);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1rem;
}
.partner-logo-item img {
  max-width: 100%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.9;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}
.partner-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .partners-logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .partner-logo-item {
    height: 78px;
  }
}

/* ─── Steps ──────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.25rem;
}
.step-card .card-core { padding: 2rem; }
.step-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--bg-subtle);
  margin-bottom: 1.25rem;
  font-variant-numeric: tabular-nums;
}
/* Color step numbers */
.step-card:nth-child(1) .step-num { -webkit-text-stroke: 1.5px rgba(32,214,150,0.3); }
.step-card:nth-child(2) .step-num { -webkit-text-stroke: 1.5px rgba(28,161,242,0.3); }
.step-card:nth-child(3) .step-num { -webkit-text-stroke: 1.5px rgba(123,97,255,0.3); }
.step-card:nth-child(4) .step-num { -webkit-text-stroke: 1.5px rgba(32,214,150,0.3); }
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 540px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ─── Features ───────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

/* Desktop inset — breathing room on large screens */
@media (min-width: 960px) {
  .features-grid { padding: 0 3rem; }
}

.feature-item {
  padding: 2.75rem 3.5rem 2.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature-item:nth-child(odd) {
  padding-right: 3.5rem;
  border-right: 1px solid var(--border);
}
.feature-item:nth-child(even) {
  padding-left: 3.5rem;
  padding-right: 0;
}
.feature-item:nth-last-child(-n+2) { border-bottom: none; }

/* ── Feature icon wrap — branded SVG containers ── */
.feature-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: var(--fi-bg);
  border: 1px solid var(--fi-bd);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.feature-icon-wrap svg {
  width: 1.25rem;
  height: 1.25rem;
}
.feature-item:hover .feature-icon-wrap {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px var(--fi-bg);
}
.feature-item h3 { margin-bottom: 0.125rem; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { padding: 2rem 0 !important; border-right: none !important; border-bottom: 1px solid var(--border) !important; gap: 0.75rem; }
  .feature-item:last-child { border-bottom: none !important; }
}

/* ─── Partners ───────────────────────────────────────────────── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.25rem;
}
.partner-card .card-core { padding: 3rem; }
.partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--rx-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.badge-blue   { background: rgba(28,161,242,0.1);  color: #0284c7; border: 1px solid rgba(28,161,242,0.2); }
.badge-purple { background: rgba(123,97,255,0.1);  color: #6d28d9; border: 1px solid rgba(123,97,255,0.2); }
.partner-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.partner-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.partner-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-2);
}
.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(32,214,150,0.1);
  border: 1px solid rgba(32,214,150,0.2);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 800;
}
.partner-action { margin-top: 2.5rem; }
@media (max-width: 768px) {
  .partners-grid { grid-template-columns: 1fr; }
}

/* ─── Pricing ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  align-items: stretch;
}
.price-card .card-core {
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.price-card.popular .card-shell {
  border: 1px solid rgba(123,97,255,0.35);
  box-shadow: 0 0 0 4px rgba(123,97,255,0.06);
}
.price-card.popular .card-core { background: #fdfcff; }
.popular-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--rx-pill);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--purple);
  color: white;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}
.tier-name  { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.price-val  { font-size: 2.5rem; font-weight: 800; color: var(--navy); letter-spacing: -0.04em; line-height: 1; }
.price-unit { font-size: 0.875rem; font-weight: 500; color: var(--text-3); vertical-align: baseline; }
.price-desc { font-size: 0.8rem; color: var(--text-3); margin: 0.625rem 0 1.75rem; min-height: 2.5rem; }
.price-divider { height: 1px; background: var(--border); margin-bottom: 1.5rem; }
.price-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-2);
}
.price-list li.off { opacity: 0.35; }
.price-list li::before { content: '✓'; color: var(--navy); font-size: 0.75rem; font-weight: 800; }
.price-list li.off::before { content: '—'; }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ─── Testimonials ───────────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
}
.testi-card .card-core {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.quote-mark {
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--border-med);
  font-family: Georgia, serif;
  font-weight: 900;
}
.testi-text {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 0.875rem; }
.avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8125rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.8);
}
.author-name  { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.author-title { font-size: 0.8rem; color: var(--text-3); }
@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ─── CTA Section ────────────────────────────────────────────── */
.cta-wrap { padding: 0 1.5rem 6rem; }
.cta-inner {
  background: var(--navy);
  border-radius: var(--rx-xl);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* CTA background bars (echo of the hero) */
.cta-inner::before {
  content: '';
  position: absolute;
  width: 80%; height: 35%;
  left: 30%; top: -15%;
  background: linear-gradient(110deg, rgba(32,214,150,0.18) 0%, transparent 100%);
  border-radius: 1.5rem;
  transform: skewY(-11deg);
  pointer-events: none;
}
.cta-inner::after {
  content: '';
  position: absolute;
  width: 60%; height: 30%;
  left: 40%; bottom: -10%;
  background: linear-gradient(110deg, rgba(123,97,255,0.18) 0%, transparent 100%);
  border-radius: 1.5rem;
  transform: skewY(-11deg);
  pointer-events: none;
}
.cta-inner h2  { color: white; margin-bottom: 0.75rem; position: relative; z-index: 1; }
.cta-inner p   { color: rgba(255,255,255,0.6); max-width: 44ch; margin: 0 auto 2.5rem; position: relative; z-index: 1; }
.cta-inner .btn { position: relative; z-index: 1; }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}
.footer-brand {
  max-width: 340px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
}
.footer-logo img {
  display: block;
  width: 140px;
  height: auto;
  object-fit: contain;
}
.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-top: 0.35rem;
}
.footer-logo-text span { color: var(--green); }
.footer-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-3);
  margin-top: 0.65rem;
  max-width: 320px;
}
.footer-col {
  min-width: 190px;
}
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.footer-col p,
.footer-col a {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--navy);
}
.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-transform: uppercase;
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-3);
  font-weight: 500;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--navy); }

/* ─── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  filter: blur(5px);
  transition:
    opacity  0.9s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter   0.72s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.20s; }
.reveal-d3 { transition-delay: 0.30s; }
.reveal-d4 { transition-delay: 0.40s; }

/* ─── Global Mobile Spacing & Margin Fixes ──────────────────── */
@media (max-width: 768px) {
  /* Reduce section vertical breathing room */
  .section { padding: 5rem 0; }
  .section-header { margin-bottom: 3rem; }

  /* Container horizontal edges */
  .container { padding: 0 1.25rem; }

  /* Hero bottom strip */
  .hero-bottom { padding: 0 1.25rem 2rem; }

  /* Partner cards — generous desktop padding is too much on mobile */
  .partner-card .card-core { padding: 2rem 1.5rem; }

  /* Pricing cards */
  .price-card .card-core { padding: 2rem 1.5rem; }

  /* CTA block */
  .cta-wrap { padding: 0 1rem 4rem; }
  .cta-inner { padding: 3.5rem 1.5rem; }

  /* Audience / testimonial cards */
  .audience-card .card-core { padding: 1.75rem; }
  .testi-card .card-core { padding: 1.75rem; }

  /* Steps grid */
  .step-card .card-core { padding: 1.75rem; }

  /* Metric numbers slightly smaller */
  .metric-num { font-size: 1.75rem; }

  /* h2 tighter on small screens */
  h2 { font-size: clamp(1.65rem, 6vw, 2.5rem); }

  /* Hero h1 comfortable reading size */
  h1 { font-size: clamp(1.65rem, 6vw, 2.25rem); }

  /* Hide scroll hint — no scroll-driven video on mobile */
  .hero-scroll-hint { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS — comprehensive fixes
   Breakpoints: 960 / 768 / 640 / 480 / 380
   ═══════════════════════════════════════════════════════════════ */

/* ── Tablet / mid-range (≤ 960px) ─────────────────────────────── */
@media (max-width: 960px) {
  /* Section vertical rhythm */
  .section { padding: 6rem 0; }
  .section-header { margin-bottom: 3.5rem; }

  /* CTA block */
  .cta-wrap { padding: 0 1.5rem 5rem; }
  .cta-inner { padding: 5rem 3rem; }
}

/* ── Mobile landscape / large phone (≤ 768px) ─────────────────── */
@media (max-width: 768px) {
  /* Containers get tighter side padding */
  .container { padding: 0 1.5rem; }

  /* Sections breathe less tall */
  .section { padding: 5rem 0; }
  .section-header { margin-bottom: 2.75rem; }

  /* Hero: extra clearance so fixed nav never overlaps headline */
  .hero .container { padding-top: 6.75rem !important; }

  /* Hero decorative bars fade back so text stays readable */
  .hero-decorative { opacity: 0.25; }

  /* Video frame: limit visual footprint on mid-mobile */
  .hero-video-wrap { max-width: 480px; }

  /* Audience card icon bar top accent needs some breathing */
  .audience-card .card-core { padding: 1.75rem; }

  /* Partner cards — remove excessive padding */
  .partner-card .card-core { padding: 2rem; }

  /* Pricing cards tighter */
  .price-card .card-core { padding: 2rem 1.5rem; }

  /* CTA */
  .cta-wrap { padding: 0 1rem 4rem; }
  .cta-inner { padding: 4rem 2rem; }
  .cta-inner p { max-width: 100%; }

  /* Footer */
  footer { padding: 2.5rem 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-logo img { width: 124px; }
  .footer-col { min-width: 100%; }
}

/* ── Small phone (≤ 640px) ────────────────────────────────────── */
@media (max-width: 640px) {
  /* Hero grid gap tighter */
  .hero-grid { gap: 1.5rem; }

  /* Shrink video frame height so metrics strip stays on-screen */
  .hero-video-screen { aspect-ratio: 16 / 7; }
  .hero-video-wrap { max-width: 100%; }

  /* Hero bottom metrics */
  .hero-bottom { padding: 0 1.5rem 2rem; }
  .metrics-strip { padding: 1.5rem 0 0; gap: 0.5rem 0; }
  .metric-num { font-size: 1.875rem; }

  /* Hide scroll hint early — it overlaps the 2-col metrics at this size */
  .hero-scroll-hint { display: none; }

  /* Hero CTA buttons full-width stack */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Reduce eyebrow bottom margin */
  .eyebrow { margin-bottom: 1.25rem; }

  /* h1 & p tighter */
  .hero-content h1 { margin-bottom: 1rem; }
  .hero-content p  { margin-bottom: 1.75rem; font-size: 0.9375rem; }

  /* Card cores on mobile */
  .card-core { padding: 1.5rem; }
  .step-card .card-core  { padding: 1.5rem; }
  .testi-card .card-core { padding: 1.5rem; gap: 1rem; }
  .audience-card .card-core { padding: 1.5rem; }
  .partner-card .card-core  { padding: 1.5rem; }

  /* Step numbers slightly smaller */
  .step-num { font-size: 2.25rem; margin-bottom: 1rem; }

  /* CTA */
  .cta-inner { padding: 3rem 1.5rem; }
  .cta-inner h2 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
}

/* ── Very small phone (≤ 480px) ───────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 1.125rem; }

  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2rem; }

  /* Hero nav clearance on very small phones */
  .hero .container { padding-top: 6.5rem !important; }

  /* Video: even more compact at very small phones */
  .hero-video-screen { aspect-ratio: 16 / 6; }

  /* Hero grid flex column (already set by 768px block) */
  .hero-grid { display: flex; flex-direction: column; }

  /* Hero metrics tighter */
  .hero-bottom { padding: 0 1.125rem 1.5rem; }
  .metrics-strip { padding: 1.25rem 0 0; }
  .metric-num { font-size: 1.625rem; }

  /* Typography scale */
  h2 { font-size: clamp(1.75rem, 7.5vw, 2.5rem); }
  h3 { font-size: 1.1rem; }

  /* Pricing grid 1-col already handled, just tighten card padding */
  .price-card .card-core { padding: 1.75rem 1.25rem; }

  /* Scroll hint hidden — overlaps metrics on small screens */
  .hero-scroll-hint { display: none; }

  /* Feature items */
  .feature-item { padding: 1.5rem 0 !important; }
}

/* ── Smallest phones (≤ 380px) ────────────────────────────────── */
@media (max-width: 380px) {
  .container { padding: 0 1rem; }
  .section { padding: 3.5rem 0; }

  .btn { padding: 0.75rem 1.125rem; font-size: 0.875rem; }
  .metric-num { font-size: 1.375rem; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }

  /* Card core baseline */
  .card-core { padding: 1.25rem; }
}


/* ═══════════════════════════════════════════════════════════════════
   PREMIUM FX — iPod / Apple-tier micro-interactions
   All animations via transform + opacity + filter (GPU-safe)
═══════════════════════════════════════════════════════════════════ */

/* ── 1. Hero entry animation ──────────────────────────────────────
   Eyebrow, paragraph and actions fade-blur-up on page load.
   CSS animations run immediately; no JS needed for these three. */
@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.hero-content .eyebrow {
  /* Reset any existing state so the animation starts clean */
  animation: hero-in 0.75s 0.05s var(--ease-out) both;
}
.hero-content > p {
  animation: hero-in 0.75s 0.32s var(--ease-out) both;
}
.hero-actions {
  animation: hero-in 0.75s 0.48s var(--ease-out) both;
}

/* ── 2. H1 word-by-word perspective reveal ──────────────────────── */
.hero-content h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  filter: blur(5px);
  will-change: opacity, transform, filter;
  transition:
    opacity   0.72s var(--ease-out),
    transform 0.72s var(--ease-out),
    filter    0.58s var(--ease-out);
}
.hero-content.loaded h1 .word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── 3. Section h2 word stagger ─────────────────────────────────── */
.section-header h2 .hword {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
  transition:
    opacity   0.65s var(--ease-out),
    transform 0.65s var(--ease-out),
    filter    0.5s  var(--ease-out);
}
.section-header h2.h2-visible .hword {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── 4. Card spotlight layer ─────────────────────────────────────── */
.card-shell {
  position: relative;
  overflow: hidden;
}
.card-spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 50%),
    rgba(32, 214, 150, 0.065) 0%,
    transparent 65%
  );
  transition: opacity 0.55s var(--ease-out);
  z-index: 0;
}
.card-shell:hover .card-spotlight { opacity: 1; }

/* All direct children of card-shell must sit above the spotlight */
.card-core,
.tut-inner {
  position: relative;
  z-index: 1;
}

/* ── 5. Directional feature reveal ─────────────────────────────────
   Left-column items slide from the left; right column from the right.
   Overrides the base .reveal transform (cascade order wins). */
.feature-item.reveal-from-left {
  transform: translateX(-30px) translateY(14px);
  filter: blur(4px);
}
.feature-item.reveal-from-right {
  transform: translateX(30px) translateY(14px);
  filter: blur(4px);
}
/* Once the existing IntersectionObserver adds .is-visible: */
.feature-item.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
  filter: blur(0);
}

/* ── 6. Ripple ───────────────────────────────────────────────────── */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  pointer-events: none;
  animation: ripple-out 0.75s var(--ease-out) forwards;
}
.btn-accent  .ripple,
.btn-primary .ripple { background: rgba(255, 255, 255, 0.22); }
.btn-ghost   .ripple { background: rgba(13,  17,  23,  0.07); }

@keyframes ripple-out {
  to { transform: scale(4); opacity: 0; }
}

/* ── 7. Active nav link ──────────────────────────────────────────── */
.nav-links a {
  transition: background 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth);
}
.nav-links a.active {
  background: rgba(32, 214, 150, 0.1);
  color: var(--green-dark);
}

/* ── 8. Nav scrolled — deeper frost & shadow ────────────────────── */
.nav-island {
  transition:
    background 0.4s var(--ease-smooth),
    box-shadow 0.4s var(--ease-smooth);
}
nav.nav-scrolled .nav-island {
  background: rgba(249, 249, 247, 0.97);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.85) inset,
    0 12px 42px -8px rgba(0, 0, 0, 0.12),
    0  4px 14px -4px rgba(0, 0, 0, 0.06);
}

/* ── 9. Feature icon: enhanced hover lift ───────────────────────── */
.feature-item:hover .feature-icon-wrap {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 16px 32px -8px color-mix(in srgb, var(--fi-c) 42%, transparent);
}

/* ── 10. CTA button ambient glow pulse ──────────────────────────── */
.cta-wrap .btn-accent {
  animation: cta-glow 2.8s ease-in-out infinite;
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0  0px rgba(32, 214, 150, 0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(32, 214, 150, 0);   }
}

/* ── 11. Popular pricing card soft pulse ────────────────────────── */
.price-card.popular .card-shell {
  animation: popular-glow 3.5s ease-in-out infinite;
}
@keyframes popular-glow {
  0%, 100% { box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.07); }
  50%       { box-shadow: 0 0 0 9px rgba(123, 97, 255, 0.14); }
}

/* ── 12. Hero metrics strip — staggered count-in shimmer ─────────── */
.hero-bottom .metric:nth-child(1) .metric-num { animation-delay: 0.0s; }
.hero-bottom .metric:nth-child(2) .metric-num { animation-delay: 0.1s; }
.hero-bottom .metric:nth-child(3) .metric-num { animation-delay: 0.2s; }
.hero-bottom .metric:nth-child(4) .metric-num { animation-delay: 0.3s; }

/* ── 13. Card shell — tighter spring on hover (desktop) ─────────── */
@media (hover: hover) {
  .card-shell:hover {
    transform: translateY(-6px);
    box-shadow:
      0 28px 70px -20px rgba(0, 0, 0, 0.11),
      0  8px 24px -8px  rgba(0, 0, 0, 0.05);
    transition: transform 0.55s var(--ease-spring), box-shadow 0.55s var(--ease-spring);
  }
}

/* ── 14. Btn icon diagonal kick — enhanced spring ──────────────── */
.btn:hover .btn-icon {
  transform: translate(3px, -2px) scale(1.12);
  transition: transform 0.45s var(--ease-spring);
}

/* ── Mobile: disable GPU-heavy effects ───────────────────────────── */
@media (max-width: 768px) {
  /* Kill spotlight on mobile (expensive radial per touch) */
  .card-spotlight { display: none; }

  /* Directional reveal falls back to simple vertical */
  .feature-item.reveal-from-left,
  .feature-item.reveal-from-right {
    transform: translateY(18px);
  }

  /* Disable perpetual animations (battery) */
  .cta-wrap .btn-accent  { animation: none; }
  .price-card.popular .card-shell { animation: none; }

  /* Simplify word reveals on hero (blur is expensive on mobile repaint) */
  .hero-content h1 .word {
    filter: none;
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }
  .section-header h2 .hword {
    filter: none;
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  }
  .reveal {
    filter: none;
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  }
  .hero-content .eyebrow,
  .hero-content > p,
  .hero-actions {
    animation-name: hero-in-simple;
  }
  @keyframes hero-in-simple {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ═══════════════════════════════════════════════════════════════
   INTERACTIVE TUTORIAL — Fin, o assistente Fintra
   ═══════════════════════════════════════════════════════════════ */

/* ── Outer shell (reuses site's double-bezel card) ── */
.tut-outer { max-width: 1040px; margin: 0 auto; }
.tut-outer:hover { transform: none; } /* disable lift on large interactive block */

.tut-inner {
  background: var(--bg-card);
  border-radius: var(--rx-xl);
  padding: 2rem;
}

/* ── Tutorial root ── */
.tut { font-family: inherit; padding: 0; max-width: 100%; }

/* ── Tutorial header ── */
.tut-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.tut-logo {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.tut-logo em { color: var(--blue); font-style: normal; }

/* ── Progress bar ── */
.progress-wrap { display: flex; align-items: center; gap: 10px; flex: 1; margin-left: 1.5rem; }
.progress-bar { flex: 1; height: 4px; background: var(--border); border-radius: 999px; overflow: hidden; }
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--green));
  border-radius: 999px;
  transition: width 0.4s ease;
}
.progress-label { font-size: 0.75rem; color: var(--text-3); white-space: nowrap; }

/* ── Chapter tab strip ── */
.chapter-strip { display: flex; gap: 6px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.chap-btn {
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-med);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  min-height: 36px;
}
.chap-btn:hover { border-color: rgba(28,161,242,0.3); color: var(--text-1); }
.chap-btn.active { background: rgba(28,161,242,0.09); border-color: rgba(28,161,242,0.35); color: var(--blue); }
.chap-btn.done  { background: rgba(32,214,150,0.09); border-color: rgba(32,214,150,0.35); color: var(--green-dark); }

/* ── Step card container (JS renders into this) ── */
#step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--rx-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13,17,23,0.06);
}

/* ── Two-column step layout ── */
.step-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.step-left {
  padding: 1.75rem;
  border-right: 1px solid var(--border);
}
.step-right {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

/* ── Override site's large .step-num inside tutorial ── */
#step-card .step-num,
.complete-card .step-num {
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  color: var(--text-3) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  line-height: 1.5 !important;
  -webkit-text-stroke: 0 !important;
}

.step-title { font-size: 1.125rem; font-weight: 700; color: var(--text-1); margin-bottom: 1rem; line-height: 1.3; }
.step-desc  { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; margin-bottom: 1.25rem; }

/* ── Tip box ── */
.step-tip {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 1rem;
  padding: 10px 12px;
  border-radius: var(--rx-md);
  background: rgba(28,161,242,0.07);
  border: 1px solid rgba(28,161,242,0.18);
  font-size: 0.8rem;
  color: var(--blue);
  line-height: 1.6;
}
.step-tip strong { font-weight: 700; color: var(--blue); white-space: nowrap; }
.step-tip svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; stroke: var(--blue); opacity: 0.8; }

/* ── Action list ── */
.action-list { display: flex; flex-direction: column; gap: 6px; }
.action-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8125rem; color: var(--text-1); line-height: 1.5; }
.action-dot {
  width: 20px; height: 20px; border-radius: 999px;
  background: rgba(28,161,242,0.09); color: var(--blue);
  font-size: 0.6875rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

/* ── GIF area ── */
.gif-img {
  width: 100%;
  max-width: 340px;
  border-radius: var(--rx-md);
  border: 1px solid var(--border);
  display: block;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.gif-video {
  width: 100%;
  max-width: 480px;
  max-height: 320px;
  border-radius: var(--rx-md);
  border: 1px solid var(--border);
  display: none; /* shown via JS when ready */
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  background: #000;
}
.gif-caption { font-size: 0.6875rem; color: var(--text-3); font-weight: 500; text-align: center; margin-top: 4px; }
.gif-fallback, .gif-placeholder {
  width: 100%; max-width: 300px;
  border-radius: var(--rx-md); border: 1px solid var(--border);
  background: var(--bg); display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem 1rem; gap: 10px; text-align: center;
}
.gif-fallback { display: none; } /* shown via JS onerror */
.gif-icon {
  width: 40px; height: 40px; border-radius: var(--rx-md);
  background: var(--bg-subtle); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.gif-icon svg { width: 20px; height: 20px; opacity: 0.45; }
.gif-label    { font-size: 0.75rem; color: var(--text-2); font-weight: 500; }
.gif-sublabel { font-size: 0.6875rem; color: var(--text-3); }

/* ── Step footer ── */
.step-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); gap: 1rem;
}
.nav-btn {
  padding: 7px 18px;
  border-radius: var(--rx-md); border: 1px solid var(--border-med);
  background: transparent; font-size: 0.8125rem; font-weight: 500;
  color: var(--text-1); cursor: pointer; font-family: inherit;
  transition: all 0.15s; min-height: 44px; min-width: 44px;
}
.nav-btn:hover { background: var(--bg-subtle); }
.nav-btn.primary { background: var(--text-1); border-color: transparent; color: #fff; }
.nav-btn.primary:hover { opacity: 0.88; }
.nav-btn:disabled { opacity: 0.3; cursor: default; }
.step-dots { display: flex; gap: 5px; justify-content: center; flex: 1; }
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--border-med); transition: all 0.2s; }
.dot.active { background: var(--blue); width: 18px; }
.dot.done   { background: var(--green-dark); }

/* ── Complete state ── */
.complete-card { text-align: center; padding: 3rem 2rem; }
.complete-title { font-size: 1.375rem; font-weight: 700; margin-bottom: 8px; color: var(--text-1); }
.complete-sub   { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; max-width: 400px; margin: 0 auto 1.5rem; }
.ask-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: var(--rx-md);
  border: 1px solid var(--border-med); background: var(--bg-card);
  font-size: 0.8125rem; font-weight: 500; color: var(--text-1);
  cursor: pointer; font-family: inherit; text-decoration: none; transition: all 0.15s;
}
.ask-btn:hover { background: var(--bg-subtle); }
.complete-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── Audio Start Gate ────────────────────────────────────────── */
.gate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.25rem 1.5rem 2.5rem;
  text-align: center;
}
.gate-avatar-zone {
  margin-bottom: 0;      /* avatar-wrap already has padding */
}
.gate-bubble {
  max-width: 310px;
  min-height: 64px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.gate-hint {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.gate-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  max-width: 280px;
}
.gate-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: var(--rx-pill);
  background: var(--green);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring);
}
.gate-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(32, 214, 150, 0.38);
}
.gate-btn-primary:active { transform: scale(0.97); }
.gate-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1.25rem;
  border-radius: var(--rx-pill);
  background: transparent;
  color: var(--text-3);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border-med);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, background 0.2s;
}
.gate-btn-ghost:hover { color: var(--text-2); background: var(--bg-subtle); }

@media (max-width: 640px) {
  .gate-card { padding: 1.5rem 1rem 2rem; }
  .gate-bubble { max-width: 100%; }
}

/* ══ AVATAR — Fin ══════════════════════════════════════════════ */
.avatar-wrap {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; width: 100%; padding: 1.5rem 1rem;
}
.avatar-bubble {
  position: relative; background: var(--bg-card);
  border: 1px solid rgba(28,161,242,0.2); border-radius: 16px;
  padding: 12px 16px; font-size: 0.8125rem; line-height: 1.55;
  color: var(--text-2); max-width: 260px; text-align: left;
  box-shadow: 0 4px 16px rgba(28,161,242,0.08); min-height: 52px;
}
.avatar-bubble::after {
  content: ''; position: absolute; bottom: -10px; left: 50%;
  transform: translateX(-50%);
  border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-top: 10px solid var(--bg-card);
  filter: drop-shadow(0 2px 1px rgba(28,161,242,0.06));
}
.avatar-bubble::before {
  content: ''; position: absolute; bottom: -11px; left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent; border-right: 10px solid transparent;
  border-top: 11px solid rgba(28,161,242,0.2);
}
.avatar-bubble .cursor {
  display: inline-block; width: 2px; height: 13px;
  background: var(--blue); border-radius: 1px; margin-left: 2px;
  vertical-align: middle; animation: blink-cursor 0.8s step-end infinite;
}
@keyframes blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.avatar-face { width: 96px; height: 96px; position: relative; flex-shrink: 0; }
@keyframes avatar-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.025); } }
.avatar-face-svg {
  width: 100%; height: 100%;
  animation: avatar-breathe 3s ease-in-out infinite;
  transform-origin: center bottom; overflow: visible;
}
@keyframes avatar-blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.08); }
}
.avatar-eye      { transform-origin: center; animation: avatar-blink 4s ease-in-out infinite; }
.avatar-eye-r    { animation-delay: 0.05s; }
@keyframes avatar-talk {
  0%, 100% { d: path("M 37 63 Q 48 70 59 63"); }
  25%      { d: path("M 37 61 Q 48 74 59 61"); }
  50%      { d: path("M 37 64 Q 48 68 59 64"); }
  75%      { d: path("M 37 62 Q 48 72 59 62"); }
}
.avatar-mouth      { animation: avatar-talk 0.35s ease-in-out infinite; }
.avatar-mouth.idle { animation: none; }

.avatar-sparkle { position: absolute; border-radius: 999px; opacity: 0; pointer-events: none; }
@keyframes sparkle-float {
  0%   { opacity: 0; transform: translate(0,0) scale(0.4); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(1); }
}
.avatar-sparkle:nth-child(1) { width:6px;height:6px;background:var(--blue);  top:8px;  left:16px; --tx:-6px;  --ty:-14px; animation:sparkle-float 2.4s ease-out 0.1s infinite; }
.avatar-sparkle:nth-child(2) { width:4px;height:4px;background:var(--green); top:14px; right:12px;--tx:8px;   --ty:-10px; animation:sparkle-float 2.1s ease-out 0.8s infinite; }
.avatar-sparkle:nth-child(3) { width:5px;height:5px;background:var(--blue);  bottom:18px;left:10px;--tx:-10px;--ty:8px;   animation:sparkle-float 2.7s ease-out 0.4s infinite; }

.avatar-name { font-size: 0.6875rem; font-weight: 600; color: var(--blue); letter-spacing: 0.06em; text-transform: uppercase; margin-top: -4px; }
@keyframes avatar-enter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.avatar-wrap.entering { animation: avatar-enter 0.4s cubic-bezier(0.16,1,0.3,1) forwards; }

.gif-area {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; width: 100%;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.gif-area.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.avatar-mini {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid rgba(28,161,242,0.25);
  border-radius: 999px; padding: 5px 12px 5px 5px;
  box-shadow: 0 2px 12px rgba(28,161,242,0.1);
  cursor: pointer; font-family: inherit; font-size: 0.6875rem;
  font-weight: 600; color: var(--blue); letter-spacing: 0.04em;
  opacity: 0; transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none; white-space: nowrap; margin-bottom: 8px;
  -webkit-tap-highlight-color: transparent; border: none;
}
.avatar-mini.visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.avatar-mini:hover, .avatar-mini:active { background: rgba(28,161,242,0.06); }
.avatar-mini-face { width: 30px; height: 30px; flex-shrink: 0; animation: avatar-breathe 3s ease-in-out infinite; }
.avatar-mini-face svg { width: 100%; height: 100%; }
@keyframes mini-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(28,161,242,0.3); }
  70%  { box-shadow: 0 0 0 6px rgba(28,161,242,0);   }
  100% { box-shadow: 0 0 0 0   rgba(28,161,242,0);   }
}
.avatar-mini.visible { animation: mini-pulse 2s ease-out 0.4s 2; }

/* ── Mute button ── */
.fin-mute-btn {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--bg-subtle); border: 1px solid var(--border);
  cursor: pointer; padding: 0; flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent; margin-left: auto;
}
.fin-mute-btn:hover { background: rgba(28,161,242,0.09); transform: scale(1.08); }
.fin-mute-btn svg { width: 15px; height: 15px; stroke: var(--text-2); }
.fin-mute-btn .icon-sound-off { display: none; }
.fin-mute-btn .icon-sound-on  { display: block; }
.fin-mute-btn.muted .icon-sound-on  { display: none; }
.fin-mute-btn.muted .icon-sound-off { display: block; }
.fin-mute-btn.muted { background: #fee2e2; border-color: #fca5a5; }
.fin-mute-btn.muted svg { stroke: #dc2626; }

/* ── Mobile bottom-nav (tutorial chapters) ── */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: rgba(249,249,247,0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(13,23,42,0.06);
  padding-bottom: env(safe-area-inset-bottom);
}

/* ── Tutorial responsive ── */
@media (max-width: 640px) {
  .tut-inner { padding: 1.125rem; }
  .tut-header { flex-direction: column; align-items: flex-start; gap: 0.625rem; margin-bottom: 1rem; }
  .progress-wrap { margin-left: 0; width: 100%; }
  .chapter-strip { display: none; }
  .step-body { grid-template-columns: 1fr; }
  .step-left { padding: 1.25rem; border-right: none; border-bottom: 1px solid var(--border); }
  .step-right { padding: 1.25rem; min-height: 160px; }
  .step-title { font-size: 1.0625rem; }
  .step-footer { padding: 0.75rem 1rem; gap: 0.5rem; }
  .nav-btn { flex: 1; text-align: center; padding: 11px 12px; font-size: 0.875rem; }
  .nav-btn:not(.primary) { background: var(--bg-subtle); border-color: var(--border); }
  .step-dots { display: none; }
  .complete-card { padding: 2rem 1.25rem; }
  .complete-title { font-size: 1.1875rem; }
  .ask-btn { width: 100%; justify-content: center; padding: 13px 16px; font-size: 0.875rem; }
  .gif-img, .gif-placeholder, .gif-fallback { max-width: 100%; }
  .gif-placeholder, .gif-fallback { padding: 1.25rem 1rem; }

  .bottom-nav {
    display: flex;
    padding-bottom: calc(env(safe-area-inset-bottom));
  }
  .bottom-nav-item {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 3px; padding: 8px 4px;
    border: none; background: transparent; cursor: pointer;
    font-family: inherit; min-height: 56px; transition: background 0.15s;
    -webkit-tap-highlight-color: transparent; position: relative;
  }
  .bottom-nav-item:active { background: var(--bg-subtle); }
  .bottom-nav-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: all 0.2s; color: var(--text-3); }
  .bottom-nav-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
  .bottom-nav-label { font-size: 0.625rem; font-weight: 500; color: var(--text-3); line-height: 1; transition: color 0.2s; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56px; }
  .bottom-nav-item.active .bottom-nav-icon { color: var(--blue); }
  .bottom-nav-item.active .bottom-nav-label { color: var(--blue); font-weight: 600; }
  .bottom-nav-item.done .bottom-nav-icon  { color: var(--green-dark); }
  .bottom-nav-item.done .bottom-nav-label { color: var(--green-dark); }
  .bottom-nav-item.active::before {
    content: ''; position: absolute; top: 4px; left: 50%;
    transform: translateX(-50%); width: 20px; height: 3px;
    border-radius: 0 0 3px 3px; background: var(--blue);
  }
  .bottom-nav-item.done::before { background: var(--green-dark); }
}

@media (min-width: 641px) and (max-width: 900px) {
  .step-body { grid-template-columns: 1fr; }
  .step-left { border-right: none; border-bottom: 1px solid var(--border); }
  .step-right { min-height: 200px; }
}
