/* ═══════════════════════════════════════════════════════════════════════
   TAKE OFF — style.css
   ═══════════════════════════════════════════════════════════════════════ */

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

:root {
  --bg:           #111113;
  --bg2:          #161618;
  --bg3:          #1e1e21;
  --s1:           #222226;
  --s2:           #2e2e33;
  --s3:           #46464e;
  --t1:           #fafafa;
  --t2:           #a1a1aa;
  --t3:           #71717a;
  --t4:           #52525b;
  --accent:       #f03d00;
  --accent-d:     #d43500;
  --accent-glow:  rgba(240,61,0,.15);
  --accent-glow-s:rgba(240,61,0,.06);
  --W:            1140px;
  --ease:         cubic-bezier(.16,1,.3,1);
}

::selection { background: rgba(240,61,0,.25); color: var(--t1); }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400; color: var(--t2); background: var(--bg);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────── */
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -.04em; color: var(--t1); }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--t3); font-size: 1rem; line-height: 1.75; }
a  { text-decoration: none; color: inherit; }

/* ─── LAYOUT ─────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--W); margin: 0 auto; padding: 0 32px; }
section { padding: 120px 0; }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .65rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.label::before { content: ''; width: 20px; height: 1.5px; background: var(--accent); border-radius: 2px; }

/* ─── KEYFRAMES ──────────────────────────────────────────────────────── */
@keyframes blurIn {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes fadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes gridPan   { from { transform: translate(0,0); } to { transform: translate(64px,64px); } }
@keyframes pulseGlow { 0%,100% { opacity: .12; } 50% { opacity: .28; } }
@keyframes dotTravelV {
  0%  { top: -2%;  opacity: 0; } 3%  { opacity: 1; }
  20% { top: 20%; } 40% { top: 45%; } 60% { top: 68%; } 80% { top: 88%; }
  97% { opacity: 1; } 100% { top: 102%; opacity: 0; }
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: translateY(0); }
.rv-scale { opacity: 0; transform: scale(.96); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv-scale.in { opacity: 1; transform: scale(1); }
.d1 { transition-delay: .06s; }
.d2 { transition-delay: .12s; }
.d3 { transition-delay: .20s; }
.d4 { transition-delay: .28s; }
.d5 { transition-delay: .36s; }

/* ─── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-size: .86rem; font-weight: 500; letter-spacing: .01em;
  cursor: pointer; border: none;
  transition: all .35s var(--ease); white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(255,255,255,.06); opacity: 0; transition: opacity .2s;
}
.btn:hover::after { opacity: 1; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover {
  background: var(--accent-d); transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 40px rgba(240,61,0,.35);
}
.btn-accent .btn-icon { flex-shrink: 0; transition: transform .35s var(--ease); }
.btn-accent:hover .btn-icon { transform: translateY(-2px) rotate(-20deg); }
.btn-accent .btn-icon { font-family: unset; fill: none; stroke: white; }

.btn-ghost { background: transparent; color: var(--t2); border: 1px solid var(--s2); }
.btn-ghost:hover { border-color: var(--t3); color: var(--t1); transform: translateY(-1px) scale(1.02); }

.btn-ghost-w { background: transparent; color: var(--t3); border: 1px solid var(--s2); }
.btn-ghost-w:hover { border-color: var(--t4); color: var(--t1); }

.btn-nav { background: var(--accent); color: #fff; padding: 9px 20px; font-size: .78rem; font-weight: 500; }
.btn-nav:hover { background: var(--accent-d); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(240,61,0,.3); }

/* ─── NAVBAR ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(17,17,19,.85);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { background: rgba(17,17,19,.96); border-color: var(--s1); }

.nav-row   { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.nav-left  { display: flex; align-items: center; gap: 2px; }
.nav-right { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }

.nav-link {
  font-size: .78rem; font-weight: 400; color: var(--t3);
  padding: 6px 14px; border-radius: 100px; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--t1); background: var(--s1); }

.nav-logo { display: flex; align-items: center; justify-content: center; padding: 0 16px; transition: opacity .3s; }
.nav-logo:hover { opacity: .8; }
.nav-logo-img {
  height: 52px; width: auto; max-width: 160px; display: block; object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 8px rgba(240,61,0,.7)) drop-shadow(0 0 20px rgba(240,61,0,.35));
  transition: filter .3s;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 14px rgba(240,61,0,1)) drop-shadow(0 0 32px rgba(240,61,0,.6));
}

.ham { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; margin-left: auto; }
.ham span { display: block; width: 20px; height: 1.5px; background: var(--t1); transition: all .3s var(--ease); transform-origin: center; }
.ham.open span:nth-child(1) { transform: translateY(6.5px)  rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mob {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 998;
  background: var(--bg2); border-bottom: 1px solid var(--s1);
  padding: 12px 28px 24px; opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mob.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.mob a { display: block; padding: 14px 0; color: var(--t2); font-size: .95rem; border-bottom: 1px solid var(--s1); }
.mob a:last-child { border-bottom: none; }
.mob .btn-nav { margin-top: 16px; width: 100%; justify-content: center; border: none; }

/* ─── HERO ───────────────────────────────────────────────────────────── */
#hero {
  padding-top: 68px; min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--bg);
}

.hero-grid-bg {
  position: absolute; inset: -64px;
  background-image:
    linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridPan 24s linear infinite;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 42%, black 5%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 42%, black 5%, transparent 76%);
  pointer-events: none;
}

.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow-1 {
  width: 900px; height: 900px; top: -350px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(240,61,0,.12) 0%, transparent 65%);
  animation: pulseGlow 6s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px; bottom: -150px; right: -150px;
  background: radial-gradient(circle, rgba(240,61,0,.05) 0%, transparent 65%);
  animation: pulseGlow 9s 2s ease-in-out infinite;
}

.hero-inner {
  position: relative; z-index: 2;
  padding: 80px 0 60px; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 60px;
}

.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 760px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,61,0,.08); border: 1px solid rgba(240,61,0,.18);
  border-radius: 100px; padding: 5px 16px;
  font-size: .65rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px;
  opacity: 0; animation: blurIn .8s .05s var(--ease) forwards;
}
.hero-badge-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; animation: pulseGlow 2s infinite; }

.hero-h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem); line-height: 1.06; letter-spacing: -.04em;
  max-width: 720px; margin-bottom: 20px;
  opacity: 0; animation: blurIn 1s .15s var(--ease) forwards;
}
.hero-h1 em {
  font-style: italic; color: var(--accent);
  text-shadow: 0 0 32px rgba(240,61,0,.3), 0 0 8px rgba(240,61,0,.15);
}

.hero-p {
  max-width: 520px; font-size: 1rem; margin-bottom: 12px;
  opacity: 0; animation: blurIn .9s .3s var(--ease) forwards;
}
.hero-note {
  max-width: 520px; font-size: .85rem; color: rgba(255,255,255,.45);
  font-style: italic; margin-bottom: 40px;
  opacity: 0; animation: blurIn .9s .45s var(--ease) forwards;
}

.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: blurIn .9s .44s var(--ease) forwards;
}

/* ─── HERO BACKGROUND EFFECTS ────────────────────────────────────────── */
.hero-trails { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }

.hero-trail { position: absolute; border-radius: 100px; pointer-events: none; }

.hero-trail-1 {
  width: 58%; height: 2.5px; bottom: 24%; left: -6%;
  background: linear-gradient(90deg, transparent 0%, rgba(240,61,0,.07) 10%, rgba(240,61,0,.28) 55%, rgba(255,130,50,.14) 82%, transparent 100%);
  transform: rotate(-21deg); transform-origin: left center;
  box-shadow: 0 0 8px rgba(240,61,0,.2), 0 0 20px rgba(240,61,0,.08);
  animation: trailSlide1 9s ease-in-out infinite;
}
.hero-trail-1::after { content: ''; position: absolute; inset: -6px 0; background: inherit; filter: blur(8px); opacity: .45; border-radius: 100px; }

.hero-trail-2 {
  width: 44%; height: 2px; bottom: 46%; right: -4%;
  background: linear-gradient(90deg, transparent 0%, rgba(240,61,0,.05) 12%, rgba(240,61,0,.22) 58%, rgba(255,110,40,.1) 82%, transparent 100%);
  transform: rotate(-17deg); transform-origin: right center;
  box-shadow: 0 0 6px rgba(240,61,0,.15);
  animation: trailSlide2 12s 2s ease-in-out infinite;
}
.hero-trail-2::after { content: ''; position: absolute; inset: -5px 0; background: inherit; filter: blur(6px); opacity: .4; border-radius: 100px; }

.hero-trail-3 { width: 34%; height: 1.5px; top: 28%; left: 8%; background: linear-gradient(90deg, transparent 0%, rgba(240,61,0,.04) 18%, rgba(240,61,0,.16) 60%, transparent 100%); transform: rotate(-23deg); transform-origin: left center; animation: trailSlide3 15s 4s ease-in-out infinite; }
.hero-trail-4 { width: 62%; height: 48px; bottom: 16%; left: -8%; background: linear-gradient(90deg, transparent 0%, rgba(240,61,0,.03) 25%, rgba(240,61,0,.08) 58%, transparent 100%); transform: rotate(-19deg); transform-origin: left center; filter: blur(14px); animation: trailSlide1 11s 2.5s ease-in-out infinite; }
.hero-trail-5 { width: 38%; height: 1.5px; bottom: 10%; right: 3%; background: linear-gradient(90deg, transparent 0%, rgba(240,61,0,.05) 18%, rgba(240,61,0,.18) 62%, transparent 100%); transform: rotate(-14deg); transform-origin: right center; animation: trailSlide2 14s 5s ease-in-out infinite; }
.hero-trail-6 { width: 30%; height: 1px; top: 18%; right: 10%; background: linear-gradient(90deg, transparent 0%, rgba(240,61,0,.04) 20%, rgba(240,61,0,.13) 60%, transparent 100%); transform: rotate(-19deg); transform-origin: right center; animation: trailSlide3 17s 1s ease-in-out infinite; }
.hero-trail-7 { width: 26%; height: 1px; bottom: 55%; left: 4%; background: linear-gradient(90deg, transparent 0%, rgba(240,61,0,.03) 20%, rgba(240,61,0,.11) 60%, transparent 100%); transform: rotate(-25deg); transform-origin: left center; animation: trailSlide1 18s 6.5s ease-in-out infinite; }
.hero-trail-8 { width: 40%; height: 32px; bottom: 44%; right: -5%; background: linear-gradient(90deg, transparent 0%, rgba(240,61,0,.02) 25%, rgba(240,61,0,.06) 60%, transparent 100%); transform: rotate(-16deg); transform-origin: right center; filter: blur(10px); animation: trailSlide2 16s 3.5s ease-in-out infinite; }

@keyframes trailSlide1 {
  0%,100% { opacity: 0; transform: rotate(-21deg) translateX(-50px); }
  10%     { opacity: 0; }
  32%     { opacity: 1; transform: rotate(-21deg) translateX(0); }
  68%     { opacity: .7; }
  88%     { opacity: 0; transform: rotate(-21deg) translateX(30px); }
}
@keyframes trailSlide2 {
  0%,100% { opacity: 0; transform: rotate(-17deg) translateX(45px); }
  14%     { opacity: 0; }
  38%     { opacity: 1; transform: rotate(-17deg) translateX(0); }
  72%     { opacity: .6; }
  92%     { opacity: 0; }
}
@keyframes trailSlide3 {
  0%,100% { opacity: 0; }
  20%     { opacity: 0; transform: rotate(-23deg) translateX(-28px); }
  46%     { opacity: .8; transform: rotate(-23deg) translateX(0); }
  78%     { opacity: 0; }
}

.hero-smoke { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(22px); }
.hero-smoke-1 { width: 160px; height: 100px; bottom: 18%; left: 6%;   background: radial-gradient(ellipse, rgba(50,32,20,.22) 0%, rgba(40,24,14,.12) 50%, transparent 100%); animation: smokeFloat1 12s ease-in-out infinite; }
.hero-smoke-2 { width: 120px; height: 80px;  bottom: 40%; right: 8%;  background: radial-gradient(ellipse, rgba(45,28,16,.18) 0%, rgba(36,20,10,.1) 50%, transparent 100%);  animation: smokeFloat2 15s 2.5s ease-in-out infinite; }
.hero-smoke-3 { width: 90px;  height: 60px;  top: 22%;    left: 14%;  background: radial-gradient(ellipse, rgba(40,25,14,.14) 0%, rgba(30,18,8,.08) 50%, transparent 100%);   animation: smokeFloat1 18s 5s ease-in-out infinite; }
.hero-smoke-4 { width: 200px; height: 80px;  bottom: 8%;  left: 28%;  background: radial-gradient(ellipse, rgba(38,22,12,.15) 0%, rgba(28,16,8,.07) 50%, transparent 100%);   filter: blur(28px); animation: smokeFloat2 20s 8s ease-in-out infinite; }
.hero-smoke-5 { width: 80px;  height: 55px;  top: 15%;    right: 16%; background: radial-gradient(ellipse, rgba(42,26,15,.13) 0%, transparent 100%); animation: smokeFloat1 22s 11s ease-in-out infinite; }

@keyframes smokeFloat1 {
  0%,100% { opacity: 0; transform: translate(0,0) scale(.8); }
  15%     { opacity: 0; }
  35%     { opacity: 1; transform: translate(6px,-12px) scale(1); }
  60%     { opacity: .75; transform: translate(-4px,-22px) scale(1.1); }
  82%     { opacity: 0; transform: translate(3px,-34px) scale(1.2); }
}
@keyframes smokeFloat2 {
  0%,100% { opacity: 0; transform: translate(0,0) scale(.75); }
  20%     { opacity: 0; }
  42%     { opacity: .9; transform: translate(-7px,-14px) scale(1); }
  65%     { opacity: .55; transform: translate(5px,-26px) scale(1.08); }
  85%     { opacity: 0; transform: translate(-3px,-38px) scale(1.15); }
}

.hero-fire { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(5px); }
.hero-fire-1 { width: 20px; height: 20px; bottom: 26%; left: 47%;  background: radial-gradient(circle, rgba(255,150,40,.3) 0%, rgba(240,61,0,.15) 50%, transparent 100%); animation: fireFloat1 6s ease-in-out infinite; }
.hero-fire-2 { width: 14px; height: 14px; bottom: 28%; left: 38%;  background: radial-gradient(circle, rgba(255,200,60,.25) 0%, rgba(240,80,0,.12) 50%, transparent 100%); animation: fireFloat2 7.5s 1.2s ease-in-out infinite; }
.hero-fire-3 { width: 18px; height: 18px; bottom: 48%; right: 43%; background: radial-gradient(circle, rgba(255,130,30,.28) 0%, rgba(240,61,0,.14) 50%, transparent 100%); animation: fireFloat1 9s 2.8s ease-in-out infinite; }
.hero-fire-4 { width: 12px; height: 12px; top: 26%;    left: 16%;  background: radial-gradient(circle, rgba(255,160,50,.22) 0%, rgba(240,61,0,.1) 50%, transparent 100%);  animation: fireFloat2 11s 4.5s ease-in-out infinite; }
.hero-fire-5 { width: 16px; height: 16px; bottom: 12%; right: 40%; background: radial-gradient(circle, rgba(255,120,20,.24) 0%, rgba(220,50,0,.12) 50%, transparent 100%);  animation: fireFloat1 8s 6s ease-in-out infinite; }
.hero-fire-6 { width: 10px; height: 10px; top: 35%;    right: 28%; background: radial-gradient(circle, rgba(255,180,60,.18) 0%, transparent 100%); animation: fireFloat2 13s 3s ease-in-out infinite; }
.hero-fire-7 { width: 22px; height: 22px; bottom: 20%; left: 14%;  background: radial-gradient(circle, rgba(255,110,30,.2) 0%, rgba(200,40,0,.08) 60%, transparent 100%); filter: blur(7px); animation: fireFloat1 14s 7s ease-in-out infinite; }

@keyframes fireFloat1 {
  0%,100% { opacity: 0; transform: translate(0,0) scale(.6); }
  18%     { opacity: 0; }
  38%     { opacity: 1; transform: translate(4px,-10px) scale(1); }
  62%     { opacity: .7; transform: translate(-3px,-18px) scale(1.1); }
  84%     { opacity: 0; transform: translate(2px,-26px) scale(.9); }
}
@keyframes fireFloat2 {
  0%,100% { opacity: 0; transform: translate(0,0) scale(.5); }
  22%     { opacity: 0; }
  44%     { opacity: .9; transform: translate(-5px,-12px) scale(1); }
  68%     { opacity: .5; transform: translate(4px,-20px) scale(1.05); }
  86%     { opacity: 0; transform: translate(-2px,-28px) scale(.85); }
}

/* ─── FLOW CARD ──────────────────────────────────────────────────────── */
.flow-card {
  background: var(--bg2); border: 1px solid var(--s1); border-radius: 20px;
  padding: 52px 40px 40px; position: relative; z-index: 1;
  width: 100%; max-width: 920px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  opacity: 0; animation: fadeIn .8s .65s var(--ease) forwards;
}
.flow-label {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 4px 18px; border-radius: 100px; white-space: nowrap;
}
.flow-track { position: relative; width: 100%; }
.flow-steps { display: flex; align-items: flex-start; justify-content: space-between; position: relative; padding-top: 56px; }
.flow-line-bg { position: absolute; top: 27px; left: 0; right: 0; height: 1px; background: var(--s2); z-index: 0; }
.flow-line-fill {
  position: absolute; top: 22px; height: 10px; border-radius: 100px;
  background: linear-gradient(90deg, transparent 0%, rgba(240,61,0,.2) 20%, #f03d00 100%);
  box-shadow: 0 0 14px rgba(240,61,0,.6), 0 0 32px rgba(240,61,0,.25);
  z-index: 1; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.flow-rocket {
  position: absolute; top: 27px; transform: translateY(-50%);
  z-index: 10; pointer-events: none; transition: opacity .3s;
  filter: drop-shadow(0 0 6px rgba(240,61,0,.8)) drop-shadow(0 0 16px rgba(240,61,0,.4));
}
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; z-index: 2; flex: 1; }
.flow-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg); border: 1px solid var(--s2); display: flex; align-items: center; justify-content: center; transition: all .4s var(--ease); }
.flow-icon svg { width: 20px; height: 20px; stroke: var(--t4); stroke-width: 1.5; fill: none; transition: stroke .3s; }
.flow-step-name { font-size: .72rem; font-weight: 600; color: var(--t3); text-align: center; transition: color .3s; }
.flow-step-desc { font-size: .64rem; color: var(--t4); text-align: center; line-height: 1.5; max-width: 90px; }
.flow-step.active .flow-icon { border-color: var(--accent); background: rgba(240,61,0,.07); box-shadow: 0 0 20px rgba(240,61,0,.2), 0 0 40px rgba(240,61,0,.08); transform: scale(1.12) translateY(-2px); }
.flow-step.active .flow-icon svg { stroke: var(--accent); }
.flow-step.active .flow-step-name { color: var(--accent); }

.flow-smoke {
  position: fixed; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,160,60,.05) 0%, rgba(240,61,0,.03) 40%, transparent 100%);
  transform: translate(-50%,-50%) scale(0); pointer-events: none; z-index: 9999;
}
.flow-smoke.visible { animation: smokeOut .9s ease-out forwards; }
@keyframes smokeOut {
  0%   { transform: translate(-50%,-50%) scale(0);   opacity: .1; }
  35%  { transform: translate(-50%,-50%) scale(1.2); opacity: .08; }
  70%  { transform: translate(-50%,-60%) scale(2);   opacity: .04; }
  100% { transform: translate(-50%,-75%) scale(3);   opacity: 0; }
}
.flow-mobile { display: none; }

/* ─── SOLUÇÃO ────────────────────────────────────────────────────────── */
#solucao { background: var(--bg2); border-top: 1px solid var(--s1); border-bottom: 1px solid var(--s1); }
.sol-header { text-align: center; margin-bottom: 64px; }
.sol-em { font-style: italic; color: var(--accent); text-shadow: 0 0 28px rgba(240,61,0,.25); }
.sol-sub { max-width: 520px; margin: 16px auto 0; }
.sol-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--s1); border: 1px solid var(--s1); border-radius: 16px; overflow: hidden; margin-bottom: 24px; }
.sol-card { background: var(--bg2); padding: 40px 32px 36px; position: relative; transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); cursor: default; }
.sol-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.sol-card:hover { background: #1a1a1e; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(240,61,0,.08); }
.sol-card:hover::before { transform: scaleX(1); }
.sol-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.sol-num { font-size: 2.4rem; font-weight: 900; line-height: 1; color: rgba(240,61,0,.25); letter-spacing: -.04em; transition: color .3s; }
.sol-card:hover .sol-num { color: rgba(240,61,0,.45); }
.sol-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(240,61,0,.07); border: 1px solid rgba(240,61,0,.14); display: flex; align-items: center; justify-content: center; transition: background .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.sol-icon svg { width: 20px; height: 20px; stroke: var(--accent); }
.sol-card:hover .sol-icon { background: rgba(240,61,0,.16); border-color: rgba(240,61,0,.35); transform: scale(1.1); box-shadow: 0 4px 20px rgba(240,61,0,.2); }
.sol-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--t1); margin-bottom: 12px; letter-spacing: -.02em; }
.sol-card p  { font-size: .88rem; color: var(--t3); line-height: 1.7; margin-bottom: 28px; }
.sol-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(240,61,0,.5); transition: color .3s; }
.sol-tag::before { content: ''; width: 16px; height: 1px; background: currentColor; border-radius: 1px; }
.sol-card:hover .sol-tag { color: var(--accent); }
/* Sol-card viewport fade-in */
.sol-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.sol-card.in {
  opacity: 1;
  transform: translateY(0);
}
.sol-card:nth-child(2) { transition-delay: .12s; }
.sol-card:nth-child(3) { transition-delay: .24s; }

/* ── Clinicas cards (different from problem cards) ───────────────────── */
.cli-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 24px; }
.cli-card {
  background: var(--bg);
  border: 1px solid var(--s1);
  border-radius: 16px;
  padding: 36px 28px 32px;
  text-align: center;
  position: relative;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.cli-card:hover { border-color: rgba(240,61,0,.3); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(240,61,0,.08); }
.cli-icon-wrap {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(240,61,0,.08);
  border: 1px solid rgba(240,61,0,.18);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.cli-icon-wrap svg { width: 24px; height: 24px; stroke: var(--accent); }
.cli-card:hover .cli-icon-wrap { background: rgba(240,61,0,.14); border-color: rgba(240,61,0,.4); transform: scale(1.1); box-shadow: 0 4px 24px rgba(240,61,0,.2); }
.cli-num { font-size: .7rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; opacity: .6; }
.cli-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--t1); margin-bottom: 12px; letter-spacing: -.02em; }
.cli-card p { font-size: .88rem; color: var(--t3); line-height: 1.7; margin-bottom: 20px; }
.cli-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(240,61,0,.45); background: rgba(240,61,0,.06); border: 1px solid rgba(240,61,0,.12); border-radius: 100px; padding: 4px 14px; transition: color .3s, background .3s, border-color .3s; }
.cli-card:hover .cli-tag { color: var(--accent); background: rgba(240,61,0,.1); border-color: rgba(240,61,0,.25); }

.sol-statement { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 40px; background: var(--bg); border: 1px solid var(--s1); border-radius: 14px; flex-wrap: wrap; }
.sol-statement p { font-size: .95rem; color: var(--t3); line-height: 1.7; max-width: 560px; }
.sol-statement strong { color: var(--t2); font-weight: 600; }

/* ─── PROCESSO ───────────────────────────────────────────────────────── */
.proc-section { padding: 0; background: var(--bg); }
.proc-intro { text-align: center; padding: 100px 32px 72px; }
.proc-intro-sub { max-width: 440px; margin: 16px auto 0; }
.proc-stack { position: relative; }
.proc-step-sticky { position: sticky; top: 68px; z-index: var(--step-z); background: var(--step-bg); border-top: 1px solid var(--s1); min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.proc-step-num-bg { position: absolute; right: 2%; bottom: -4%; font-size: clamp(160px,20vw,260px); font-weight: 900; line-height: 1; letter-spacing: -.06em; color: rgba(255,255,255,.045); pointer-events: none; user-select: none; z-index: 0; }
.proc-step-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; padding: 80px 0; width: 100%; }
.proc-step-left { display: flex; flex-direction: column; }
.proc-step-num { font-size: 3.5rem; font-weight: 900; line-height: 1; letter-spacing: -.04em; color: rgba(255,255,255,.15); margin-bottom: 20px; }
.proc-step-title { font-size: clamp(2rem,3.5vw,2.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--t1); margin-bottom: 20px; }
.proc-step-desc { font-size: 1rem; color: var(--t3); line-height: 1.75; max-width: 420px; margin-bottom: 28px; }
.proc-step-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.proc-step-list li { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--t2); }
.proc-step-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.proc-step-right { display: flex; justify-content: center; }
.proc-step-visual { background: var(--bg2); border: 1px solid var(--s1); border-radius: 16px; padding: 32px 28px; width: 100%; max-width: 400px; }
.proc-step-visual-active { border-color: rgba(240,61,0,.3); box-shadow: 0 0 40px rgba(240,61,0,.08); }
.proc-vis-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.proc-vis-items { display: flex; flex-direction: column; gap: 8px; }
.proc-vis-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--s1); border-radius: 8px; font-size: .8rem; color: var(--t3); }
.proc-vis-item-accent { border-color: rgba(240,61,0,.2); background: rgba(240,61,0,.04); }
.proc-vis-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.proc-vis-status { margin-left: auto; font-size: .7rem; font-weight: 600; }
/* ── Mockup redesign (step 1) ──────────────────────────────────────── */
.proc-mockup-wrap {
  background: var(--bg2);
  border: 1px solid var(--s1);
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 520px;
}
.proc-mockup { border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04); }
/* chrome */
.proc-mock-chrome { background: #1c1c1e; border-bottom: 1px solid rgba(255,255,255,.08); padding: 7px 12px; display: flex; align-items: center; gap: 10px; }
.proc-mock-dots { display: flex; gap: 5px; }
.proc-mock-dots span { width: 8px; height: 8px; border-radius: 50%; }
.proc-mock-dots span:nth-child(1) { background: #ff5f57; }
.proc-mock-dots span:nth-child(2) { background: #febc2e; }
.proc-mock-dots span:nth-child(3) { background: #27c840; }
.proc-mock-bar { flex: 1; background: rgba(255,255,255,.07); border-radius: 5px; padding: 3px 10px; font-size: .6rem; color: rgba(255,255,255,.28); text-align: center; font-family: 'SF Mono','Fira Code',monospace; }
/* page */
.proc-mock-page { background: #0b0b0d; position: relative; }
/* nav */
.proc-mock-nav { background: rgba(255,255,255,.025); border-bottom: 1px solid rgba(255,255,255,.06); padding: 9px 14px; display: flex; align-items: center; justify-content: space-between; }
.proc-mock-logo-pill { width: 42px; height: 6px; background: var(--accent); border-radius: 3px; opacity: .85; }
.proc-mock-nav-links { display: flex; gap: 7px; align-items: center; }
.proc-mock-nl { width: 18px; height: 4px; background: rgba(255,255,255,.15); border-radius: 2px; }
.proc-mock-nl-cta { width: 36px; height: 14px; background: var(--accent); border-radius: 100px; opacity: .9; }
/* hero */
.proc-mock-hero { padding: 18px 14px 14px; }
.proc-mock-badge-pill { width: 90px; height: 10px; background: rgba(240,61,0,.18); border: 1px solid rgba(240,61,0,.35); border-radius: 100px; margin-bottom: 12px; animation: mock-shimmer 2.8s ease-in-out infinite; }
.proc-mock-title { height: 12px; background: rgba(255,255,255,.22); border-radius: 4px; width: 92%; margin-bottom: 7px; }
.proc-mock-title-sm { width: 68%; margin-bottom: 10px; }
.proc-mock-sub-line { height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; width: 82%; margin-bottom: 5px; }
.proc-mock-sub-line-short { width: 55%; margin-bottom: 14px; }
.proc-mock-actions { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.proc-mock-btn-wa { display: inline-flex; align-items: center; gap: 5px; background: #25d366; color: #fff; border-radius: 100px; padding: 5px 12px; font-size: .58rem; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 16px rgba(37,211,102,.35); animation: mock-wa-pulse 2.4s ease-in-out infinite; }
.proc-mock-btn-ghost { width: 44px; height: 22px; border-radius: 100px; border: 1px solid rgba(255,255,255,.15); }
/* cards */
.proc-mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; padding: 0 14px 14px; }
.proc-mock-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 8px; padding: 9px 8px; }
.proc-mock-icon-box { width: 16px; height: 16px; background: rgba(240,61,0,.25); border-radius: 5px; margin-bottom: 7px; }
.proc-mock-cl { height: 5px; background: rgba(255,255,255,.15); border-radius: 2px; margin-bottom: 4px; }
.proc-mock-cl-sm { width: 55%; }
/* floating WhatsApp */
.proc-mock-float { position: absolute; bottom: 14px; right: 14px; width: 30px; height: 30px; }
.proc-mock-float-ring { position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(37,211,102,.5); animation: mock-ring 2.2s ease-out infinite; }
.proc-mock-float-ring-2 { inset: -10px; animation-delay: .7s; }
.proc-mock-float-btn { position: relative; z-index: 1; width: 30px; height: 30px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,.45); }
/* bottom fade */
.proc-mock-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(to bottom, transparent, rgba(11,11,13,.95)); pointer-events: none; }
/* animations */
@keyframes mock-shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
@keyframes mock-wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.35); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,.6), 0 0 0 4px rgba(37,211,102,.08); }
}
@keyframes mock-ring {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(2); opacity: 0; }
}
/* ── WhatsApp Flow (step 2) — 14s cycle ─────────────────────────────── */
.waf-outer {
  max-width: 400px;
  width: 100%;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* iPhone mockup shell */
.iphone-mock {
  position: relative;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}
.iphone-body {
  background: linear-gradient(145deg, #2a2a2a 0%, #1c1c1c 40%, #252525 100%);
  border-radius: 44px;
  padding: 8px;
  box-shadow:
    0 0 0 1px #555,
    0 0 0 2px #1a1a1a,
    0 48px 100px rgba(0,0,0,.85),
    inset 0 1px 0 rgba(255,255,255,.15),
    inset 0 -1px 0 rgba(0,0,0,.4);
}
.iphone-inner {
  background: #0b141a;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 420px;
}
/* Status bar + Dynamic Island */
.iphone-status-bar {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 16px 6px;
  background: #1f2c34;
}
.iphone-time {
  font-size: .68rem;
  font-weight: 600;
  color: white;
  font-family: -apple-system, sans-serif;
}
.iphone-island {
  width: 70px;
  height: 18px;
  background: #000;
  border-radius: 20px;
}
.iphone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-end;
}
/* Screen content: fills remaining height between status bar and home bar */
.iphone-screen-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.iphone-home-bar {
  flex-shrink: 0;
  width: 120px;
  height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 100px;
  margin: 10px auto 8px;
}
/* Side buttons */
.iphone-side-btn {
  position: absolute;
  background: linear-gradient(to right, #333, #444);
  border-radius: 3px;
  z-index: 0;
}
.iphone-silent   { width: 3px; height: 32px; left: -5px; top:  80px; box-shadow: -1px 0 2px rgba(0,0,0,.5); }
.iphone-vol-up   { width: 3px; height: 48px; left: -5px; top: 130px; box-shadow: -1px 0 2px rgba(0,0,0,.5); }
.iphone-vol-down { width: 3px; height: 48px; left: -5px; top: 190px; box-shadow: -1px 0 2px rgba(0,0,0,.5); }
.iphone-power    { width: 3px; height: 64px; right:-5px; top: 150px; box-shadow:  1px 0 2px rgba(0,0,0,.5); }

/* WhatsApp UI — fills iphone-screen-content */
.waf-wa {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.waf-wa-hdr {
  flex-shrink: 0;
  background: #111b21;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.waf-av { width: 34px; height: 34px; background: #128c7e; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; color: white; position: relative; flex-shrink: 0; }
.waf-av-online { position: absolute; bottom: 0; right: 0; width: 9px; height: 9px; background: #25d366; border-radius: 50%; border: 2px solid #1f2c34; }
.waf-contact { flex: 1; min-width: 0; }
.waf-contact-name { font-size: .78rem; font-weight: 700; color: #e9edef; }
.waf-contact-sub  { font-size: .64rem; color: #25d366; }
.waf-hdr-acts { display: flex; gap: 16px; flex-shrink: 0; }

/* Chat area: flex-grows to fill between header and input bar */
.waf-chat {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #0b141a;
  padding: 10px 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Source pill */
.waf-src {
  flex-shrink: 0;
  align-self: center;
  font-size: .65rem;
  color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.06);
  border-radius: 100px;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
  animation: waf-src 14s ease-in-out infinite;
}

/* Typing indicator — collapses to 0 height when invisible so messages below don't shift */
.waf-td {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #1f2c34;
  border-radius: 0 10px 10px 0;
  padding: 8px 12px;
  width: fit-content;
  align-self: flex-start;
  overflow: hidden;
}
.waf-td span { width: 5px; height: 5px; background: rgba(255,255,255,.45); border-radius: 50%; animation: waf-dot 1.3s ease-in-out infinite; }
.waf-td span:nth-child(2) { animation-delay: .22s; }
.waf-td span:nth-child(3) { animation-delay: .44s; }

/* Each typing indicator runs its opacity animation + a max-height collapse so it takes
   no layout space when invisible — keeping chat area from overflowing */
.waf-td1 { animation: waf-td1 14s ease-in-out infinite, waf-tdh1 14s ease-in-out infinite; }
.waf-td2 { animation: waf-td2 14s ease-in-out infinite, waf-tdh2 14s ease-in-out infinite; }
.waf-td3 { animation: waf-td3 14s ease-in-out infinite, waf-tdh3 14s ease-in-out infinite; }

/* Height-collapse keyframes (mirrors opacity windows in waf-td1/2/3) */
@keyframes waf-tdh1 { 0%,5%{max-height:0;padding-top:0;padding-bottom:0} 8%,16%{max-height:40px;padding-top:8px;padding-bottom:8px} 19%,100%{max-height:0;padding-top:0;padding-bottom:0} }
@keyframes waf-tdh2 { 0%,23%{max-height:0;padding-top:0;padding-bottom:0} 26%,32%{max-height:40px;padding-top:8px;padding-bottom:8px} 35%,100%{max-height:0;padding-top:0;padding-bottom:0} }
@keyframes waf-tdh3 { 0%,39%{max-height:0;padding-top:0;padding-bottom:0} 42%,48%{max-height:40px;padding-top:8px;padding-bottom:8px} 51%,100%{max-height:0;padding-top:0;padding-bottom:0} }

/* Incoming messages */
.waf-mi {
  flex-shrink: 0;
  background: #1f2c34;
  border-radius: 0 12px 12px 12px;
  padding: 7px 10px 4px;
  max-width: 82%;
  align-self: flex-start;
}
.waf-mi-txt { font-size: .78rem; color: #e9edef; line-height: 1.45; }
.waf-mt { font-size: .6rem; color: rgba(233,237,239,.4); display: block; text-align: right; margin-top: 2px; }
.waf-mi1 { animation: waf-mi1 14s ease-in-out infinite; }
.waf-mi2 { animation: waf-mi2 14s ease-in-out infinite; }
.waf-mi3 { animation: waf-mi3 14s ease-in-out infinite; }

/* Outgoing reply */
.waf-mo {
  flex-shrink: 0;
  background: #005c4b;
  border-radius: 12px 0 12px 12px;
  padding: 7px 10px 4px;
  max-width: 82%;
  align-self: flex-end;
}
.waf-mo-txt { font-size: .78rem; color: #e9edef; line-height: 1.45; margin-bottom: 2px; }
.waf-mo-meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.waf-mo1 { animation: waf-mo1 14s ease-in-out infinite; }

/* Input bar */
.waf-input-bar {
  flex-shrink: 0;
  background: #1f2c34;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.waf-input-field { flex: 1; background: #2a3942; border-radius: 100px; padding: 7px 12px; font-size: .75rem; color: rgba(233,237,239,.32); }
.waf-mic-btn { width: 30px; height: 30px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Progress steps */
.waf-progress { display: flex; align-items: center; gap: 8px; padding: 0 4px; width: 100%; }
.waf-p { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.waf-p span { font-size: .7rem; color: var(--t4); white-space: nowrap; }
.waf-pdot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); }
.waf-pline { flex: 1; height: 1.5px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.waf-pline-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: linear-gradient(to right, #f03d00, #25d366); }

/* ─ Animation keyframes — 14s cycle ─ */
@keyframes waf-src  { 0%,2%{opacity:0;transform:translateY(-4px)} 5%,85%{opacity:1;transform:translateY(0)} 92%,100%{opacity:0} }
@keyframes waf-td1  { 0%,4%{opacity:0;transform:translateY(5px)} 7%,15%{opacity:1;transform:translateY(0)} 18%,100%{opacity:0;transform:translateY(-3px)} }
@keyframes waf-mi1  { 0%,17%{opacity:0;transform:translateY(8px)} 20%,85%{opacity:1;transform:translateY(0)} 92%,100%{opacity:0} }
@keyframes waf-td2  { 0%,22%{opacity:0;transform:translateY(5px)} 25%,31%{opacity:1;transform:translateY(0)} 34%,100%{opacity:0;transform:translateY(-3px)} }
@keyframes waf-mi2  { 0%,33%{opacity:0;transform:translateY(8px)} 36%,85%{opacity:1;transform:translateY(0)} 92%,100%{opacity:0} }
@keyframes waf-td3  { 0%,38%{opacity:0;transform:translateY(5px)} 41%,47%{opacity:1;transform:translateY(0)} 50%,100%{opacity:0;transform:translateY(-3px)} }
@keyframes waf-mi3  { 0%,49%{opacity:0;transform:translateY(8px)} 52%,85%{opacity:1;transform:translateY(0)} 92%,100%{opacity:0} }
@keyframes waf-mo1  { 0%,57%{opacity:0;transform:translateY(8px)} 61%,85%{opacity:1;transform:translateY(0)} 92%,100%{opacity:0} }
@keyframes waf-dot  { 0%,100%{transform:translateY(0);opacity:.4} 50%{transform:translateY(-3px);opacity:1} }

/* Progress dot + line animations */
.waf-p1 .waf-pdot { animation: waf-pd1 14s ease-in-out infinite; }
.waf-p1 span      { animation: waf-pt1 14s ease-in-out infinite; }
.waf-p2 .waf-pdot { animation: waf-pd2 14s ease-in-out infinite; }
.waf-p2 span      { animation: waf-pt2 14s ease-in-out infinite; }
.waf-p3 .waf-pdot { animation: waf-pd3 14s ease-in-out infinite; }
.waf-p3 span      { animation: waf-pt3 14s ease-in-out infinite; }
.waf-pline1 .waf-pline-fill { animation: waf-pl1 14s ease-in-out infinite; }
.waf-pline2 .waf-pline-fill { animation: waf-pl2 14s ease-in-out infinite; }

@keyframes waf-pd1 { 0%,12%{border-color:rgba(255,255,255,.2);background:transparent;box-shadow:none} 17%,30%{border-color:#f03d00;background:#f03d00;box-shadow:0 0 8px rgba(240,61,0,.6)} 35%,100%{border-color:rgba(240,61,0,.35);background:rgba(240,61,0,.18);box-shadow:none} }
@keyframes waf-pt1 { 0%,12%{color:var(--t4)} 17%,100%{color:rgba(240,61,0,.8)} }
@keyframes waf-pl1 { 0%,14%{width:0%} 33%,100%{width:100%} }
@keyframes waf-pd2 { 0%,33%{border-color:rgba(255,255,255,.2);background:transparent;box-shadow:none} 38%,52%{border-color:#25d366;background:#25d366;box-shadow:0 0 8px rgba(37,211,102,.6)} 57%,100%{border-color:rgba(37,211,102,.32);background:rgba(37,211,102,.14);box-shadow:none} }
@keyframes waf-pt2 { 0%,33%{color:var(--t4)} 38%,100%{color:rgba(37,211,102,.8)} }
@keyframes waf-pl2 { 0%,40%{width:0%} 60%,100%{width:100%} }
@keyframes waf-pd3 { 0%,60%{border-color:rgba(255,255,255,.2);background:transparent;box-shadow:none} 65%,85%{border-color:#25d366;background:#25d366;box-shadow:0 0 8px rgba(37,211,102,.6)} 92%,100%{border-color:rgba(255,255,255,.2);background:transparent;box-shadow:none} }
@keyframes waf-pt3 { 0%,60%{color:var(--t4)} 65%,85%{color:rgba(37,211,102,.8)} 92%,100%{color:var(--t4)} }

.proc-vis-code { background: #0d0d0f; border-radius: 10px; padding: 20px; font-family: 'SF Mono','Fira Code',monospace; font-size: .78rem; line-height: 1.9; }
.proc-code-line    { display: block; }
.proc-code-indent  { padding-left: 16px; }
.proc-code-kw      { color: #c792ea; }
.proc-code-fn      { color: #82aaff; }
.proc-code-str     { color: #c3e88d; }
.proc-code-op      { color: #89ddff; }
.proc-code-p       { color: #89ddff; }
.proc-code-comment { color: #546e7a; margin-top: 8px; display: block; }
.proc-code-cursor  { display: inline-block; width: 2px; height: 14px; background: var(--accent); margin-top: 6px; animation: cursorBlink 1s infinite; vertical-align: middle; }
@keyframes cursorBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.proc-vis-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 24px; }
.proc-metric-item { text-align: center; }
.proc-metric-val { font-size: 1.5rem; font-weight: 800; color: var(--t1); line-height: 1; margin-bottom: 6px; letter-spacing: -.03em; }
.proc-metric-lbl { font-size: .65rem; color: var(--t4); line-height: 1.4; }
.proc-vis-pulse { display: flex; align-items: center; gap: 6px; padding-top: 16px; border-top: 1px solid var(--s1); }
.proc-vis-pulse span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.proc-vis-pulse span:nth-child(1) { animation: pulseDot 1.4s .0s ease-in-out infinite; }
.proc-vis-pulse span:nth-child(2) { animation: pulseDot 1.4s .2s ease-in-out infinite; }
.proc-vis-pulse span:nth-child(3) { animation: pulseDot 1.4s .4s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { opacity: .2; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.3); } }

/* ─── PORTFÓLIO ──────────────────────────────────────────────────────── */
#portfolio { background: var(--bg2); border-top: 1px solid var(--s1); border-bottom: 1px solid var(--s1); }
.port-header { text-align: center; margin-bottom: 40px; }
.port-sub { max-width: 440px; margin: 16px auto 0; }
.port-context { text-align: center; font-size: .9rem; color: rgba(255,255,255,.45); max-width: 520px; margin: 0 auto 48px; }
.port-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-bottom: 48px; }
.port-card { background: var(--bg); border: 1px solid var(--s1); border-radius: 20px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.port-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,.4); border-color: var(--s2); }
.port-preview { padding: 20px 20px 0; }
.port-browser { border-radius: 10px 10px 0 0; overflow: hidden; border: 1px solid var(--s1); border-bottom: none; }
.port-browser-bar { display: flex; align-items: center; gap: 8px; background: var(--bg2); padding: 8px 12px; border-bottom: 1px solid var(--s1); }
.port-dots { display: flex; gap: 4px; }
.port-dots span { width: 7px; height: 7px; border-radius: 50%; }
.port-dots span:nth-child(1) { background: #ef4444; }
.port-dots span:nth-child(2) { background: #eab308; }
.port-dots span:nth-child(3) { background: #22c55e; }
.port-url { flex: 1; text-align: center; font-size: .65rem; color: var(--t4); background: var(--s1); border-radius: 4px; padding: 2px 8px; }
.port-screen { padding: 10px; height: 260px; overflow: hidden; }
img.port-screen { padding: 0; width: 100%; height: auto; display: block; }
.port-mock-nav { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 8px; }
.port-mock-logo { font-size: 9px; font-weight: 800; letter-spacing: .02em; }
.port-mock-links { display: flex; gap: 6px; align-items: center; }
.port-mock-links span { font-size: 5.5px; color: rgba(255,255,255,.4); }
.port-mock-hero { display: flex; gap: 10px; margin-bottom: 8px; align-items: center; }
.port-mock-copy { flex: 1; }
.port-mock-h1 { font-size: 11px; font-weight: 800; line-height: 1.3; color: #fff; margin-bottom: 4px; }
.port-mock-p  { font-size: 6px; color: rgba(255,255,255,.5); margin-bottom: 6px; line-height: 1.5; }
.port-mock-btn { display: inline-block; font-size: 5.5px; color: #fff; padding: 3px 8px; border-radius: 20px; font-weight: 600; }
.port-mock-img { width: 70px; height: 58px; border-radius: 6px; flex-shrink: 0; }
.port-mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.port-mock-card  { height: 28px; border-radius: 5px; display: flex; align-items: center; padding: 0 5px; }
.port-info { padding: 24px 24px 28px; }
.port-info-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.port-tag { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.port-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.port-badge { font-size: .6rem; font-weight: 500; color: var(--t4); background: var(--s1); border: 1px solid var(--s2); border-radius: 100px; padding: 2px 10px; }
.port-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--t1); letter-spacing: -.03em; margin-bottom: 10px; }
.port-card p  { font-size: .86rem; color: var(--t3); line-height: 1.7; margin-bottom: 20px; }
.port-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--s1); border: 1px solid var(--s1); border-radius: 10px; overflow: hidden; }
.port-metric { background: var(--bg2); padding: 14px 12px; }
.port-metric-val { font-size: 1.1rem; font-weight: 800; color: var(--t1); line-height: 1; margin-bottom: 5px; letter-spacing: -.03em; }
.port-metric-val em { color: var(--accent); font-style: normal; }
.port-metric-lbl { font-size: .62rem; color: var(--t4); line-height: 1.4; }
.port-cta { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; padding: 32px; border: 1px solid var(--s1); border-radius: 14px; background: var(--bg); }
.port-cta p { font-size: .95rem; color: var(--t3); margin: 0; }

/* ─── CLÍNICAS ──────────────────────────────────────────────────────── */
.clinicas-impact { text-align: center; font-size: 1.05rem; font-weight: 600; color: var(--t2); letter-spacing: -.01em; margin-bottom: 40px; }

/* ─── RESULTADOS ─────────────────────────────────────────────────────── */
#resultados { background: var(--bg); }
.res-header { text-align: center; margin-bottom: 56px; }
.res-sub { max-width: 440px; margin: 16px auto 0; }
.res-metrics { display: flex; align-items: center; justify-content: center; background: var(--bg2); border: 1px solid var(--s1); border-radius: 16px; overflow: hidden; margin-bottom: 64px; }
.res-metric { flex: 1; padding: 36px 24px; text-align: center; }
.res-metric-val { font-size: clamp(2rem,3.5vw,2.8rem); font-weight: 900; color: var(--accent); line-height: 1; letter-spacing: -.04em; margin-bottom: 8px; }
.res-metric-lbl { font-size: .78rem; color: var(--t4); font-weight: 500; }
.res-metric-divider { width: 1px; height: 48px; background: var(--s1); flex-shrink: 0; }
.res-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.res-card { background: var(--bg2); border: 1px solid var(--s1); border-radius: 16px; padding: 32px 28px; position: relative; transition: border-color .3s var(--ease), transform .3s var(--ease); display: flex; flex-direction: column; }
.res-card:hover { border-color: var(--s2); transform: translateY(-4px); }
.res-card::before { content: '"'; position: absolute; top: 16px; left: 22px; font-size: 4rem; line-height: 1; font-weight: 900; color: rgba(240,61,0,.1); font-family: Georgia, serif; pointer-events: none; }
.res-stars { color: var(--accent); font-size: .82rem; letter-spacing: 2px; margin-bottom: 16px; padding-top: 16px; }
.res-quote { font-size: .9rem; color: var(--t2); line-height: 1.75; margin-bottom: 24px; flex: 1; }
.res-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--s1); }
.res-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(240,61,0,.08); border: 1.5px solid rgba(240,61,0,.2); display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.res-honest { display: flex; align-items: center; gap: 20px; background: var(--bg2); border: 1px solid var(--s1); border-radius: 16px; padding: 32px 40px; max-width: 560px; margin: 0 auto; }
.res-honest-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(240,61,0,.08); border: 1px solid rgba(240,61,0,.15); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.res-honest-text { font-size: 1rem; color: var(--t2); line-height: 1.7; margin: 0; }
.res-author-info { flex: 1; min-width: 0; }
.res-author-info strong { display: block; font-size: .85rem; font-weight: 600; color: var(--t1); margin-bottom: 2px; }
.res-author-info span  { font-size: .72rem; color: var(--t4); }
.res-author-badge { font-size: .6rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: rgba(240,61,0,.08); border: 1px solid rgba(240,61,0,.15); border-radius: 100px; padding: 3px 10px; white-space: nowrap; flex-shrink: 0; }

/* ─── FAQ ────────────────────────────────────────────────────────────── */
#faq { background: var(--bg2); border-top: 1px solid var(--s1); }
.faq-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.faq-left h2 { margin-bottom: 14px; }
.faq-left p  { margin-bottom: 28px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--s1); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-size: .92rem; font-weight: 400; color: var(--t2); transition: color .2s; gap: 16px; user-select: none; }
.faq-q:hover { color: var(--accent); }
.faq-arrow { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--s2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .35s var(--ease); }
.faq-arrow svg { width: 10px; height: 10px; stroke: var(--t4); transition: transform .35s var(--ease), stroke .2s; }
.faq-item.open .faq-arrow { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-arrow svg { stroke: #fff; transform: rotate(180deg); }
.faq-a { font-size: .86rem; color: var(--t3); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), padding .4s; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }

/* ─── CTA FINAL ──────────────────────────────────────────────────────── */
#cta { padding: 100px 0 120px; background: var(--bg); }
.cta-box { background: var(--bg3); border: 1px solid var(--s1); border-radius: 24px; padding: 80px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 50% 110%, rgba(240,61,0,.18) 0%, transparent 65%); pointer-events: none; z-index: 0; }
.cta-box::after  { content: ''; position: absolute; bottom: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg, transparent, rgba(240,61,0,.5), transparent); z-index: 0; }
.cta-rocket-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.cta-inner { position: relative; z-index: 2; }
.cta-box .label { color: var(--t4); }
.cta-box .label::before { background: var(--t4); }
.cta-box h2 { max-width: 520px; margin: 0 auto 16px; }
.cta-box p  { max-width: 380px; margin: 0 auto 40px; }
.cta-btns   { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
#footer { background: var(--bg); }
.ft-top { border-top: 1px solid var(--s1); padding: 64px 0 52px; }
.ft-top-inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 80px; align-items: flex-start; }
.ft-brand { display: flex; flex-direction: column; gap: 16px; }
.ft-logo-wrap { display: inline-flex; transition: opacity .3s; }
.ft-logo-wrap:hover { opacity: .8; }
.ft-logo-img { height: 44px; width: auto; mix-blend-mode: screen; filter: drop-shadow(0 0 6px rgba(240,61,0,.5)); }
.ft-tagline { font-size: .85rem; color: var(--t4); line-height: 1.65; max-width: 260px; }
.ft-cta { align-self: flex-start; margin-top: 4px; }
.ft-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.ft-col h4 { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--t4); margin-bottom: 16px; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-col ul li a { font-size: .84rem; color: var(--t3); transition: color .2s; }
.ft-col ul li a:hover { color: var(--accent); }
.ft-bottom { border-top: 1px solid var(--s1); padding: 20px 0; }
.ft-btm { display: flex; align-items: center; justify-content: space-between; }
.ft-btm p { font-size: .72rem; color: var(--t4); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sol-grid  { grid-template-columns: 1fr; }
  .cli-grid  { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
  .res-grid  { grid-template-columns: repeat(2,1fr); }
  .ft-top-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .sol-grid       { grid-template-columns: 1fr; }
  .sol-statement  { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .proc-step-sticky { position: relative; top: auto; min-height: auto; }
  .proc-step-inner  { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .proc-step-right  { justify-content: flex-start; }
  .proc-step-visual { max-width: 100%; }
  .proc-step-num-bg { display: none; }
  .port-grid { grid-template-columns: 1fr; }
  .port-cta  { flex-direction: column; text-align: center; padding: 24px; }
  .res-metrics { flex-wrap: wrap; }
  .res-metric { flex: 0 0 50%; border-bottom: 1px solid var(--s1); }
  .res-metric:nth-child(5), .res-metric:nth-child(7) { border-bottom: none; }
  .res-metric-divider { display: none; }
  .res-grid  { grid-template-columns: 1fr; }
  .ft-links  { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .nav-left, .nav-right { display: none; }
  .nav-row  { grid-template-columns: auto 1fr auto; }
  .nav-logo { padding: 0; }
  .ham { display: flex; }
  .mob { display: block; }
  #hero { min-height: auto; }
  .hero-inner { padding: 64px 0 40px; gap: 40px; }
  .hero-h1 br, .hero-p br { display: none; }
  .hero-btns { justify-content: center; }
  .hero-glow-1 { width: 480px; height: 480px; }
  .hero-glow-2 { display: none; }
  .btn { white-space: normal; text-align: center; }
  .flow-card { padding: 36px 20px 28px; }
  .flow-steps, .flow-rocket, .flow-line-bg, .flow-line-fill { display: none; }
  .flow-mobile {
    display: flex; flex-direction: column-reverse; position: relative; padding-left: 32px; overflow: hidden;
  }
  .flow-mobile::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 1px; background: var(--s2); }
  .flow-m-dot { display: none; }
  .flow-m-rocket {
    position: absolute; left: 14px; margin-left: -18px;
    transform: rotate(-90deg); z-index: 10; pointer-events: none; opacity: 0;
    filter: drop-shadow(0 0 6px rgba(240,61,0,.8)) drop-shadow(0 0 16px rgba(240,61,0,.4));
    transition: opacity .3s;
  }
  .flow-m-line-fill {
    position: absolute; left: 13px; width: 2px; bottom: 0; height: 0;
    background: linear-gradient(to top, rgba(240,61,0,.15) 0%, #f03d00 100%);
    box-shadow: 0 0 14px rgba(240,61,0,.6), 0 0 32px rgba(240,61,0,.25);
    z-index: 1; opacity: 0; border-radius: 2px; pointer-events: none;
  }
  .flow-m-step { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0 16px 8px; }
  .flow-m-step .flow-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
  .flow-m-step .flow-icon svg { width: 17px; height: 17px; }
  .flow-m-step.active .flow-icon { border-color: var(--accent); background: rgba(240,61,0,.07); box-shadow: 0 0 20px rgba(240,61,0,.2), 0 0 40px rgba(240,61,0,.08); transform: scale(1.08); }
  .flow-m-step.active .flow-icon svg { stroke: var(--accent); }
  .flow-m-step.active .flow-step-name { color: var(--accent); }
  .flow-m-info { flex: 1; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
  .flow-m-info .flow-step-name { font-size: .8rem; display: block; margin-bottom: 2px; }
  .flow-m-info .flow-step-desc { font-size: .7rem; text-align: left; max-width: none; }
  .flow-step-name { text-align: left; }
  .flow-step-desc { text-align: left; }
  .sol-statement .btn { align-self: center; }
  .sol-statement { padding: 24px 20px; }
  .proc-intro { padding: 64px 20px 48px; }
  .proc-step-num { font-size: 2.4rem; }
  .proc-step-desc { max-width: 100%; }
  .proc-step-sticky { position: relative; top: auto; min-height: auto; align-items: flex-start; }
  .proc-step-inner { padding: 36px 0 48px; }
  .proc-mockup-wrap { max-width: 100%; }
  .proc-step-visual { max-width: 100%; }
  .proc-step-sticky[data-step="3"] .proc-step-visual { margin-bottom: 24px; }
  .proc-step-sticky[data-step="3"] .proc-step-inner  { padding-bottom: 60px; }
  .proc-step-visual.proc-step-visual-active { padding: 24px 16px; }
  .iphone-mock { max-width: 160px !important; }
  .iphone-body { border-radius: 32px; padding: 6px; }
  .iphone-inner { border-radius: 26px; height: 340px; }
  .demo-wrap {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .demo-wrap.phone-active { min-height: 300px; }
  .demo-screen { display: block; width: 100%; position: relative; }
  .demo-phone {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    opacity: 0;
    transform: scale(.92);
    pointer-events: none;
    transition: opacity .5s ease, transform .5s ease;
  }
  .demo-phone-body { max-width: 150px; border-radius: 26px; padding: 5px; }
  .demo-phone-inner { border-radius: 21px; }
  .demo-page { padding: 7px; }
  .demo-cta-btn { font-size: .5rem; padding: 4px 9px; }
  .demo-wa-chat { min-height: 80px; padding: 7px; }
  .cli-grid { grid-template-columns: 1fr; gap: 16px; }
  .cli-card { text-align: left; display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto auto; gap: 0 16px; padding: 24px 20px; }
  .cli-icon-wrap { grid-row: 1 / 3; align-self: center; margin: 0; }
  .cli-num { grid-column: 2; align-self: end; margin-bottom: 2px; }
  .cli-card h3 { grid-column: 2; margin-bottom: 8px; }
  .cli-card p { grid-column: 1 / -1; margin-top: 12px; }
  .cli-tag { grid-column: 1 / -1; justify-self: start; }
  .res-honest { flex-direction: column; align-items: flex-start; padding: 24px 20px; gap: 14px; }
  .ft-top { padding: 48px 0 36px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .cta-box  { padding: 48px 20px; border-radius: 20px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .ft-links { grid-template-columns: 1fr 1fr; }
  .ft-btm   { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .proc-intro { padding: 48px 20px 36px; }
  .hero-btns, .cta-btns { flex-direction: column; align-items: center; }
  .res-metric { flex: 0 0 100%; border-bottom: 1px solid var(--s1); }
  .res-metric:nth-child(5) { border-bottom: 1px solid var(--s1); }
  .res-metric:last-child { border-bottom: none; }
  .proc-step-visual { padding: 20px 14px; }
  .proc-mockup-wrap { padding: 14px; }
  .proc-step-inner { padding: 40px 0; gap: 28px; }
  .cli-card { grid-template-columns: 48px 1fr; padding: 20px 16px; }
  .cli-icon-wrap { width: 48px; height: 48px; }
  .cli-icon-wrap svg { width: 20px; height: 20px; }
  .cta-box { padding: 40px 16px; }
  .flow-card { padding: 28px 16px 24px; }
  .res-honest { padding: 20px 16px; }
  .hero-glow-1 { width: 300px; height: 300px; top: -120px; }
  .faq-wrap { gap: 28px; }
  .ft-links { grid-template-columns: 1fr; }
  .ft-tagline { max-width: 100%; }
}

/* ── Step 2: align text with iPhone mockup ─────────────────────────── */
.proc-step-sticky[data-step="2"] .proc-step-inner {
  align-items: center;
}
.proc-step-sticky[data-step="2"] .proc-step-left {
  justify-content: center;
  align-self: center;
}
.proc-step-sticky[data-step="2"] .proc-step-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.proc-step-sticky[data-step="3"] .proc-step-left .btn-accent {
  display: inline-flex;
  margin-top: 32px;
  align-self: flex-start;
}

/* ── Step 3 demo animation ──────────────────────────────────────────── */
.demo-wrap {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: min-height .5s ease;
}

.demo-wrap.phone-active {
  min-height: 380px;
}

.demo-screen {
  background: #0b0b0d;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  position: relative;
  transition: opacity .5s ease, transform .5s ease;
}

.demo-browser-bar {
  background: #1c1c1e;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-dots { display: flex; gap: 4px; }
.demo-dots span { width: 7px; height: 7px; border-radius: 50%; }
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #27c840; }

.demo-url {
  flex: 1;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .58rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}

.demo-page { padding: 12px; }

.demo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.demo-logo-pill { width: 36px; height: 5px; background: var(--accent); border-radius: 3px; opacity: .85; }
.demo-nav-links { display: flex; gap: 6px; align-items: center; }
.demo-nl { width: 16px; height: 3px; background: rgba(255,255,255,.15); border-radius: 2px; }
.demo-nl-cta { width: 32px; height: 12px; background: var(--accent); border-radius: 100px; opacity: .9; }

.demo-hero { padding: 4px 0 8px; }
.demo-badge-pill { width: 80px; height: 8px; background: rgba(240,61,0,.18); border: 1px solid rgba(240,61,0,.3); border-radius: 100px; margin-bottom: 10px; }
.demo-title { height: 10px; background: rgba(255,255,255,.2); border-radius: 3px; width: 90%; margin-bottom: 6px; }
.demo-title-sm { width: 65%; margin-bottom: 8px; }
.demo-sub { height: 5px; background: rgba(255,255,255,.08); border-radius: 2px; width: 80%; margin-bottom: 4px; }
.demo-sub-sm { width: 50%; margin-bottom: 12px; }

.demo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #25d366;
  color: #fff;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: .6rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}

.demo-cursor {
  position: absolute;
  pointer-events: none;
  transition: left .6s cubic-bezier(.16,1,.3,1), top .6s cubic-bezier(.16,1,.3,1);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
  z-index: 10;
}

.demo-rocket {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  filter: drop-shadow(0 0 6px rgba(240,61,0,.8)) drop-shadow(0 0 16px rgba(240,61,0,.4));
  transition: none;
}

.demo-phone {
  position: absolute;
  opacity: 0;
  transform: scale(.92);
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
  width: 100%;
}

.demo-phone-body {
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 36px;
  padding: 7px;
  max-width: 220px;
  margin: 0 auto;
  box-shadow: 0 0 0 1px #444, 0 0 0 2px #111, 0 32px 60px rgba(0,0,0,.7);
}

.demo-phone-inner {
  background: #0b141a;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.demo-phone-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 8px 14px 4px;
  background: #111b21;
}

.demo-wa-header {
  background: #111b21;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.demo-wa-av {
  width: 28px;
  height: 28px;
  background: #128c7e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 800;
  color: white;
}

.demo-wa-chat {
  flex: 1;
  background: #0b141a;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 130px;
}

.demo-wa-src {
  align-self: center;
  font-size: .6rem;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  border-radius: 100px;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.demo-wa-msg-out {
  background: #005c4b;
  border-radius: 10px 0 10px 10px;
  padding: 6px 10px;
  font-size: .65rem;
  color: #e9edef;
  align-self: flex-end;
  max-width: 85%;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}

.demo-wa-msg-in {
  background: #1f2c34;
  border-radius: 0 10px 10px 10px;
  padding: 6px 10px;
  font-size: .65rem;
  color: #e9edef;
  align-self: flex-start;
  max-width: 85%;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}

.demo-wa-time {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: .55rem;
  color: rgba(233,237,239,.42);
  justify-content: flex-end;
  margin-top: 2px;
}

.demo-wa-typing {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #1f2c34;
  border-radius: 10px 10px 10px 0;
  padding: 8px 12px;
  width: fit-content;
  opacity: 0;
  transition: opacity .3s ease;
}

.demo-wa-typing span {
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,.45);
  border-radius: 50%;
  animation: demoTypingDot 1.3s ease-in-out infinite;
}
.demo-wa-typing span:nth-child(2) { animation-delay: .22s; }
.demo-wa-typing span:nth-child(3) { animation-delay: .44s; }

.demo-wa-input {
  background: #1f2c34;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@keyframes demoTypingDot {
  0%,100% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(-3px); opacity: 1; }
}

@keyframes demoCursorClick {
  0%,100% { transform: scale(1); }
  50% { transform: scale(.8); }
}

@keyframes demoRocketFly {
  0%   { left: -60px; opacity: 1; }
  100% { left: calc(100% + 60px); opacity: 1; }
}
