/* elysium-ai.ru — dark only, CSS-only motion (the CSP allows no scripts,
   no inline styles and no third-party requests). */

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

:root {
  color-scheme: dark;
  interpolate-size: allow-keywords;
  --bg: #03040a;
  --bg-2: #070a15;
  --surface: #0a0e1d;
  --line: rgba(150, 170, 255, .10);
  --line-2: rgba(150, 170, 255, .20);
  --text: #eef1ff;
  --muted: #a4aec9;
  --faint: #6f7a98;
  --cyan: #3ee8ff;
  --blue: #5b82ff;
  --violet: #9d7dff;
  --pink: #f08cff;
  --mint: #5cf2c8;
  --grad: linear-gradient(110deg, #3ee8ff 0%, #5b82ff 35%, #9d7dff 68%, #f08cff 100%);
  --grad-btn: linear-gradient(110deg, #22c8f5 0%, #4f6bff 48%, #9160ff 100%);
  --radius: 20px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "SF Pro Display", -apple-system, "Inter", "Segoe UI", system-ui, Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: #8fb0ff; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s ease; }
a:hover { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(91, 130, 255, .45); color: #fff; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.grad {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}

/* Backdrop: drifting aurora, fading grid, film grain */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-aurora::before, .bg-aurora::after {
  content: ""; position: absolute; border-radius: 50%;
  width: 70vmax; height: 70vmax;
}
.bg-aurora::before {
  left: -25vmax; top: -35vmax;
  background: radial-gradient(circle, rgba(64, 98, 255, .22), transparent 62%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.bg-aurora::after {
  right: -30vmax; top: -20vmax;
  background: radial-gradient(circle, rgba(150, 90, 255, .17), transparent 62%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(130, 150, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 150, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 15%, transparent 75%);
}
.bg-noise {
  position: absolute; inset: 0; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(3, 4, 10, .62);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 232, 255, .35) 30%, rgba(157, 125, 255, .35) 70%, transparent);
}
.bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .01em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; display: block; box-shadow: 0 0 0 1px rgba(150, 170, 255, .25), 0 0 22px -4px rgba(91, 130, 255, .8); }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { position: relative; color: var(--muted); text-decoration: none; padding: 8px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; transition: color .2s ease, background .2s ease; }
.nav a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad); box-shadow: 0 0 10px rgba(62, 232, 255, .7);
}
.nav .btn { margin-left: 10px; }
/* Sign-in link: a quiet pill, kept on phones where the Telegram button is hidden */
.nav a.n-login { display: inline-flex; align-items: center; gap: 7px; margin-left: 8px; color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.nav a.n-login svg { width: 17px; height: 17px; flex: none; color: var(--cyan); }
.nav a.n-login:hover { border-color: rgba(62, 232, 255, .5); background: rgba(62, 232, 255, .07); }
.nav a.n-login[aria-current="page"]::after { display: none; }
.nav a.n-login[aria-current="page"] { border-color: rgba(62, 232, 255, .5); }
/* The header row needs about 970px; below that, drop what the page offers
   elsewhere (the logo is the home link; pricing and the bot are on the page
   and in the footer) instead of letting the row overflow. */
.brand { flex: none; }
@media (max-width: 1000px) { .nav .n-home { display: none; } }
@media (max-width: 900px) { .nav .n-pricing { display: none; } }
@media (max-width: 820px) { .nav .btn { display: none; } }

/* Language switcher (EN | RU): plain links, the choice is kept by a first-party cookie set by the server */
.lang-switch { display: inline-flex; flex: none; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.lang-switch a { padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .2s ease, background .2s ease; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { color: var(--text); background: rgba(91, 130, 255, .26); box-shadow: inset 0 0 0 1px rgba(120, 150, 255, .4); }

/* Buttons */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 15.5px; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  color: #fff; background: var(--grad-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px -10px rgba(79, 107, 255, .9), 0 0 40px -12px rgba(62, 232, 255, .6);
}
.btn-primary::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg); transition: left .8s var(--ease);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 16px 40px -12px rgba(79, 107, 255, 1), 0 0 60px -10px rgba(62, 232, 255, .75); }
.btn-primary:hover::after { left: 130%; }
.btn-shine::after { animation: shine 6s ease-in-out 2.4s infinite; }
.btn-ghost {
  color: var(--text); background-color: rgba(255, 255, 255, .03); border-color: var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: var(--text); background-color: rgba(62, 232, 255, .07); border-color: rgba(62, 232, 255, .5); transform: translateY(-2px); box-shadow: 0 0 30px -10px rgba(62, 232, 255, .6); }
.btn-lg { padding: 15px 24px; font-size: 16.5px; border-radius: 16px; }
.btn-sm { padding: 8px 15px; font-size: 14.5px; border-radius: 11px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* Hero */
.hero { position: relative; padding: 84px 0 64px; overflow: clip; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -260px; width: 1100px; height: 700px; margin-left: -550px;
  background: radial-gradient(closest-side, rgba(91, 130, 255, .16), transparent);
  pointer-events: none;
}
.hero-floor {
  position: absolute; left: -40%; right: -40%; bottom: 0; height: 52%; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(100, 130, 255, .3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 130, 255, .3) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(420px) rotateX(66deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 85%);
  mask-image: linear-gradient(to top, #000, transparent 85%);
  animation: floor 2.6s linear infinite;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: #bfe9ff; background: rgba(62, 232, 255, .06); border: 1px solid rgba(62, 232, 255, .25);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: ping 2s ease-out infinite; flex: none; }
h1, h2, h3 { font-family: var(--display); }
h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; margin: 0 0 24px; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); margin: 0 0 34px; max-width: 33em; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 30px 0 0; font-size: 14.5px; color: var(--faint); }
.hero-tags li { display: inline-flex; align-items: center; gap: 9px; }
.hero-tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

/* Hero visual: logo with 3D orbits */
.hero-visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: end; }
.orbit { position: absolute; inset: 0; perspective: 1100px; transform-style: preserve-3d; }
.orbit-halo {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 130, 255, .5), rgba(157, 125, 255, .2) 45%, transparent 70%);
  filter: blur(24px);
  animation: halo 6s ease-in-out infinite alternate;
}
.orbit-logo {
  position: absolute; left: 27%; top: 27%; width: 46%; height: 46%; border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(150, 170, 255, .28), 0 30px 80px -20px rgba(80, 110, 255, .8), 0 0 120px -10px rgba(157, 125, 255, .55);
  animation: float 7s ease-in-out infinite;
}
.ring { position: absolute; border-radius: 50%; transform-style: preserve-3d; animation: orbit var(--dur) linear infinite; }
.ring-1 { inset: 6%; --tx: 72deg; --ty: -16deg; --dur: 13s; }
.ring-2 { inset: 13%; --tx: 64deg; --ty: 24deg; --dur: 19s; animation-direction: reverse; }
.ring-3 { inset: -2%; --tx: 80deg; --ty: 6deg; --dur: 27s; }
.ring-line {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(150, 170, 255, .12) 0 6%, rgba(62, 232, 255, .95) 18%, rgba(150, 170, 255, .12) 34%, rgba(150, 170, 255, .12) 52%, rgba(157, 125, 255, .9) 66%, rgba(240, 140, 255, .7) 72%, rgba(150, 170, 255, .12) 86%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}
.ring i {
  position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 12px 3px rgba(62, 232, 255, .9), 0 0 32px 8px rgba(91, 130, 255, .55);
}
.ring i + i { top: auto; bottom: -5px; background: #fbe0ff; box-shadow: 0 0 12px 3px rgba(240, 140, 255, .9), 0 0 32px 8px rgba(157, 125, 255, .55); }
.float-card {
  position: absolute; z-index: 2; border-radius: 16px;
  background: rgba(12, 16, 34, .72); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.fc-status { left: -6%; bottom: 10%; display: flex; align-items: center; gap: 13px; padding: 13px 16px; animation: float 8s ease-in-out -2s infinite; }
.fc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); flex: none; animation: ping-mint 2s ease-out infinite; }
.fc-text { display: grid; line-height: 1.3; }
.fc-text b { font-size: 14px; font-weight: 600; }
.fc-text span { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 24px; margin-left: 6px; }
.bars i { width: 4px; height: 100%; border-radius: 2px; background: linear-gradient(var(--cyan), var(--blue)); transform-origin: bottom; animation: eq 1.1s ease-in-out infinite alternate; }
.bars i:nth-child(2) { animation-delay: -.3s; }
.bars i:nth-child(3) { animation-delay: -.6s; }
.bars i:nth-child(4) { animation-delay: -.15s; }
.bars i:nth-child(5) { animation-delay: -.8s; }
.fc-term { right: -4%; top: 4%; width: 236px; overflow: hidden; animation: float 9s ease-in-out -4s infinite; }
.term-head { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.term-head i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 107, 107, .7); }
.term-head i:nth-child(2) { background: rgba(255, 209, 102, .7); }
.term-head i:nth-child(3) { background: rgba(92, 242, 200, .7); }
.term-head span { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.term-body { display: grid; gap: 3px; padding: 12px 14px 14px; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.tl { white-space: nowrap; }
.tl em { color: var(--cyan); font-style: normal; }
.tl.ok { color: var(--mint); }
.caret { display: inline-block; width: 7px; height: 14px; margin-left: 4px; vertical-align: -2px; background: var(--cyan); animation: blink 1s steps(1) infinite; }

/* Hero stats */
.stats {
  list-style: none; margin: 72px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(8, 11, 24, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stats li { padding: 22px 26px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.num {
  display: block; font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
  background: linear-gradient(180deg, #fff, #a9b8ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.lbl { display: block; margin-top: 4px; font-size: 14px; color: var(--faint); line-height: 1.4; }
.cnt { counter-reset: n var(--n); animation: count 1.8s var(--ease) .7s both; }
.cnt::after { content: counter(n); }
.c3 { --to: 3; } .c4 { --to: 4; } .c99 { --to: 99; } .c149 { --to: 149; }

/* Marquee */
.ticker {
  overflow: hidden; padding: 18px 0;
  border-block: 1px solid var(--line); background: rgba(6, 8, 18, .55);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ticker span::after { content: "✦"; margin: 0 30px; color: var(--violet); text-shadow: 0 0 12px var(--violet); }

/* Sections */
section { position: relative; padding: 112px 0; }
.band { background: linear-gradient(180deg, transparent, rgba(12, 16, 36, .55) 20%, rgba(12, 16, 36, .55) 80%, transparent); }
.section-head { max-width: 700px; margin-bottom: 52px; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 700; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 9px; font-weight: 650; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.span-2 { grid-column: span 2; }

/* Cards: gradient hairline border, light sweep and glow on hover */
.card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 28px; border-radius: var(--radius); border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(17, 22, 44, .92), rgba(8, 11, 23, .92)) padding-box,
    linear-gradient(160deg, rgba(170, 190, 255, .26), rgba(170, 190, 255, .05) 42%, rgba(130, 100, 255, .22)) border-box;
  box-shadow: 0 24px 50px -32px rgba(0, 0, 0, .9);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(420px circle at 0% 0%, rgba(91, 130, 255, .16), transparent 45%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.card::after {
  content: ""; position: absolute; top: 0; left: 0; width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: translateX(-110%); opacity: 0;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 34px 70px -34px rgba(70, 100, 255, .55); }
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; transform: translateX(190%); transition: transform 1.1s var(--ease), opacity .2s ease; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  color: #d4e3ff;
  background: linear-gradient(140deg, rgba(62, 232, 255, .2), rgba(157, 125, 255, .2));
  border: 1px solid rgba(140, 170, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 rgba(62, 232, 255, 0);
  transition: box-shadow .5s var(--ease), color .3s ease;
}
.ic svg { width: 23px; height: 23px; }
.card:hover .ic { color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 0 28px -4px rgba(62, 232, 255, .7); }

/* Bento visual: packets get encrypted mid-tunnel */
.tunnel { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.node {
  padding: 8px 11px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.pipe { position: relative; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(62, 232, 255, .55) 52%, rgba(157, 125, 255, .6)); }
.pipe i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: packet 2.7s linear infinite; }
.pipe i:nth-child(2) { animation-delay: -.9s; }
.pipe i:nth-child(3) { animation-delay: -1.8s; }
.lockbadge {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  display: grid; place-items: center; border-radius: 11px; color: var(--cyan);
  background: #0b1024; border: 1px solid rgba(62, 232, 255, .5);
  box-shadow: 0 0 26px -4px rgba(62, 232, 255, .7);
}
.lockbadge svg { width: 18px; height: 18px; }

/* Bento visual: split routing */
.route { display: block; width: 100%; height: auto; margin-top: 22px; overflow: visible; }
.r-base { fill: none; stroke: rgba(150, 170, 255, .14); stroke-width: 2; }
.r-flow { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 15; animation: dash 1.3s linear infinite; }
.r-safe { stroke: var(--cyan); filter: drop-shadow(0 0 4px rgba(62, 232, 255, .8)); }
.r-direct { stroke: var(--faint); animation-duration: 2s; }
.r-hub { fill: var(--bg); stroke: var(--violet); stroke-width: 2; }
.r-label { fill: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.r-label-safe { fill: var(--cyan); }

/* Steps with a travelling light along the rail */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 34px; right: 34px; top: 34px; height: 1px; }
.steps::before { background: linear-gradient(90deg, var(--line-2), rgba(157, 125, 255, .3), var(--line-2)); }
.steps::after {
  height: 2px; top: 33px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent) no-repeat;
  background-size: 25% 100%;
  filter: drop-shadow(0 0 6px var(--cyan));
  animation: travel 4.5s ease-in-out infinite;
}
.step { position: relative; }
.step-n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 26px;
  border-radius: 20px; font-family: var(--mono); font-size: 20px; font-weight: 600; color: #fff;
  background: radial-gradient(circle at 30% 20%, rgba(62, 232, 255, .35), transparent 60%), #0b1024;
  border: 1px solid rgba(120, 150, 255, .4);
  box-shadow: 0 0 34px -8px rgba(91, 130, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Pricing */
.price { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; align-items: stretch; }
.beam {
  background:
    linear-gradient(180deg, #0f1430, #080b19) padding-box,
    conic-gradient(from var(--ang), rgba(150, 170, 255, .16) 0deg, rgba(150, 170, 255, .16) 230deg, var(--cyan) 290deg, var(--violet) 320deg, var(--pink) 335deg, rgba(150, 170, 255, .16) 360deg) border-box;
  animation: beam 5s linear infinite;
  box-shadow: 0 40px 90px -40px rgba(79, 107, 255, .7);
}
.tag {
  display: inline-block; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(62, 232, 255, .3); background: rgba(62, 232, 255, .06);
}
.big { font-family: var(--display); font-size: clamp(48px, 6vw, 68px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.big small { font-family: var(--font); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--muted); font-size: 16px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(92, 242, 200, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%235cf2c8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  box-shadow: 0 0 0 1px rgba(92, 242, 200, .3);
}
.note { color: var(--faint); font-size: 14.5px; margin-top: 16px; }
.off { margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-family: var(--mono); font-size: 12px; color: var(--mint); background: rgba(92, 242, 200, .1); border: 1px solid rgba(92, 242, 200, .25); }

table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 16px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
td:last-child, th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
th { color: var(--faint); font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
tbody tr { transition: background .25s ease; }
tbody tr:hover { background: rgba(91, 130, 255, .07); }
tbody td:last-child { font-weight: 600; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 12px; }
details {
  border-radius: 16px; padding: 0 22px;
  background: rgba(10, 14, 30, .7); border: 1px solid var(--line);
  transition: border-color .35s ease, background-color .35s ease, box-shadow .35s ease;
}
details:hover { border-color: var(--line-2); }
details[open] { border-color: rgba(62, 232, 255, .35); background-color: rgba(14, 20, 42, .85); box-shadow: 0 0 40px -18px rgba(62, 232, 255, .5); }
details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
details[open]::details-content { block-size: auto; }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 16px; height: 16px; color: var(--cyan);
  background: linear-gradient(currentColor, currentColor) center/100% 1.6px no-repeat, linear-gradient(currentColor, currentColor) center/1.6px 100% no-repeat;
  transition: transform .45s var(--ease);
}
details[open] summary::after { transform: rotate(135deg); }
details p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }

/* Closing call to action */
.cta-band { padding-top: 40px; }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 88px 28px; border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(80% 120% at 50% 0%, rgba(91, 130, 255, .22), transparent 60%), linear-gradient(180deg, #0b1026, #05070f);
}
.cta-panel::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(rgba(130, 150, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 150, 255, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, #000, transparent 70%);
}
.cta-panel::after {
  content: ""; position: absolute; z-index: -2; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px;
  background: conic-gradient(from 0deg, transparent, rgba(62, 232, 255, .16), transparent 30%, rgba(157, 125, 255, .18), transparent 60%);
  animation: spin 18s linear infinite;
}
.cta-panel h2 { font-size: clamp(32px, 4.6vw, 56px); }
.cta-panel p { max-width: 36em; margin: 0 auto 34px; color: var(--muted); }
.cta-panel .cta { justify-content: center; }

/* Inner pages */
.page-hero { position: relative; padding: 92px 0 40px; overflow: clip; }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -320px; width: 1000px; height: 640px; margin-left: -500px;
  background: radial-gradient(closest-side, rgba(91, 130, 255, .2), transparent);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px; }
.page-hero p { color: var(--muted); margin: 0; max-width: 40em; font-size: 18px; }
section.tight { padding-top: 16px; }

.platform { display: flex; flex-direction: column; gap: 14px; }
.platform .ic { margin-bottom: 4px; }
.platform h3 { margin: 0; font-size: 21px; }
.platform .meta { font-size: 13.5px; color: var(--faint); margin: 0; }
.platform .btns { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.platform .btns .btn { width: 100%; white-space: normal; text-align: center; }
.platform .ver { font-family: var(--mono); font-size: 12px; color: var(--faint); margin: 0; }
.notice {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 18px 20px; border-radius: 16px;
  background: rgba(157, 125, 255, .06); border: 1px solid rgba(157, 125, 255, .22); color: var(--muted); font-size: 15px;
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--violet); }
.notice p { margin: 0; }

code, .hash { font-family: var(--mono); font-size: .86em; }
code { padding: 2px 6px; border-radius: 6px; background: rgba(150, 170, 255, .1); color: #d4e3ff; }
.hash { word-break: break-all; color: var(--faint); }

ol.plain { counter-reset: li; list-style: none; padding: 0; margin: 18px 0 0; color: var(--muted); font-size: 16px; display: grid; gap: 12px; }
ol.plain li { counter-increment: li; position: relative; padding-left: 40px; }
ol.plain li::before {
  content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: .1em;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--cyan);
  width: 28px; height: 22px; display: grid; place-items: center; border-radius: 7px;
  background: rgba(62, 232, 255, .08); border: 1px solid rgba(62, 232, 255, .25);
}
.guide h2 { font-size: 22px; letter-spacing: -.01em; margin: 0; }

/* Legal text */
.legal { max-width: 860px; }
.panel {
  padding: 44px; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 19, 40, .85), rgba(8, 11, 23, .85));
}
.legal-page { padding: 72px 0 96px; }
.legal h2 { font-size: clamp(28px, 3.8vw, 40px); margin-bottom: 10px; }
.legal h3 { font-size: 20px; margin: 36px 0 12px; padding-top: 4px; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; }
.legal p { margin: 0 0 12px; }
.legal strong { color: var(--text); }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 5px 0; }
.legal li::marker { color: var(--cyan); }
.toc { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 22px; }

/* Footer */
.site-footer { position: relative; overflow: hidden; margin-top: 24px; padding: 64px 0 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 14.5px; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 232, 255, .45), rgba(157, 125, 255, .45), transparent);
}
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin: 16px 0 0; max-width: 26em; }
.foot-brand .foot-copy { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { margin: 4px 0 6px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.foot-col a { color: var(--muted); text-decoration: none; width: fit-content; }
.foot-col a:hover { color: var(--cyan); }
.foot-mark {
  margin-top: 40px; text-align: center; line-height: .78; user-select: none;
  font-family: var(--display); font-weight: 800; letter-spacing: -.04em;
  font-size: clamp(72px, 17.5vw, 230px);
  background: linear-gradient(180deg, rgba(150, 170, 255, .2), rgba(150, 170, 255, 0) 82%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Utilities (no inline styles: the CSP forbids them) */
.mt { margin-top: 24px !important; }

/* Motion */
@keyframes shimmer { to { background-position: -200% center; } }
@keyframes drift-a { to { transform: translate(18vmax, 14vmax) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-16vmax, 22vmax) scale(.9); } }
@keyframes floor { to { background-position: 0 64px, 0 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(62, 232, 255, .6); } 100% { box-shadow: 0 0 0 10px rgba(62, 232, 255, 0); } }
@keyframes ping-mint { 0% { box-shadow: 0 0 0 0 rgba(92, 242, 200, .6); } 100% { box-shadow: 0 0 0 12px rgba(92, 242, 200, 0); } }
@keyframes halo { from { transform: scale(.92); opacity: .75; } to { transform: scale(1.08); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes orbit {
  from { transform: rotateX(var(--tx)) rotateY(var(--ty)) rotateZ(0deg); }
  to { transform: rotateX(var(--tx)) rotateY(var(--ty)) rotateZ(360deg); }
}
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes term { 0% { opacity: 0; transform: translateY(5px); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes count { from { --n: 0; } to { --n: var(--to); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes packet {
  0% { left: 0; opacity: 0; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .7); }
  8% { opacity: 1; }
  49% { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .7); }
  51% { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
  92% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
}
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes travel { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@keyframes beam { to { --ang: 360deg; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { 0%, 70% { left: -70%; } 100% { left: 130%; } }
@keyframes rise { from { opacity: 0; translate: 0 26px; filter: blur(8px); } to { opacity: 1; translate: none; filter: none; } }
@keyframes reveal { from { opacity: 0; translate: 0 48px; scale: .97; filter: blur(6px); } to { opacity: 1; translate: none; scale: none; filter: none; } }

.tl { animation: term 9s var(--ease) infinite both; }
.t2 { animation-delay: .9s; }
.t3 { animation-delay: 1.9s; }
.t4 { animation-delay: 2.7s; }

@media (prefers-reduced-motion: no-preference) {
  .in { animation: rise 1.1s var(--ease) both; }
  .d1 { animation-delay: .12s; }
  .d2 { animation-delay: .24s; }
  .d3 { animation-delay: .36s; }
  .d4 { animation-delay: .48s; }
  .d5 { animation-delay: .6s; }
  @supports (animation-timeline: view()) {
    .rv { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .rv.s2 { animation-range: entry 8% entry 65%; }
    .rv.s3 { animation-range: entry 16% entry 75%; }
    .rv.s4 { animation-range: entry 24% entry 85%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .tl { animation: none !important; }
}

/* Layout breakpoints */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-visual { order: -1; justify-self: center; max-width: 380px; }
  .fc-term { right: -8%; }
  .grid-3, .price, .foot { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before, .steps::after { display: none; }
  .foot { gap: 28px; }
  section { padding: 84px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .bar { gap: 10px; min-height: 60px; }
  .nav a:not(.btn) { padding: 7px 9px; font-size: 14.5px; }
  .nav .n-home, .nav .n-pricing, .nav .btn { display: none; }
  .lang-switch a { padding: 4px 9px; }
  .nav a[aria-current="page"]::after { left: 9px; right: 9px; }
  .brand { font-size: 18px; }
  .hero-visual { max-width: 300px; }
  .fc-term { display: none; }
  .fc-status { left: -2%; bottom: 2%; padding: 10px 13px; }
  .cta .btn { flex: 1 1 100%; }
  .stats li { padding: 18px 16px; }
  .num { font-size: 23px; }
  .grid-4, .grid-2, .bento { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .card { padding: 22px; }
  .tunnel { gap: 10px; }
  .node { padding: 6px 8px; font-size: 10.5px; letter-spacing: .04em; }
  section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .cta-panel { padding: 64px 20px; border-radius: 24px; }
  .page-hero { padding-top: 60px; }
  .panel { padding: 24px 18px; border-radius: 18px; }
  th, td { padding: 11px 8px; font-size: 15px; }
  .off { display: inline-block; margin: 2px 0 0; }
}

@media (max-width: 480px) {
  .bar > .brand span { display: none; }
}
@media (max-width: 420px) {
  .bar { gap: 8px; }
  .nav a:not(.btn) { padding: 7px 6px; }
  .lang-switch a { padding: 4px 7px; }
  .nav a.n-login { margin-left: 4px; padding: 7px 8px; }
  .nav a.n-login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 350px) {
  .nav .n-support { display: none; }
}
