:root {
  --bg: #070a1a;
  --bg-2: #0b1026;
  --card: rgba(18, 24, 56, .62);
  --card-solid: #11173a;
  --line: rgba(130, 150, 255, .16);
  --text: #e9edff;
  --muted: #9aa4cc;
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --grad: linear-gradient(90deg, var(--violet), var(--blue) 55%, var(--cyan));
  --radius: 16px;
  --head: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; color: var(--text); font: 400 16px/1.65 var(--body); overflow-x: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(139,92,246,.22), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(34,211,238,.12), transparent 60%),
    var(--bg);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(130,150,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130,150,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.nav.scrolled { background: rgba(7,10,26,.82); backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.mark { width: 58px; height: 35px; overflow: visible; }
.brand-text { font: 700 1.05rem var(--head); letter-spacing: -.01em; white-space: nowrap; }
.brand-text b { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { white-space: nowrap; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .15s; }
.links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 7px 11px; font: 600 .8rem var(--body); cursor: pointer; }
.lang:hover { border-color: var(--cyan); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  font: 600 .98rem var(--body); text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 30px rgba(59,130,246,.35); }
.btn-grad:hover { box-shadow: 0 12px 40px rgba(139,92,246,.45); }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(34,211,238,.5); }
.btn-sm { padding: 9px 16px; font-size: .88rem; border-radius: 10px; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* HERO */
.hero { padding: 140px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font-size: .85rem; font-weight: 500;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); font-weight: 800; margin: 22px 0 20px; }
.hero-sub { color: var(--muted); font-size: 1.12rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.countries { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.countries li { display: flex; align-items: center; gap: 8px; }
.flag { font-size: 1.15em; line-height: 1; }
img.flag { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.15); flex: none; }

.hero-visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.g1 { width: 300px; height: 300px; background: rgba(139,92,246,.45); top: 0; right: 10%; }
.g2 { width: 260px; height: 260px; background: rgba(34,211,238,.28); bottom: 0; left: 5%; }
.terminal {
  position: relative; width: 100%; max-width: 480px; border-radius: var(--radius);
  background: rgba(10,14,36,.85); border: 1px solid var(--line); backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2a3160; }
.term-bar span:nth-child(1) { background: #f87171; } .term-bar span:nth-child(2) { background: #fbbf24; } .term-bar span:nth-child(3) { background: #34d399; }
.term-bar em { margin-left: 10px; font: 400 .78rem var(--mono); color: var(--muted); font-style: normal; }
.terminal pre { margin: 0; padding: 22px 22px 26px; font: 400 .92rem/1.9 var(--mono); color: var(--text); white-space: pre-wrap; }
.c-mute { color: #5d6796; } .c-cyan { color: var(--cyan); } .c-ok { color: #34d399; } .c-vio { color: #a78bfa; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--cyan); vertical-align: -3px; margin-left: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: rgba(17,23,58,.9); border: 1px solid var(--line); backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4); animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font: 600 .9rem var(--head); }
.float-card small { color: var(--muted); font-size: .78rem; }
.fc-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(139,92,246,.18); font-size: 1.1rem; }
.fc1 { top: 4%; left: -4%; }
.fc2 { bottom: 2%; right: -2%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* SECTIONS */
.section { padding-top: 110px; }
.head { max-width: 680px; margin-bottom: 40px; }
.kicker { display: inline-block; font: 600 .78rem var(--body); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.08rem; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line); transition: transform .2s, border-color .2s, background .2s;
}
.svc:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.45); background: rgba(24,30,72,.75); }
.svc p { color: var(--muted); font-size: .96rem; }
.svc-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(139,92,246,.25), rgba(34,211,238,.18)); border: 1px solid rgba(139,92,246,.35);
}
.svc-icon svg { width: 24px; height: 24px; fill: none; stroke: #c4b5fd; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-cta { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; background: linear-gradient(135deg, rgba(139,92,246,.22), rgba(34,211,238,.12)); border-color: rgba(139,92,246,.4); }
.svc-cta .btn { margin-top: 12px; }

/* HARDWARE */
.hw {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: 48px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); overflow: hidden; position: relative;
}
.hw h2 { margin-bottom: 14px; }
.chips { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: .88rem; font-weight: 500; }
.route { position: relative; display: grid; gap: 14px; padding-left: 28px; }
.route::before { content: ""; position: absolute; left: 9px; top: 24px; bottom: 24px; width: 2px; background: var(--grad); border-radius: 2px; }
.route-node {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px;
  background: rgba(10,14,36,.7); border: 1px solid var(--line);
}
.route-node::before { content: ""; position: absolute; left: -25px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.route-node:first-child::before { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.route-node b { font: 600 .98rem var(--head); }
.route-line { display: none; }

/* PROCESS */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.steps p { color: var(--muted); font-size: .95rem; }
.step-n { display: block; font: 800 2rem var(--head); margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* PAYMENTS */
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pay-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.pay-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pay-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-card li { padding: 7px 13px; border-radius: 10px; background: rgba(10,14,36,.7); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }

/* CONTACT */
.contact {
  position: relative; overflow: hidden; text-align: center; padding: 72px 24px; border-radius: 28px;
  border: 1px solid rgba(139,92,246,.35);
  background: linear-gradient(135deg, rgba(139,92,246,.2), rgba(59,130,246,.12) 50%, rgba(34,211,238,.12));
  display: grid; justify-items: center; gap: 18px;
}
.contact .lead { max-width: 520px; }
.contact .btn { margin-top: 8px; }
.g3 { width: 420px; height: 420px; background: rgba(139,92,246,.35); top: -200px; left: 50%; transform: translateX(-50%); }

.footer { padding: 60px 0 36px; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 24px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .pulse, .caret { animation: none; }
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-grid, .hw { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; margin-top: 10px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hw { padding: 32px 24px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { background: rgba(7,10,26,.88); backdrop-filter: blur(14px); }
  .nav-actions .btn { display: none; }
  .links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; display: none; background: rgba(7,10,26,.97); border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .links a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .nav-actions { margin-left: auto; }
  .hero { padding-top: 110px; }
  .fc1 { left: 0; top: -4%; } .fc2 { right: 0; bottom: -4%; }
  .section { padding-top: 80px; }
}
@media (max-width: 600px) {
  .services, .steps, .pay-grid { grid-template-columns: 1fr; }
  .svc-cta { grid-column: auto; }
  .terminal pre { font-size: .8rem; padding: 18px; }
  .float-card { padding: 10px 12px; }
}

/* CONTACT ACTIONS */
.ct-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.btn-wa { background: #25d366; color: #05210f; box-shadow: 0 8px 30px rgba(37,211,102,.3); }
.btn-wa:hover { box-shadow: 0 12px 40px rgba(37,211,102,.45); }
.btn-wa svg { fill: currentColor; stroke: none; }
.ct-phone { color: var(--muted); font-size: .95rem; }
.ct-phone a { color: var(--text); text-decoration: none; font-weight: 600; }
