:root {
  --bg: #04070f;
  --bg-2: #070d1c;
  --ink: #f2f6ff;
  --text: #b8c3dc;
  --muted: #7d89a6;
  --line: rgba(160, 190, 255, .12);
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .06);
  --cyan: #5ce1ff;
  --blue: #4c7dff;
  --violet: #9b6bff;
  --brand: #1b4e7e;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 45%, var(--violet) 100%);
  --radius: 20px;
  --max: 1160px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--text); background: var(--bg);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(92, 225, 255, .3); color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; }

/* Ambient background: glows and a fading grid. */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.backdrop .grid-bg {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(120, 160, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.backdrop .glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.backdrop .g1 { width: 620px; height: 620px; left: -160px; top: -220px; background: #1d4fd8; animation: drift 22s ease-in-out infinite alternate; }
.backdrop .g2 { width: 520px; height: 520px; right: -140px; top: 80px; background: #6d28d9; opacity: .4; animation: drift 26s ease-in-out infinite alternate-reverse; }
.backdrop .g3 { width: 460px; height: 460px; left: 35%; top: 55%; background: #0891b2; opacity: .22; animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(4, 7, 15, .6); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark b { font-size: 19px; font-weight: 800; letter-spacing: .02em; }
.wordmark small { font-size: 9.5px; font-weight: 600; letter-spacing: .38em; color: var(--muted); margin-top: 5px; }
nav.links { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; }
nav.links a { color: var(--text); }
nav.links a:hover { color: var(--ink); text-decoration: none; }
.lang { font-family: var(--mono); font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; color: var(--ink) !important; background: var(--glass); }
.lang:hover { border-color: var(--cyan); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 96px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(92, 225, 255, .25); background: rgba(92, 225, 255, .06); border-radius: 999px; padding: 7px 16px; margin-bottom: 28px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -.035em; color: var(--ink); margin: 0 0 26px; font-weight: 800; }
h1 .grad, h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.1vw, 20px); color: var(--text); max-width: 58ch; margin: 0 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 14px; font-weight: 650; font-size: 16px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { color: #04101f; background: var(--grad); box-shadow: 0 10px 40px -10px rgba(76, 125, 255, .7); }
.btn.primary:hover { box-shadow: 0 14px 50px -8px rgba(92, 225, 255, .7); }
.btn.ghost { color: var(--ink); background: var(--glass); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: rgba(92, 225, 255, .5); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero visual: the logo's circuit, alive. */
.core { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: center; }
.core .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.core .ring.r2 { inset: 12%; border-style: dashed; border-color: rgba(92, 225, 255, .18); animation: spin 60s linear infinite; }
.core .ring.r3 { inset: 26%; border-color: rgba(155, 107, 255, .22); animation: spin 40s linear infinite reverse; }
.core .halo { position: absolute; inset: 18%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(92, 225, 255, .0), rgba(92, 225, 255, .55), rgba(76, 125, 255, .2), rgba(155, 107, 255, .55), rgba(92, 225, 255, .0)); filter: blur(28px); opacity: .6; animation: spin 14s linear infinite; }
.core .chip { position: absolute; inset: 30%; border-radius: 28%; background: linear-gradient(160deg, rgba(20, 34, 68, .95), rgba(6, 11, 24, .95)); border: 1px solid rgba(120, 170, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 80px -20px rgba(76, 125, 255, .6); display: grid; place-items: center; }
.core .chip img { width: 58%; filter: drop-shadow(0 0 18px rgba(92, 225, 255, .45)); }
.core svg.traces { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.traces path { fill: none; stroke: rgba(120, 170, 255, .25); stroke-width: 1.4; }
.traces path.flow { stroke: url(#flow); stroke-width: 2; stroke-dasharray: 14 220; animation: flow 4.5s linear infinite; }
.traces path.flow.d2 { animation-delay: -1.5s; animation-duration: 5.5s; }
.traces path.flow.d3 { animation-delay: -3s; animation-duration: 6.2s; }
.traces circle { fill: var(--bg-2); stroke: var(--cyan); stroke-width: 1.6; }
@keyframes flow { to { stroke-dashoffset: -234; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Capability strip */
.strip { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 72px; }
.strip span { font-family: var(--mono); font-size: 13px; color: var(--text); border: 1px solid var(--line); background: var(--glass); border-radius: 10px; padding: 8px 14px; }

/* Sections */
section { padding: 88px 0; scroll-margin-top: 72px; }
.label { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.03em; line-height: 1.1; color: var(--ink); margin: 0 0 16px; font-weight: 800; }
.section-lead { color: var(--text); max-width: 62ch; margin: 0 0 44px; font-size: 18px; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden; transition: border-color .25s, transform .25s, background .25s; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; pointer-events: none; }
.card:hover { transform: translateY(-3px); background: var(--glass-2); }
.card:hover::after { opacity: 1; }
.card h3 { margin: 18px 0 10px; font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.card p { margin: 0; color: var(--text); font-size: 16px; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(92, 225, 255, .16), rgba(155, 107, 255, .16)); border: 1px solid rgba(92, 225, 255, .25); }
.icon svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .num { position: absolute; top: 26px; right: 28px; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Product */
.product { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; border-radius: 28px; padding: 52px; overflow: hidden; background: radial-gradient(120% 140% at 100% 0%, rgba(198, 244, 50, .14), transparent 45%), linear-gradient(150deg, #151a4d, #0b0f2c 60%); border: 1px solid rgba(198, 244, 50, .18); }
.product .tag { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #c6f432; }
.product h3 { color: #fff; font-size: 36px; margin: 10px 0 14px; letter-spacing: -.03em; }
.product p { margin: 0 0 20px; color: #cdd5ef; }
.product ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 8px; }
.product li { display: flex; gap: 10px; align-items: baseline; color: #dfe5f7; }
.product li::before { content: "→"; color: #c6f432; font-family: var(--mono); }
.product .btn.primary { background: #c6f432; color: #12163f; box-shadow: 0 10px 40px -12px rgba(198, 244, 50, .7); }
.product-mark { justify-self: center; width: min(230px, 70%); aspect-ratio: 1; border-radius: 52px; background: #2b2d7c; display: grid; place-items: center; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 80px -10px rgba(198, 244, 50, .35); }
.product-mark svg { width: 70%; height: 70%; }

/* Company details as a console */
.console { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(5, 10, 22, .75); overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #253150; }
.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: 10px; }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin: 0; }
.details div { padding: 20px 24px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.details dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.details dt::before { content: "› "; color: var(--muted); }
.details dd { margin: 0; color: var(--ink); font-weight: 500; }
.details .sub { color: var(--muted); font-weight: 400; font-size: 15px; }

/* Contact */
.contact { text-align: center; position: relative; }
.contact .panel { border: 1px solid var(--line); border-radius: 28px; padding: 64px 28px; background: radial-gradient(80% 120% at 50% 0%, rgba(76, 125, 255, .18), transparent 60%), var(--glass); }
.contact .lead { margin: 0 auto 32px; }
.contact .actions { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer .mono { font-family: var(--mono); font-size: 12px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 64px 0 56px; gap: 24px; }
  .core { max-width: 300px; order: -1; }
  .product { grid-template-columns: 1fr; padding: 36px 24px; }
  .product-mark { order: -1; width: 120px; border-radius: 32px; }
}
@media (max-width: 760px) {
  nav.links a:not(.lang) { display: none; }
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .wordmark small { letter-spacing: .3em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
