/* Asux Corp: brand stylesheet */
:root {
  --bg: #05070f;
  --bg-2: #0a0f1d;
  --panel: rgba(18, 26, 48, .55);
  --panel-solid: #0d1324;
  --line: rgba(130, 160, 255, .14);
  --line-2: rgba(130, 160, 255, .26);
  --text: #e8edff;
  --muted: #94a0c2;
  --dim: #5f6a8a;
  --cyan: #22e4ff;
  --blue: #5b8cff;
  --violet: #a855f7;
  --pink: #f0abfc;
  --green: #34d399;
  --grad: linear-gradient(110deg, var(--cyan), var(--blue) 50%, var(--violet));
  --radius: 18px;
  --wrap: 1200px;
  --f-display: 'Orbitron', 'Segoe UI', sans-serif;
  --f-head: 'Space Grotesk', 'Segoe UI', sans-serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
::selection { background: rgba(34, 228, 255, .3); }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--grad); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }

/* Background grid that sits behind every page */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(91, 140, 255, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(168, 85, 247, .12), transparent 60%),
    linear-gradient(rgba(130, 160, 255, .045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(130, 160, 255, .045) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--bg);
  mask-image: linear-gradient(#000 0%, #000 60%, rgba(0,0,0,.4) 100%);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 .95rem/1 var(--f-head); letter-spacing: .01em; color: #04101a;
  background: var(--grad); background-size: 200% 100%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 10px 40px -10px rgba(34, 228, 255, .55);
  transition: transform .25s, box-shadow .25s, background-position .6s;
}
.btn:hover { color: #04101a; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 16px 50px -10px rgba(168, 85, 247, .6); }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-ghost:hover { color: #fff; background: rgba(34, 228, 255, .08); box-shadow: 0 0 0 1px var(--cyan) inset, 0 10px 30px -12px rgba(34,228,255,.5); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
}
/* blur lives on a pseudo-element: backdrop-filter on .topbar itself would trap the fixed mobile menu */
.topbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgba(5, 7, 15, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.topbar.scrolled::before, body.menu-open .topbar::before { opacity: 1; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 10px; filter: drop-shadow(0 0 12px rgba(34,228,255,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-display); }
.brand-text b { font-size: 1.28rem; font-weight: 800; letter-spacing: .2em; }
.brand-text small { font-size: .62rem; font-weight: 600; letter-spacing: .62em; color: var(--cyan); margin-top: 5px; }
.brand:hover { color: #fff; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn) { color: var(--muted); padding: 8px 14px; border-radius: 999px; font: 500 .93rem/1 var(--f-head); position: relative; transition: color .2s; }
.nav > a:not(.btn):hover, .nav > a.on:not(.btn) { color: #fff; }
.nav > a.on:not(.btn)::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); }
.nav .btn { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.03); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, top .3s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 24px;
    background: rgba(5, 7, 15, .97); backdrop-filter: blur(16px);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { padding: 16px 8px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a.on:not(.btn)::after { display: none; }
  .nav .btn { margin: 18px 0 0; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-weight: 700; margin-bottom: 24px; }
.hero h1 .line { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Typewriter line: one phrase at a time, fixed height so nothing below jumps */
.typeline { white-space: nowrap; min-height: 1.12em; }
.typer { padding-bottom: .08em; }
.hero .caret { width: .07em; min-width: 3px; height: .9em; vertical-align: -.06em; margin-left: .06em; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero .lead { margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--muted); font-size: .85rem;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 600px; width: 100%; justify-self: end; }
.hero-visual canvas { width: 100%; height: 100%; display: block; }
.hero-visual::before {
  content: ''; position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 140, 255, .28), rgba(168, 85, 247, .08) 55%, transparent 70%);
  filter: blur(30px); z-index: -1; animation: breathe 6s ease-in-out infinite;
}
.orbit { position: absolute; inset: 2%; border: 1px dashed rgba(34, 228, 255, .16); border-radius: 50%; animation: spin 60s linear infinite; pointer-events: none; }
.orbit.o2 { inset: -4%; border-style: solid; border-color: rgba(168, 85, 247, .1); animation-duration: 90s; animation-direction: reverse; }
.orbit::after { content: ''; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.orbit.o2::after { background: var(--violet); box-shadow: 0 0 14px var(--violet); left: auto; right: -4px; top: 30%; }
.geo-tag {
  position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  background: rgba(8, 12, 24, .8); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
  font: 600 .72rem/1.2 var(--f-display); letter-spacing: .12em; color: #fff; white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.geo-tag small { display: block; font: 500 .72rem/1.3 var(--f-body); letter-spacing: 0; color: var(--muted); }
.geo-tag .pin { width: 10px; height: 10px; border-radius: 50%; flex: none; }
/* positioned next to their globe markers by globe.js */
.geo-tag { left: 0; top: 0; opacity: 0; pointer-events: none; transition: opacity .3s; }
.geo-tag.in .pin { background: #ff9f43; box-shadow: 0 0 12px #ff9f43; }
.geo-tag.us { animation-delay: -2.5s; }
.geo-tag.us .pin { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.hero-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 45%; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(34, 228, 255, .22) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(90deg, rgba(34, 228, 255, .22) 1px, transparent 1px) 0 0 / 80px 80px;
  transform: perspective(500px) rotateX(70deg);
  transform-origin: bottom;
  mask-image: linear-gradient(transparent, #000 70%);
  -webkit-mask-image: linear-gradient(transparent, #000 70%);
  animation: floor 3s linear infinite;
  opacity: .5;
}
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-hint::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s infinite; }

@media (max-width: 960px) {
  .hero { padding-top: 110px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 380px; margin-top: 10px; }
  .scroll-hint { display: none; }
}
@media (max-width: 520px) {
  .geo-tag { font-size: .62rem; padding: 6px 10px; }
  .geo-tag small { font-size: .66rem; }
  .hero-badges { margin-top: 30px; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); backdrop-filter: blur(10px); overflow: hidden; }
.stat { padding: 30px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--f-display); margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; 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; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font: 600 1.05rem/1 var(--f-head); color: var(--dim); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: '✦'; color: rgba(34, 228, 255, .5); font-size: .7rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .35s, border-color .35s;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(34, 228, 255, .13), transparent 45%);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 22px; }
.card p { color: var(--muted); margin-bottom: 18px; }
.card ul { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.card li { font-size: .8rem; color: var(--text); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.card .more { display: inline-flex; gap: 6px; margin-top: 14px; font: 600 .9rem var(--f-head); }
.card .num { position: absolute; top: 26px; right: 28px; font: 700 .8rem var(--f-display); color: var(--dim); letter-spacing: .1em; }
.icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(34, 228, 255, .14), rgba(168, 85, 247, .14));
  border: 1px solid var(--line-2); color: var(--cyan);
  box-shadow: 0 0 30px -8px rgba(34, 228, 255, .45) inset;
}
.icon svg { width: 28px; height: 28px; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 44px; } .split.rev > :first-child { order: 0; } }

.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); }
.ticks li b { color: var(--text); font-weight: 600; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(34, 228, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322e4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid rgba(34, 228, 255, .35);
}

/* ---------- AI console mockup ---------- */
.console {
  position: relative; border-radius: 22px; padding: 1px; background: linear-gradient(140deg, rgba(34,228,255,.6), rgba(91,140,255,.15) 40%, rgba(168,85,247,.6));
  box-shadow: 0 40px 100px -30px rgba(91, 140, 255, .5);
}
.console-in { border-radius: 21px; background: #070b17; overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 .8rem var(--f-head); color: var(--muted); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3350; }
.console-bar i:first-child { background: #ff5f57; } .console-bar i:nth-child(2) { background: #febc2e; } .console-bar i:nth-child(3) { background: #28c840; }
.console-bar span { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.console-bar span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 2s infinite; }
.console-body { padding: 22px; min-height: 360px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 16px; font-size: .92rem; line-height: 1.55; opacity: 0; transform: translateY(8px); transition: .4s; }
.msg.show { opacity: 1; transform: none; }
.msg.user { align-self: flex-end; background: linear-gradient(135deg, #1b5cff, #7c3aed); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: #111a30; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.bot b { color: var(--cyan); font-weight: 600; }
.caret { display: inline-block; width: 8px; height: 1em; vertical-align: -2px; background: var(--cyan); margin-left: 2px; animation: blink 1s steps(1) infinite; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dots 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }

/* ---------- Gov panel ---------- */
.gov {
  position: relative; border-radius: 28px; padding: 64px; overflow: hidden;
  background: linear-gradient(160deg, #0b1430, #070b18 60%);
  border: 1px solid var(--line-2);
}
.gov::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(34, 228, 255, .04) 0 1px, transparent 1px 4px);
}
.gov::after {
  content: ''; position: absolute; left: 0; right: 0; height: 120px; top: -120px; pointer-events: none;
  background: linear-gradient(transparent, rgba(34, 228, 255, .08), transparent);
  animation: scan 6s linear infinite;
}
.gov-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.gov-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(5, 8, 18, .6); }
.tile b { display: block; font: 600 1rem var(--f-head); margin-bottom: 4px; }
.tile span { color: var(--muted); font-size: .86rem; line-height: 1.5; display: block; }
.tile .t-ic { color: var(--cyan); margin-bottom: 10px; display: block; }
.tile .t-ic svg { width: 26px; height: 26px; }
@media (max-width: 960px) { .gov { padding: 40px 24px; } .gov-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .gov-tiles { grid-template-columns: 1fr; } }

/* ---------- Partnership bridge ---------- */
.bridge { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 0; margin-bottom: 56px; }
.node {
  position: relative; text-align: center; padding: 34px 22px; border-radius: 22px;
  border: 1px solid var(--line-2); background: var(--panel); backdrop-filter: blur(8px);
}
.node .flag { font: 700 .72rem var(--f-display); letter-spacing: .25em; color: var(--muted); }
.node h3 { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: .05em; margin: 12px 0 4px; }
.node p { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.clock { font: 700 2rem/1 var(--f-display); letter-spacing: .04em; }
.clock small { display: block; margin-top: 8px; font: 500 .78rem var(--f-body); color: var(--muted); letter-spacing: 0; }
.node.in { box-shadow: 0 0 60px -20px rgba(255, 159, 67, .5); }
.node.in .clock { color: #ffb36b; }
.node.us { box-shadow: 0 0 60px -20px rgba(34, 228, 255, .5); }
.node.us .clock { color: var(--cyan); }
.link-beam { position: relative; height: 120px; }
.link-beam svg { width: 100%; height: 100%; overflow: visible; }
.link-beam .beam-path { stroke-dasharray: 6 10; animation: dash 1.2s linear infinite; }
.link-beam .beam-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 8px 16px; border-radius: 999px; background: #070b17; border: 1px solid var(--line-2); font: 600 .72rem var(--f-display); letter-spacing: .18em; white-space: nowrap; }
@media (max-width: 860px) {
  .bridge { grid-template-columns: 1fr; }
  .link-beam { height: 90px; }
  .link-beam svg { transform: rotate(90deg) scale(.45); }
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 27px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  font: 700 .95rem var(--f-display); color: #fff; background: #070b17; border: 1px solid var(--line-2);
  box-shadow: 0 0 0 6px var(--bg), 0 0 30px -6px rgba(34, 228, 255, .6);
  position: relative;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; text-align: left; } .steps::before { display: none; } .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: left; } .step::before { margin: 0; grid-row: span 2; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 170px 0 80px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 900px; }
.page-hero .lead { font-size: 1.2rem; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.crumbs { font-size: .85rem; color: var(--dim); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }

/* ---------- Service detail ---------- */
.svc { display: grid; grid-template-columns: 340px 1fr; gap: 60px; padding: 80px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:last-child { border-bottom: 0; }
.svc-side { position: sticky; top: 110px; align-self: start; }
.svc-side .icon { margin-bottom: 22px; }
.svc-side h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.svc-side p { color: var(--muted); }
.svc-body .cards { grid-template-columns: 1fr 1fr; }
.svc-body .card { padding: 26px; }
.svc-body .card h3 { margin-top: 0; font-size: 1.1rem; }
.svc-body .card p { margin: 0; font-size: .93rem; }
.stack { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.stack b { font: 600 .72rem var(--f-display); letter-spacing: .18em; color: var(--dim); margin-right: 6px; }
.stack span { font-size: .82rem; padding: 6px 12px; border-radius: 8px; background: rgba(91, 140, 255, .08); border: 1px solid var(--line); }
@media (max-width: 960px) { .svc { grid-template-columns: 1fr; gap: 30px; padding: 60px 0; } .svc-side { position: static; } }
@media (max-width: 640px) { .svc-body .cards { grid-template-columns: 1fr; } }

.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.jump a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font: 500 .9rem var(--f-head); background: rgba(255,255,255,.02); transition: .2s; }
.jump a:hover { border-color: var(--cyan); background: rgba(34, 228, 255, .08); }

/* ---------- About ---------- */
.ceo { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.portrait { position: relative; border-radius: 26px; padding: 1px; background: linear-gradient(150deg, var(--cyan), rgba(91,140,255,.2) 40%, var(--violet)); }
.portrait-in { position: relative; border-radius: 25px; overflow: hidden; background: #000; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: contrast(1.05); }
.portrait-in::after {
  content: ''; position: absolute; left: 0; right: 0; height: 30%; top: -30%;
  background: linear-gradient(transparent, rgba(34, 228, 255, .18), transparent);
  animation: scanImg 5s ease-in-out infinite;
}
.portrait figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; padding: 14px 18px; border-radius: 14px;
  background: rgba(5, 7, 15, .75); backdrop-filter: blur(10px); border: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.portrait figcaption b { font: 700 1rem var(--f-display); letter-spacing: .06em; }
.portrait figcaption span { font: 600 .68rem var(--f-display); letter-spacing: .2em; color: var(--cyan); }
.corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--cyan); z-index: 2; }
.corner.tl { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.corner.br { bottom: -8px; right: -8px; border-left: 0; border-top: 0; border-color: var(--violet); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags span { padding: 7px 13px; border-radius: 999px; font-size: .84rem; border: 1px solid var(--line-2); background: rgba(91,140,255,.06); }
blockquote.quote { margin: 30px 0 0; padding: 22px 26px; border-left: 3px solid; border-image: var(--grad) 1; background: rgba(255,255,255,.02); font: 500 1.15rem/1.5 var(--f-head); }
@media (max-width: 960px) { .ceo { grid-template-columns: 1fr; gap: 44px; } .portrait { max-width: 420px; } }

.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 36px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), var(--violet)); opacity: .5; }
.tl-item { position: relative; padding-bottom: 38px; }
.tl-item::before { content: ''; position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 14px rgba(34,228,255,.6); }
.tl-item b { font: 700 .85rem var(--f-display); letter-spacing: .15em; color: var(--cyan); }
.tl-item h3 { margin: 6px 0 6px; }
.tl-item p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.info-list { display: grid; gap: 14px; }
.info { display: flex; gap: 16px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.info .icon { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.info .icon svg { width: 22px; height: 22px; }
.info b { display: block; font-family: var(--f-head); margin-bottom: 2px; }
.info span, .info a { color: var(--muted); font-size: .93rem; }
.info a:hover { color: #fff; }
.form { padding: 40px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(18, 26, 52, .75), rgba(8, 12, 24, .75)); backdrop-filter: blur(10px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font: 500 .85rem var(--f-head); color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(3, 5, 12, .6); color: var(--text); font: 400 1rem var(--f-body); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a0c2' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field select option { background: #0d1324; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 228, 255, .12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 22px; font-size: .95rem; }
.alert.ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .4); color: #a7f3d0; }
.alert.err { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .4); color: #fecaca; }
.form-note { font-size: .82rem; color: var(--dim); margin: 14px 0 0; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { padding: 26px 20px; } .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- CTA band & footer ---------- */
.cta-band { padding: 40px 0 100px; }
.cta-in {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: 56px 60px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(600px 300px at 0% 0%, rgba(34, 228, 255, .2), transparent 60%), radial-gradient(600px 300px at 100% 100%, rgba(168, 85, 247, .25), transparent 60%), #0a1022;
  border: 1px solid var(--line-2);
}
.cta-in h2 { margin: 0; max-width: 560px; }
.cta-in .eyebrow { margin-bottom: 12px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-in { padding: 38px 24px; } }

.footer { border-top: 1px solid var(--line); background: rgba(3, 5, 11, .7); padding: 70px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid h3 { font: 600 .75rem var(--f-display); letter-spacing: .2em; color: var(--dim); margin-bottom: 18px; text-transform: uppercase; }
.foot-grid > div > a:not(.brand) { display: block; color: var(--muted); padding: 5px 0; font-size: .93rem; }
.foot-grid > div > a:not(.brand):hover { color: #fff; }
.foot-grid p { color: var(--muted); font-size: .93rem; }
.foot-grid p b { color: var(--text); font-weight: 600; }
.foot-brand p { margin-top: 18px; max-width: 320px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { font-size: .85rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 24px; margin-top: 50px; border-top: 1px solid var(--line); color: var(--dim); font-size: .85rem; }
.foot-base .dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin: 0 8px; vertical-align: middle; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nf { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 40px; }
.nf b { display: block; font: 800 clamp(5rem, 18vw, 10rem)/1 var(--f-display); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }
/* Above-the-fold content animates on load, not on scroll */
.hero .reveal, .page-hero > .wrap > * { opacity: 0; animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; transition: none; }
.hero .reveal-d1, .page-hero > .wrap > :nth-child(2) { animation-delay: .12s; }
.hero .reveal-d2, .page-hero > .wrap > :nth-child(3) { animation-delay: .24s; }
.hero .reveal-d3, .page-hero > .wrap > :nth-child(n+4) { animation-delay: .36s; }
.hero-visual { opacity: 0; animation: zoomIn 1.4s .1s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .75; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes floor { to { background-position: 0 80px, 0 0; } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes dots { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes scan { to { top: 100%; } }
@keyframes scanImg { 0% { top: -30%; } 60%, 100% { top: 110%; } }
@keyframes dash { to { stroke-dashoffset: -32; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
