/* Product Stok AI page specific styles (initial modular extraction) */

body.page-product-stokai { background:#000; }
/* Config: intervalo total (ciclo) entre brilhos sucessivos + fator de escala da logo */
.page-product-stokai { --logo-shine-interval:12s; --logo-scale:3; }

/* Generic section rhythm */
.page-product-stokai section[class^="section-"] { position:relative; }
.page-product-stokai .section-tight { padding:80px 0; }
.page-product-stokai .section { padding:120px 0; }

.section-trust, .section-playbook { padding:100px 0; }
.section-problem,
.section-what,
.section-usecases,
.section-results,
.section-how,
.section-security,
.section-integrations,
.section-plans,
.section-faq,
.section-final-cta { padding:120px 0; }
.section-playbook { padding:80px 0 120px; }
.section-final-cta { padding:140px 0; }
.section-final-cta { position:relative; }
.section-final-cta::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 40%, rgba(141,255,224,0.18), rgba(81,64,247,0.10) 40%, rgba(0,0,0,0) 70%); opacity:.55; pointer-events:none; mix-blend-mode:screen; }

/* Trust / proof */
/* Trust / proof refined styling */
.cluster-grid-bg { position:relative; background:#000; isolation:isolate; }
.cluster-grid-bg::before { content:""; position:absolute; inset:0; pointer-events:none; z-index:0; background:
  /* Outer soft violet halo slightly larger, centered */
  radial-gradient(1400px 1000px at 50% 50%, rgba(81,64,247,0.18), rgba(81,64,247,0) 72%),
  /* Inner cyan core tighter for focus */
  radial-gradient(800px 560px at 50% 50%, rgba(141,255,224,0.22), rgba(141,255,224,0) 62%),
  /* Subtle grid */
  repeating-linear-gradient(0deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 36px),
  repeating-linear-gradient(90deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 36px);
  background-blend-mode:screen, screen, normal, normal;
  opacity:1; }
.cluster-grid-bg > section { position:relative; z-index:1; }

/* Neural background utilities (super dark, subtle) */
.page-product-stokai .bg-neural { position:relative; background:transparent; isolation:isolate; }
.page-product-stokai .bg-neural::before,
.page-product-stokai .bg-neural::after { content:""; position:absolute; inset:0; pointer-events:none; z-index:0; }
/* Soft vignette top/bottom */
.page-product-stokai .bg-neural::before {
  --vig-alpha: 0.18;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(0,0,0,var(--vig-alpha)), rgba(0,0,0,0) 60%) top/100% 50% no-repeat,
    radial-gradient(120% 70% at 50% 100%, rgba(0,0,0,var(--vig-alpha)), rgba(0,0,0,0) 70%) bottom/100% 60% no-repeat;
  mix-blend-mode:normal;
}
/* Faint dotted grid */
.page-product-stokai .bg-neural::after {
  --grid-size: 26px;
  --dot-alpha: 0.09;
  background: radial-gradient(circle, rgba(255,255,255,var(--dot-alpha)) 0 0.9px, transparent 1px 100%);
  background-size: var(--grid-size) var(--grid-size);
  opacity:.85;
}
/* Canvas layer host for dynamic threads */
.page-product-stokai .bg-neural .bg-threads-canvas { position:absolute; inset:0; z-index:0; pointer-events:none; }

/* When bg-neural is applied, disable the older cluster backdrop to avoid stacking */
.cluster-grid-bg.bg-neural::before { background:none; content:none; }
.section-trust { position:relative; }
.section-trust .container { position:relative; z-index:1; }
.trust-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:26px 28px; align-items:stretch; text-align:center; }
.trust-grid .trust-item { position:relative; font-weight:600; font-size:0.78rem; letter-spacing:.14em; text-transform:uppercase; padding:18px 14px; border-radius:60px; background:rgba(255,255,255,0.04); border:1px dashed rgba(255,255,255,0.25); color:rgba(255,255,255,0.85); display:flex; align-items:center; justify-content:center; line-height:1; overflow:hidden; transition: background .45s ease, border-color .45s ease, box-shadow .55s ease, color .45s ease; }
.trust-grid .trust-item::after { content:""; position:absolute; inset:0; background:linear-gradient(135deg,rgba(141,255,224,0.18),rgba(81,64,247,0.18)); opacity:0; mix-blend-mode:overlay; transition:opacity .6s ease; }
.trust-grid .trust-item:hover { background:rgba(255,255,255,0.06); border-style:solid; border-color:rgba(141,255,224,0.5); box-shadow:inset 0 0 0 1px rgba(141,255,224,0.35), 0 4px 18px -6px rgba(141,255,224,0.35), 0 6px 24px -10px rgba(81,64,247,0.32); color:#fff; }
.trust-grid .trust-item:hover::after { opacity:.35; }
.trust-grid .trust-item:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:4px; }
/* Capsule variant for explicit compliance labels */
/* Compliance variant now visually aligned; only subtle accent ring */
.trust-grid .trust-item.compliance { background:rgba(255,255,255,0.045); border:1px dashed rgba(255,255,255,0.28); color:rgba(255,255,255,0.9); font-weight:600; letter-spacing:.14em; }
.trust-grid .trust-item.compliance::before { content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1px; background:linear-gradient(135deg,var(--tk-cyan),var(--tk-blue)); -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:.35; pointer-events:none; transition:opacity .45s ease; }
.trust-grid .trust-item.compliance:hover::before { opacity:.6; }

/* Problem cards */
.problem-cards { display:grid; gap:32px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.problem-card { background:rgba(255,255,255,0.035); border:1px solid rgba(255,255,255,0.08); padding:24px; border-radius:18px; transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease; }
.problem-card:hover { background:rgba(255,255,255,0.05); border-color:rgba(141,255,224,0.24); transform:translateY(-2px); box-shadow:0 10px 30px -20px rgba(0,0,0,0.6); }
.problem-card:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:3px; }
.problem-card h3 { font-size:1.15rem; margin:0 0 10px; font-weight:600; }
.problem-card p { color:rgba(255,255,255,0.7); line-height:1.55; }

/* Highlights */
.highlight-grid { display:grid; gap:28px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.highlight { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); padding:20px 18px; border-radius:16px; font-size:0.95rem; font-weight:500; letter-spacing:.25px; line-height:1.4; text-align:center; transition:background .35s ease, border-color .35s ease, transform .4s cubic-bezier(.19,1,.22,1); }
.highlight:hover { background:rgba(255,255,255,0.07); border-color:rgba(141,255,224,0.3); transform:translateY(-4px); }
.highlight:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:3px; }

/* WHAT section enhancements */
.what-intro { max-width:880px; margin:0 auto; font-size:1.05rem; line-height:1.65; color:rgba(255,255,255,0.78); }
.what-intro .flow-inline { white-space:nowrap; font-weight:600; }
.what-intro .flow-arrow { display:inline-block; margin:0 .4ch; opacity:.6; }

.what-flow { position:relative; display:flex; align-items:center; justify-content:center; gap:34px; margin:-20px auto 48px; max-width:760px; }
.what-flow .flow-connector { flex:1; height:2px; background:linear-gradient(90deg, rgba(141,255,224,0.0), rgba(141,255,224,0.45), rgba(81,64,247,0.45), rgba(81,64,247,0.0)); position:relative; }
.what-flow .flow-step { display:flex; flex-direction:column; align-items:center; gap:10px; min-width:90px; position:relative; }
.what-flow .flow-step .dot { width:24px; height:24px; border-radius:50%; background:linear-gradient(135deg,var(--tk-cyan),var(--tk-blue)); box-shadow:0 0 0 0 rgba(141,255,224,0.45); animation: flowDotPulse 6s ease-in-out infinite; }
.what-flow .flow-step[data-step="2"] .dot { animation-delay:1.2s; }
.what-flow .flow-step[data-step="3"] .dot { animation-delay:2.4s; }
.what-flow .flow-step .label { font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; opacity:.7; font-weight:600; }
@keyframes flowDotPulse { 0%,70%,100% { box-shadow:0 0 0 0 rgba(141,255,224,0.0); } 15% { box-shadow:0 0 0 8px rgba(141,255,224,0.25); } 30% { box-shadow:0 0 0 4px rgba(81,64,247,0.22); } }
@media (prefers-reduced-motion: reduce){ .what-flow .flow-step .dot { animation:none; box-shadow:none; } }

/* Pill variant badges */
.what-pills { margin-top:10px; }
.highlight.pill { --pill-border: linear-gradient(135deg, rgba(141,255,224,0.4), rgba(81,64,247,0.35)); background:rgba(255,255,255,0.035); border:1px solid transparent; border-radius:80px; padding:14px 20px; display:flex; align-items:center; justify-content:center; gap:10px; position:relative; font-size:.85rem; font-weight:500; letter-spacing:.06em; text-transform:none; line-height:1.3; }
.highlight.pill::before { content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; background:var(--pill-border); -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:.55; transition:opacity .5s ease, filter .6s ease; }
.highlight.pill .pill-dot { width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg,var(--tk-cyan),var(--tk-blue)); filter:brightness(.9); transition:filter .45s ease, transform .45s ease; box-shadow:0 0 0 0 rgba(141,255,224,0); }
.highlight.pill:hover, .highlight.pill:focus-visible { background:rgba(255,255,255,0.07); }
.highlight.pill:hover::before, .highlight.pill:focus-visible::before { opacity:.9; filter:brightness(1.05); }
.highlight.pill:hover .pill-dot, .highlight.pill:focus-visible .pill-dot { filter:brightness(1.3); transform:scale(1.35); box-shadow:0 0 12px -2px rgba(141,255,224,0.65), 0 0 18px -4px rgba(81,64,247,0.55); }
@media (max-width:640px){ .what-flow { flex-direction:column; gap:18px; } .what-flow .flow-connector { width:2px; height:54px; background:linear-gradient(180deg, rgba(141,255,224,0.0), rgba(141,255,224,0.45), rgba(81,64,247,0.45), rgba(81,64,247,0.0)); } .what-flow .flow-step { flex-direction:row; gap:14px; min-width:unset; } .what-flow .flow-step .label { font-size:.65rem; } }

/* Use cases */
.usecase-grid { display:grid; gap:34px; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); }
/* Mosaic circuit use case cards */
.usecase-grid.mosaic { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:34px; grid-auto-flow:dense; }
.usecase-grid.mosaic .usecase-card { background:
  linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 120px 120px,
  linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 120px 120px,
  linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 30px 30px,
  linear-gradient(0deg, rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 30px 30px,
  radial-gradient(520px 360px at 30% 25%, rgba(141,255,224,0.12), rgba(141,255,224,0) 70%),
  radial-gradient(620px 420px at 85% 70%, rgba(81,64,247,0.15), rgba(81,64,247,0) 70%);
  backdrop-filter:blur(2px);
  border:1px solid rgba(255,255,255,0.10);
  padding:28px 24px 26px;
  border-radius:22px;
  position:relative; overflow:hidden;
  transition:background .5s ease, border-color .5s ease, transform .6s cubic-bezier(.19,1,.22,1), box-shadow .6s ease;
}
.usecase-grid.mosaic .usecase-card.large { grid-column:span 2; }
@media (max-width:900px){ .usecase-grid.mosaic .usecase-card.large { grid-column:span 1; } }
.usecase-grid.mosaic .usecase-card:hover { border-color:rgba(141,255,224,0.32); background-color:rgba(255,255,255,0.05); transform:translateY(-3px); box-shadow:0 14px 40px -24px rgba(0,0,0,0.6), 0 8px 28px -14px rgba(81,64,247,0.28); }
.usecase-grid.mosaic .usecase-card:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:4px; }
.usecase-grid.mosaic .usecase-card .uc-icon { position:absolute; top:16px; left:18px; font-size:1.05rem; opacity:.55; pointer-events:none; }
.usecase-grid.mosaic .usecase-card h3 { font-size:1.08rem; margin:0 0 18px; font-weight:600; padding-left:38px; }
.usecase-grid.mosaic .usecase-card .uc-points { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; font-size:.9rem; color:rgba(255,255,255,0.75); }
.usecase-grid.mosaic .usecase-card .uc-desc { margin:0; font-size:.92rem; line-height:1.5; color:rgba(255,255,255,0.72); padding-left:38px; }
.usecase-grid.mosaic .usecase-card::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 65% 80%, rgba(141,255,224,0.08), rgba(0,0,0,0) 70%); opacity:0; mix-blend-mode:overlay; transition:opacity .7s ease; }
.usecase-grid.mosaic .usecase-card:hover::after { opacity:1; }
@media (prefers-reduced-motion: reduce){ .usecase-grid.mosaic .usecase-card { transform:none !important; } }

/* Circuit layout (new) */
.usecase-circuit { position:relative; width:100%; max-width:1000px; margin:0 auto 10px; min-height:520px; display:grid; place-items:center; --circuit-accent:rgba(141,255,224,0.9); }
.usecase-circuit::before { content:""; position:absolute; inset:0; pointer-events:none; background:
  linear-gradient(90deg, rgba(200,205,210,0.07) 1px, transparent 1px) 0 0 / 70px 70px,
  linear-gradient(0deg, rgba(200,205,210,0.07) 1px, transparent 1px) 0 0 / 70px 70px,
  linear-gradient(90deg, rgba(200,205,210,0.04) 1px, transparent 1px) 0 0 / 18px 18px,
  linear-gradient(0deg, rgba(200,205,210,0.04) 1px, transparent 1px) 0 0 / 18px 18px;
  opacity:.55; transition: filter .5s ease, opacity .5s ease; }
.usecase-circuit.powering::before { filter:brightness(1.35) saturate(1.3) drop-shadow(0 0 6px rgba(141,255,224,0.4)); opacity:.75; }
.usecase-circuit .usecase-card { width:280px; max-width:86vw; }
.usecase-circuit .usecase-card { background:rgba(255,255,255,0.02); backdrop-filter:blur(4px) saturate(120%); border:1px solid rgba(255,255,255,0.10); padding:26px 22px 24px; border-radius:18px; position:absolute; overflow:hidden; transition:background .25s ease, border-color .25s ease, transform .35s ease, box-shadow .35s ease, filter .25s ease; }
.usecase-circuit .usecase-card .uc-icon { position:absolute; top:14px; left:16px; font-size:1rem; opacity:.55; pointer-events:none; }
.usecase-circuit .usecase-card .uc-icon { position:absolute; top:14px; left:16px; font-size:1rem; opacity:.38; pointer-events:none; transition:opacity .6s ease, transform .6s ease; }
.usecase-circuit .usecase-card h3 { margin:0 0 14px; font-size:1.02rem; font-weight:600; padding-left:34px; color:rgba(255,255,255,0.68); transition:color .55s ease; }
.usecase-circuit .usecase-card .uc-points { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; font-size:.86rem; color:rgba(255,255,255,0.55); transition:color .55s ease; }
.usecase-circuit .usecase-card .uc-desc { margin:0; font-size:.88rem; line-height:1.45; color:rgba(255,255,255,0.55); padding-left:34px; transition:color .55s ease; }
.usecase-circuit .usecase-card:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:4px; }
.usecase-circuit .usecase-card::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 65% 80%, rgba(141,255,224,0.14), rgba(0,0,0,0) 70%); opacity:0; mix-blend-mode:overlay; transition:opacity .9s ease; }
.usecase-circuit .usecase-card.powered { border-color:rgba(141,255,224,0.45); background:rgba(141,255,224,0.05); filter:brightness(1.03) saturate(1.15); box-shadow:0 14px 36px -20px rgba(0,0,0,0.6), 0 8px 26px -16px rgba(81,64,247,0.35); }
.usecase-circuit .usecase-card.powered .uc-icon { opacity:.75; transform:translateY(-2px); }
.usecase-circuit .usecase-card.powered h3 { color:rgba(255,255,255,0.92); }
.usecase-circuit .usecase-card.powered .uc-points, .usecase-circuit .usecase-card.powered .uc-desc { color:rgba(255,255,255,0.78); }
.usecase-circuit .usecase-card.powered::after { opacity:1; }
.usecase-circuit .usecase-card:hover { transform:translateY(-6px); }
.usecase-circuit .usecase-card h3 { margin:0 0 14px; font-size:1.02rem; font-weight:600; padding-left:34px; }
.usecase-circuit .usecase-card .uc-points { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; font-size:.86rem; color:rgba(255,255,255,0.75); }
.usecase-circuit .usecase-card .uc-desc { margin:0; font-size:.88rem; line-height:1.45; color:rgba(255,255,255,0.72); padding-left:34px; }
.usecase-circuit .usecase-card:hover { border-color:rgba(141,255,224,0.35); background-color:rgba(255,255,255,0.05); transform:translateY(-3px); box-shadow:0 16px 48px -26px rgba(0,0,0,0.6), 0 10px 32px -16px rgba(81,64,247,0.3); }
.usecase-circuit .usecase-card:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:4px; }
.usecase-circuit .usecase-card::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 65% 80%, rgba(141,255,224,0.08), rgba(0,0,0,0) 70%); opacity:0; mix-blend-mode:overlay; transition:opacity .7s ease; }
.usecase-circuit .usecase-card:hover::after { opacity:1; }

/* Position the four cards (desktop) */
.usecase-circuit .uc-pos-tl { top:40px; left:0; }
.usecase-circuit .uc-pos-tr { top:40px; right:0; }
.usecase-circuit .uc-pos-bl { bottom:40px; left:0; }
.usecase-circuit .uc-pos-br { bottom:40px; right:0; }

/* Central SVG styling */
.circuit-svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.circuit-svg path { fill:none; stroke:rgba(200,205,210,0.30); stroke-width:0.65px; stroke-linecap:round; stroke-linejoin:round; filter:blur(.15px); opacity:.45; transition: stroke .25s ease, opacity .25s ease; }
.circuit-svg path.lit { stroke:rgba(141,255,224,0.9); opacity:1; stroke-width:0.65px; filter:drop-shadow(0 0 3px rgba(141,255,224,0.5)) drop-shadow(0 0 6px rgba(81,64,247,0.35)); animation:none; }
.circuit-svg .signal { fill:#fff; stroke:none; r:.55; opacity:0; filter:drop-shadow(0 0 2px rgba(255,255,255,0.8)); offset-path:path('M0 0'); -webkit-offset-path:path('M0 0'); offset-rotate:0deg; }
.circuit-svg .signal.run { animation: signalTravel var(--dur,1.4s) linear infinite; }
@keyframes signalTravel { 0% { offset-distance:0%; opacity:0; } 5% { opacity:1; } 92% { opacity:1; } 100% { offset-distance:100%; opacity:0; } }
.circuit-svg .core-ring { stroke-dasharray:63; stroke-dashoffset:0; animation: corePulse 10s ease-in-out infinite; transform-origin:50% 50%; }
/* idle animation removed per request (lines remain static) */
@keyframes circuitFlow { 0% { stroke-dashoffset:0; } 100% { stroke-dashoffset:-120; } }
@keyframes corePulse { 0%,72%,100% { transform:scale(1); opacity:.55; } 18% { transform:scale(1.09); opacity:.95; } 34% { transform:scale(1.03); opacity:.7; } }
@media (prefers-reduced-motion: reduce){ .circuit-svg path { animation:none !important; } .circuit-svg path.lit { animation:none !important; } .circuit-svg .core-ring { animation:none; } }

/* Hover -> activate matching path */
.usecase-circuit .usecase-card:hover, .usecase-circuit .usecase-card:focus-within { z-index:3; }
/* (Removed unused sibling hover rule to avoid empty ruleset) */

/* Container persistence removed; JS adds 'lit' only while hovering/focused */

/* Mobile fallback: stack cards, show pre-drawn faint paths */
@media (max-width:860px){
  .usecase-circuit { min-height:unset; display:flex; flex-direction:column; gap:26px; }
  .usecase-circuit .usecase-card { position:relative; top:auto; left:auto; right:auto; bottom:auto; width:100%; }
  .circuit-svg { position:absolute; top:50%; left:50%; width:140%; height:140%; transform:translate(-50%, -50%); opacity:.35; }
  .circuit-svg path { stroke-dashoffset:0; opacity:.25; animation:none; }
}

/* Results */
.results-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:38px; text-align:center; }
.result-item { background:rgba(255,255,255,0.04); padding:34px 20px; border:1px solid rgba(255,255,255,0.08); border-radius:20px; transition:background .35s ease, border-color .35s ease, transform .45s cubic-bezier(.19,1,.22,1); }
.result-item:hover { background:rgba(255,255,255,0.06); border-color:rgba(141,255,224,0.28); transform:translateY(-6px); }
.result-item:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:3px; }
.result-item div { font-size:2rem; font-weight:700; }
.result-item p { margin-top:6px; color:rgba(255,255,255,0.7); font-size:.95rem; }

/* Metric-only results */
.results-grid.metrics { grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); }
.result-metric { background:rgba(255,255,255,0.035); padding:30px 22px 34px; border:1px solid rgba(255,255,255,0.08); border-radius:18px; text-align:center; position:relative; overflow:hidden; transition:background .25s ease, border-color .25s ease, transform .25s ease; }
.result-metric:hover { background:rgba(255,255,255,0.05); border-color:rgba(141,255,224,0.24); transform:translateY(-3px); }
.result-metric:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:4px; }
.result-metric .metric-num { font-size:2.5rem; font-weight:800; letter-spacing:-.6px; background:linear-gradient(90deg,var(--tk-cyan),var(--tk-blue)); -webkit-background-clip:text; background-clip:text; color:transparent; opacity:.6; line-height:1; position:relative; display:inline-block; }
.result-metric:hover .metric-num { opacity:.9; }
.result-metric .metric-label { margin:14px 0 0; font-size:.86rem; color:rgba(255,255,255,0.72); line-height:1.45; }
@keyframes metricFlash { 0% { text-shadow:0 0 0 rgba(255,255,255,0); filter:brightness(1); } 25% { text-shadow:0 0 10px rgba(255,255,255,0.55); filter:brightness(1.35); } 60% { text-shadow:0 0 5px rgba(255,255,255,0.25); filter:brightness(1.15); } 100% { text-shadow:0 0 0 rgba(255,255,255,0); filter:brightness(1); } }
.metric-num.finished { animation: metricFlash .75s ease; }
.result-metric:hover .metric-num.hover-shimmer, .result-metric:focus-within .metric-num.hover-shimmer { animation: metricFlash .75s ease; }

/* How steps */
.how-steps { list-style:none; padding:0; margin:0; display:grid; gap:40px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); counter-reset:hzstep; }
.how-steps > li { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); padding:26px 22px; border-radius:18px; position:relative; transition:background .35s ease, border-color .35s ease, transform .45s cubic-bezier(.19,1,.22,1); }
.how-steps > li:hover { background:rgba(255,255,255,0.06); border-color:rgba(141,255,224,0.28); transform:translateY(-4px); }
.how-steps > li:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:3px; }
.how-steps > li span.step-index { position:absolute; top:14px; right:16px; font-size:.7rem; letter-spacing:.12em; opacity:.5; font-weight:600; }
.how-steps > li h3 { font-size:1.02rem; margin:0 0 8px; font-weight:600; }
.how-steps > li p { color:rgba(255,255,255,0.7); font-size:.92rem; line-height:1.55; }

/* Step flow transformation */
.step-flow { display:flex; gap:72px; position:relative; padding:0; justify-content:space-between; }
.step-flow::before, .step-flow::after { content:""; position:absolute; left:70px; right:70px; top:108px; height:2px; background:linear-gradient(90deg, rgba(141,255,224,0.16), rgba(81,64,247,0.2)); border-radius:2px; z-index:1; }
.step-flow::after { background:linear-gradient(90deg,var(--tk-cyan),var(--tk-blue)); transform:scaleX(0); transform-origin:left; transition:transform 1.9s cubic-bezier(.19,1,.22,1); }
.step-flow[data-animated]::after { transform:scaleX(1); }
.step-flow .step-node { flex:1; position:relative; text-align:center; display:flex; flex-direction:column; align-items:center; gap:26px; background:none; border:none; padding:0; }
.step-flow .step-node-icon { position:relative; width:78px; height:78px; z-index:2; }
.step-flow .step-node-icon .hex { position:absolute; inset:0; width:100%; height:100%; fill:rgba(255,255,255,0.035); stroke:rgba(255,255,255,0.18); stroke-width:2; filter:drop-shadow(0 4px 14px rgba(0,0,0,0.55)); backdrop-filter:blur(4px); transition:fill .55s ease, stroke .55s ease, transform .6s cubic-bezier(.19,1,.22,1), filter .55s ease; }
.step-flow .step-node-icon span { position:absolute; inset:0; display:grid; place-items:center; font-size:1.35rem; z-index:2; filter:drop-shadow(0 2px 4px rgba(0,0,0,0.45)); }
.step-flow .step-node-text { margin-top:34px; z-index:2; }
.step-flow .step-node-text h3 { margin:0 0 8px; font-size:1.05rem; font-weight:600; }
.step-flow .step-node-text p { margin:0; font-size:.9rem; line-height:1.55; color:rgba(255,255,255,0.72); max-width:320px; }
@media (max-width:960px){
  .step-flow { flex-direction:column; gap:60px; }
  .step-flow::before, .step-flow::after { left:38px; right:auto; width:2px; top:96px; bottom:0; height:auto; background:linear-gradient(to bottom, rgba(141,255,224,0.16), rgba(81,64,247,0.2)); }
  .step-flow::after { background:linear-gradient(to bottom,var(--tk-cyan),var(--tk-blue)); transform:scaleY(0); transform-origin:top; transition:transform 1.9s cubic-bezier(.19,1,.22,1); }
  .step-flow[data-animated]::after { transform:scaleY(1); }
  .step-flow .step-node { align-items:flex-start; padding-left:110px; text-align:left; }
  .step-flow .step-node-icon { position:absolute; left:0; top:48px; }
  .step-flow .step-node-text { margin-top:0; }
  .step-flow .step-node-text p { max-width:520px; }
}

/* === Directional enhancements (Como funciona) === */
.section-how { position:relative; }
.section-how::before { content:""; position:absolute; inset:0; background:repeating-linear-gradient(115deg, rgba(255,255,255,0.015) 0 46px, transparent 46px 92px), linear-gradient(90deg, rgba(141,255,224,0.04), rgba(81,64,247,0.04)); opacity:.5; pointer-events:none; mask:linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.9) 12%, rgba(0,0,0,.9) 88%, rgba(0,0,0,0) 100%); }
.step-flow { --flow-line-top:130px; }
.step-flow::before, .step-flow::after { top:var(--flow-line-top); }
.flow-arrowhead, .flow-pulse { display:none !important; }
.step-flow .step-node { opacity:0; transform:translateY(28px) scale(.96); transition:opacity .7s ease, transform .9s cubic-bezier(.19,1,.22,1); }
.step-flow[data-animated] .step-node { opacity:1; transform:translateY(0) scale(1); }
.step-flow[data-animated] .step-node:nth-child(1){ transition-delay:.05s; }
.step-flow[data-animated] .step-node:nth-child(2){ transition-delay:.18s; }
.step-flow[data-animated] .step-node:nth-child(3){ transition-delay:.31s; }
@media (max-width:960px){
}
@media (prefers-reduced-motion: reduce){
  .flow-pulse { display:none; }
  .step-flow .step-node { opacity:1 !important; transform:none !important; transition:none !important; }
}

/* Security / Governance --- uniform masonry-like auto-fit grid */
.security-list { list-style:none; display:grid; gap:20px; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); grid-auto-flow:dense; padding:0; margin:0; align-items:start; }
.security-list.uniform-grid { grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.security-list .sec-item { position:relative; display:flex; align-items:flex-start; gap:14px; background:rgba(255,255,255,0.028); border:1px solid rgba(255,255,255,0.08); padding:18px 16px 18px 16px; border-radius:16px; font-size:.88rem; font-weight:500; letter-spacing:.25px; line-height:1.45; color:rgba(255,255,255,0.8); transition:background .4s ease, border-color .4s ease; }
.security-list .sec-item:hover { background:rgba(255,255,255,0.05); border-color:rgba(141,255,224,0.25); }
.security-list .sec-item:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:4px; }
/* Icon container */
.security-list .sec-icon { flex:0 0 34px; width:34px; height:34px; position:relative; display:grid; place-items:center; border-radius:10px; background:linear-gradient(135deg,rgba(255,255,255,0.05),rgba(255,255,255,0.02)); border:1px solid rgba(255,255,255,0.12); overflow:hidden; }
.security-list .sec-icon svg { width:20px; height:20px; stroke:rgba(255,255,255,0.6); filter:drop-shadow(0 2px 4px rgba(0,0,0,0.55)); transition:stroke .5s ease, filter .5s ease; }
.security-list .sec-item:hover .sec-icon svg { stroke:rgba(255,255,255,0.9); filter:drop-shadow(0 3px 6px rgba(0,0,0,0.6)); }
/* Status dot (breathing) */
.security-list .sec-status { position:absolute; top:4px; right:4px; width:8px; height:8px; border-radius:50%; background:radial-gradient(circle at 35% 35%, #dffff6 0%, #8dffe0 45%, #2bb0a9 100%); box-shadow:0 0 0 0 rgba(141,255,224,0.55); animation: statusBreath 5.8s ease-in-out infinite; }
@keyframes statusBreath { 0%, 60%, 100% { transform:scale(.9); opacity:.55; box-shadow:0 0 0 0 rgba(141,255,224,0.35); } 25% { transform:scale(1.5); opacity:1; box-shadow:0 0 0 6px rgba(141,255,224,0.0); } 40% { transform:scale(1.05); opacity:.85; } }
@media (prefers-reduced-motion: reduce){ .security-list .sec-status { animation:none; box-shadow:none; } }
/* Technical term tooltip */
.tt[data-tooltip] { position:relative; cursor:help; color:var(--tk-cyan); text-decoration:none; border-bottom:1px dotted rgba(141,255,224,0.45); }
.tt[data-tooltip]:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:2px; border-radius:4px; }
.tt[data-tooltip]::after { content:attr(data-tooltip); position:absolute; left:50%; bottom:115%; transform:translateX(-50%) translateY(6px); background:rgba(15,18,24,0.92); backdrop-filter:blur(6px); padding:10px 12px; max-width:240px; width:max-content; font-size:.7rem; line-height:1.4; letter-spacing:.05em; font-weight:500; color:rgba(255,255,255,0.85); border:1px solid rgba(255,255,255,0.18); border-radius:10px; box-shadow:0 8px 30px -12px rgba(0,0,0,0.65), 0 4px 18px -8px rgba(81,64,247,0.4); opacity:0; pointer-events:none; white-space:normal; z-index:40; transition:opacity .35s ease, transform .5s cubic-bezier(.19,1,.22,1); }
.tt[data-tooltip]:hover::after, .tt[data-tooltip]:focus::after { opacity:1; transform:translateX(-50%) translateY(0); }
/* Flip tooltip upward if near top via modifier (optional future) */
.tt[data-tooltip][data-tip-pos="above"]::after { bottom:auto; top:115%; }

/* === Security Shield (alternative layout) === */
.security-shield { position:relative; width:min(680px,90vw); aspect-ratio:1/1; margin:0 auto; display:grid; place-items:center; --shield-pad: clamp(0px, 1vw, 12px); overflow:visible; }
.security-shield-svg { position:absolute; inset:0; width:100%; height:100%; filter:drop-shadow(0 18px 70px -20px rgba(0,0,0,0.65)) drop-shadow(0 0 40px -6px rgba(81,64,247,0.35)); }
.security-shield .shield-hex { fill:rgba(255,255,255,0.02); stroke:url(#shieldStroke); stroke-width:1.2; vector-effect:non-scaling-stroke; }
.security-shield .shield-core { fill:radial-gradient(circle at 50% 50%, rgba(141,255,224,0.5), rgba(81,64,247,0.0) 70%); stroke:rgba(141,255,224,0.6); stroke-width:.6; opacity:.85; }
.security-shield .sec-node { position:absolute; max-width:190px; text-align:center; font-size:.88rem; line-height:1.25; font-weight:700; letter-spacing:.11em; text-transform:uppercase; padding:0; color:rgba(255,255,255,0.9); display:block; pointer-events:auto; transform:translate(-50%, -50%); user-select:none; }
/* External positions around hex */
.security-shield .sec-node[data-pos=top] { top:2%; left:50%; }
.security-shield .sec-node[data-pos=top-right] { top:24%; left:98%; }
.security-shield .sec-node[data-pos=bottom-right] { top:76%; left:98%; }
.security-shield .sec-node[data-pos=bottom] { top:98%; left:50%; }
.security-shield .sec-node[data-pos=bottom-left] { top:76%; left:2%; }
.security-shield .sec-node[data-pos=top-left] { top:24%; left:2%; }
/* Emphasize tooltip terms inside nodes */
.security-shield .sec-node .tt { letter-spacing:.2em; }
/* Slightly smaller hex shape */
/* Hexagon shrinks further; core keeps original size */
.security-shield .shield-hex { transform:scale(.6); transform-origin:50% 50%; }
/* Remove any inherited transform from earlier combo rule */
.security-shield .shield-core { transform:none; }
/* Core status pulse */
.security-shield .shield-status { position:absolute; width:22%; aspect-ratio:1/1; border-radius:50%; background:radial-gradient(circle at 35% 35%, #dffff6 0%, #8dffe0 40%, #5140f7 90%); box-shadow:0 0 0 0 rgba(141,255,224,0.4); animation: shieldPulse 7s ease-in-out infinite; pointer-events:none; }
.security-shield .shield-status::after { content:""; position:absolute; inset:0; border-radius:inherit; background:radial-gradient(circle at 50% 50%, rgba(255,255,255,0.6), rgba(255,255,255,0) 70%); opacity:.3; mix-blend-mode:overlay; }
@keyframes shieldPulse { 0%,70%,100% { transform:scale(.9); box-shadow:0 0 0 0 rgba(141,255,224,0.35); } 28% { transform:scale(1.2); box-shadow:0 0 0 40px rgba(141,255,224,0); } 46% { transform:scale(1); } }
@media (prefers-reduced-motion: reduce){ .security-shield .shield-status { animation:none; box-shadow:none; } }
/* Responsive fallback: stack nodes if very narrow */
@media (max-width:620px){
  .security-shield { width:100%; aspect-ratio:auto; padding-top:40px; }
  .security-shield-svg { display:none; }
  .security-shield { display:flex; flex-direction:column; gap:14px; }
  .security-shield .sec-node { position:relative; transform:none; left:auto; top:auto; max-width:100%; width:100%; --node-scale:1 !important; }
  .security-shield .shield-status { display:none; }
}
/* Visually hidden utility (if not already defined) */
.visually-hidden { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* Integrations */
.integrations-layout { display:grid; grid-template-columns:1fr 280px; gap:60px; align-items:start; }
.integrations-chips { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:24px 26px; }
.int-chip { position:relative; padding:14px 16px 14px 46px; border:1px solid rgba(255,255,255,0.1); background:linear-gradient(135deg,rgba(255,255,255,0.035),rgba(255,255,255,0.02)); border-radius:50px; font-size:.8rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,0.78); display:flex; align-items:center; gap:8px; line-height:1; overflow:hidden; isolation:isolate; }
.int-chip::before { content:""; position:absolute; left:14px; top:50%; width:18px; height:18px; margin-top:-9px; border-radius:6px; background:linear-gradient(135deg,var(--tk-cyan),var(--tk-blue)); opacity:.85; box-shadow:0 0 0 1px rgba(255,255,255,0.15), 0 4px 10px -2px rgba(81,64,247,0.5); }
.int-chip::after { content:""; position:absolute; inset:0; background:linear-gradient(120deg,rgba(141,255,224,0.12),rgba(81,64,247,0.12)); opacity:0; mix-blend-mode:overlay; transition:opacity .6s ease; pointer-events:none; }
.int-chip:hover { border-color:rgba(141,255,224,0.35); color:#fff; }
.int-chip:hover::after { opacity:.55; }
.int-chip:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:4px; }
/* Subtle icon glyph concept via mask depending on data-db (optional simple shapes) */
.int-chip[data-db=postgresql]::before { mask: radial-gradient(circle at 50% 50%, #000 60%, transparent 61%); }
.int-chip[data-db=sqlserver]::before { mask: linear-gradient(90deg,#000 40%,transparent 41%); }
.int-chip[data-db=mysql]::before { mask: linear-gradient(45deg,#000 50%,transparent 51%); }
.int-chip[data-db=databricks]::before { mask: repeating-linear-gradient(45deg,#000 0 4px,transparent 4px 8px); }
.int-chip[data-db=snowflake]::before { mask: radial-gradient(circle at 50% 50%, #000 0 40%, transparent 41%); }
.int-chip[data-db=bigquery]::before { mask: conic-gradient(#000 0 25%,transparent 25% 100%); }
.integrations-aside { font-size:.85rem; color:rgba(255,255,255,0.72); line-height:1.55; }
.integrations-aside .int-aspects { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; font-weight:500; }
.integrations-aside .int-aspects li { position:relative; padding-left:18px; }
.integrations-aside .int-aspects li::before { content:""; position:absolute; left:0; top:.55em; width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg,var(--tk-cyan),var(--tk-blue)); box-shadow:0 0 0 1px rgba(255,255,255,0.15); }
@media (max-width:960px){ .integrations-layout { grid-template-columns:1fr; gap:40px; } .integrations-aside { order:-1; } }
/* --- Dial Integrations (interactive wheel) --- */
.integrations-dial { position:relative; width:min(720px,92vw); margin:0 auto; aspect-ratio:1/1; display:grid; place-items:center; font-size:.85rem; }
.integrations-dial .dial-ring { position:absolute; inset:0; width:100%; height:100%; z-index:0; }
.integrations-dial .dial-base { fill:none; stroke:rgba(255,255,255,0.12); stroke-width:.6; stroke-dasharray:1 9; opacity:.42; }
.integrations-dial .dial-active { fill:none; stroke:url(#shieldStroke); stroke-width:1; stroke-linecap:round; stroke-dasharray:1; stroke-dashoffset:1; transition:stroke-dashoffset 1.1s cubic-bezier(.19,1,.22,1); }
.integrations-dial[data-active] .dial-active { stroke-dashoffset:0; }
.integrations-dial .dial-center { position:absolute; width:46%; max-width:320px; text-align:center; padding:26px 24px 30px; background:radial-gradient(circle at 50% 30%, rgba(141,255,224,0.10), rgba(81,64,247,0.08) 45%, rgba(255,255,255,0.02) 75%); border:1px solid rgba(255,255,255,0.14); border-radius:28px; backdrop-filter:blur(6px); box-shadow:0 18px 60px -24px rgba(0,0,0,0.55), 0 8px 30px -14px rgba(81,64,247,0.4); display:flex; flex-direction:column; gap:10px; z-index:2; }
.integrations-dial .dial-center h3 { margin:0; font-size:1.05rem; font-weight:700; letter-spacing:.5px; background:linear-gradient(90deg,var(--tk-cyan),var(--tk-blue)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.integrations-dial .dial-center p { margin:0; font-size:.8rem; color:rgba(255,255,255,0.7); line-height:1.4; }
.integrations-dial .dial-aspects { margin-top:6px; font-size:.65rem; letter-spacing:.15em; text-transform:uppercase; opacity:.55; line-height:1.5; }
.dial-node { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); background:rgba(255,255,255,0.045); border:1px solid rgba(255,255,255,0.16); border-radius:22px; padding:12px 20px; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600; color:rgba(255,255,255,0.8); cursor:pointer; display:flex; align-items:center; gap:6px; transition:background .45s ease, border-color .45s ease, color .45s ease, transform .55s cubic-bezier(.19,1,.22,1), box-shadow .55s ease; z-index:1; }
.dial-node[aria-selected="true"] { background:rgba(255,255,255,0.085); border-color:rgba(141,255,224,0.55); color:#fff; box-shadow:0 10px 30px -14px rgba(0,0,0,0.6),0 6px 20px -10px rgba(81,64,247,0.5); transform:translate(-50%,-50%) scale(1.08); }
.dial-node:hover { background:rgba(255,255,255,0.07); border-color:rgba(141,255,224,0.4); }
.dial-node:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:4px; }
/* Position 6 nodes evenly (index attribute 0..5) */
/* JS will compute absolute (left/top) for radial layout */
.integrations-dial { --dial-anim: 0; }
/* Fallback for browsers without trig functions (approx positions via transform) */
/* No @supports fallback needed with rotate method */
@media (max-width:820px){
  .integrations-dial { font-size:.85rem; }
  .integrations-dial .dial-center { width:54%; padding:24px 20px 26px; }
  .dial-node { --r: 50%; font-size:.62rem; padding:10px 16px; }
}
@media (max-width:620px){
  .integrations-dial { aspect-ratio:auto; display:flex; flex-direction:column; gap:26px; }
  .integrations-dial .dial-ring { display:none; }
  .dial-node { position:relative; top:auto; left:auto; transform:none !important; translate:0 0; --r:0; width:100%; text-align:left; justify-content:flex-start; }
  .dial-node + .dial-node { margin-top:10px; }
  .integrations-dial .dial-center { width:100%; order:6; }
}

/* Plans */
.plans-grid { display:grid; gap:40px; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); align-items:stretch; }
.plan-card { position:relative; background:rgba(255,255,255,0.035); border:1px solid rgba(255,255,255,0.10); padding:36px 28px; border-radius:24px; display:flex; flex-direction:column; gap:12px; transition:background .25s ease, border-color .25s ease, transform .3s ease, box-shadow .35s ease; }
.plan-card:hover { background:rgba(255,255,255,0.05); border-color:rgba(141,255,224,0.28); transform:translateY(-4px); box-shadow:0 20px 60px -28px rgba(0,0,0,0.6), 0 10px 34px -18px rgba(81,64,247,0.35); }
.plan-card:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:4px; }
.plan-card.primary { background:linear-gradient(135deg,rgba(141,255,224,0.10),rgba(81,64,247,0.08)); border:1px solid rgba(141,255,224,0.32); box-shadow:0 18px 54px -22px rgba(0,0,0,0.6); }
.plan-card h3 { margin:0 0 10px; font-size:1.2rem; font-weight:600; }
.plan-card p { color:rgba(255,255,255,0.75); line-height:1.55; font-size:.95rem; margin:0 0 4px; }
.plan-card ul { list-style:none; padding:0; margin:0 0 10px; display:flex; flex-direction:column; gap:8px; font-size:.9rem; color:rgba(255,255,255,0.78); }
.plan-card .badge { position:absolute; top:14px; right:18px; font-size:.6rem; letter-spacing:.14em; font-weight:600; color:var(--tk-cyan); }

/* FAQ */
.faq-list { max-width:920px; margin:0 auto; display:flex; flex-direction:column; gap:24px; }
.faq-list details { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); padding:20px 22px; border-radius:18px; transition:background .35s ease, border-color .35s ease, transform .45s cubic-bezier(.19,1,.22,1); position:relative; }
.faq-list details[open] { background:rgba(255,255,255,0.06); border-color:rgba(141,255,224,0.28); }
.faq-list details:hover { background:rgba(255,255,255,0.06); border-color:rgba(141,255,224,0.28); }
.faq-list summary { cursor:pointer; font-weight:600; list-style:none; position:relative; padding-right:34px; }
.faq-list summary:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:4px; border-radius:10px; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:""; position:absolute; top:50%; right:4px; width:18px; height:18px; margin-top:-9px; border-radius:50%; background:linear-gradient(135deg,var(--tk-cyan),var(--tk-blue)); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E") center/70% 70% no-repeat; transform:rotate(0deg); transition:transform .5s cubic-bezier(.19,1,.22,1), box-shadow .5s ease; box-shadow:0 0 0 0 rgba(141,255,224,0.35); }
.faq-list details[open] summary::after { transform:rotate(180deg); box-shadow:0 0 0 6px rgba(141,255,224,0.15); }
.faq-list details div { margin-top:12px; color:rgba(255,255,255,0.72); line-height:1.55; }

/* TILTABLE elements (3D micro tilt) */
.tiltable { transform-style:preserve-3d; transition: transform .6s cubic-bezier(.19,1,.22,1), box-shadow .6s ease; }
.tiltable[data-tilting="true"] { transition:none; }
.tiltable:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:3px; }

/* Counter emphasis */
.counter { display:inline-block; position:relative; }

/* Playbook */
.section-playbook .playbook-inner { max-width:900px; text-align:center; margin:0 auto; }
.section-playbook .playbook-inner h2 { font-size:2rem; margin:0 0 16px; }
.section-playbook .playbook-inner p { max-width:640px; margin:0 auto 32px; color:rgba(255,255,255,0.72); line-height:1.6; }

/* Final CTA */
.section-final-cta .final-cta-inner { text-align:center; max-width:820px; margin:0 auto; }
.section-final-cta .final-cta-inner h2 { font-size:2.4rem; margin:0 0 24px; }
.section-final-cta .final-cta-inner p.meta { margin-top:24px; font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; opacity:.55; }

/* Utility: hero tiny note */
.hero .pilot-note { margin-top:18px; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; opacity:.65; }

/* Product hero specific adjustments */
.product-hero-title { display:flex; flex-direction:column; align-items:center; gap:26px; }
.product-hero-title .hero-logo-svg { width:calc(187px * var(--logo-scale)); max-width:min(95vw, calc(187px * var(--logo-scale))); height:auto; filter:drop-shadow(0 24px 70px rgba(0,0,0,0.80)) drop-shadow(0 0 10px rgba(255,255,255,0.10)); opacity:.99; transition:transform .9s cubic-bezier(.19,1,.22,1), filter .65s ease, opacity .55s ease; }
.product-hero-title .hero-logo-svg:hover { transform:translateY(-5px) scale(1.02); filter:drop-shadow(0 26px 80px rgba(0,0,0,0.82)) drop-shadow(0 0 14px rgba(255,255,255,0.18)); }
/* Wrapper para efeitos extras */
.hero-logo-wrap { position:relative; }
.product-hero-title .mantra { font-family:var(--font-head); font-size:clamp(2.2rem,4.6vw,3.6rem); font-weight:800; letter-spacing:-.55px; line-height:1.04; color:#ffffff; background:none; -webkit-background-clip:initial; -webkit-text-fill-color:currentColor; background-clip:border-box; text-align:center; }
.product-hero-title .tagline { font-size:clamp(.85rem,1.05vw,.95rem); font-weight:500; max-width:640px; text-align:center; color:rgba(255,255,255,0.62); line-height:1.28; }
/* Sequential hero animation base */
.hero-seq { opacity:0; transform:translateY(28px); }
.hero-seq.show { opacity:1; transform:translateY(0); transition: transform .85s cubic-bezier(.19,1,.22,1), opacity .85s ease; }
@media (prefers-reduced-motion: reduce){ .hero-seq { opacity:1 !important; transform:none !important; transition:none !important; } }

/* Hero logo: brilho inicial único + brilhar novamente no hover */
.logo-sweep-intro, .logo-sweep { transform:translateX(-75%); opacity:0; }
/* Brilho inicial (apenas uma vez) */
.hero-logo-wrap.show .logo-sweep-intro { animation: logoShine 1.1s cubic-bezier(.65,0,.25,1) .15s forwards; }
/* Hover: dispara brilho sempre que passar o mouse */
.hero-logo-wrap .logo-sweep { pointer-events:none; }
.hero-logo-wrap:hover .logo-sweep { animation: logoShine 1.1s cubic-bezier(.65,0,.25,1); }
@keyframes logoShine {
  0% { transform:translateX(-75%); opacity:0; }
  10% { opacity:1; }
  55% { transform:translateX(75%); opacity:1; }
  70% { opacity:0; transform:translateX(75%); }
  100% { opacity:0; transform:translateX(75%); }
}
@media (prefers-reduced-motion: reduce){ .hero-logo-wrap.show .logo-sweep-intro, .hero-logo-wrap:hover .logo-sweep { animation:none; opacity:0; transform:none; } }

/* Enquanto a intro não termina, esconder as demais etapas da sequência */
/* Removido gating da intro dramática: sequência revela normalmente */

/* Anchor nav active state */
.product-anchor-nav a.active { color:#fff; border-color:rgba(141,255,224,0.55); background:rgba(141,255,224,0.12); box-shadow:0 4px 18px -6px rgba(141,255,224,0.45),0 6px 26px -10px rgba(81,64,247,0.45); }

/* Primary gradient button */
.primary-button { background:linear-gradient(135deg,var(--tk-cyan),var(--tk-blue)); color:#0b0b0b; padding:14px 30px; border-radius:14px; text-decoration:none; font-weight:700; letter-spacing:.05em; font-size:.9rem; display:inline-flex; align-items:center; gap:8px; position:relative; overflow:hidden; border:none; box-shadow:0 14px 40px -18px rgba(141,255,224,0.45),0 18px 46px -16px rgba(81,64,247,0.55),0 4px 10px -2px rgba(0,0,0,0.6); transition:transform .45s cubic-bezier(.19,1,.22,1), box-shadow .55s ease, filter .45s ease; }
.primary-button::before { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(255,255,255,0.25), rgba(255,255,255,0) 40%, rgba(255,255,255,0.25) 60%, rgba(255,255,255,0) 100%); opacity:0; mix-blend-mode:overlay; transition:opacity .9s ease; }
.primary-button:hover { transform:translateY(-4px); box-shadow:0 22px 60px -26px rgba(141,255,224,0.55),0 28px 70px -30px rgba(81,64,247,0.65),0 6px 14px -2px rgba(0,0,0,0.7); }
.primary-button:hover::before { opacity:.55; }
.primary-button:active { transform:translateY(-1px) scale(.985); }
.primary-button:focus-visible { outline:2px solid var(--tk-cyan); outline-offset:4px; }
.primary-button:disabled { filter:grayscale(.6) brightness(.75); cursor:not-allowed; transform:none; box-shadow:none; }
/* Ajustes responsivos do fator de escala para evitar overflow vertical */
@media (max-width:1400px){ .page-product-stokai { --logo-scale:4; } }
@media (max-width:1100px){ .page-product-stokai { --logo-scale:3.2; } }
@media (max-width:900px){ .page-product-stokai { --logo-scale:2.6; } }
@media (max-width:780px){
  .page-product-stokai { --logo-scale:2.2; }
  .product-hero-title { gap:20px; }
  .product-hero-title .mantra { font-size:clamp(2rem,7vw,3.1rem); }
  .product-hero-title .tagline { font-size:.9rem; }
}
@media (max-width:600px){ .page-product-stokai { --logo-scale:1.8; } }
@media (max-width:480px){ .page-product-stokai { --logo-scale:1.5; } }
@media (max-width:400px){ .page-product-stokai { --logo-scale:1.3; } }

/* Reduce hero paragraph size specifically on product page to emphasize enlarged logo */
.page-product-stokai .hero-text p { font-size:1.05rem; line-height:1.65; }

/* Neural ring hero mount */
.page-product-stokai .hero { position:relative; overflow:clip; }
#stokai-hero-3d { position:absolute; inset:0; z-index:0; pointer-events:none; }
.page-product-stokai .hero .container, .page-product-stokai .hero .hero-content { position:relative; z-index:2; }

/* Mini sticky CTA */
.mini-sticky-cta { position:fixed; bottom:18px; right:18px; transform:translateY(140%); z-index:1500; transition:transform .6s cubic-bezier(.19,1,.22,1), opacity .6s ease; opacity:0; }
.mini-sticky-cta.show { transform:translateY(0); opacity:1; }
.mini-sticky-inner { display:flex; gap:10px; background:rgba(15,15,20,0.85); backdrop-filter:blur(14px); padding:10px 16px; border:1px solid rgba(255,255,255,0.12); border-radius:100px; box-shadow:0 10px 40px -10px rgba(0,0,0,0.6), 0 4px 20px -6px rgba(81,64,247,0.5); }
/* Compact buttons inside sticky: reuse .btn tokens but reduce scale */
.mini-sticky-inner .btn { padding:8px 14px; font-size:.78rem; letter-spacing:.06em; }
@media (max-width:560px){ .mini-sticky-inner { padding:8px 10px; } .mini-sticky-inner .btn { padding:8px 12px; font-size:.7rem; } }

/* Ensure any img lazy loaded styling (future-proof) */
img[loading="lazy"] { filter:saturate(.9); transition:filter .6s ease; }
img[loading="lazy"][data-loaded="true"] { filter:saturate(1); }

/* Minimum hit target heights for accessibility */
.btn, .plan-card a.btn, .problem-card, .usecase-card, .result-item, .plan-card, .how-steps > li, .security-list li, .integrations-grid > div { min-height:44px; }

@media (prefers-reduced-motion: reduce){
  .tiltable { transition:none !important; transform:none !important; }
  .tiltable[data-tilting], .tiltable:hover { transform:none !important; }
  .counter { transition:none !important; }
}

/* ===================================== */
/* Utility tokens & consistency helpers  */
/* ===================================== */
/* Spacing scale (vertical) */
.mb-40 { margin-bottom:40px !important; }
.mb-50 { margin-bottom:50px !important; }
.mb-60 { margin-bottom:60px !important; }
.mb-80 { margin-bottom:80px !important; }

/* Card visual token (applied alongside specific component classes) */
.glow-card { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); position:relative; transition:background .35s ease, border-color .35s ease, transform .45s cubic-bezier(.19,1,.22,1), box-shadow .45s ease; }
.glow-card:hover { background:rgba(255,255,255,0.06); border-color:rgba(141,255,224,0.28); }

/* Soft gradient background token (subtle radial/angled mix) */
.soft-gradient-bg { background:linear-gradient(135deg,rgba(141,255,224,0.12),rgba(81,64,247,0.10)); }

/* Token to elevate card with consistent shadow on hover (optional) */
.glow-elevate:hover { box-shadow:0 22px 60px -26px rgba(0,0,0,0.6),0 18px 50px -20px rgba(81,64,247,0.4); }



/* Responsive tweaks */
@media (max-width:860px){
  .section-final-cta .final-cta-inner h2 { font-size:2rem; }
  .section-playbook .playbook-inner h2 { font-size:1.8rem; }
}
@media (max-width:600px){
  .result-item div { font-size:1.7rem; }
  .plan-card h3 { font-size:1.08rem; }
  .section-final-cta .final-cta-inner h2 { font-size:1.9rem; }
}

/* ========================= */
/* HERO ADVANCED FX LAYERS   */
/* ========================= */
.hero { position:relative; }
.hero-fx-layer { position:absolute; inset:0; pointer-events:none; overflow:hidden; }

/* Circuit board background */
.hero-board { background:
  linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 140px 140px,
  linear-gradient(0deg, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 140px 140px,
  linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(0deg, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 28px 28px,
  radial-gradient(600px 400px at 15% 20%, rgba(141,255,224,0.18), rgba(141,255,224,0) 70%),
  radial-gradient(700px 460px at 85% 65%, rgba(81,64,247,0.24), rgba(81,64,247,0) 70%);
  mask: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.92), transparent 90%);
  opacity:0.72; animation: boardDrift 26s linear infinite, boardPulse 7.5s ease-in-out infinite;
}
@keyframes boardDrift { 0% { transform:translate3d(0,0,0) scale(1); } 50% { transform:translate3d(-90px,-60px,0) scale(1.035); } 100% { transform:translate3d(0,0,0) scale(1); } }
@keyframes boardPulse { 0%,100% { filter:brightness(1) saturate(1); } 50% { filter:brightness(1.22) saturate(1.15); } }
/* Added animated highlight and trace overlay for extra circuit intensity */
.hero-board::after { content:""; position:absolute; inset:0; pointer-events:none; mix-blend-mode:overlay; opacity:.45; background:
  linear-gradient(115deg, rgba(141,255,224,0) 0%, rgba(141,255,224,0.22) 46%, rgba(141,255,224,0) 55%),
  repeating-linear-gradient(90deg, rgba(141,255,224,0.07) 0 2px, transparent 2px 118px),
  repeating-linear-gradient(0deg, rgba(81,64,247,0.06) 0 2px, transparent 2px 118px);
  background-size:220% 220%, 140px 140px, 140px 140px; background-position:0% 50%, 0 0, 0 0;
  animation: boardHighlight 10s linear infinite;
}
@keyframes boardHighlight { 0% { background-position:0% 50%, 0 0, 0 0; opacity:.35; } 50% { background-position:110% 50%, 70px 70px, 70px 70px; opacity:.55; } 100% { background-position:220% 50%, 140px 140px, 140px 140px; opacity:.38; } }
@media (prefers-reduced-motion: reduce){ .hero-board::after { animation:none; opacity:.25; } }
@media (prefers-reduced-motion: reduce){ .hero-board { animation:none; } }

/* Data rays */
 .hero-rays { display:flex; gap:0; justify-content:space-around; mix-blend-mode:screen; }
 .hero-rays .data-ray { position:absolute; top:-25%; bottom:-25%; width:14%; left:calc(var(--i) * 18% + 2%); background:linear-gradient(180deg,rgba(141,255,224,0),rgba(141,255,224,0.22) 40%,rgba(81,64,247,0.30) 55%,rgba(141,255,224,0)); filter:blur(18px) brightness(1.1); opacity:0.12; animation: dataRay 8s ease-in-out calc(var(--i)*1.1s + 1.2s) infinite; }
 @keyframes dataRay { 0%,45% { opacity:0; transform:translateY(0); } 55% { opacity:.95; } 70% { opacity:.25; transform:translateY(5%); } 85% { opacity:.6; } 100% { opacity:0; transform:translateY(10%); } }
@media (prefers-reduced-motion: reduce){ .hero-rays .data-ray { animation:none; opacity:.15; } }

/* Diagonal scanline */
 .hero-scanline { background:linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0) 100%); mix-blend-mode:overlay; opacity:0; animation: scanline 11s cubic-bezier(.65,0,.25,1) 1.4s infinite; }
 @keyframes scanline { 0% { opacity:0; transform:translateX(-140%) translateY(-55%); } 5% { opacity:.4; } 14% { opacity:0; transform:translateX(140%) translateY(55%); } 100% { opacity:0; } }
@media (prefers-reduced-motion: reduce){ .hero-scanline { animation:none; opacity:.1; } }

/* Tagline shimmer */
.tagline-shimmer { position:relative; overflow:hidden; }
 /* Refined shimmer: text-only gradient instead of block overlay */
 .tagline-shimmer { background:linear-gradient(110deg, #ffffff 0%, #8dffe0 35%, #5140f7 50%, #ffffff 65%, #8dffe0 78%, #ffffff 90%); background-size:200% 100%; -webkit-background-clip:text; background-clip:text; color:transparent; animation: taglineTextShine 5.2s linear 1.6s infinite; position:relative; }
 @keyframes taglineTextShine { 0% { background-position:0% 50%; } 50% { background-position:100% 50%; } 100% { background-position:200% 50%; } }
 @media (prefers-reduced-motion: reduce){ .tagline-shimmer { animation:none; background:none; color:#fff; } }
@media (prefers-reduced-motion: reduce){ .tagline-shimmer::after { animation:none; opacity:0.15; } }

/* CTA pulse */
.primary-button { position:relative; }
.primary-button::after { content:""; position:absolute; inset:0; border-radius:inherit; background:radial-gradient(circle at 50% 50%, rgba(255,255,255,0.35), rgba(255,255,255,0) 60%); opacity:0; transform:scale(.4); transition:opacity .5s ease, transform .55s cubic-bezier(.19,1,.22,1); mix-blend-mode:overlay; }
.primary-button:hover::after, .primary-button:focus-visible::after { opacity:.5; transform:scale(1); }

/* Light refraction overlay */
 .hero::before { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at var(--lx,50%) var(--ly,50%), rgba(141,255,224,0.26), rgba(81,64,247,0.18) 28%, rgba(0,0,0,0) 62%); opacity:0; transition:opacity .5s ease, background-position .3s ease; mix-blend-mode:overlay; }
 .hero[data-lit="1"]::before { opacity:.55; }
@media (prefers-reduced-motion: reduce){ .hero::before { display:none; } }

/* Center hero-text specifically on Stok AI page */
.page-product-stokai .hero .hero-text { grid-column:1 / -1; justify-self:center; text-align:center; max-width:880px; }
.page-product-stokai .hero .hero-text p { margin-left:auto; margin-right:auto; }
/* Center hero buttons for this product page */
.page-product-stokai .hero .hero-buttons { justify-content:center; }

/* Parallax layers hints */
.product-hero-title .hero-logo-wrap,
.product-hero-title .mantra,
.product-hero-title .tagline { will-change:transform; }
@media (prefers-reduced-motion: reduce){
  .product-hero-title .hero-logo-wrap, .product-hero-title .mantra, .product-hero-title .tagline { will-change:auto; transform:none !important; }
}

/* === Enhancements: Planos / FAQ / Playbook / Final CTA === */
.plan-card.primary { position:relative; }
.plan-card.primary::before { content:""; position:absolute; inset:-6px; border-radius:30px; background:linear-gradient(135deg,rgba(141,255,224,0.18),rgba(81,64,247,0.25)); opacity:.32; filter:blur(14px); z-index:-1; }
.plan-card.primary::after { content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; background:linear-gradient(135deg,var(--tk-cyan),var(--tk-blue)); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; opacity:.65; pointer-events:none; }
.plan-card.primary .pilot-cta { position:relative; overflow:hidden; }
.plan-card.primary .pilot-cta::after { content:""; position:absolute; left:0; bottom:0; height:2px; width:100%; background:linear-gradient(90deg,var(--tk-cyan),var(--tk-blue)); transform-origin:left center; transform:scaleX(0); animation: pilotUnderline 14s linear infinite; opacity:.9; }
@keyframes pilotUnderline { 0% { transform:scaleX(0); } 25% { transform:scaleX(.2);} 70% { transform:scaleX(.9);} 100% { transform:scaleX(1);} }
.plan-card ul li[data-addon] { font-size:.55rem; letter-spacing:.22em; font-weight:600; text-transform:uppercase; background:rgba(255,255,255,0.06); display:inline-block; padding:4px 10px; border:1px solid rgba(255,255,255,0.12); border-radius:14px; margin-top:6px; }

.faq-list details { position:relative; }
.faq-list details::before { content:""; position:absolute; left:0; top:0; bottom:0; width:2px; background:linear-gradient(var(--tk-cyan),var(--tk-blue)); opacity:0; transform:scaleY(.4); transform-origin:top; transition:opacity .6s ease, transform .6s cubic-bezier(.19,1,.22,1); border-radius:2px; }
.faq-list details[open] { background:linear-gradient(180deg,rgba(141,255,224,0.06),rgba(141,255,224,0) 70%), rgba(255,255,255,0.06); }
.faq-list details[open]::before { opacity:1; transform:scaleY(1); }
.faq-list details:last-of-type { border-bottom:2px solid rgba(141,255,224,0.25); }

.section-playbook .playbook-inner { position:relative; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:28px; padding:56px 50px 64px; backdrop-filter:blur(6px); box-shadow:0 20px 70px -24px rgba(0,0,0,0.55); overflow:hidden; }
.section-playbook .playbook-inner::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 65% 15%,rgba(141,255,224,0.18),rgba(81,64,247,0.05) 40%,rgba(255,255,255,0) 70%); opacity:.7; pointer-events:none; }
.playbook-icon { width:70px; height:84px; margin:0 auto 18px; position:relative; }
.playbook-icon::before { content:""; position:absolute; inset:0; border-radius:10px; background:linear-gradient(135deg,rgba(255,255,255,0.08),rgba(255,255,255,0.02)); border:1px solid rgba(255,255,255,0.16); }
.playbook-icon::after { content:""; position:absolute; width:18px; height:18px; top:6px; right:6px; border-radius:3px; background:linear-gradient(135deg,var(--tk-cyan),var(--tk-blue)); transform-origin:bottom right; transition:transform .5s cubic-bezier(.19,1,.22,1); box-shadow:0 4px 18px -6px rgba(81,64,247,0.6); }
.playbook-icon:hover::after { transform:rotate(8deg); }

.final-cta-inner { position:relative; padding:80px 40px 90px; }
.final-cta-inner::before { content:""; position:absolute; inset:0; background-image:radial-gradient(circle at center, rgba(255,255,255,0.04) 1px, rgba(0,0,0,0) 1px); background-size:18px 18px; opacity:.4; mask:radial-gradient(circle at 50% 50%, #000 0%, #000 65%, transparent 75%); pointer-events:none; }
.final-cta-inner h2 { margin:0 0 clamp(52px,8vw,72px); }
.final-cta-inner .hero-buttons { gap:26px; justify-content:center; }
@media (max-width:640px){ .final-cta-inner .hero-buttons { flex-direction:column; } }
.final-primary { position:relative; overflow:hidden; }
.final-primary::after { content:""; position:absolute; top:0; left:-120%; width:120%; height:100%; background:linear-gradient(115deg,rgba(141,255,224,0) 0%, rgba(141,255,224,0.55) 45%, rgba(81,64,247,0.5) 55%, rgba(81,64,247,0) 70%); transform:skewX(-12deg); opacity:0; pointer-events:none; }
.final-primary.hover-armed::after { animation: sweepOnce 1.2s cubic-bezier(.19,1,.22,1) forwards; }
@keyframes sweepOnce { 0% { opacity:0; left:-120%; } 10% { opacity:.7; } 55% { opacity:.9; } 100% { opacity:0; left:120%; } }

