/* =========================================================
   NEXORA — Marketing AI · styles
   ========================================================= */
:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-2: #070b15;
  --navy: #0a1428;
  --panel: rgba(13, 21, 40, .55);
  --panel-2: rgba(18, 28, 52, .7);
  --line: rgba(140, 170, 255, .11);
  --line-2: rgba(140, 170, 255, .22);
  --text: #eef2ff;
  --muted: #98a3c0;
  --muted-2: #5d6987;
  --accent: #2f7bff;
  --accent-2: #5b9bff;
  --sky: #9cc0ff;
  --good: #3ddc97;
  --bad: #ff6b7a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line);
  --glow: 0 0 0 1px rgba(47, 123, 255, .45), 0 10px 40px -8px rgba(47, 123, 255, .55);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-d: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
html:not(.js) .js-only { display: none !important; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
.h1, .hero-title { font: 700 clamp(2.6rem, 6.4vw, 5.4rem)/1.02 var(--font-d); letter-spacing: -.022em; }
.h2 { font: 600 clamp(2rem, 4.2vw, 3.35rem)/1.08 var(--font-d); letter-spacing: -.018em; }
.h3 { font: 600 clamp(1.35rem, 2.2vw, 1.8rem)/1.18 var(--font-d); letter-spacing: -.01em; }
.h-sm { font: 600 clamp(1.25rem, 2vw, 1.6rem)/1.2 var(--font-d); letter-spacing: -.02em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.small { font-size: .875rem; }
.grad {
  background: linear-gradient(100deg, #fff 0%, var(--sky) 35%, var(--accent) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--sky);
  padding: 8px 14px; border-radius: 999px; background: rgba(47, 123, 255, .08); border: 1px solid rgba(47, 123, 255, .22);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 500; font-size: .95rem; white-space: nowrap;
  border: 1px solid var(--b); cursor: pointer; background: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(180deg, #3d86ff, #1f63e6); border-color: rgba(255, 255, 255, .14); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 30px -8px rgba(47, 123, 255, .7);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 40px -8px rgba(47, 123, 255, .9); }
.btn-ghost { background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(156, 192, 255, .45); background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-lg { padding: 16px 26px; font-size: 1rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--sky); font-weight: 500; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .25s; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 32px; }
.brand-mark .m-d, #i-mark .m-d { fill: currentColor; stroke: none; }
.brand-mark .m-b, #i-mark .m-b { fill: var(--accent); stroke: none; }
svg use[href="#i-mark"] { stroke: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 1.3rem/1 var(--font-d); letter-spacing: .08em; }
.brand-name .lam { font-weight: 600; }
.brand-sub { font: 500 .5rem/1 var(--font); letter-spacing: .34em; color: var(--accent-2); margin-top: 6px; white-space: nowrap; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(5, 7, 13, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; width: min(1320px, 100% - 40px); margin-inline: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { padding: 8px 12px; border-radius: 999px; font-size: .9rem; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.lang-btn { border: 0; background: none; cursor: pointer; padding: 5px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); transition: background .2s, color .2s; }
.lang-btn.is-active { background: var(--accent); color: #fff; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); display: grid; gap: 20px; justify-items: start; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* glass card + cursor glow */
.glow-card { position: relative; isolation: isolate; }
.glow-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 123, 255, .16), transparent 45%);
}
.glow-card:hover::before { opacity: 1; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 70px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 72% 40%, rgba(47, 123, 255, .16), transparent 60%),
    radial-gradient(700px 500px at 10% 0%, rgba(30, 60, 140, .25), transparent 60%),
    linear-gradient(180deg, #060912, var(--bg)); }
.grid-floor {
  position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%;
  background-image: linear-gradient(rgba(120, 160, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 160, 255, .09) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(62deg); transform-origin: center bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: floor 18s linear infinite;
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }

.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 30px; }
.hero-copy { display: grid; gap: 26px; justify-items: start; position: relative; z-index: 2; }
.hero-sub { max-width: 560px; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: .9rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .ico { width: 16px; height: 16px; color: var(--accent-2); stroke-width: 2.2; }
.reveal:nth-child(2) { --d: .08s; } .reveal:nth-child(3) { --d: .16s; } .reveal:nth-child(4) { --d: .24s; } .reveal:nth-child(5) { --d: .32s; }

.hero-visual { position: relative; height: min(680px, 78vh); min-height: 520px; }
.hero-glow { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .35), transparent 65%); filter: blur(30px); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ecosystem labels: CSS circle by default (fallback), JS-driven when WebGL runs */
.eco { position: absolute; inset: 0; }
.eco-node {
  position: absolute; left: calc(50% + cos(var(--a)) * 40%); top: calc(50% + sin(var(--a)) * 36%);
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 9px; border-radius: 999px;
  background: rgba(10, 18, 36, .72); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .8rem; white-space: nowrap; width: max-content; box-shadow: 0 8px 30px -10px rgba(0, 0, 0, .8);
  will-change: transform, opacity;
}
.eco-node svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 8px; background: rgba(47, 123, 255, .16); color: var(--sky); }
.eco-node b { font-weight: 500; }
.eco-node.is-ai svg { background: var(--accent); color: #fff; }
.eco-node.is-out { border-color: rgba(47, 123, 255, .5); box-shadow: var(--glow); }
.eco-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 50px; color: #fff; pointer-events: none; }
.eco-core svg { width: 100%; height: 100%; filter: drop-shadow(0 0 18px rgba(47, 123, 255, .9)); }
html:not(.webgl-on) .eco::before { content: ''; position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .5), rgba(47, 123, 255, .05) 60%, transparent 70%); box-shadow: 0 0 0 1px rgba(156, 192, 255, .2), 0 0 0 60px rgba(47, 123, 255, .03), 0 0 0 130px rgba(47, 123, 255, .02); }
.webgl-on .eco-node, .webgl-on .eco-core { left: 0; top: 0; }

.metric {
  position: absolute; z-index: 12; display: grid; gap: 2px; padding: 14px 16px; min-width: 150px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(22, 34, 64, .75), rgba(10, 16, 32, .6)); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9);
  animation: bob 7s ease-in-out infinite;
}
.metric-k { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.metric-v { font: 600 1.5rem/1.15 var(--font-d); letter-spacing: -.02em; }
.metric-t { font-size: .75rem; color: var(--good); }
.metric-tag { justify-self: start; font-size: .65rem; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--muted); letter-spacing: .08em; }
.spark { width: 90px; height: 24px; stroke: var(--accent-2); stroke-width: 2; }
.m1 { top: 6%; left: 0; } .m2 { top: 12%; right: 0; animation-delay: -2s; }
.m3 { bottom: 10%; left: 4%; animation-delay: -4s; } .m4 { bottom: 4%; right: 6%; animation-delay: -1s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; border: 1px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--sky); transform: translateX(-50%); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 60% { transform: translate(-50%, 10px); opacity: 0; } 61% { transform: translate(-50%, 0); opacity: 0; } }

/* =========================================================
   TRUST
   ========================================================= */
.trust { padding: 50px 0 30px; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 20, 40, .35), transparent); }
.trust-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 30px; margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 14px; padding-right: 14px; }
.marquee-list li { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--muted); font: 500 1rem var(--font-d); white-space: nowrap; }
.marquee-list svg { width: 20px; height: 20px; color: var(--accent-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   PROBLEM
   ========================================================= */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.p-card { padding: 26px 24px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); min-height: 170px; display: grid; align-content: space-between; gap: 22px; transition: border-color .3s, transform .3s var(--ease); }
.p-card:hover { border-color: rgba(255, 107, 122, .3); transform: translateY(-3px); }
.p-num { font: 600 .8rem var(--font-d); color: var(--bad); letter-spacing: .1em; opacity: .85; }
.p-card p { font: 500 1.08rem/1.35 var(--font-d); letter-spacing: -.01em; }
.problem-grid .p-card:nth-child(4n+2) { --d: .06s; } .problem-grid .p-card:nth-child(4n+3) { --d: .12s; } .problem-grid .p-card:nth-child(4n+4) { --d: .18s; }
.problem-turn { display: flex; align-items: center; gap: 24px; margin-top: clamp(50px, 7vw, 80px); font: 600 clamp(1.6rem, 3.4vw, 2.6rem)/1.1 var(--font-d); letter-spacing: -.03em; text-align: center; justify-content: center; }
.problem-turn .line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.problem-turn .line:last-child { background: linear-gradient(90deg, var(--accent), transparent); }

/* =========================================================
   SERVICES
   ========================================================= */
.svc { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
html:not(.js) .svc { grid-template-columns: 1fr; }
html:not(.js) .svc-tabs { display: none; }
.svc-tabs { display: grid; gap: 4px; position: sticky; top: 100px; }
.svc-tab {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid transparent; background: none; cursor: pointer; color: var(--muted); font-size: .95rem; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
}
.svc-tab:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.svc-tab.is-active { color: var(--text); background: linear-gradient(90deg, rgba(47, 123, 255, .16), rgba(47, 123, 255, .02)); border-color: rgba(47, 123, 255, .3); }
.svc-n { font: 600 .75rem var(--font-d); color: var(--muted-2); letter-spacing: .08em; }
.svc-tab.is-active .svc-n { color: var(--accent-2); }
.svc-tab .new { margin-left: auto; font-size: .65rem; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: #fff; letter-spacing: .05em; }

.svc-panels { display: grid; gap: 20px; }
.svc-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: clamp(26px, 3.4vw, 44px); border-radius: 28px;
  background: linear-gradient(160deg, rgba(16, 26, 50, .7), rgba(8, 12, 24, .6)); border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 480px;
}
.js .svc-panel:not(.is-active) { display: none; }
.js .svc-panel.is-active { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.svc-copy { display: grid; gap: 16px; align-content: start; }
.svc-kicker { font: 600 .74rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips li { font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #c9d3ec; background: rgba(255, 255, 255, .02); }

/* service visuals */
.svc-viz { position: relative; height: 380px; display: grid; place-items: center; perspective: 1000px; }
.svc-viz::before { content: ''; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(47, 123, 255, .25), transparent 65%); filter: blur(20px); }
.tilt-3d { position: relative; transform: rotateY(-14deg) rotateX(8deg); transform-style: preserve-3d; transition: transform .6s var(--ease); animation: float3d 8s ease-in-out infinite; }
.svc-viz:hover .tilt-3d { transform: rotateY(-4deg) rotateX(3deg); }
@keyframes float3d { 50% { translate: 0 -10px; } }
.float-card {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: .8rem; font-weight: 500;
  background: rgba(14, 22, 44, .85); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .9);
  animation: bob 6s ease-in-out infinite;
}
.float-card svg { width: 18px; height: 18px; color: var(--accent-2); }
.svc-viz .fc-1 { top: 12%; right: 0; } .svc-viz .fc-2 { bottom: 12%; left: 0; animation-delay: -3s; }

.browser { width: min(380px, 92%); border-radius: 16px; background: #0b1224; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px #000, 0 0 60px -20px rgba(47, 123, 255, .5); overflow: visible; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .7rem; color: var(--muted-2); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #233150; }
.browser-bar span { margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .04); }
.browser-body { padding: 16px; display: grid; gap: 12px; }
.bw-hero { height: 150px; border-radius: 12px; padding: 18px; display: grid; align-content: end; gap: 8px; background: radial-gradient(circle at 80% 20%, rgba(47, 123, 255, .6), transparent 50%), linear-gradient(135deg, #142450, #0a1020); }
.bw-l1 { width: 70%; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .85); }
.bw-l2 { width: 45%; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .35); }
.bw-btn { justify-self: start; font-size: .65rem; padding: 5px 10px; border-radius: 999px; background: var(--accent); }
.bw-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bw-row span { height: 56px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.viz-web .fc-1 { top: -18px; right: -30px; transform: translateZ(60px); }
.viz-web .fc-2 { bottom: 20px; left: -40px; transform: translateZ(40px); }

.ad-card { width: 280px; border-radius: 18px; background: #0c1428; border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 40px 80px -30px #000; }
.ad-top { display: flex; align-items: center; gap: 10px; padding: 12px; font-size: .8rem; }
.ad-top small { display: block; color: var(--muted-2); font-size: .68rem; }
.ad-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #f6b26b, #c0392b); }
.ad-img { height: 200px; display: grid; place-items: end start; padding: 16px; font: 600 1.3rem/1.1 var(--font-d); background: radial-gradient(circle at 70% 30%, rgba(255, 190, 120, .55), transparent 45%), linear-gradient(160deg, #3a2412, #120b08); }
.ad-cta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; font-size: .75rem; color: var(--muted); }
.ad-cta b { color: #fff; background: var(--accent); padding: 6px 12px; border-radius: 8px; font-weight: 500; }

.phone { width: 210px; height: 380px; border-radius: 34px; padding: 9px; background: #0d1424; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px #000, 0 0 60px -20px rgba(47, 123, 255, .5); }
.phone-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; }
.reel { background: linear-gradient(200deg, rgba(47, 123, 255, .5), transparent 40%), linear-gradient(20deg, #2a0f2e, #0d1838 60%, #091024); }
.reel::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 4px); }
.reel-play { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .15); backdrop-filter: blur(6px); }
.reel-play svg { width: 22px; fill: #fff; stroke: none; }
.reel-side { position: absolute; right: 10px; bottom: 70px; display: grid; gap: 14px; text-align: center; font-size: .7rem; }
.reel-side svg { width: 24px; height: 24px; margin: 0 auto 3px; }
.reel-side span:first-child svg { fill: #ff4d6d; stroke: #ff4d6d; }
.reel-cap { position: absolute; left: 12px; right: 50px; bottom: 18px; font-size: .72rem; }

.serp { width: min(360px, 94%); padding: 18px; border-radius: 18px; background: #0c1428; border: 1px solid var(--line-2); display: grid; gap: 12px; box-shadow: 0 40px 80px -30px #000; }
.serp-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); font-size: .82rem; color: #c9d3ec; }
.serp-bar svg { width: 16px; height: 16px; color: var(--muted); }
.serp-res { position: relative; display: grid; gap: 6px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); }
.serp-res b:empty, .serp-res span:empty { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.serp-res b:empty { width: 55%; } .serp-res span:empty { width: 85%; }
.serp-res.is-you { border-color: rgba(47, 123, 255, .55); background: rgba(47, 123, 255, .1); box-shadow: var(--glow); font-size: .82rem; }
.serp-res.is-you b { font-size: .95rem; color: #fff; }
.serp-res.is-you span { color: #f5c451; }
.serp-res.is-you em { color: var(--good); font-style: normal; }
.rise { position: absolute; right: 14px; top: 14px; color: var(--good); font-style: normal; animation: bob 2.4s ease-in-out infinite; }

.feed { display: grid; grid-template-columns: repeat(3, 92px); gap: 8px; }
.feed span { height: 92px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: linear-gradient(135deg, #12204a, #0a1020); animation: tile 6s ease-in-out infinite; }
.feed svg { width: 22px; height: 22px; color: rgba(255, 255, 255, .8); }
.feed .t1, .feed .t5, .feed .t9 { background: linear-gradient(135deg, var(--accent), #0d1a44); }
.feed .t3 { background: linear-gradient(135deg, #2b1a3e, #0c1022); } .feed .t7 { background: linear-gradient(135deg, #3a2412, #120b08); }
.feed span:nth-child(2n) { animation-delay: -2s; } .feed span:nth-child(3n) { animation-delay: -4s; }
@keyframes tile { 50% { transform: translateZ(20px); filter: brightness(1.25); } }

.mini-chat { width: min(330px, 94%); padding: 18px; border-radius: 22px; background: #0b1424; border: 1px solid var(--line-2); display: grid; gap: 10px; box-shadow: 0 40px 80px -30px #000; }
.b { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: .82rem; line-height: 1.4; }
.b.in { background: rgba(255, 255, 255, .07); border-bottom-left-radius: 4px; }
.b.out { justify-self: end; background: linear-gradient(160deg, #1d5fe0, #164bb5); border-bottom-right-radius: 4px; }

.flow { display: grid; gap: 12px; width: 260px; position: relative; }
.flow-node { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #0c1428; border: 1px solid var(--line-2); font-size: .85rem; font-weight: 500; }
.flow-node svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: rgba(47, 123, 255, .15); color: var(--sky); }
.flow-node.is-ai { border-color: rgba(47, 123, 255, .55); box-shadow: var(--glow); }
.flow-node.is-ai svg { background: var(--accent); color: #fff; }
.flow-line { position: absolute; left: 29px; top: 20px; bottom: 20px; width: 2px; background: var(--line-2); }
.flow-line i { position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--accent), 0 0 4px #fff; animation: flowdot 3.2s linear infinite; }
@keyframes flowdot { from { top: 0; } to { top: 100%; } }

.strat { width: min(340px, 94%); padding: 22px; border-radius: 20px; background: #0c1428; border: 1px solid var(--line-2); display: grid; gap: 16px; box-shadow: 0 40px 80px -30px #000; }
.strat-row { display: grid; gap: 7px; font-size: .8rem; color: var(--muted); }
.strat-row i { display: block; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.strat-row i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #1f63e6, var(--sky)); animation: grow 1.6s var(--ease) both; }
@keyframes grow { from { width: 0; } }
.strat-foot { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--good); padding-top: 6px; border-top: 1px solid var(--line); }
.strat-foot svg { width: 18px; height: 18px; }

.room-wrap { position: relative; width: 300px; height: 300px; perspective: 700px; }
.room { position: absolute; inset: 0; transform-style: preserve-3d; animation: roomspin 16s ease-in-out infinite alternate; }
@keyframes roomspin { from { transform: rotateX(-12deg) rotateY(-28deg); } to { transform: rotateX(-12deg) rotateY(28deg); } }
.wall { position: absolute; left: 50%; top: 50%; width: 240px; height: 180px; margin: -90px 0 0 -120px; border: 1px solid rgba(156, 192, 255, .25); }
.w-back { background: linear-gradient(180deg, #1a2747, #111b33); transform: translateZ(-120px); }
.w-left { background: linear-gradient(90deg, #0f1830, #18264a); transform: rotateY(90deg) translateZ(-120px); }
.w-right { background: linear-gradient(270deg, #0f1830, #18264a); transform: rotateY(-90deg) translateZ(-120px); }
.w-floor { height: 240px; margin-top: -120px; background: repeating-linear-gradient(90deg, #2a1d14 0 22px, #241812 22px 24px); transform: rotateX(90deg) translateZ(-90px); }
.window { position: absolute; left: 30%; top: 22%; width: 40%; height: 42%; border-radius: 4px; background: linear-gradient(180deg, #9cc0ff, #2f7bff); box-shadow: 0 0 40px rgba(156, 192, 255, .6); }
.w-right .window { left: 25%; width: 50%; }
.art { position: absolute; right: 8%; top: 28%; width: 16%; height: 28%; background: linear-gradient(135deg, #f5c451, #c0392b); }
.door { position: absolute; left: 38%; bottom: 0; width: 24%; height: 70%; background: #0a1020; border: 1px solid var(--line-2); }
.rug { position: absolute; left: 25%; top: 30%; width: 50%; height: 40%; border-radius: 8px; background: rgba(156, 192, 255, .25); }
.sofa { position: absolute; left: 20%; top: 5%; width: 60%; height: 18%; border-radius: 6px; background: #3b4a6e; }
.hotspot { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(47, 123, 255, .4); animation: ping 2s ease-out infinite; }
.h1 { left: 30%; top: 45%; } .h2 { right: 24%; top: 58%; animation-delay: -1s; }
@keyframes ping { 70% { box-shadow: 0 0 0 16px rgba(47, 123, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 123, 255, 0); } }
.tour-tag { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; font-size: .78rem; background: rgba(14, 22, 44, .9); border: 1px solid var(--line-2); white-space: nowrap; }

/* =========================================================
   WHATSAPP
   ========================================================= */
.wa { background: radial-gradient(800px 500px at 80% 50%, rgba(47, 123, 255, .1), transparent 60%); }
.wa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.wa-copy { display: grid; gap: 22px; justify-items: start; }
.check-list { display: grid; gap: 12px; margin-top: 6px; }
.check-list li { display: flex; align-items: center; gap: 12px; }
.check-list svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(47, 123, 255, .15); color: var(--accent-2); stroke-width: 2.4; flex: none; }
.wa-visual { position: relative; display: grid; place-items: center; perspective: 1200px; }
.wa-phone { width: min(360px, 100%); border-radius: 40px; padding: 10px; background: #0d1424; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px #000, 0 0 80px -30px rgba(47, 123, 255, .6); transform: rotateY(-10deg) rotateX(4deg); transition: transform .8s var(--ease); }
.wa-visual:hover .wa-phone { transform: none; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-radius: 30px 30px 0 0; background: #111c33; font-size: .9rem; }
.wa-head small { display: block; color: var(--good); font-size: .72rem; }
.wa-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f6b26b, #c0392b); font-weight: 600; font-size: .8rem; }
.wa-body { height: 420px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 16px 14px; background: radial-gradient(circle at 20% 20%, rgba(47, 123, 255, .08), transparent 50%), #0a1222; }
.wa-day { align-self: center; font-size: .68rem; color: var(--muted); padding: 3px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); }
.msg { max-width: 80%; padding: 9px 12px; border-radius: 14px; font-size: .85rem; line-height: 1.4; }
.msg.in { align-self: flex-start; background: #1a2540; border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: linear-gradient(160deg, #1d5fe0, #164bb5); border-bottom-right-radius: 4px; }
.js .wa-body .msg { display: none; }
.js .wa-body .msg.show { display: block; animation: msgIn .45s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.typing { display: none; align-self: flex-start; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #1a2540; }
.typing.show { display: inline-flex; }
.typing.out { align-self: flex-end; background: #164bb5; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .7); animation: dots 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { transform: translateY(-4px); opacity: 1; } 60%, 100% { transform: none; opacity: .5; } }
.wa-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-radius: 0 0 30px 30px; background: #111c33; font-size: .75rem; color: var(--muted); }
.wa-foot svg { width: 14px; height: 14px; color: var(--accent-2); }
.wa-f1 { top: 14%; left: 0; } .wa-f2 { bottom: 16%; right: 0; animation-delay: -3s; }

/* =========================================================
   GROWTH SYSTEM
   ========================================================= */
.sys { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding-top: 46px; }
.sys-line { position: absolute; left: 8%; right: 8%; top: 14px; height: 2px; background: var(--line-2); border-radius: 2px; }
.sys-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--sky)); transition: transform 2.2s var(--ease); box-shadow: 0 0 14px rgba(47, 123, 255, .8); }
.sys.is-in .sys-fill, html:not(.js) .sys-fill { transform: scaleX(1); }
.sys-pulse { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px 4px var(--accent); opacity: 0; }
.sys.is-in .sys-pulse { animation: syspulse 4s 2.2s linear infinite; }
@keyframes syspulse { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.sys-step { position: relative; padding: 24px 18px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: border-color .3s, transform .3s var(--ease); }
.sys-step:hover { border-color: rgba(47, 123, 255, .45); transform: translateY(-4px); }
.sys-dot { position: absolute; top: -39px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 5px rgba(47, 123, 255, .12); }
.sys-n { font: 600 .75rem var(--font-d); color: var(--accent-2); letter-spacing: .1em; }
.sys-step h3 { font: 700 1.05rem var(--font-d); letter-spacing: .08em; }
.sys-step li { font-size: .85rem; color: var(--muted); padding: 3px 0; }
.sys-step:nth-of-type(2) { --d: .1s; } .sys-step:nth-of-type(3) { --d: .2s; } .sys-step:nth-of-type(4) { --d: .3s; } .sys-step:nth-of-type(5) { --d: .4s; } .sys-step:nth-of-type(6) { --d: .5s; }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; perspective: 1000px; }
.ind {
  padding: 26px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start;
  transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .4s var(--ease), border-color .3s; transform-style: preserve-3d;
}
.ind:hover { border-color: rgba(47, 123, 255, .4); }
.ind > svg { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: rgba(47, 123, 255, .12); color: var(--sky); margin-bottom: 10px; transform: translateZ(30px); }
.ind h3 { font: 600 1.08rem var(--font-d); }
.ind p { font-size: .88rem; color: var(--muted); }

/* =========================================================
   SOLUTIONS
   ========================================================= */
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ex { padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: linear-gradient(160deg, rgba(16, 26, 50, .7), rgba(8, 12, 24, .6)); border: 1px solid var(--line); display: grid; gap: 10px; overflow: hidden; }
.ex-head { display: flex; align-items: center; gap: 14px; }
.ex-ico svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--accent); color: #fff; }
.ex-hub { position: relative; height: 340px; }
.ex-hub::before { content: ''; position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(156, 192, 255, .22); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hub-core { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #163063, #0a1428); border: 1px solid rgba(47, 123, 255, .5); box-shadow: 0 0 50px rgba(47, 123, 255, .5); color: #fff; }
.hub-core svg { width: 40px; height: 34px; }
.hub-core::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(47, 123, 255, .4); animation: ping2 2.6s ease-out infinite; }
@keyframes ping2 { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.hub-chips li {
  position: absolute; left: calc(50% + cos(var(--a)) * 38%); top: calc(50% + sin(var(--a)) * 40%); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 8px; border-radius: 999px; font-size: .76rem; white-space: nowrap; width: max-content;
  background: rgba(12, 20, 40, .9); border: 1px solid var(--line-2); transition: border-color .3s, box-shadow .3s;
}
.hub-chips li:hover { border-color: var(--accent); box-shadow: var(--glow); }
.hub-chips svg { flex: none; width: 18px; height: 18px; color: var(--accent-2); }
.ex-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; padding: 16px; border-radius: 16px; background: rgba(47, 123, 255, .07); border: 1px solid rgba(47, 123, 255, .2); font: 600 .95rem var(--font-d); text-align: center; }
.ex-flow svg { width: 18px; height: 18px; color: var(--accent-2); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

/* =========================================================
   BEFORE / AFTER
   ========================================================= */
.compare { position: relative; max-width: 980px; margin: 0 auto; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
html:not(.js) .compare { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-side { padding: clamp(28px, 5vw, 56px); min-height: 460px; display: grid; align-content: start; gap: 26px; }
.cmp-title { font: 700 .82rem var(--font-d); letter-spacing: .2em; }
.cmp-side ul { display: grid; gap: 14px; }
.cmp-side li { display: flex; align-items: center; gap: 14px; font: 500 clamp(1rem, 1.6vw, 1.15rem) var(--font-d); }
.cmp-side li svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; flex: none; stroke-width: 2.4; }
.cmp-before { background: repeating-linear-gradient(135deg, #0b0d12 0 12px, #0d1016 12px 24px); color: #7c8395; }
.cmp-before .cmp-title { color: var(--bad); }
.cmp-before li svg { background: rgba(255, 107, 122, .1); color: var(--bad); }
.cmp-after { background: radial-gradient(600px 400px at 85% 20%, rgba(47, 123, 255, .35), transparent 60%), linear-gradient(160deg, #0f1c3a, #081022); }
.cmp-after .cmp-title { color: var(--sky); }
.cmp-after li svg { background: var(--accent); color: #fff; box-shadow: 0 0 16px rgba(47, 123, 255, .6); }
.js .cmp-before { padding-right: 56%; }
.js .cmp-after { position: absolute; inset: 0; padding-left: 56%; clip-path: inset(0 0 0 var(--pos)); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: linear-gradient(var(--sky), var(--accent)); box-shadow: 0 0 20px var(--accent); pointer-events: none; }
html:not(.js) .cmp-handle, html:not(.js) .cmp-range { display: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; width: 52px; height: 52px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); box-shadow: var(--glow); }
.cmp-handle svg { width: 16px; height: 16px; color: #fff; stroke-width: 2.4; }
.cmp-handle svg:first-child { transform: scaleX(-1); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* =========================================================
   WHY
   ========================================================= */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.why-copy { display: grid; gap: 22px; justify-items: start; position: sticky; top: 120px; }
.why-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; perspective: 1000px; }
.w-card { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 6px; transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .4s var(--ease), border-color .3s; }
.w-card:hover { border-color: rgba(47, 123, 255, .4); }
.w-card > svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: linear-gradient(160deg, rgba(47, 123, 255, .35), rgba(47, 123, 255, .08)); color: #fff; margin-bottom: 10px; }
.w-card h3 { font: 600 1.1rem var(--font-d); }
.w-card p { font-size: .88rem; color: var(--muted); }
.why-cards .w-card:nth-child(even) { --d: .08s; transform: translateY(24px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }

/* =========================================================
   RESULTS
   ========================================================= */
.dash { border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, rgba(16, 26, 50, .8), rgba(8, 12, 24, .85)); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 120px -50px rgba(47, 123, 255, .6); }
.dash-bar { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .85rem; }
.dash-dots { display: flex; gap: 6px; } .dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: #233150; }
.dash-title { font-weight: 500; }
.dash-demo { margin-left: auto; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(245, 196, 81, .1); color: #f5c451; border: 1px solid rgba(245, 196, 81, .25); }
.dash-body { padding: clamp(16px, 2.4vw, 26px); display: grid; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); display: grid; gap: 4px; }
.kpi-k { font-size: .75rem; color: var(--muted); }
.kpi b { font: 600 clamp(1.4rem, 2.4vw, 1.9rem)/1.1 var(--font-d); letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: .75rem; color: var(--good); }
.charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.chart { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.chart-t { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.chart-line svg { width: 100%; height: 180px; }
.grid-lines path { stroke: rgba(140, 170, 255, .08); stroke-width: 1; }
.chart-line .line { stroke: var(--accent-2); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); filter: drop-shadow(0 0 6px rgba(47, 123, 255, .8)); }
.chart-line .area { opacity: 0; transition: opacity 1.2s .9s; }
.dash.is-in .line, html:not(.js) .chart-line .line { stroke-dashoffset: 0; }
.dash.is-in .area, html:not(.js) .chart-line .area { opacity: 1; }
.bars { height: 180px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: end; }
.bars span { height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 8px; text-align: center; }
.bars i { align-self: end; height: var(--h); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--sky), var(--accent) 40%, rgba(47, 123, 255, .25)); transform-origin: bottom; transform: scaleY(0); transition: transform 1.4s var(--ease); box-shadow: 0 0 20px -4px rgba(47, 123, 255, .7); }
.bars span:nth-child(2) i { transition-delay: .1s; } .bars span:nth-child(3) i { transition-delay: .2s; } .bars span:nth-child(4) i { transition-delay: .3s; } .bars span:nth-child(5) i { transition-delay: .4s; }
.dash.is-in .bars i, html:not(.js) .bars i { transform: none; }
.bars small { font-size: .7rem; color: var(--muted); }
.disclaimer { margin-top: 16px; text-align: center; font-size: .78rem; color: var(--muted-2); }

/* =========================================================
   PROCESS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 30px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: border-color .3s, transform .3s var(--ease); }
.step:hover { border-color: rgba(47, 123, 255, .4); transform: translateY(-4px); }
.step-n { font: 700 2.6rem/1 var(--font-d); letter-spacing: -.04em; background: linear-gradient(180deg, var(--sky), rgba(47, 123, 255, .1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font: 600 1.15rem var(--font-d); }
.step p { font-size: .9rem; color: var(--muted); }
.steps .step:nth-child(2) { --d: .1s; } .steps .step:nth-child(3) { --d: .2s; } .steps .step:nth-child(4) { --d: .3s; }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 190px) 0; text-align: center; border-block: 1px solid var(--line); }
.cta-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg), #071028 60%, var(--bg)); }
.cta-orb { position: absolute; left: 50%; top: 42%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(from 0deg, rgba(47, 123, 255, .0), rgba(47, 123, 255, .35), rgba(156, 192, 255, .1), rgba(47, 123, 255, .0) 60%); filter: blur(60px); animation: orb 14s linear infinite; }
@keyframes orb { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cta-inner { display: grid; gap: 26px; justify-items: center; max-width: 900px; }
.cta-inner .lead { max-width: 620px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-copy { display: grid; gap: 22px; justify-items: start; }
.lead-form { position: relative; padding: clamp(24px, 3.4vw, 40px); border-radius: 28px; background: linear-gradient(160deg, rgba(16, 26, 50, .8), rgba(8, 12, 24, .7)); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 18px; }
.lf-progress { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
html:not(.js) .lf-progress { display: none; }
.lf-bar { display: block; height: 100%; width: 33.33%; background: linear-gradient(90deg, var(--accent), var(--sky)); border-radius: inherit; transition: width .5s var(--ease); }
.lf-stepinfo { font-size: .8rem; color: var(--muted); }
.lf-step { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.js .lf-step:not(.is-active) { display: none; }
.js .lf-step.is-active { animation: panelIn .5s var(--ease); }
.lf-step legend { font: 600 1.3rem var(--font-d); margin-bottom: 8px; padding: 0; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 7px; font-size: .82rem; color: var(--muted); }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 8, 16, .6); color: var(--text); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239cc0ff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.fld select option { background: #0a1222; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 123, 255, .18); }
.fld.is-bad input, .fld.is-bad select { border-color: var(--bad); }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt-wide { grid-column: 1 / -1; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); font-size: .9rem; transition: border-color .2s, background .2s; }
.opt span::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 6px; border: 1.5px solid var(--muted-2); transition: background .2s, border-color .2s; }
.opt input:checked + span { border-color: var(--accent); background: rgba(47, 123, 255, .12); }
.opt input:checked + span::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--accent); }
.opt input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.lf-error { color: var(--bad); font-size: .85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lf-submit.is-sending { opacity: .7; cursor: progress; }
.lf-nav { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.js .lf-submit { display: none; }
.js .lead-form[data-step="3"] .lf-submit { display: inline-flex; }
.js .lead-form[data-step="3"] .lf-next { display: none; }
html:not(.js) .lf-next, html:not(.js) .lf-back { display: none; }
.lf-done { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 40px 10px; }
.lf-done-ico svg { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 2.6; box-shadow: var(--glow); }
.lead-form.is-done > :not(.lf-done) { display: none !important; }

.contact-list { display: grid; gap: 10px; width: 100%; max-width: 440px; padding: 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.contact-list li { display: flex; align-items: center; gap: 14px; min-width: 0; }
.contact-list svg { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: rgba(47, 123, 255, .14); color: var(--sky); }
.contact-list span { display: grid; gap: 1px; min-width: 0; overflow-wrap: anywhere; font-weight: 500; }
.contact-list small { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a:hover { color: var(--sky); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 80px 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(10, 20, 40, .4)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: grid; gap: 14px; justify-items: start; align-content: start; }
.footer-contact { display: grid; gap: 8px; font-style: normal; font-size: .9rem; color: var(--muted); }
.footer-contact > * { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer-contact svg { flex: none; width: 16px; height: 16px; color: var(--accent-2); }
.footer-contact a:hover { color: var(--text); }
.socials { display: flex; gap: 8px; margin-top: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.socials a:hover { color: #fff; border-color: var(--accent); background: rgba(47, 123, 255, .15); }
.socials svg { width: 18px; height: 18px; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: .9rem; }
.footer-col a { color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-h { font: 600 .78rem var(--font); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted-2); }

/* =========================================================
   PHOTOS
   ========================================================= */
.photo { position: relative; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--navy); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.photo img { display: block; width: 100%; height: auto; }
.photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); background: linear-gradient(180deg, transparent 60%, rgba(5, 7, 13, .35)); }
.photo-tag { position: absolute; left: 12px; bottom: 12px; z-index: 1; font-size: .66rem; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: rgba(5, 7, 13, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--muted); border: 1px solid var(--line-2); }
.ex-photo { margin-top: 10px; }
.why-photo { margin-top: 8px; width: 100%; }
.contact-photo { margin-top: 10px; width: 100%; max-width: 440px; }
.wa-visual { min-height: 600px; justify-items: end; }
.wa-photo { position: absolute; left: 0; top: 50%; width: 50%; aspect-ratio: 3 / 4; transform: translateY(-46%); z-index: 0; }
.wa-photo img { height: 100%; object-fit: cover; object-position: 26% 50%; }
.wa-phone { position: relative; z-index: 1; }
.wa-f1 { left: auto; right: -12px; top: 6%; }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.lf-consent { font-size: .78rem; line-height: 1.55; color: var(--muted-2); }
.js .lead-form:not([data-step="3"]) .lf-consent { display: none; }
.lf-consent a, .legal-doc a { color: var(--sky); text-decoration: underline; text-underline-offset: 2px; }
.legal { max-width: 820px; padding: 130px 0 90px; display: grid; gap: 28px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .85rem; color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.legal-tabs a:hover { color: var(--text); }
.legal-tabs a[aria-current="page"] { color: #fff; background: rgba(47, 123, 255, .16); border-color: rgba(47, 123, 255, .5); }
.legal-doc { display: grid; gap: 14px; justify-items: start; padding: clamp(24px, 4vw, 48px); border-radius: 26px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.legal-doc > * { max-width: 68ch; }
.legal-doc[lang="es"], html[lang="es"] .legal-doc[lang="en"] { display: none; }
html[lang="es"] .legal-doc[lang="es"] { display: grid; }
.legal-date { font-size: .85rem; color: var(--muted-2); }
.legal-doc .lead { color: var(--text); }
.legal-doc h2 { font: 600 1.2rem/1.3 var(--font-d); margin-top: 18px; }
.legal-doc p, .legal-doc li { color: var(--muted); line-height: 1.75; }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-doc ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.legal-doc table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .88rem; }
.legal-doc th, .legal-doc td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; min-width: 130px; }
.legal-doc th { color: var(--text); font-weight: 600; }
.legal-doc td { color: var(--muted); }
.legal-footer { padding: 0 0 30px; }
.legal-footer .footer-bottom { margin-top: 0; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--text); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav-links a:not(.btn) { padding: 8px 9px; font-size: .85rem; }
  .svc { grid-template-columns: 1fr; }
  .svc-tabs { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .svc-tabs::-webkit-scrollbar { display: none; }
  .svc-tab { width: auto; flex: none; border-color: var(--line); }
  .sys { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .sys-line { display: none; }
  .sys-dot { display: none; }
}
@media (max-width: 1020px) {
  .nav-links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 20px 24px;
    background: rgba(5, 7, 13, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 14px 10px; font-size: 1.05rem; color: var(--text); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta-mobile { display: inline-flex; margin-top: 16px; }
  .nav-toggle { display: grid; }
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero-visual { height: 560px; min-height: 0; }
  .problem-grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-panel { grid-template-columns: 1fr; }
  .wa-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-copy { position: static; }
  .wa-visual { min-height: 0; display: grid; gap: 22px; justify-items: center; }
  .wa-photo { position: relative; top: auto; transform: none; width: 100%; max-width: 560px; aspect-ratio: auto; }
  .wa-photo img { height: auto; }
  .wa-f1, .wa-f2 { display: none; }
  .ex-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .charts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(var(--container), 100% - 32px); }
  .nav-inner { width: calc(100% - 32px); height: 68px; }
  .nav-links { inset: 68px 0 auto; }
  .brand-mark { width: 32px; height: 28px; }
  .brand-name { font-size: 1.12rem; }
  .lang-btn { padding: 5px 8px; }
  .hero-visual { height: 440px; margin-inline: -16px; }
  .eyebrow { font-size: .66rem; letter-spacing: .1em; padding: 7px 12px; }
  .wa-f1, .wa-f2 { display: none; }
  .hero-visual { height: 400px; }
  .scroll-cue { display: none; }
  .eco-node { font-size: .68rem; padding: 6px 10px 6px 7px; gap: 6px; }
  .eco-node svg { width: 18px; height: 18px; padding: 3px; }
  .metric { min-width: 0; padding: 10px 12px; border-radius: 12px; }
  .metric-v { font-size: 1.15rem; }
  .m1 { top: 0; left: 16px; } .m2 { top: 0; right: 16px; } .m3, .m4 { display: none; }
  .hero-ctas .btn { width: 100%; }
  .problem-grid, .ind-grid, .why-cards, .steps, .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .p-card { min-height: 0; padding: 20px 18px; }
  .p-card p { font-size: .98rem; }
  .ind, .w-card, .step { padding: 20px 16px; }
  .why-cards .w-card:nth-child(even) { transform: none; }
  .sys { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .svc-viz { height: 320px; transform: scale(.86); margin: -20px 0; }
  .lf-row, .opt-grid { grid-template-columns: 1fr; }
  .ex-hub { height: 360px; }
  .hub-chips li { font-size: .68rem; padding: 6px 9px 6px 6px; }
  .hub-chips li { left: calc(50% + cos(var(--a)) * 30%); top: calc(50% + sin(var(--a)) * 42%); }
  .js .cmp-before { padding-right: 24px; }
  .js .cmp-after { position: relative; padding-left: 24px; clip-path: none; }
  .cmp-handle, .cmp-range, .compare-sec .js-only { display: none; }
  .cmp-side { min-height: 0; padding: 28px 24px; gap: 18px; }
  .cmp-side li { font-size: .95rem; }
  .problem-turn .line { display: none; }
  .kpi { padding: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 350px) {
  .problem-grid, .ind-grid, .why-cards, .steps, .kpis, .sys { grid-template-columns: 1fr; }
}

/* calmer motion where the OS asks for it: keep the site alive, drop intrusive movement only */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 90s; }
  .room { animation-duration: 40s; }
  .cta-orb, .ex-hub::before { animation: none; }
}
