:root {
  color-scheme: dark;
  --bg: #05060f;
  --bg-2: #0b0d1f;
  --line: rgba(148, 163, 255, 0.16);
  --text: #e6e9ff;
  --muted: #a3a9d6;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --magenta: #e879f9;
  --neon: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--magenta));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
h1, h2, h3, .logo, .tag, .card-num, .stats strong, .price {
  font-family: Orbitron, Inter, sans-serif;
  letter-spacing: 0.02em;
}
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orbs i {
  position: absolute;
  width: 46vmax; height: 46vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: orb 22s ease-in-out infinite alternate;
}
.orbs i:nth-child(1) { background: var(--violet); top: -18vmax; left: -12vmax; }
.orbs i:nth-child(2) { background: var(--cyan); bottom: -22vmax; right: -14vmax; animation-delay: -7s; opacity: 0.22; }
.orbs i:nth-child(3) { background: var(--magenta); top: 40%; left: 45%; width: 26vmax; height: 26vmax; animation-delay: -12s; opacity: 0.16; }
@keyframes orb {
  to { transform: translate(8vmax, 6vmax) scale(1.15); }
}

.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 15, 0.72);
  backdrop-filter: blur(14px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; text-decoration: none; }
.logo b { background: var(--neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark {
  width: 22px; height: 22px;
  border: 2px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 14px var(--cyan), inset 0 0 8px var(--violet);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  border-radius: 10px;
  font: 600 14px/1 Inter, sans-serif;
  text-decoration: none;
  transition: transform .2s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-neon {
  position: relative;
  background: var(--neon);
  color: #05060f;
  box-shadow: 0 0 24px -4px rgba(139, 92, 246, .8);
}
.btn-neon:hover { box-shadow: 0 0 34px 0 rgba(34, 211, 238, .7); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--cyan); box-shadow: 0 0 18px -6px var(--cyan); }

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
  display: flex; align-items: center;
  overflow: hidden;
  padding: 80px 0 120px;
}
.hero-inner { position: relative; z-index: 1; }
.tag { color: var(--cyan); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 6.5vw, 4.8rem);
  line-height: 1.08;
  font-weight: 800;
}
.lead { max-width: 560px; margin-top: 22px; color: var(--muted); font-size: 1.1rem; }
.typing { display: block; margin-top: 10px; color: var(--text); font-family: Orbitron, sans-serif; font-size: .95rem; min-height: 1.6em; }
.caret { display: inline-block; width: 9px; height: 1.05em; margin-left: 3px; vertical-align: -2px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.glitch { position: relative; display: inline-block; background: var(--neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .8;
}
.glitch::before { animation: glitch-a 3.2s infinite steps(1); text-shadow: -2px 0 var(--magenta); }
.glitch::after  { animation: glitch-b 2.7s infinite steps(1); text-shadow: 2px 0 var(--cyan); }
@keyframes glitch-a {
  0%, 88%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  90% { clip-path: inset(10% 0 55% 0); transform: translate(-4px, -1px); }
  94% { clip-path: inset(60% 0 8% 0); transform: translate(3px, 1px); }
}
@keyframes glitch-b {
  0%, 84%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  86% { clip-path: inset(40% 0 30% 0); transform: translate(4px, 0); }
  91% { clip-path: inset(75% 0 2% 0); transform: translate(-3px, 1px); }
}

.grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%;
  height: 60%;
  background-image:
    linear-gradient(rgba(34, 211, 238, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .35) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 70%, transparent);
  animation: floor 2.4s linear infinite;
}
@keyframes floor { to { background-position: 0 60px, 0 0; } }

.scroll-hint { position: absolute; left: 50%; bottom: 34px; width: 24px; height: 38px; margin-left: -12px; border: 2px solid var(--line); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(11, 13, 31, .7); }
.marquee-track { display: flex; width: max-content; gap: 34px; padding: 18px 0; animation: marquee 26s linear infinite; }
.marquee span { font-family: Orbitron, sans-serif; font-size: 20px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--muted); text-transform: uppercase; white-space: nowrap; }
.marquee b { color: var(--magenta); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 110px 0; }
.head { max-width: 620px; margin-bottom: 52px; }
.section h2 { margin-top: 12px; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.2; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  transition: transform .25s ease, border-color .25s, box-shadow .3s;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit;
  background: var(--neon);
  opacity: 0; filter: blur(14px);
  transition: opacity .3s;
}
.card:hover { border-color: rgba(34, 211, 238, .55); }
.card:hover::before { opacity: .35; }
.card-num { color: var(--magenta); font-size: 13px; }
.card h3 { margin: 14px 0 8px; font-size: 18px; }
.card p { color: var(--muted); font-size: 15px; }
.price { display: block; margin-top: 18px; color: var(--cyan); font-size: 15px; }

.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 48px; } }
.about-visual { position: relative; aspect-ratio: 1; max-width: 400px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(34, 211, 238, .45); animation: spin 26s linear infinite; }
.ring-2 { inset: 13%; border: 2px solid transparent; border-top-color: var(--magenta); border-right-color: var(--violet); animation-duration: 9s; animation-direction: reverse; }
.core {
  width: 56%; aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(139,92,246,.55), rgba(5,6,15,.9) 70%);
  box-shadow: 0 0 60px -10px var(--violet), inset 0 0 30px rgba(34, 211, 238, .25);
  font-family: Orbitron, sans-serif; font-size: 14px; text-align: center; color: var(--muted);
}
@keyframes spin { to { transform: rotate(360deg); } }
.about .muted { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; list-style: none; }
.stats li { padding: 18px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); }
.stats strong { display: block; font-size: clamp(1.3rem, 3vw, 1.9rem); background: var(--neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 13px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 16px; }
.g {
  position: relative; display: flex; align-items: flex-end;
  padding: 16px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
}
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s; }
.g:hover::after { transform: translateX(100%); }
.g figcaption { position: relative; z-index: 1; font-size: 13px; color: var(--text); opacity: .85; }
.g1 { grid-column: span 2; grid-row: span 2; background: radial-gradient(circle at 20% 20%, rgba(34,211,238,.5), transparent 55%), linear-gradient(135deg, #1e1b4b, #0b0d1f); }
.g2 { background: linear-gradient(135deg, rgba(232,121,249,.55), #0b0d1f); }
.g3 { background: linear-gradient(135deg, rgba(139,92,246,.6), #0b0d1f); }
.g4 { grid-column: span 2; background: linear-gradient(90deg, rgba(34,211,238,.35), rgba(139,92,246,.35)), #0b0d1f; }
.g5 { display: none; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .g1 { grid-column: span 2; grid-row: span 1; }
  .g4 { grid-column: span 1; }
  .g5 { display: flex; background: linear-gradient(135deg, rgba(34,211,238,.5), #0b0d1f); }
}

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quote { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.03); }
.quote p { font-size: 15.5px; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--neon); }

.cta {
  position: relative; overflow: hidden;
  padding: 72px 28px; text-align: center;
  border: 1px solid rgba(139, 92, 246, .45);
  border-radius: 26px;
  background: radial-gradient(circle at 50% 0%, rgba(139,92,246,.35), transparent 60%), var(--bg-2);
}
.cta .muted { margin: 14px 0 30px; }

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

.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .8s ease, transform .8s ease, filter .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }
.js .card.reveal.is-visible { transition: opacity .8s ease, filter .8s ease, transform .25s ease, border-color .25s, box-shadow .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .glitch::before, .glitch::after { display: none; }
}
