:root {
  --bg: #07070d;
  --bg-2: #0d0d18;
  --ink: #f4f3fb;
  --ink-2: #b9b7cc;
  --ink-3: #7d7b93;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --glass: rgba(20, 19, 34, .56);
  --glass-2: rgba(30, 28, 48, .62);

  --violet: #a78bfa;
  --iris: #8b7cff;
  --cyan: #7ee7f2;
  --rose: #f5a9e1;
  --gold: #ffd59a;
  --ok: #6ee7b7;
  --warn: #fcd34d;
  --bad: #fb7185;

  --holo: linear-gradient(100deg, #efe9ff 0%, #c9f1ff 22%, #ffe0f4 44%, #e4dcff 62%, #cffff0 80%, #f3eaff 100%);
  --holo-line: conic-gradient(from 210deg, #7ee7f2, #a78bfa, #f5a9e1, #ffd59a, #7ee7f2, #a78bfa, #f5a9e1, #7ee7f2);
  --holo-text: linear-gradient(95deg, #ffffff 10%, #d9d0ff 40%, #bdf3ff 65%, #ffd9f2 90%);

  --radius: 14px;
  --font: "Inter", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Inter Display", "Inter", "SF Pro Display", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font); font-size: 15px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
::selection { background: rgba(167, 139, 250, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
[hidden] { display: none !important; }

.prism-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(139, 124, 255, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(126, 231, 242, .08), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(245, 169, 225, .10), transparent 60%),
    linear-gradient(180deg, #08080f 0%, #0a0a14 50%, #07070c 100%);
}
.prism-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.beam { position: absolute; left: -30vmax; width: 160vmax; height: 140px; transform: rotate(-22deg); filter: blur(36px);
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.13) 30%, rgba(126,231,242,.10) 50%, rgba(245,169,225,.09) 70%, transparent);
  animation: sweep 20s ease-in-out infinite alternate; }
.beam.b1 { top: 4%; }
.beam.b2 { top: 46%; height: 70px; opacity: .7; animation-duration: 26s; animation-delay: -8s; }
.beam.b3 { top: 86%; height: 200px; opacity: .6; animation-duration: 30s; animation-delay: -14s; }
@keyframes sweep { from { translate: -6vmax 0; } to { translate: 6vmax 0; } }
.rings { position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 82% 8%, rgba(255,255,255,.045) 0 1px, transparent 1px 72px);
  -webkit-mask: radial-gradient(circle at 82% 8%, #000, transparent 60%); mask: radial-gradient(circle at 82% 8%, #000, transparent 60%); }
.light-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 30vh;
  background: radial-gradient(60% 100% at 30% 100%, rgba(167,139,250,.12), transparent 70%),
              radial-gradient(40% 80% at 75% 100%, rgba(126,231,242,.08), transparent 70%); }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.section { padding: 110px 0 40px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.eyebrow b { font-family: var(--mono); color: var(--ink-2); font-weight: 500; letter-spacing: .1em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--violet)); }
.section-title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 12px; font-weight: 700; }
.section-sub { color: var(--ink-2); max-width: 560px; margin: 0; }
.holo-text { background: var(--holo-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.topbar { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  background: linear-gradient(180deg, rgba(7,7,13,.78), rgba(7,7,13,.45)); border-bottom: 1px solid var(--line); }
.topbar-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; filter: drop-shadow(0 0 14px rgba(167,139,250,.45)); }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: .06em; line-height: 1.1; }
.brand-name small { display: block; font-size: 10px; letter-spacing: .38em; color: var(--ink-3); font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { position: relative; padding: 10px 18px; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .25s; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -15px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--rose)); box-shadow: 0 0 12px rgba(167,139,250,.8); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 40px; height: 40px; }

.notice-bar { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 13px; color: var(--ink-2); }
.notice-bar .container { display: flex; align-items: center; gap: 10px; height: 38px; overflow: hidden; }
.notice-bar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); flex: none; }
.notice-bar .marquee { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.test-ribbon { background: repeating-linear-gradient(135deg, rgba(252,211,77,.14) 0 12px, rgba(252,211,77,.06) 12px 24px); color: var(--warn); text-align: center; font-size: 12.5px; padding: 6px; border-bottom: 1px solid rgba(252,211,77,.25); }

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ang { to { --ang: 360deg; } }
.glass { --r: 24px; position: relative; border-radius: var(--r);
  background:
    linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,0) 42%),
    radial-gradient(120% 80% at 100% 0%, rgba(167,139,250,.14), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(126,231,242,.07), transparent 55%),
    rgba(14, 13, 25, .74);
  backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.glass::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--ang), #7ee7f2, #a78bfa 25%, #f5a9e1 45%, #ffd59a 60%, #7ee7f2 80%, #a78bfa);
  animation: ang 14s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.glass::after { content: ""; position: absolute; z-index: 3; pointer-events: none; top: -1px; left: 8%; width: 34%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #7ee7f2 25%, #fff 50%, #c4b5fd 75%, transparent);
  box-shadow: 0 0 16px 1px rgba(167,139,250,.6); animation: seam 8s ease-in-out infinite alternate; }
@keyframes seam { from { left: 6%; } to { left: 60%; } }
.glass.soft::before { background: linear-gradient(165deg, rgba(255,255,255,.22), rgba(255,255,255,.05) 40%, rgba(126,231,242,.28)); animation: none; }
.glass.soft::after { display: none; }
.glass > .glass-in { position: relative; height: 100%; }

.btn { position: relative; overflow: hidden; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 26px; border: 0; font-weight: 600; font-size: 15px; letter-spacing: .02em; white-space: nowrap;
  transition: transform .25s var(--ease), filter .25s, opacity .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-holo { color: #15132a; background: var(--holo); background-size: 220% 100%; animation: holo-shift 8s linear infinite;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.btn-holo:hover { filter: brightness(1.06) saturate(1.15); }
.btn-holo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-holo:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-danger { color: #fff; background: linear-gradient(120deg, #f43f5e, #c026d3); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; }
.btn-xs { height: 30px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
@keyframes holo-shift { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }
.link-underline { color: var(--ink-2); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,.3); transition: color .2s, text-decoration-color .2s; }
.link-underline:hover { color: var(--ink); text-decoration-color: var(--violet); }

.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > label, .label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 12.5px; color: var(--ink-3); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px;
  background: rgba(8, 8, 16, .55); border: 1px solid var(--line-2); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s; }
.textarea { height: auto; min-height: 120px; padding: 12px 16px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(167,139,250,.7); box-shadow: 0 0 0 4px rgba(139,124,255,.16); background: rgba(8,8,16,.75); }
.input-wrap .input { padding-right: 52px; }
.input-wrap .eye { position: absolute; right: 8px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--ink-2); border-radius: 8px; }
.input-wrap .eye:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.select option { background: #14131f; }

.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 8px 16px; border-radius: 9px; color: var(--ink-2); font-size: 14px; font-weight: 500; transition: .2s; }
.seg button.on { background: rgba(255,255,255,.1); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.06); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.tag.holo { color: #1a1730; background: var(--holo); border: 0; }
.tag.ok { color: var(--ok); background: rgba(110,231,183,.08); border-color: rgba(110,231,183,.25); }
.tag.warn { color: var(--warn); background: rgba(252,211,77,.08); border-color: rgba(252,211,77,.25); }
.tag.bad { color: var(--bad); background: rgba(251,113,133,.08); border-color: rgba(251,113,133,.25); }
.tag.info { color: var(--cyan); background: rgba(126,231,242,.08); border-color: rgba(126,231,242,.25); }
.tag.mute { color: var(--ink-3); }

.toast-host { position: fixed; z-index: 1000; top: 88px; left: 50%; transform: translateX(-50%); display: grid; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; min-width: 240px; max-width: min(520px, 92vw); padding: 12px 18px; border-radius: 12px; font-size: 14px;
  background: rgba(22,20,36,.92); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0,0,0,.45);
  display: flex; gap: 10px; align-items: center; animation: toast-in .35s var(--ease); }
.toast.ok::before, .toast.err::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.toast.ok::before { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.toast.err::before { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.toast.out { animation: toast-out .3s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-8px); } }

.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.modal-mask { position: absolute; inset: 0; background: rgba(4,4,10,.66); backdrop-filter: blur(6px); animation: fade .3s; }
.modal-box { position: relative; width: min(880px, 100%); max-height: calc(100vh - 48px); animation: pop .45s var(--ease); }
.modal-box > .glass-in { border-radius: inherit; overflow: auto; max-height: calc(100vh - 51px); }
.modal-close { position: absolute; z-index: 3; top: 14px; right: 18px; width: 38px; height: 38px; border-radius: 10px; border: 0; background: rgba(255,255,255,.06); color: var(--ink-2); display: grid; place-items: center; }
.modal-close:hover { color: var(--ink); background: rgba(255,255,255,.12); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }

.footer { margin-top: 100px; border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--ink-3); font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--ink); font-size: 14px; margin: 0 0 14px; font-weight: 600; }
.footer p { margin: 0 0 8px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); }
.row { display: flex; align-items: center; gap: 12px; }
.spacer { flex: 1; }
.price { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
.price small { font-size: .55em; font-weight: 600; margin-right: 2px; opacity: .8; }
.strike { text-decoration: line-through; color: var(--ink-3); font-size: 13px; }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .container { width: calc(100% - 32px); }
  .nav { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px;
    background: rgba(9,9,16,.96); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s var(--ease); }
  .nav.open { transform: none; }
  .nav a.active::after { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
