/* components.css — section-specific styles */

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 200ms var(--ease), backdrop-filter 200ms var(--ease), border-color 200ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; color: var(--accent); }
.brand-word { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.brand-logo { height: 22px; width: auto; display: block; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.nav { display: flex; gap: 32px; }
.nav a { color: var(--fg-2); font-size: 14px; transition: color 200ms; }
.nav a:hover { color: var(--fg); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.link { color: var(--fg-2); font-size: 14px; }
.link:hover { color: var(--fg); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 16px; }
@media (max-width: 900px) { .nav { display: none; } .header-cta .link { display: none; } .header-cta .lang-switch:not(.is-drawer) { display: none; } }

/* ============ LANG SWITCHER ============ */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-2);
  font: inherit;
  cursor: pointer;
  transition: border-color 200ms, color 200ms, background 200ms;
}
.lang-btn:hover { border-color: var(--fg-3); color: var(--fg); }
.lang-switch.is-open .lang-btn { border-color: var(--fg-3); color: var(--fg); background: var(--bg-2); }
.lang-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.18);
}
.lang-code { font-size: 11px; letter-spacing: 0.04em; font-weight: 500; }
.lang-chev { opacity: 0.6; transition: transform 200ms; }
.lang-switch.is-open .lang-chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 180px;
  list-style: none; margin: 0; padding: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.2);
  z-index: 100;
  animation: lang-pop 160ms ease-out;
}
@keyframes lang-pop {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.lang-opt {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--fg-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 150ms, color 150ms;
}
.lang-opt:hover { background: var(--bg-2); color: var(--fg); }
.lang-opt.is-active { color: var(--fg); background: var(--bg-2); }
.lang-opt-label { flex: 1; font-size: 14px; }
.lang-opt-short { font-size: 11px; opacity: 0.55; letter-spacing: 0.04em; }
.lang-switch.is-drawer { width: 100%; }
.lang-switch.is-drawer .lang-btn { width: 100%; justify-content: space-between; padding: 12px 16px; }
.lang-switch.is-drawer .lang-menu { left: 0; right: 0; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-top: 96px;
  padding-bottom: 40px;
  overflow: hidden;
  min-height: 0;
}
.hero-glow {
  position: absolute;
  left: 50%; top: 20%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.5;
}
/* .hero-wordmark removed — was the giant outlined "MEMBER AI" text behind hero */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-2);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.hero-chip .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.hero-headline {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 1100px;
}
.hero-headline em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--fg-2);
  max-width: 680px;
  margin-top: 28px;
  line-height: 1.5;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  font-size: 12px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.hero-meta .sep { width: 3px; height: 3px; border-radius: 999px; background: var(--fg-muted); }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.dim { color: var(--fg-muted); }

/* Hero Mockup */
.hero-mockup {
  position: absolute;
  right: var(--gutter);
  top: 180px;
  width: min(520px, 40vw);
  z-index: 3;
  transform: rotate(-2deg);
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-12px); } }
@media (max-width: 1100px) { .hero-mockup { display: none; } }

.mockup-card {
  background: linear-gradient(180deg, #161616 0%, #101010 100%);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03) inset;
  overflow: hidden;
}
.mockup-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.12); }
.mockup-title { flex: 1; font-size: 12px; display: flex; gap: 6px; font-family: var(--font-mono); color: var(--fg-3); }
.mockup-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(163,230,53,0.08); border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent); color: var(--accent); }
.pulse { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accent-glow); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.mockup-body { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.mockup-label { font-size: 10px; color: var(--fg-muted); letter-spacing: 0.1em; margin-bottom: 8px; }
.mockup-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 10px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.pill-avatar { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #4DD0E1); }
.pill-title { font-size: 14px; font-weight: 500; }
.pill-sub { font-size: 11px; color: var(--fg-muted); }

.mockup-engines { display: flex; gap: 8px; flex-wrap: wrap; }
.engine {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  font-size: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--fg-3);
}
.engine.active { color: var(--accent); background: color-mix(in oklch, var(--accent) 10%, transparent); border-color: color-mix(in oklch, var(--accent) 35%, transparent); }
.engine-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }

.mockup-prompt {
  background: #0A0A0A;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg-2);
  line-height: 1.55;
  min-height: 72px;
}
.caret {
  display: inline-block; width: 7px; height: 14px; background: var(--accent);
  vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.mockup-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 4px;
}
.mockup-status { font-size: 11px; display: inline-flex; align-items: center; gap: 6px; color: var(--fg-3); }
.status-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.mockup-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--accent-fg);
  padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 500;
}

/* ============ PROOF BAR (under hero) ============ */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--bg) 92%, var(--accent));
  padding: 28px 0;
}
.proof-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 18px;
  border-left: 1px solid var(--border);
}
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-n {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--fg);
  font-weight: 600;
}
.proof-l {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
@media (max-width: 800px) {
  .proof-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
  .proof-item { border-left: 0; padding-left: 0; }
  .proof-item:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 480px) {
  .proof-bar-inner { grid-template-columns: 1fr; }
  .proof-item { padding-left: 0; }
}

/* ============ TRUST BAR (standalone, reusa .whatis-engines) ============ */
/* Selector duplo p/ derrotar .whatis-engines { margin: 72px -88px 0 } definido
 * mais abaixo nesse arquivo — sem isso, o TrustBar herdaria 72px de margin-top
 * e -88px de margin horizontal, abrindo um buraco enorme entre Hero e TrustBar. */
.whatis-engines.trustbar-standalone {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--bg) 70%, #000);
  padding: 28px 0;
  margin: 0;
  border-radius: 0;
}
.trustbar-standalone .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}
.trustbar-standalone .whatis-engines-label {
  flex-shrink: 0;
  padding-right: 24px;
  border-right: 1px solid var(--border);
  color: var(--fg-muted);
}
@media (max-width: 700px) {
  .trustbar-standalone .container { flex-direction: column; gap: 16px; align-items: flex-start; }
  .trustbar-standalone .whatis-engines-label { border-right: none; padding-right: 0; }
}

/* ============ WHAT IS ============ */
.what-is { background: var(--bg); }
.whatis-wrap { display: flex; flex-direction: column; align-items: stretch; }
.whatis-wrap .t-eyebrow { margin-bottom: 18px; align-self: flex-start; }
.whatis-h2 { font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 64px; max-width: 1000px; }
.whatis-h2 em { font-style: normal; color: var(--accent); }
.video-card.wide { width: 100%; }
.whatis-pullquote { margin: 64px auto 0; max-width: 1000px; text-align: center; }
.whatis-pullquote p {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-weight: 400;
}
.whatis-pullquote strong { font-weight: 500; }
.whatis-pullquote em { font-style: normal; color: var(--accent); font-weight: 500; }
.whatis-engines {
  margin: 72px -88px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.whatis-engines-label { letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; }
.engines-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.engines-track {
  display: flex;
  width: fit-content;
  animation: enginesSlide 28s linear infinite;
}
@keyframes enginesSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.engines-marquee:hover .engines-track { animation-play-state: paused; }
.engines-row {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 0 24px;
  flex-shrink: 0;
}
.engine-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: border-color 200ms, color 200ms;
}
.engine-chip:hover { border-color: var(--accent); color: var(--accent); }
.engine-chip svg { flex-shrink: 0; color: var(--fg); transition: color 200ms; }
.engine-chip:hover svg { color: var(--accent); }
.engine-png { width: 22px; height: 22px; object-fit: contain; display: block; flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.9; transition: opacity 200ms; }
.engine-chip:hover .engine-png { opacity: 1; }
.engine-png-stripe-s { width: 42px; }
.engine-png-wide { width: 52px; }
@media (max-width: 900px) {
  .whatis-engines { margin-left: -24px; margin-right: -24px; }
}

/* ============ ESCALA — SCROLL STORYTELLING ============ */
.escala-scroller { position: relative; height: 420vh; padding: 0; background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.escala-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.escala-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
@media (max-width: 1000px) {
  .escala-grid { grid-template-columns: 1fr; gap: 40px; }
  .escala-visual { display: none !important; }
}

/* Visual esquerda */
.escala-visual {
  position: relative;
  aspect-ratio: 1;
  max-height: 74vh;
  background: radial-gradient(circle at 50% 50%, #141414 0%, #0A0A0A 80%);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}
.escala-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse, black 40%, transparent 80%);
}
.escala-visual-meta {
  position: absolute;
  bottom: 20px; left: 24px;
  display: flex; gap: 10px;
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  z-index: 3;
}
.ev-frame { position: absolute; inset: 0; display: grid; place-items: center; animation: evIn 420ms var(--ease); }
@keyframes evIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
.ev-svg { width: 80%; height: 80%; }

/* Scene 2 — calendar */
.ev-calendar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 40px; width: 100%; }
.ev-month {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.35;
  transition: all 400ms var(--ease);
}
.ev-month.is-lit {
  opacity: 1;
  border-color: color-mix(in oklch, var(--accent) 40%, transparent);
  background: color-mix(in oklch, var(--accent) 8%, var(--surface));
}
.ev-month-label { font-size: 10px; color: var(--fg-muted); }
.ev-month.is-lit .ev-month-label { color: var(--accent); }
.ev-month-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--fg-muted); }
.ev-month.is-lit .ev-month-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.ev-month-amt { font-size: 11px; font-weight: 500; color: var(--fg); }
.ev-loop-label {
  position: absolute; bottom: 20px; right: 24px;
  font-size: 10px; color: var(--accent);
  letter-spacing: 0.1em;
  z-index: 3;
}

/* Scene 4 — lucro */
.ev-frame-profit { align-items: stretch; padding: 48px; }
.ev-stack { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.ev-coin {
  height: 10px;
  background: linear-gradient(90deg, var(--accent), color-mix(in oklch, var(--accent) 30%, transparent));
  border-radius: 3px;
  transform-origin: left;
  animation: coinIn 600ms var(--ease) backwards;
}
.ev-coin-1 { width: 30%; animation-delay: 0ms; }
.ev-coin-2 { width: 55%; animation-delay: 80ms; }
.ev-coin-3 { width: 78%; animation-delay: 160ms; }
.ev-coin-4 { width: 95%; animation-delay: 240ms; transition: transform 400ms var(--ease); }
@keyframes coinIn { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
.ev-margin { display: flex; width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); height: 56px; margin-top: 20px; }
.ev-margin-bar { display: flex; align-items: center; padding: 0 14px; font-size: 11px; transition: width 400ms var(--ease); }
.ev-margin-you { background: var(--accent); color: var(--accent-fg); font-weight: 500; }
.ev-margin-rest { background: var(--surface-2); color: var(--fg-muted); }
.ev-label { font-size: 11px; color: var(--fg-muted); text-align: center; letter-spacing: 0.08em; }

/* Texto direita */
.escala-text { display: flex; flex-direction: column; gap: 32px; position: relative; }
.escala-steps { position: relative; min-height: 260px; }
.escala-step {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
  pointer-events: none;
}
.escala-step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.escala-step.is-done { opacity: 0; transform: translateY(-16px); }
.escala-step-kicker { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--accent); letter-spacing: 0.14em; margin-bottom: 24px; }
.escala-step-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); max-width: 120px; }
.escala-word { font-size: clamp(48px, 7vw, 96px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--fg); margin-bottom: 24px; }
.escala-body { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--fg-2); max-width: 520px; }
.escala-progress { display: flex; gap: 8px; margin-top: 16px; }
.escala-tick { width: 40px; height: 3px; background: var(--border); border-radius: 2px; transition: background 300ms; }
.escala-tick.is-on { background: var(--accent); }

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16/10;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.video-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 10px, transparent 10px 22px);
}
.video-play {
  width: 80px; height: 80px; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg);
  display: grid; place-items: center;
  box-shadow: 0 0 0 12px color-mix(in oklch, var(--accent) 15%, transparent), 0 20px 60px var(--accent-glow);
  transition: transform 200ms var(--ease);
  z-index: 2;
}
.video-play:hover { transform: scale(1.05); }
.video-caption { position: absolute; bottom: 16px; left: 16px; font-size: 11px; color: var(--fg-muted); z-index: 2; }

.whatis-copy { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.55; padding-top: 10px; }
.whatis-copy strong { color: var(--fg); font-weight: 500; }
.whatis-tag {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent);
  background: color-mix(in oklch, var(--accent) 8%, transparent);
  color: var(--fg);
  font-size: 15px;
}
.whatis-tag .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }

/* ============ PROCESS (section 5) ============ */
.process { background: var(--bg); position: relative; }
.process-sticky {
  position: sticky; top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.process-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
@media (max-width: 1000px) {
  .process-inner { grid-template-columns: 1fr; gap: 40px; }
  .process-right { display: none; }
}
.process-head { margin-bottom: 32px; max-width: 520px; }
.process-head h2 { margin-top: 14px; font-size: clamp(28px, 3vw, 44px); }
.process-head em { font-style: normal; color: var(--accent); }

.process-steps-stage { position: relative; min-height: 320px; }
.process-step-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
  pointer-events: none;
}
.process-step-card.is-active { opacity: 1; transform: none; pointer-events: auto; }
.process-step-card.is-done { opacity: 0; transform: translateY(-16px); }
.step-kicker { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--accent); letter-spacing: 0.14em; }
.step-rule { width: 100px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.step-tag-inline { color: var(--fg-muted); }
.step-title-lg { font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; color: var(--fg); }
.step-body-lg { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--fg-2); max-width: 520px; }

.process-progress {
  margin-top: 36px;
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; color: var(--fg-muted);
}
.progress-track { flex: 1; height: 2px; background: var(--border); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); transform-origin: left; transition: transform 120ms linear; }

/* Canvas */
.process-right { position: relative; }
.pcanvas {
  position: relative;
  aspect-ratio: 1/1;
  max-height: 72vh;
  width: 100%;
  background: radial-gradient(circle at 50% 50%, #141414 0%, #0A0A0A 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}
.pcanvas-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}
.pcanvas-glow {
  position: absolute; inset: 10% 10% 10% 10%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 65%);
  filter: blur(30px);
  opacity: 0.6;
}
.pcanvas-frame { position: absolute; inset: 0; display: grid; place-items: center; }
.scene { width: 100%; height: 100%; position: relative; animation: sceneIn 420ms var(--ease); }
@keyframes sceneIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
.pcanvas-meta {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; color: var(--fg-muted);
}
.pcanvas-sep { flex: 1; height: 1px; background: var(--border); }

/* Scene 1 */
.scene-1 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 48px; gap: 20px; }
.s1-source {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  min-height: 160px;
}
.s1-source-label { font-size: 10px; color: var(--fg-muted); margin-bottom: 10px; }
.s1-source-body { margin: 0; font-family: var(--font-mono); font-size: 12px; color: var(--fg-2); white-space: pre-wrap; line-height: 1.5; }
.s1-flow { position: relative; width: 80px; height: 40px; }
.s1-flow::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.s1-particle {
  position: absolute; top: 50%; left: 0;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  transform: translateY(-50%);
  animation: flow 2s linear infinite;
}
@keyframes flow { from { left: -10%; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } to { left: 110%; opacity: 0; } }
.s1-target { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.s1-target-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: color-mix(in oklch, var(--accent) 12%, transparent); border: 1px solid color-mix(in oklch, var(--accent) 35%, transparent); color: var(--accent); font-size: 10px; letter-spacing: 0.1em; }
.s1-brain { width: 160px; height: 160px; animation: spin 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.s1-target-caption { font-size: 10px; color: var(--fg-muted); }

/* Scene 2 */
.scene-2 { padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.s2-members { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.s2-members-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.s2-brand { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--fg-3); }
.s2-brand-mark { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, var(--accent), #4DD0E1); }
.s2-tabs { display: flex; gap: 14px; font-size: 10px; color: var(--fg-muted); }
.s2-tabs .is-active { color: var(--accent); }
.s2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.s2-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  aspect-ratio: 1;
  display: flex; flex-direction: column; justify-content: space-between;
}
.s2-card.is-new { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: newPop 1s var(--ease); }
@keyframes newPop { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.s2-card-icon { width: 24px; height: 24px; border-radius: 6px; background: var(--accent); }
.s2-card-icon.alt { background: linear-gradient(135deg, #C084FC, #60A5FA); }
.s2-card-title { font-size: 12px; font-weight: 500; }
.s2-card-meta { font-size: 9px; color: var(--fg-muted); }
.s2-card.is-new .s2-card-meta { color: var(--accent); }
.s2-card.ghost { border-style: dashed; opacity: 0.5; align-items: center; justify-content: center; }
.s2-drop { display: grid; place-items: center; padding: 10px; }
.s2-drop-agent {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 12px; font-family: var(--font-mono);
  animation: bob 3s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.s2-drop-core { width: 12px; height: 12px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* Scene 3 */
.scene-3 { position: relative; padding: 48px; }
.s3-wires { position: absolute; inset: 48px; width: calc(100% - 96px); height: calc(100% - 96px); }
.s3-node { position: absolute; transform: translate(-50%, -50%); }
.s3-node-box {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12px; font-family: var(--font-mono);
  color: var(--fg-2);
}
.s3-node.is-core .s3-node-box { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 10%, var(--surface)); color: var(--fg); box-shadow: 0 0 0 6px var(--accent-soft), 0 0 40px var(--accent-glow); }
.s3-node-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); }
.s3-node:not(.is-core) .s3-node-dot { background: var(--fg-muted); }

/* Scene 4 */
.scene-4 { padding: 40px; display: grid; grid-template-columns: 1fr; gap: 20px; align-content: center; }
.s4-checkout { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.s4-checkout-head { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-muted); padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.s4-lock { color: var(--accent); font-size: 8px; }
.s4-checkout-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.s4-price { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.s4-checkout-cta { padding: 12px; border-radius: 10px; background: var(--accent); color: var(--accent-fg); text-align: center; font-size: 13px; font-weight: 500; }
.s4-mrr { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; position: relative; overflow: hidden; }
.s4-mrr-big { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.03em; margin-top: 8px; }
.s4-mrr-big span { color: var(--accent); }
.s4-mrr-sub { font-size: 11px; color: var(--fg-muted); margin-top: 6px; }
.s4-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 18px; }
.s4-bar { flex: 1; background: linear-gradient(180deg, var(--accent), color-mix(in oklch, var(--accent) 30%, transparent)); border-radius: 4px 4px 0 0; animation: barGrow 600ms var(--ease) backwards; }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.s4-bar { transform-origin: bottom; }

/* ============ PROCESS MINIMAL VISUALS ============ */
.pcanvas-min .v-scene { width: 100%; height: 100%; display: grid; place-items: center; padding: 40px; animation: evIn 400ms var(--ease); }

/* 01 Prompt — textarea com chrome */
.v-prompt-box { width: min(380px, 85%); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6); }
.v-prompt-head { display: flex; justify-content: space-between; padding: 12px 16px; background: color-mix(in oklch, var(--bg) 50%, var(--surface)); border-bottom: 1px solid var(--border); font-size: 10px; color: var(--fg-muted); letter-spacing: 0.1em; }
.v-prompt-label { color: var(--accent); }
.v-prompt-count { color: var(--fg-muted); }
.v-prompt-body { padding: 18px 18px 14px; min-height: 96px; }
.v-prompt-text { font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: var(--fg); }
.v-prompt-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--border); background: color-mix(in oklch, var(--bg) 30%, var(--surface)); }
.v-prompt-tag { font-family: var(--font-mono); font-size: 10px; padding: 4px 8px; border: 1px dashed var(--border-strong); border-radius: 999px; color: var(--fg-muted); }

/* 02 Agente — card de identidade */
.v-agent { position: relative; flex-direction: column; gap: 24px; }
.v-agent-stage { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.v-agent-portrait {
  position: relative;
  z-index: 2;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  overflow: hidden;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 60px var(--accent-glow), 0 0 0 6px color-mix(in oklch, var(--accent) 8%, transparent);
}
.v-agent-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  display: block;
}
.v-agent-portrait-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 35%, transparent 40%, rgba(10,10,10,0.35) 90%);
  pointer-events: none;
}
.v-agent-ring { position: absolute; border-radius: 999px; border: 1px solid var(--accent); opacity: 0.35; animation: ringPulse 3s ease-in-out infinite; }
.v-agent-ring-1 { width: 150px; height: 150px; }
.v-agent-ring-2 { width: 186px; height: 186px; opacity: 0.22; animation-delay: 0.4s; }
.v-agent-ring-3 { width: 220px; height: 220px; opacity: 0.12; animation-delay: 0.8s; }
@keyframes ringPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.v-agent-card { width: min(280px, 70%); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; padding: 14px 16px; }
.v-agent-card-head { display: flex; align-items: center; gap: 12px; }
.v-agent-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  overflow: hidden;
  flex-shrink: 0;
}
.v-agent-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; display: block; }
.v-agent-name { font-size: 14px; font-weight: 500; color: var(--fg); }
.v-agent-status { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--accent); margin-top: 2px; letter-spacing: 0.1em; }
.v-agent-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.v-agent-card-rule { height: 1px; background: var(--border); margin: 12px 0 10px; }
.v-agent-card-meta { display: flex; justify-content: space-between; font-size: 10px; color: var(--fg-muted); letter-spacing: 0.1em; }

/* 03 Área de membros — janela com sidebar */
.v-members-frame { width: min(400px, 90%); aspect-ratio: 1.4; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6); }
.v-members-topbar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: color-mix(in oklch, var(--bg) 50%, var(--surface)); border-bottom: 1px solid var(--border); }
.v-members-dots { display: flex; gap: 5px; }
.v-members-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--border-strong); }
.v-members-url { flex: 1; text-align: center; font-size: 10px; color: var(--fg-muted); letter-spacing: 0.05em; }
.v-members-body { flex: 1; display: grid; grid-template-columns: 80px 1fr; }
.v-members-sidebar { border-right: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; gap: 14px; }
.v-members-brand {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #0a0a0a;
  align-self: center;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
}
.v-members-brand img { width: 110%; height: 110%; object-fit: cover; display: block; }
.v-members-nav { display: flex; flex-direction: column; gap: 6px; }
.v-members-nav-item { height: 8px; border-radius: 4px; background: var(--border); }
.v-members-nav-item.is-active { background: var(--accent); width: 70%; }
.v-members-content { padding: 18px; display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; }
.v-members-agent { width: 96px; height: 96px; border-radius: 18px; background: #0a0a0a; border: 1px solid var(--accent); display: grid; place-items: center; position: relative; overflow: visible; }
.v-members-agent-core { width: 78px; height: 78px; border-radius: 12px; background: #0a0a0a; position: relative; display: grid; place-items: center; overflow: hidden; }
.v-members-agent-logo { width: 105%; height: 105%; object-fit: cover; display: block; }
.v-members-agent-pulse { position: absolute; inset: -8px; border-radius: 22px; border: 1px solid var(--accent); animation: agentPulse 2s ease-out infinite; pointer-events: none; }
@keyframes agentPulse { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.v-members-bars { display: flex; flex-direction: column; gap: 6px; width: 60%; align-items: center; }
.v-members-bars span { height: 6px; border-radius: 3px; background: var(--border); }
.v-members-bars span:nth-child(1) { width: 100%; }
.v-members-bars span:nth-child(2) { width: 70%; }
.v-members-bars span:nth-child(3) { width: 85%; }

/* 04 Connect */
.v-connect { position: relative; }
.v-connect-svg { width: 90%; height: 90%; color: var(--fg-muted); }
.v-connect-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 3;
}
.v-connect-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg);
  border: 1.5px solid var(--accent);
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--fg);
  box-shadow: 0 0 24px color-mix(in oklch, var(--accent) 30%, transparent);
}
.v-connect-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.v-connect-logo-wide { width: 76px; height: 52px; padding: 10px 14px; }
.v-connect-node-label { text-align: center; }
.v-connect-node-name { font-size: 11px; color: var(--fg); font-weight: 500; letter-spacing: 0.05em; }
.v-connect-node-sub { font-size: 9px; color: var(--fg-muted); letter-spacing: 0.12em; margin-top: 1px; text-transform: uppercase; }

/* 05 Control — dials + frame central */
.v-control-wrap { position: relative; width: min(440px, 95%); aspect-ratio: 1.05; display: grid; place-items: center; }
.v-control-frame { position: relative; width: 60%; aspect-ratio: 1; }
.v-control-line { position: absolute; background: var(--accent); opacity: 0.3; }
.v-control-h { left: 0; right: 0; top: 50%; height: 1px; }
.v-control-v { top: 0; bottom: 0; left: 50%; width: 1px; }
.v-control-dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 14px; height: 14px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 30px var(--accent-glow); }
.v-control-bracket { position: absolute; width: 20px; height: 20px; border: 1.5px solid var(--accent); }
.v-control-frame .v-control-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.v-control-frame .v-control-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.v-control-frame .v-control-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.v-control-frame .v-control-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.v-control-center-label { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); font-size: 10px; color: var(--accent); letter-spacing: 0.2em; }

.v-control-dial { position: absolute; width: 110px; display: flex; flex-direction: column; gap: 6px; }
.v-control-dial-tl { top: 8%; left: 4%; }
.v-control-dial-tr { top: 8%; right: 4%; align-items: flex-end; }
.v-control-dial-bl { bottom: 8%; left: 4%; }
.v-control-dial-br { bottom: 8%; right: 4%; align-items: flex-end; }
.v-control-dial-label { font-size: 10px; color: var(--fg-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.v-control-dial-bar { width: 100%; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.v-control-dial-bar span { display: block; height: 100%; background: var(--accent); box-shadow: 0 0 8px var(--accent); border-radius: 2px; transition: width 600ms var(--ease); }

/* ============ USECASES ============ */
.usecases { background: var(--bg); }
.uc-head { max-width: 820px; margin-bottom: 64px; }
.uc-head h2 { margin-top: 18px; }
.uc-head em { font-style: normal; color: var(--accent); }
.uc-lead { font-size: 18px; margin-top: 20px; color: var(--fg-2); max-width: 620px; }

.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .uc-grid { grid-template-columns: 1fr; } }

.uc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease);
}
.uc-card:hover { transform: translateY(-3px); border-color: color-mix(in oklch, var(--accent) 40%, var(--border)); }

/* cover — area visual com identidade */
.uc-card-cover {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 80% 20%, color-mix(in oklch, var(--accent) 10%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in oklch, var(--bg) 40%, var(--surface)), var(--surface));
}
.uc-card-badges { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.uc-badge-cat { font-size: 10px; letter-spacing: 0.12em; color: var(--fg); padding: 5px 10px; background: rgba(0,0,0,0.4); border: 1px solid var(--border-strong); border-radius: 999px; backdrop-filter: blur(8px); text-transform: uppercase; }
.uc-badge-id { font-size: 10px; letter-spacing: 0.1em; color: var(--fg-muted); }
.uc-card-engine { position: absolute; bottom: 16px; left: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--fg); padding: 6px 10px; background: rgba(0,0,0,0.4); border: 1px solid var(--border-strong); border-radius: 999px; backdrop-filter: blur(8px); }
.uc-engine-dot { width: 5px; height: 5px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 6px var(--accent); }

/* body */
.uc-card-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.uc-card-body h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.uc-card-body p { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }

/* math row */
.uc-math {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1.1fr;
  align-items: stretch;
  padding: 16px;
  background: color-mix(in oklch, var(--bg) 60%, var(--surface));
  border: 1px solid var(--border);
  border-radius: 12px;
}
.uc-math-cell { display: flex; flex-direction: column; gap: 4px; padding: 0 12px; }
.uc-math-sep { background: var(--border); }
.uc-math-label { font-size: 9px; letter-spacing: 0.12em; color: var(--fg-muted); text-transform: uppercase; }
.uc-math-val { font-size: 15px; color: var(--fg); font-weight: 500; }
.uc-math-val-total { color: var(--accent); font-size: 16px; }

/* ======== VISUAIS POR CASO ======== */
.ucv { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 52px 20px 44px; }

/* UNIFIED HERO IMAGE — todos os 4 cards (copy, creative, nutrition, finance) */
.ucv-hero { padding: 0; }
.ucv-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 700ms var(--ease);
}
.ucv-hero-copy .ucv-hero-img     { background-image: url('assets/usecases/copy.jpg'); }
.ucv-hero-creative .ucv-hero-img { background-image: url('assets/usecases/creative.jpg'); }
.ucv-hero-nutrition .ucv-hero-img { background-image: url('assets/usecases/nutri.jpg'); }
.ucv-hero-finance .ucv-hero-img  { background-image: url('assets/usecases/financas.jpg'); }
.uc-card:hover .ucv-hero-img { transform: scale(1.04); }
.ucv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.35) 100%);
}

/* foot */
.uc-foot { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 32px; background: var(--surface); border-radius: 20px; border: 1px solid var(--border); }
.uc-foot p { max-width: 620px; font-size: 17px; color: var(--fg-2); }
@media (max-width: 900px) { .uc-foot { flex-direction: column; align-items: flex-start; } }

/* ============ LOGOCLOUD ============ */
.logocloud { background: var(--bg); padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lc-head { text-align: center; max-width: 600px; margin: 0 auto 40px; }
.lc-head h3 { margin-top: 16px; color: var(--fg-2); font-weight: 400; }
.lc-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
@media (max-width: 900px) { .lc-strip { grid-template-columns: repeat(2, 1fr); } }
.lc-item { padding: 28px; text-align: center; border-right: 1px solid var(--border); }
.lc-item:last-child { border-right: 0; }
.lc-placeholder { font-size: 11px; color: var(--fg-muted); opacity: 0.5; }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--bg); }
.tst-head { max-width: 700px; margin-bottom: 56px; }
.tst-head h2 { margin-top: 18px; }
.tst-head em { font-style: normal; color: var(--accent); }
.tst-lead { margin-top: 20px; font-size: 17px; }
.tst-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 16px;
}
@media (max-width: 900px) { .tst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tst-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .tst-featured { padding: 24px 20px !important; }
  .tst-featured .tst-quote { font-size: 15px !important; line-height: 1.45 !important; }
  .tst-quote-mark { font-size: 40px !important; margin: 0 0 -4px !important; }
  .tst-card { padding: 20px 18px; min-height: 0; }
}
.tst-card {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  transition: transform 200ms var(--ease), border-color 200ms;
  min-height: 240px;
}
.tst-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
/* featured: full-width hero row on top */
.tst-featured { grid-column: span 2; background: color-mix(in oklch, var(--accent) 90%, #000); color: var(--accent-fg); border-color: var(--accent); min-height: 0; padding: 32px 36px; }
.tst-featured.is-pinned { background: var(--accent); }
.tst-quote-mark { font-size: 56px; line-height: 0.5; font-weight: 500; font-family: serif; margin: 0 0 -6px; opacity: 0.7; }
.tst-quote { margin: 0; font-size: 15px; line-height: 1.5; letter-spacing: -0.005em; text-wrap: pretty; flex: 1; }
.tst-tall .tst-quote { font-size: 16px; line-height: 1.5; }
.tst-featured .tst-quote { font-size: 18px; line-height: 1.4; font-family: var(--font-mono); letter-spacing: 0.005em; max-width: 640px; margin-top: 0; }
@media (max-width: 900px) {
  .tst-featured { grid-column: 1 / -1; }
}
.tst-author { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.tst-avatar { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: #0A0A0A; background: linear-gradient(135deg, var(--accent), #4DD0E1); }
.tst-avatar-cyan   { background: linear-gradient(135deg, #7FE7F0, #1C80FA); color: #0A0A0A; }
.tst-avatar-blue   { background: linear-gradient(135deg, #1C80FA, #5B2EE8); color: #FFFFFF; }
.tst-avatar-violet { background: linear-gradient(135deg, #B388FF, #5B2EE8); color: #FFFFFF; }
.tst-avatar-orange { background: linear-gradient(135deg, #FFB37A, #E8552E); color: #1A0A00; }
.tst-avatar-lime   { background: linear-gradient(135deg, #D8FF6A, #8AD82E); color: #0A0A0A; }
.tst-featured .tst-avatar { outline: 2px solid rgba(10,10,10,0.12); outline-offset: 2px; }
.tst-name { font-size: 13px; font-weight: 500; }
.tst-role { font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.04em; }
.tst-featured .tst-role { color: rgba(10,10,10,0.6); }

/* ============ AUDIENCE ============ */
.audience { background: var(--bg); }
.aud-head { max-width: 720px; margin-bottom: 56px; }
.aud-head h2 { margin-top: 18px; }
.aud-head em { font-style: normal; color: var(--accent); }
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .aud-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .aud-grid { grid-template-columns: 1fr; } }
.aud-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 200ms var(--ease), border-color 200ms;
  position: relative;
  overflow: hidden;
}
.aud-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.aud-icon { width: 80px; height: 80px; }
.aud-num { font-size: 11px; color: var(--fg-muted); }
.aud-card h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.aud-card p { font-size: 14px; color: var(--fg-2); }
.aud-foot { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.aud-foot p { font-size: 18px; max-width: 640px; }

/* ============ FAQ ============ */
.faq { background: var(--bg); }
.faq-inner { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .faq-inner { grid-template-columns: 1fr; gap: 40px; } }
.faq-side { position: sticky; top: 100px; }
@media (max-width: 900px) { .faq-side { position: static; top: auto; } }
.faq-side h2 { margin-top: 16px; }
.faq-sub { margin: 20px 0 24px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  text-align: left;
  gap: 16px;
  transition: color 200ms;
}
.faq-num { font-size: 11px; color: var(--fg-muted); }
.faq-qtext { font-size: 17px; font-weight: 400; letter-spacing: -0.01em; }
.faq-chev { color: var(--fg-muted); transition: transform 300ms var(--ease); display: grid; place-items: center; }
.faq-item.is-open .faq-chev { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 400ms var(--ease); }
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 40px 28px 56px; font-size: 15px; color: var(--fg-2); line-height: 1.6; }

/* ============ FINAL CTA + FOOTER ============ */
.final {
  position: relative;
  padding: 160px 0 140px;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
}
.final-glow {
  position: absolute; left: 50%; top: 50%;
  width: 1200px; height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, var(--accent-soft) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.7;
}
.final-inner { position: relative; z-index: 2; }
.final-headline { font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 500; letter-spacing: -0.03em; margin-top: 24px; }
.final-headline em { font-style: normal; color: var(--accent); }
.final-cta { margin-top: 44px; display: inline-flex; flex-direction: column; gap: 14px; align-items: center; }
.final-meta { font-size: 11px; color: var(--fg-muted); }

.footer { background: #050505; border-top: 1px solid var(--border); position: relative; overflow: hidden; padding: 80px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; padding-bottom: 80px; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; gap: 40px; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand-logo { height: 24px; }
.footer-addr { font-style: normal; font-size: 11px; line-height: 1.8; color: var(--fg-muted); letter-spacing: 0.03em; padding-top: 8px; border-top: 1px solid var(--border); }
.footer-addr span { color: var(--fg-2); display: inline-block; margin-top: 4px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 600px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer-head { font-size: 10px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 6px; }
.footer-cols a { font-size: 14px; color: var(--fg-2); cursor: pointer; transition: color 200ms; }
.footer-cols a:hover { color: var(--fg); }
.footer-xl {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0 var(--gutter);
  font-size: clamp(80px, 20vw, 300px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  overflow: hidden;
  user-select: none;
  margin-bottom: -40px;
}
.footer-xl span:last-child { -webkit-text-stroke: 1px var(--accent); opacity: 0.4; }
