/* ══════════════════════════════════════════════════════
   ALTIVE v4 — NEXOR Layout · Altive Identity
   ══════════════════════════════════════════════════════ */

:root {
  --ink:    #00040e;
  --panel:  #050d1a;
  --surface:#071223;
  --line:   rgba(0,180,255,.13);
  --txt:    #ddeeff;
  --dim:    #667a94;
  --blue:   #00b4ff;
  --cyan:   #00d4ff;
  --green:  #00e5a0;
  --max:    1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--txt);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: #fff; }

body::after {
  content: "";
  position: fixed; inset: 0; z-index: 997; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  transition: opacity .7s ease, visibility .7s;
}
#loader.done { opacity: 0; visibility: hidden; }
.loader-logo { width: 160px; opacity: .9; animation: ld-pulse 1.4s ease-in-out infinite; }
@keyframes ld-pulse { 50% { opacity: .4; } }
.loader-bar { width: 200px; height: 2px; background: rgba(0,180,255,.15); border-radius: 99px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .2s; }
.loader-pct { font-family: 'JetBrains Mono'; font-size: .68rem; letter-spacing: .25em; color: var(--cyan); }

/* ── CURSOR ── */
@media (pointer:fine) {
  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 998;
    pointer-events: none; border-radius: 50%;
    transform: translate(-50%,-50%);
  }
  .cursor-dot  { width: 6px; height: 6px; background: var(--cyan); }
  .cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(0,180,255,.5); transition: width .25s, height .25s, border-color .25s; }
  body.hovering .cursor-ring { width: 56px; height: 56px; border-color: var(--cyan); }
}

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 10px var(--blue);
}

/* ── SIDE DOTS ── */
#dots {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 101; display: flex; flex-direction: column; gap: 18px;
}
#dots a { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--dim); display: block; position: relative; transition: background .3s, border-color .3s, transform .3s; text-decoration: none; }
#dots a span { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: 'JetBrains Mono'; font-size: .6rem; letter-spacing: .2em; color: var(--cyan); opacity: 0; transition: opacity .3s; white-space: nowrap; }
#dots a:hover span { opacity: 1; }
#dots a.on { background: var(--cyan); border-color: var(--cyan); transform: scale(1.35); }
@media (max-width:900px) { #dots { display: none; } }

/* ── THREE.JS CANVAS ── */
#bg3d { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── NAV ── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 5vw;
  backdrop-filter: blur(16px);
  background: rgba(0,4,14,.55);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.topbar.is-scrolled { background: rgba(0,4,14,.85); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo-img { height: 28px; width: auto; filter: brightness(1.1); }
.brand-copy { font-family: 'JetBrains Mono'; font-size: .57rem; letter-spacing: .22em; color: rgba(0,180,255,.5); border-left: 1px solid rgba(0,180,255,.2); padding-left: 14px; }
.brand-copy strong { color: rgba(0,180,255,.7); font-weight: 500; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--dim); text-decoration: none; font-size: .88rem; transition: color .25s; }
.nav-links a:hover { color: var(--txt); }
.nav-cta-btn {
  color: #fff !important; background: linear-gradient(120deg, var(--blue), #0066cc);
  padding: 10px 22px; border-radius: 10px; box-shadow: 0 0 22px rgba(0,180,255,.3);
  transition: box-shadow .25s !important; position: relative; overflow: hidden;
}
.nav-cta-btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); transition: left .6s; }
.nav-cta-btn:hover::after { left: 130%; }
.nav-cta-btn:hover { box-shadow: 0 0 40px rgba(0,180,255,.5) !important; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--txt); transition: transform .3s, opacity .3s; }

/* ── BUTTONS ── */
.btn-prime {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-family: 'Space Grotesk'; font-weight: 600; font-size: .9rem;
  color: #fff; text-decoration: none;
  background: linear-gradient(90deg, #0080ff 0%, var(--cyan) 50%, #0080ff 100%);
  background-size: 300% 100%;
  animation: btn-shimmer 4s linear infinite;
  box-shadow: 0 0 26px rgba(0,180,255,.35);
  border: none; cursor: pointer; position: relative; overflow: hidden;
  transition: box-shadow .25s;
}
@keyframes btn-shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
.btn-prime:hover { box-shadow: 0 0 48px rgba(0,180,255,.6); }
.btn-prime::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn-prime:hover::after { left: 130%; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px;
  font-family: 'Space Grotesk'; font-weight: 500; font-size: .9rem;
  color: var(--txt); text-decoration: none;
  background: rgba(0,180,255,.06); border: 1px solid var(--line);
  transition: border-color .3s, background .3s;
}
.btn-ghost:hover { border-color: rgba(0,180,255,.4); background: rgba(0,180,255,.1); }

/* ── EYEBROW ── */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: 'JetBrains Mono'; font-size: .7rem; letter-spacing: .26em; color: var(--cyan); text-transform: uppercase; margin-bottom: 20px; }
.eyebrow-line { display: inline-block; width: 32px; height: 1px; background: var(--cyan); }

/* ── HERO ── */
.hero {
  position: relative; z-index: 2; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start;
  padding: 120px 5vw 80px;
}
.hero-left { display: flex; flex-direction: column; align-items: flex-start; max-width: 780px; }

.hero-tagline {
  font-family: 'Unbounded'; font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08; letter-spacing: -.02em;
  margin: 4px 0 28px; color: var(--txt);
}
.hero-tagline .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-tagline .w i { display: inline-block; font-style: normal; transform: translateY(110%); animation: word-up .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes word-up { to { transform: none; } }
.hero-tagline .grad-word i {
  background: linear-gradient(95deg, var(--blue), var(--cyan), var(--blue));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: word-up .9s cubic-bezier(.2,.8,.2,1) forwards, shimmer 5s linear infinite;
  animation-delay: var(--d, 0s), .9s;
}
@keyframes shimmer { to { background-position: -220% 0; } }

.rise { opacity: 0; transform: translateY(26px); animation: rise-in .9s cubic-bezier(.2,.8,.2,1) forwards; }
.d2 { animation-delay: .4s; } .d3 { animation-delay: .58s; }
@keyframes rise-in { to { opacity: 1; transform: none; } }

.hero-desc { max-width: 520px; color: var(--dim); font-size: 1.02rem; line-height: 1.78; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-specs {
  display: flex; align-items: center; gap: 14px; margin-top: 28px;
  padding: 10px 18px; border: 1px solid rgba(0,180,255,.15); border-left: 2px solid rgba(0,180,255,.55);
  background: rgba(0,8,22,.55); backdrop-filter: blur(10px); font-family: 'JetBrains Mono'; max-width: 440px;
}
.hspec-item { display: flex; flex-direction: column; gap: 1px; }
.hspec-key  { font-size: .48rem; letter-spacing: .22em; color: rgba(0,180,255,.5); text-transform: uppercase; }
.hspec-val  { font-size: .72rem; color: rgba(210,235,255,.88); }
.hspec-sep  { color: rgba(0,180,255,.2); font-size: .9rem; align-self: center; }

/* hero stats row */
.hero-stats {
  display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap;
}
.hstat {
  display: flex; flex-direction: column; gap: 4px;
  border-left: 2px solid rgba(0,180,255,.35); padding-left: 16px;
}
.hstat-val {
  font-family: 'Unbounded'; font-weight: 800; font-size: 1.6rem;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  text-shadow: none;
}
.hstat-lbl {
  font-family: 'JetBrains Mono'; font-size: .58rem;
  letter-spacing: .18em; color: var(--dim); text-transform: uppercase;
}

.scroll-hint { position: absolute; bottom: 36px; left: 5vw; font-family: 'JetBrains Mono'; font-size: .65rem; letter-spacing: .22em; color: var(--dim); display: flex; align-items: center; gap: 14px; }
.scroll-hint::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--cyan), transparent); animation: drop-line 1.8s ease-in-out infinite; }
@keyframes drop-line { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── HUD ── */
.hero-right { display: flex; justify-content: center; align-items: center; padding-left: 40px; }
.hud-panel { position: relative; width: min(400px, 82vw); height: min(400px, 82vw); filter: drop-shadow(0 0 40px rgba(0,180,255,.2)); }
.hud-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(0,180,255,.25); }
.hud-ring-1 { width: 100%; height: 100%; animation: hud-rot 22s linear infinite; }
.hud-ring-2 { width: 78%; height: 78%; animation: hud-rot 16s linear infinite reverse; border-style: dashed; }
.hud-ring-3 { width: 58%; height: 58%; animation: hud-rot 30s linear infinite; }
@keyframes hud-rot { to { transform: translate(-50%,-50%) rotate(360deg); } }
.hud-pulse-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(0,180,255,.3); pointer-events: none; }
.hud-pulse-a { width: 92%; height: 92%; animation: hud-pulse 3s ease-out infinite; }
.hud-pulse-b { width: 92%; height: 92%; animation: hud-pulse 3s ease-out infinite .8s; }
@keyframes hud-pulse { 0% { transform: translate(-50%,-50%) scale(1); opacity: .6; } 100% { transform: translate(-50%,-50%) scale(1.35); opacity: 0; } }
.hud-radar { position: absolute; top: 50%; left: 50%; width: 56%; height: 56%; transform: translate(-50%,-50%); border-radius: 50%; background: conic-gradient(from 0deg, transparent 0%, rgba(0,180,255,.12) 15%, transparent 20%); animation: hud-rot 4s linear infinite; }
.hud-center { position: absolute; top: 50%; left: 50%; width: 36%; height: 36%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(0,180,255,.35); background: radial-gradient(circle, rgba(0,20,40,.95), rgba(0,4,14,.95)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 40px rgba(0,180,255,.25), inset 0 0 30px rgba(0,100,200,.2); }
.hud-center img { width: 72%; filter: invert(1) brightness(1.4) drop-shadow(0 0 16px rgba(0,180,255,.9)) drop-shadow(0 0 36px rgba(0,180,255,.5)); }
.hud-node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 3px; font-family: 'Orbitron'; }
.hud-node-1 { top: 4%; left: 50%; transform: translateX(-50%); }
.hud-node-2 { right: 2%; top: 50%; transform: translateY(-50%); }
.hud-node-3 { bottom: 4%; left: 50%; transform: translateX(-50%); }
.hud-node-4 { left: 2%; top: 50%; transform: translateY(-50%); }
.hud-node-val { font-size: clamp(.85rem,2vw,1.15rem); font-weight: 700; color: var(--cyan); line-height: 1; text-shadow: 0 0 12px rgba(0,180,255,.7); }
.hud-node-val sup { font-size: .55em; color: rgba(0,212,255,.7); }
.hud-node-label { font-size: .46rem; letter-spacing: .18em; color: rgba(0,180,255,.55); text-transform: uppercase; }

/* ── MARQUEE ── */
.marquee { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; background: rgba(0,4,14,.6); }
.marquee-track { display: flex; width: max-content; animation: marquee-go 38s linear infinite; }
.marquee-track span { font-family: 'JetBrains Mono'; font-size: .7rem; letter-spacing: .2em; color: var(--dim); padding: 0 28px; white-space: nowrap; border-right: 1px solid var(--line); transition: color .3s; }
.marquee-track span:hover { color: var(--cyan); }
@keyframes marquee-go { to { transform: translateX(-50%); } }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }

/* ── SECTIONS ── */
.wrap { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 100px 5vw; }
.sec-head { max-width: 700px; margin-bottom: 60px; }
.sec-title { font-family: 'Unbounded'; font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.18; margin: 16px 0 18px; text-shadow: 0 0 30px rgba(0,180,255,.2); }
.sec-sub { color: var(--dim); line-height: 1.75; font-size: .98rem; }
.lead { font-size: 1.05rem; line-height: 1.75; margin-bottom: 14px; }
.body-text { color: var(--dim); line-height: 1.75; margin-bottom: 0; }

/* ── ABOUT ── */
.about-layout { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }
.stat-block { border-left: 2px solid rgba(0,180,255,.35); padding-left: 18px; transition: border-color .3s; }
.stat-block:hover { border-color: var(--cyan); }
.stat-n { font-family: 'Unbounded'; font-weight: 800; font-size: 1.8rem; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-n em { font-style: normal; font-size: .65em; }
.stat-l { font-family: 'JetBrains Mono'; font-size: .6rem; letter-spacing: .18em; color: var(--dim); margin-top: 6px; text-transform: uppercase; }

/* ── TERMINAL ── */
.about-terminal { background: rgba(3,9,20,.95); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-family: 'JetBrains Mono'; font-size: .78rem; }
.terminal-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(0,180,255,.04); border-bottom: 1px solid var(--line); }
.terminal-dot { width: 11px; height: 11px; border-radius: 50%; }
.t-red { background: #ff5f57; } .t-yellow { background: #febc2e; } .t-green { background: #28c840; }
.terminal-title { font-size: .65rem; letter-spacing: .14em; color: rgba(0,180,255,.45); margin-left: 6px; }
.terminal-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.t-line { display: flex; gap: 8px; }
.t-prompt { color: var(--cyan); flex-shrink: 0; }
.t-cmd { color: var(--txt); }
.t-out { color: rgba(220,240,255,.5); padding-left: 16px; }
.t-out.info { color: rgba(0,180,255,.6); }
.t-out.success { color: var(--green); }
.t-cursor { display: inline-block; width: 8px; height: 14px; background: var(--cyan); margin-left: 2px; animation: blink .9s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.svc-card {
  position: relative; isolation: isolate;
  background: linear-gradient(160deg, rgba(5,13,26,.92), rgba(5,13,26,.62));
  border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 24px; overflow: hidden; backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  transition: border-color .3s, transform .4s cubic-bezier(.2,.8,.2,1);
}
.svc-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(0,180,255,.14), transparent 44%); opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 0; }
.svc-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ang), transparent 0 72%, var(--cyan) 86%, transparent 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover::after  { opacity: 1; animation: spin-border 2.4s linear infinite; }
@keyframes spin-border { to { --ang: 360deg; } }
.svc-card:hover { border-color: rgba(0,180,255,.35); transform: translateY(-6px); }

.svc-head-row { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.svc-num { font-family: 'JetBrains Mono'; font-size: .54rem; font-weight: 700; letter-spacing: .25em; color: rgba(0,180,255,.4); }
.svc-lang { font-family: 'JetBrains Mono'; font-size: .58rem; color: #a78bfa; background: rgba(167,139,250,.1); border: 1px solid rgba(167,139,250,.25); padding: 2px 8px; border-radius: 4px; }
.svc-badge { margin-left: auto; display: flex; align-items: center; gap: 5px; font-family: 'JetBrains Mono'; font-size: .52rem; letter-spacing: .18em; color: var(--green); }
.svc-badge i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 1.6s ease-in-out infinite; }
.svc-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(0,180,255,.1); border: 1px solid rgba(0,180,255,.25); margin-bottom: 18px; position: relative; z-index: 1; transition: transform .4s, box-shadow .3s; }
.svc-icon svg { width: 20px; height: 20px; stroke: var(--cyan); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-card:hover .svc-icon { transform: translateZ(28px) scale(1.1); box-shadow: 0 0 22px rgba(0,180,255,.3); }
.svc-title { font-family: 'Space Grotesk'; font-weight: 600; font-size: 1.02rem; margin-bottom: 10px; position: relative; z-index: 1; transition: transform .4s; }
.svc-card:hover .svc-title { transform: translateZ(16px); }
.svc-desc { color: var(--dim); font-size: .86rem; line-height: 1.65; position: relative; z-index: 1; margin-bottom: 18px; }
.svc-link { font-family: 'JetBrains Mono'; font-size: .63rem; letter-spacing: .18em; color: var(--cyan); text-decoration: none; position: relative; z-index: 1; transition: letter-spacing .3s; }
.svc-link:hover { letter-spacing: .28em; }

/* ── PROCESS ── */
.proc { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; backdrop-filter: blur(8px); }
.proc-step { padding: 36px 28px; border-right: 1px solid var(--line); background: rgba(5,13,26,.6); transition: background .3s; position: relative; }
.proc-step:last-child { border-right: none; }
.proc-step:hover { background: rgba(0,180,255,.05); }
.proc-step::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .5s ease; }
.proc-step:hover::after { width: 100%; }
.proc-num { font-family: 'JetBrains Mono'; font-size: .65rem; letter-spacing: .22em; color: var(--cyan); margin-bottom: 16px; display: block; text-shadow: 0 0 14px rgba(0,180,255,.6); }
.proc-step h3 { font-family: 'Space Grotesk'; font-weight: 600; font-size: 1rem; margin-bottom: 10px; }
.proc-step p { color: var(--dim); font-size: .85rem; line-height: 1.65; }

/* ── DIFERENCIAIS ── */
.why-layout { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.why-list { display: flex; flex-direction: column; margin-top: 28px; }
.why-item { display: flex; gap: 20px; padding: 20px 16px; border-bottom: 1px solid var(--line); transition: background .3s; }
.why-item:first-child { border-top: 1px solid var(--line); }
.why-item:hover { background: rgba(0,180,255,.04); }
.why-idx { font-family: 'Orbitron'; font-size: .7rem; font-weight: 700; color: var(--cyan); flex-shrink: 0; padding-top: 2px; text-shadow: 0 0 14px rgba(0,180,255,.6); }
.why-content h4 { font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.why-content p { color: var(--dim); font-size: .87rem; line-height: 1.65; }

.spec-sheet { background: rgba(3,9,20,.95); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-family: 'JetBrains Mono'; }
.spec-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: rgba(0,180,255,.04); border-bottom: 1px solid var(--line); font-size: .62rem; letter-spacing: .16em; }
.spec-header-label { color: rgba(0,180,255,.5); }
.spec-badge { color: var(--green); font-size: .58rem; }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px; border-bottom: 1px dashed rgba(0,180,255,.08); font-size: .72rem; }
.spec-row:last-child { border-bottom: none; }
.spec-key { color: var(--dim); }
.spec-val { color: var(--txt); }
.spec-val.green { color: var(--green); }
.spec-val.cyan { color: var(--cyan); }

/* ── PLANS ── */
.plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; perspective: 1200px; }
.plan-card {
  background: rgba(5,13,26,.85); border: 1px solid var(--line); border-radius: 20px;
  padding: 36px 28px; position: relative; transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .4s;
  backdrop-filter: blur(8px); overflow: hidden;
}
.plan-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), transparent); box-shadow: 0 0 14px var(--blue); }
.plan-card:hover { border-color: rgba(0,180,255,.4); box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 40px rgba(0,180,255,.12); }
.plan-card.featured {
  border-color: rgba(0,180,255,.55); background: linear-gradient(160deg, #001e52 0%, #001230 55%, #060e1f 100%);
  transform: translateY(-16px) scale(1.03);
  box-shadow: 0 0 0 1px rgba(0,180,255,.35), 0 14px 60px rgba(0,180,255,.28), 0 0 110px rgba(0,120,240,.18);
  animation: featured-breathe 3.5s ease-in-out infinite;
}
.plan-card.featured:hover { transform: translateY(-24px) scale(1.03); }
@keyframes featured-breathe {
  0%,100% { box-shadow: 0 0 0 1px rgba(0,180,255,.4), 0 14px 60px rgba(0,180,255,.3), 0 0 110px rgba(0,120,240,.18); }
  50%      { box-shadow: 0 0 0 1px rgba(0,212,255,.6), 0 18px 80px rgba(0,200,255,.42), 0 0 160px rgba(0,160,255,.3); }
}
.plan-scan-line { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 14px var(--cyan); animation: plan-scan 3s ease-in-out infinite; pointer-events: none; z-index: 2; }
@keyframes plan-scan { 0% { top: 0; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.plan-badge-featured { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-family: 'JetBrains Mono'; font-size: .6rem; letter-spacing: .2em; padding: 5px 14px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--cyan)); color: #fff; white-space: nowrap; }
.plan-icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(0,180,255,.1); border: 1px solid rgba(0,180,255,.25); margin-bottom: 18px; }
.plan-icon svg { width: 20px; height: 20px; stroke: var(--cyan); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.plan-idx { font-family: 'JetBrains Mono'; font-size: .56rem; letter-spacing: .22em; color: rgba(0,180,255,.4); margin-bottom: 6px; }
.plan-name { font-family: 'Unbounded'; font-weight: 700; font-size: 1.2rem; margin-bottom: 4px; }
.plan-tech-label { font-family: 'JetBrains Mono'; font-size: .5rem; letter-spacing: .18em; color: rgba(0,180,255,.45); text-transform: uppercase; margin-bottom: 14px; }
.plan-desc { color: var(--dim); font-size: .87rem; line-height: 1.65; margin-bottom: 18px; }
.plan-features { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.plan-features li { font-size: .83rem; color: rgba(220,240,255,.7); padding-left: 18px; position: relative; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-size: .7rem; }
.plan-link { display: inline-flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono'; font-size: .63rem; letter-spacing: .16em; color: var(--cyan); text-decoration: none; transition: gap .3s; }
.plan-link:hover { gap: 10px; }
.plan-link svg { width: 14px; height: 14px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; }

/* ── CTA ── */
.cta-box { border: 1px solid var(--line); border-radius: 24px; padding: 80px 5vw; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(0,180,255,.18), transparent 60%), rgba(5,13,26,.8); backdrop-filter: blur(8px); overflow: hidden; }
.cta-box .sec-title { margin: 14px 0 18px; }
.cta-box p { color: var(--dim); max-width: 540px; margin: 0 auto 36px; line-height: 1.75; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.cta-phone { font-family: 'JetBrains Mono'; font-size: .75rem; letter-spacing: .2em; color: rgba(0,180,255,.4); }

/* ── SOCIAL FLOAT ── */
.social-float { position: fixed; right: 20px; bottom: 24px; display: flex; flex-direction: column; gap: 10px; z-index: 120; }
.float-btn { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,.4); transition: transform .3s, box-shadow .3s; text-decoration: none; }
.float-btn:hover { transform: scale(1.12) translateY(-2px); }
.float-btn svg { width: 22px; height: 22px; }
.whatsapp-float { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 4px 20px rgba(37,211,102,.35); }
.instagram-float { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 4px 20px rgba(220,39,67,.35); }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--line); background: rgba(0,4,14,.8); position: relative; z-index: 2; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 56px 5vw 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo-img { height: 24px; width: auto; margin-bottom: 16px; filter: brightness(1.1); }
.footer-brand p { color: var(--dim); font-size: .85rem; line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-social-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--dim); text-decoration: none; transition: border-color .3s, color .3s; }
.footer-social-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-social-btn svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: 'JetBrains Mono'; font-size: .63rem; letter-spacing: .2em; color: rgba(0,180,255,.5); text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--dim); text-decoration: none; font-size: .85rem; transition: color .25s; }
.footer-col ul a:hover { color: var(--txt); }
.footer-mono { font-family: 'JetBrains Mono'; font-size: .62rem; letter-spacing: .12em; color: var(--dim); margin-top: 18px; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── UTILS ── */
.text-center { text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width:1100px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:900px) {
  .hero { padding-top: 110px; }
  .hero-specs { max-width: 100%; }
  .scroll-hint { display: none; }
  .about-layout { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .proc { grid-template-columns: 1fr 1fr; }
  .why-layout { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; perspective: none; }
  .plan-card.featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width:760px) {
  .nav-links a:not(.nav-cta-btn) { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.is-open { position: fixed; inset: 0; top: 62px; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,4,14,.97); z-index: 99; display: flex; gap: 28px; }
  .nav-links.is-open a { display: block; font-size: 1.1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .proc { grid-template-columns: 1fr; }
  .proc-step { border-right: none; border-bottom: 1px solid var(--line); }
  .proc-step:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .rise { opacity: 1; transform: none; }
  .hero-tagline .w i { transform: none; }
  #loader { display: none; }
}
