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

:root {
  --bg: #000000;
  --bg-alt: #0c0c0c;
  --bg-card: #131313;
  --accent: #ffffff;
  --accent-2: #8a8a8a;
  --text: #f5f5f5;
  --text-dim: #8f8f8f;
  --border: rgba(255,255,255,0.12);
  --font-display: "Space Grotesk", sans-serif;
  --font-hero: "Anton", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

.starfield {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

.section {
  position: relative;
  min-height: 100vh;
  scroll-margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* ---------- Curtain transition overlay ---------- */
.curtain {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  pointer-events: none;
  animation: curtainOpen 1.1s ease forwards;
}
@keyframes curtainOpen {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #ffffff, #8a8a8a);
  z-index: 101;
  box-shadow: 0 0 12px rgba(255,255,255,0.5);
}

/* ---------- Cursor spotlight (follows mouse, adds ambient life) ---------- */
.cursor-spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .5s ease;
  mix-blend-mode: screen;
}
.cursor-spotlight.active { opacity: 1; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0,0,0,0.85);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: text-shadow .3s ease;
}
.logo:hover { text-shadow: 0 0 20px rgba(255,255,255,0.5); }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-links a { transition: color .2s ease; position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { font-size: 0.85rem; padding: 9px 18px; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s ease; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff, #b8b8b8);
  color: #000000;
  font-weight: 600;
  box-shadow: 0 0 0 rgba(255,255,255,0);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.2); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); transform: translateY(-2px); background: rgba(255,255,255,0.08); }
.btn-outline { border-color: var(--border); background: rgba(255,255,255,0.04); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.btn-outline:hover { border-color: var(--text); background: rgba(255,255,255,0.08); }
.btn-full { width: 100%; }

/* ---------- Reveal animations (replay every time the element enters/leaves view) ---------- */
[data-animate] {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(44px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease;
  will-change: opacity, transform, filter;
}
[data-animate="scale"] { transform: scale(0.9) translateY(20px); }
[data-animate="left"] { transform: translateX(-64px); filter: blur(8px); }
[data-animate="right"] { transform: translateX(64px); filter: blur(8px); }
[data-animate="word"] { transform: scale(1.12); filter: blur(16px); transition-duration: 1.4s; }

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  filter: blur(0);
}

/* Staggered cascades for grouped elements */
.hero-stats .stat:nth-child(1) { transition-delay: .05s; }
.hero-stats .stat:nth-child(2) { transition-delay: .15s; }
.hero-stats .stat:nth-child(3) { transition-delay: .25s; }

.testimonials-grid .testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: .12s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: .24s; }

.faq-list .faq-item:nth-child(1) { transition-delay: 0s; }
.faq-list .faq-item:nth-child(2) { transition-delay: .1s; }
.faq-list .faq-item:nth-child(3) { transition-delay: .2s; }
.faq-list .faq-item:nth-child(4) { transition-delay: .3s; }
.faq-list .faq-item:nth-child(5) { transition-delay: .4s; }

.hero-content .eyebrow { transition-delay: 0s; }
.hero-content .hero-title { transition-delay: .1s; }
.hero-content .hero-subtitle { transition-delay: .22s; }
.hero-content .hero-actions { transition-delay: .34s; }

.section-head .eyebrow { transition-delay: 0s; }
.section-head h2 { transition-delay: .1s; }
.section-head p { transition-delay: .2s; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 500;
}
h1, h2 { font-family: var(--font-display); font-weight: 600; }

/* ---------- Giant cinematic background wordmark ---------- */
.bg-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(6rem, 20vw, 15rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.4) 48%, rgba(255,255,255,0.02) 56%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.01));
  background-size: 250% 250%, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  animation: bgWordShimmer 9s ease-in-out infinite;
}
@keyframes bgWordShimmer {
  0% { background-position: 0% 50%, 0 0; }
  50% { background-position: 100% 50%, 0 0; }
  100% { background-position: 0% 50%, 0 0; }
}
.bg-word-alt {
  background:
    linear-gradient(120deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.28) 48%, rgba(255,255,255,0.02) 56%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.01));
  background-size: 250% 250%, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}
.bg-word-long { font-size: clamp(3.6rem, 13vw, 9.5rem); }

/* ---------- Particles ---------- */
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute;
  bottom: -10px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.5;
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 0.7; }
  30% { transform: translateY(-30vh) translateX(-14px) scale(1.3); }
  50% { transform: translateY(-50vh) translateX(10px) scale(0.8); opacity: 0.55; }
  70% { transform: translateY(-70vh) translateX(-8px) scale(1.2); }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100vh) translateX(16px) scale(1); opacity: 0; }
}

/* ---------- Hero — mot géant "Tomstory" avec zoom au scroll à travers le "o" ---------- */
.hero {
  height: 130vh;
  min-height: 130vh;
  padding: 0;
  display: block;
  overflow: visible;
}
.hero-zoom-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-word {
  position: relative;
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(3.6rem, 13vw, 9.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.4) 48%, rgba(255,255,255,0.02) 56%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.01));
  background-size: 250% 250%, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bgWordShimmer 9s ease-in-out infinite;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
}
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  pointer-events: none;
}
.hero-scroll-cue span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-scroll-cue-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0));
  animation: heroScrollCueMove 1.8s ease-in-out infinite;
}
@keyframes heroScrollCueMove {
  0% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.4; }
}

/* ghost: invisible duplicate used only to measure the exact position of the
   target "o" (in "story") so the zoom's transform-origin can be centered on
   it precisely, whatever the font metrics — never itself transformed */
.hero-word-ghost {
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(3.6rem, 13vw, 9.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 640px; margin-bottom: 56px; position: relative; z-index: 2; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-head p { color: var(--text-dim); font-size: 1.02rem; }

/* ---------- Video ---------- */
.video-section {
  background: radial-gradient(ellipse at 50% 20%, rgba(12,12,12,0.55), transparent 70%);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.video-section.is-pinned {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 15;
  background: var(--bg);
  overflow-y: auto;
  padding: 96px 24px 32px;
}
.video-section.is-pinned .section-head {
  margin-bottom: 28px;
}
.video-pin-placeholder {
  height: 0;
}
.video-section.is-departed {
  height: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1240px;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  z-index: 2;
}
.video-section.is-pinned .video-wrapper {
  width: auto;
  max-width: 96%;
  height: min(60vh, 660px);
}
.video-glow {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(120deg, #ffffff, transparent 40%, #6b6b6b);
  opacity: 0.2;
  filter: blur(30px);
  z-index: -1;
}
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0a0a0a; }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.play-btn:hover { transform: translate(-50%,-50%) scale(1.08); background: var(--text); color: #000000; }
.video-caption {
  position: absolute;
  bottom: 14px; left: 14px;
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 8px;
}
.video-caption code { color: var(--text); }

/* ---------- Mon écosystème ---------- */
.ecosystem-section {
  background: radial-gradient(ellipse at 50% 80%, rgba(12,12,12,0.55), transparent 70%);
  padding-top: 72px;
  padding-bottom: 24px;
}
.ecosystem-section .section-head { margin-bottom: 16px; }

.ecosystem-circle {
  position: relative;
  /* capped by vh too so the whole circle + heading always fits within one
     viewport, without needing to scroll inside the section (which would
     fight the page's scroll-snap and cause a visible jump/stutter) */
  width: min(100%, 50vh, 680px);
  aspect-ratio: 1 / 1;
  margin: 8px auto 0;
  z-index: 2;
  /* dot/text sizes below use cqw (container query width) so they scale down
     together with the circle itself — keeps the dot/text gap proportional
     at any circle size instead of overlapping when the circle shrinks */
  container-type: inline-size;
  --dot-size: clamp(36px, 8cqw, 52px);
  --point-gap: clamp(14px, 3cqw, 26px);
}
/* .circle-visual carries the reveal-animation transform; ring/core center
   themselves via inset+margin:auto so they never need their own transform
   (avoids the animation transform overriding a centering transform). */
.circle-visual { position: absolute; inset: 0; }
.circle-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56%;
  height: 56%;
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(255,255,255,0.07), inset 0 0 60px rgba(255,255,255,0.04);
  transition: border-color .4s ease, box-shadow .4s ease;
}
.circle-ring::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.08);
  animation: circle-rotate 70s linear infinite;
}
.circle-core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 27%;
  height: 27%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.07), transparent 70%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: core-pulse 4.5s ease-in-out infinite;
}
@keyframes circle-rotate { to { transform: rotate(360deg); } }
@keyframes core-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.05); }
  50% { box-shadow: 0 0 44px 6px rgba(255,255,255,0.1); }
}

/* .circle-point spans the whole circle as a positioning context only (pointer-events
   disabled so the 4 overlapping full-size boxes never block hover on each other's
   dot/text); .point-inner carries the reveal animation (translateY only — inset:0
   with no positioning transform of its own, so it never conflicts); .point-dot and
   .point-text are positioned independently so the dot sits exactly on the ring
   while the text stays clear, outside it, for readability. */
.circle-point { position: absolute; inset: 0; pointer-events: none; }
.point-inner { position: absolute; inset: 0; }
.point-dot {
  position: absolute;
  pointer-events: auto;
  flex-shrink: 0;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.75rem, 2.4cqw, 1rem);
  color: var(--text);
  box-shadow: 0 0 24px rgba(255,255,255,0.1);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
}
.point-text {
  position: absolute;
  pointer-events: auto;
  max-width: clamp(190px, 44cqw, 280px);
}
.point-text h3 { font-family: var(--font-display); font-size: clamp(0.82rem, 3.1cqw, 1.08rem); font-weight: 600; margin-bottom: 4px; transition: color .3s ease; }
.point-text p { color: var(--text-dim); font-size: clamp(0.7rem, 2.5cqw, 0.88rem); line-height: 1.5; }

.point-dot:hover {
  transform: scale(1.14);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 34px rgba(255,255,255,0.2);
}
.ecosystem-circle:has(.point-dot:hover) .circle-ring {
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 0 100px rgba(255,255,255,0.12), inset 0 0 60px rgba(255,255,255,0.06);
}

/* dot sits exactly on the ring (radius 28%); text is anchored further out,
   beyond the ring's edge, so it never overlaps it */
.point-top .point-inner { transition-delay: .05s; }
.point-top .point-dot { top: 22%; left: 50%; transform: translate(-50%, -50%); }
.point-top .point-text {
  /* anchored by its BOTTOM edge (fixed distance above the dot's top edge),
     not by top:0 — so if the text wraps taller than expected, it grows
     upward/away from the dot instead of downward into it. Overlap becomes
     structurally impossible regardless of text height. */
  bottom: calc(78% + (var(--dot-size) / 2) + var(--point-gap));
  top: auto;
  left: 50%; transform: translateX(-50%); text-align: center;
  /* explicit width (not max-width): top/bottom text has the full circle width
     available (unlike left/right, which are boxed in by the page edge), so
     forcing it to actually use that width means fewer wrapped lines and a
     shorter block — keeps it from growing tall enough to reach the dot */
  width: clamp(210px, 78cqw, 320px);
}

.point-bottom .point-inner { transition-delay: .25s; }
.point-bottom .point-dot { top: 78%; left: 50%; transform: translate(-50%, -50%); }
.point-bottom .point-text {
  /* mirror of point-top: anchored by its TOP edge, grows downward/away from the dot */
  top: calc(78% + (var(--dot-size) / 2) + var(--point-gap));
  bottom: auto;
  left: 50%; transform: translateX(-50%); text-align: center;
  width: clamp(210px, 78cqw, 320px);
}

.point-left .point-inner { transition-delay: .35s; }
.point-left .point-dot { top: 50%; left: 22%; transform: translate(-50%, -50%); }
.point-left .point-text {
  top: 50%;
  /* same anchor-by-near-edge logic as top/bottom: fixed distance from the
     dot's edge, text grows leftward/away, never toward the dot */
  right: calc(78% + (var(--dot-size) / 2) + var(--point-gap));
  left: auto;
  transform: translateY(-50%); text-align: left;
  /* explicit width (not just max-width): shrink-to-fit would otherwise size
     this box to the narrow gap between the dot and the circle's own edge
     (~22% of circle width), producing a cramped, stair-stepped wrap
     regardless of max-width — forcing the width makes it grow leftward,
     outside the circle if needed, for a normal paragraph wrap. */
  width: clamp(190px, 44cqw, 280px);
}

.point-right .point-inner { transition-delay: .15s; }
.point-right .point-dot { top: 50%; left: 78%; transform: translate(-50%, -50%); }
.point-right .point-text {
  top: 50%;
  left: calc(78% + (var(--dot-size) / 2) + var(--point-gap));
  right: auto;
  transform: translateY(-50%); text-align: left;
  width: clamp(190px, 44cqw, 280px);
}

/* ---------- Testimonials ---------- */
.testimonials-section { background: transparent; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover {
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.testimonial-card.tilting { transition: transform .15s ease-out, border-color .3s ease, box-shadow .3s ease; }
.quote-icon {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--text-dim);
  line-height: 1;
  margin-bottom: 8px;
}
.quote { color: var(--text-dim); font-size: 0.96rem; margin-bottom: 24px; }
.author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #8a8a8a);
  color: #000000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.author-name { font-size: 0.9rem; font-weight: 600; }
.author-role { font-size: 0.78rem; color: var(--text-dim); }

.testimonials-photo-head {
  text-align: center;
  margin: 72px 0 32px;
  position: relative;
  z-index: 2;
}
.testimonials-photo-head h3 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  margin-top: 8px;
}
.testimonials-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.photo-testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.photo-testimonial:hover {
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}
.photo-testimonial img,
.photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
}
.photo-testimonial img {
  object-fit: contain;
  background: #050505;
}
.photo-placeholder {
  object-fit: cover;
}
.photo-placeholder {
  background: linear-gradient(135deg, #1c1c1c, #0a0a0a);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-testimonial figcaption {
  padding: 20px;
}
.photo-testimonial .quote {
  font-size: 0.86rem;
  margin-bottom: 14px;
}
.photo-testimonial .author-name { font-size: 0.86rem; }

.results-marquee {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.results-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: results-scroll 20s linear infinite;
}
@keyframes results-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.screen-card {
  flex: 0 0 auto;
  height: clamp(220px, 30vw, 320px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.screen-card img {
  height: 100%;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  display: block;
}
.screen-placeholder {
  width: clamp(160px, 20vw, 220px);
  aspect-ratio: 9 / 16;
  background: linear-gradient(135deg, #1c1c1c, #0a0a0a);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- FAQ ---------- */
.faq-section .section-head { margin-bottom: 40px; }
.faq-section .section-head h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 10px; }
.faq-list {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .3s ease;
}
.faq-item:hover { border-color: rgba(255,255,255,0.24); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
}
.faq-icon {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(-135deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 0 24px 22px;
}

/* ---------- CTA ---------- */
.cta-section { background: radial-gradient(ellipse at 50% 80%, rgba(22,22,22,0.6), transparent 70%); }
.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}
.cta-text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 18px; }
.cta-text p { color: var(--text-dim); margin-bottom: 24px; }
.benefits { display: flex; flex-direction: column; gap: 12px; }
.benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text);
}
.benefits li::before {
  content: "✓";
  color: var(--text);
  font-weight: 700;
}

.cta-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.8rem; color: var(--text-dim); }
.form-row input, .form-row textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  resize: vertical;
  transition: border-color .2s ease, background .2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
}
.form-disclaimer {
  font-size: 0.72rem;
  color: var(--text-dim);
  opacity: 0.6;
  text-align: center;
  margin-top: -4px;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 32px 24px; background: var(--bg); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 22px; font-size: 0.85rem; color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .ecosystem-circle {
    width: 100%;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .circle-visual { display: none; }
  .circle-point {
    position: static;
    pointer-events: auto;
  }
  .point-inner {
    position: static;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .point-dot { position: static; transform: none !important; }
  .point-text {
    position: static;
    max-width: 100%;
    width: auto !important;
    text-align: left !important;
    transform: none !important;
  }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 18px; }
}

@media (max-width: 860px) {
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(0,0,0,0.97);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }
}
