:root {
  color-scheme: dark;
  --bg:#07111b;
  --panel:#102131cc;
  --panel-solid:#122433;
  --text:#f3f7fa;
  --muted:#9faeb9;
  --accent-primary:#58c8ff;
  --accent-secondary:#ff5a00;
  --line:#ffffff19;
  --radius:24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 70% 10%, #1d668866, transparent 32%), linear-gradient(145deg, #050a10, #0b1824 55%, #07131d); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.ambient { position: fixed; border-radius: 50%; filter: blur(100px); opacity: .18; pointer-events: none; }
.ambient-one { width: 420px; height: 420px; background: #12415c; top: 20%; left: -240px; }
.ambient-two { width: 360px; height: 360px; background: var(--accent-primary); right: -220px; bottom: 5%; }

.site-header { height: 82px; display: flex; align-items: center; gap: 34px; padding: 0 max(28px, 5vw); border-bottom: 1px solid var(--line); background: #07111bb5; backdrop-filter: blur(18px); position: relative; z-index: 20; }
.brand { font-weight: 800; font-size: 24px; letter-spacing: -.04em; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a, .site-footer a, .text-button { color: var(--muted); font-size: 14px; }
.main-nav a:hover, .site-footer a:hover, .text-button:hover { color: var(--text); }

.button { border: 1px solid var(--line); border-radius: 12px; padding: 11px 18px; display: inline-flex; justify-content: center; align-items: center; cursor: pointer; color: var(--text); background: transparent; }
.button-primary { border-color: transparent; background: var(--accent-primary); color: #05131c; font-weight: 800; box-shadow: 0 12px 45px #58c8ff29; }
.button-ghost { background: #ffffff09; }
.button-large { padding: 16px 28px; }
.text-button { border: 0; background: transparent; padding: 0; cursor: pointer; }

.hero { min-height: 720px; position: relative; display: flex; align-items: center; padding: 80px max(28px, 8vw); overflow: hidden; }
.hero-copy { position: relative; z-index: 5; max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--accent-primary); font-weight: 800; }
.hero h1 { font-size: clamp(90px, 15vw, 220px); line-height: .78; letter-spacing: -.09em; margin: 34px 0 28px; color: var(--accent-secondary); text-shadow: 0 3px 24px #02070c; }
.hero-subtitle { font-size: clamp(28px, 4vw, 60px); letter-spacing: .03em; margin: 0; color: #edf4f8; }
.hero-promise { font-size: clamp(22px, 3vw, 42px); line-height: 1.08; margin: 65px 0 30px; padding-left: 22px; border-left: 3px solid var(--accent-primary); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tunnel { position: absolute; width: 760px; height: 760px; right: -100px; top: 0; perspective: 700px; transform: rotate(-8deg); }
.tunnel-ring { position: absolute; border: 2px solid #76d2ff55; border-radius: 46% 54% 53% 47%; inset: 15%; box-shadow: 0 0 45px #58c8ff33; animation: spin 18s linear infinite; }
.ring-b { inset: 27%; border-color: var(--accent-secondary); animation-direction: reverse; animation-duration: 12s; }
.ring-c { inset: 39%; border-color: #fff8; animation-duration: 8s; }
.code-stream { position: absolute; color: #8ed8ffaa; font: 12px ui-monospace, monospace; letter-spacing: .3em; white-space: nowrap; animation: drift 7s ease-in-out infinite; }
.stream-a { top: 25%; left: 10%; transform: rotate(35deg); }
.stream-b { bottom: 24%; right: 6%; transform: rotate(-30deg); animation-delay: -3s; }
@keyframes spin { to { transform: rotate(360deg) scale(.92); } }
@keyframes drift { 50% { opacity: .25; transform: translateY(45px) rotate(35deg); } }

.signal-grid, .price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 max(28px, 8vw) 100px; }
.signal-grid article, .price-grid article, .feature-story article, .license-card, .partner-card, .stat-row article { background: #122433d9; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(16px); }
.signal-grid span { font: 700 12px ui-monospace, monospace; color: var(--accent-secondary); }
h2 { letter-spacing: -.03em; }
.signal-grid p, .feature-story p, .price-grid p, .lead, .notice { color: var(--muted); line-height: 1.65; }

.page-shell { max-width: 1180px; margin: 0 auto; padding: 110px 28px 130px; min-height: 720px; }
.page-shell > h1, .cabinet-content h1 { font-size: clamp(48px, 7vw, 92px); letter-spacing: -.06em; line-height: .94; max-width: 900px; margin: 20px 0 30px; }
.lead { font-size: 20px; max-width: 760px; }
.feature-story { display: grid; gap: 18px; margin-top: 65px; }
.feature-story article h2 { font-size: 30px; max-width: 800px; }

.price-grid { padding: 45px 0; }
.price-grid article { display: flex; flex-direction: column; gap: 12px; }
.price-grid .featured { border-color: #58c8ff77; transform: translateY(-12px); box-shadow: 0 22px 80px #58c8ff15; }
.plan-name { color: var(--accent-primary) !important; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; }
.price { font-size: 52px !important; color: var(--text) !important; font-weight: 800; margin: 5px 0 !important; }
.price-grid .button { margin-top: auto; }
.notice { border-left: 2px solid var(--accent-secondary); padding-left: 18px; }

.download-panel { text-align: center; }
.platform-mark { margin: 60px auto 35px; width: 190px; height: 190px; border-radius: 42px; border: 1px solid var(--accent-secondary); display: grid; place-content: center; font-weight: 900; font-size: 48px; background: #58c8ff18; box-shadow: 0 0 80px #58c8ff22; }
.platform-mark span { display: block; font-size: 16px; color: var(--accent-secondary); }
.download-meta { display: flex; justify-content: center; gap: 60px; margin-top: 55px; }
.download-meta dt { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.download-meta dd { margin: 8px 0; }

.release-list { margin-top: 65px; }
.release-list article { padding: 40px; border-left: 1px solid var(--accent-primary); background: #ffffff05; }
.release-list article:first-child h2 { color: var(--accent-secondary); }
.release-list time { color: var(--muted); }
.release-list li { margin: 12px 0; color: var(--muted); }
.centered { text-align: center; }
.centered h1, .centered .lead { margin-left: auto; margin-right: auto; }

.site-footer { min-height: 100px; padding: 30px max(28px, 5vw); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 30px; color: var(--muted); position: relative; }
.site-footer a { margin-left: auto; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; background: #02070cd9; backdrop-filter: blur(14px); display: grid; place-items: center; padding: 24px; }
.modal-card { position: relative; width: min(460px, 100%); max-height: 90vh; overflow: auto; border: 1px solid #ffffff22; border-radius: 24px; background: var(--panel-solid); padding: 36px; box-shadow: 0 35px 120px #000; }
.modal-wide { width: min(720px, 100%); }
.modal-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; color: var(--muted); font-size: 30px; cursor: pointer; }
.stack-form { display: grid; gap: 17px; }
.stack-form label { display: grid; gap: 8px; color: #e7edf2; font-size: 14px; }
.stack-form input { width: 100%; border: 1px solid #ffffff1c; background: #0a1823; color: var(--text); padding: 13px 14px; border-radius: 10px; outline: none; }
.stack-form input:focus { border-color: var(--accent-primary); }
.check { grid-template-columns: auto 1fr !important; align-items: start; }
.check input { width: auto; margin-top: 3px; }
.muted, .legal-copy { color: var(--muted); }
.modal-explanation a { color: var(--accent-primary); text-decoration: none; }
.modal-explanation a:hover { text-decoration: underline; }
.modal-links { display: flex; justify-content: space-between; margin-top: 22px; }

.cabinet-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 760px; max-width: 1400px; margin: 0 auto; padding: 50px 28px 100px; gap: 45px; }
.cabinet-nav { display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); padding-right: 28px; }
.cabinet-nav strong { font-size: 24px; margin-bottom: 24px; }
.cabinet-nav a { padding: 12px 14px; color: var(--muted); border-radius: 10px; }
.cabinet-nav a.active { background: #58c8ff14; color: var(--accent-primary); }
.cabinet-content header { display: flex; align-items: center; justify-content: space-between; }
.cabinet-content h1 { font-size: 58px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-row article { display: flex; flex-direction: column; gap: 8px; }
.stat-row span { color: var(--muted); }
.stat-row strong { font-size: 34px; }
.license-card { margin-top: 18px; display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px; align-items: center; }
.license-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.license-card dt { color: var(--muted); font-size: 12px; }
.license-card dd { margin: 6px 0; overflow-wrap: anywhere; }
.status { font-size: 12px; padding: 5px 9px; border-radius: 20px; }
.status.active { background: #58c8ff1a; color: var(--accent-primary); }
.partner-card { display: flex; justify-content: space-between; margin-top: 18px; }
.partner-list { min-width: 280px; }
.partner-list p { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 10px; }
.partner-list span { color: var(--accent-primary); }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { min-height: 650px; }
  .tunnel { opacity: .42; right: -380px; }
  .signal-grid, .price-grid { grid-template-columns: 1fr; }
  .price-grid .featured { transform: none; }
  .download-meta { flex-direction: column; gap: 20px; }
  .cabinet-shell { grid-template-columns: 1fr; }
  .cabinet-nav { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .license-card { grid-template-columns: 1fr; }
  .license-card dl { grid-template-columns: 1fr; }
  .partner-card { flex-direction: column; }
  .site-footer { flex-wrap: wrap; }
  .site-footer a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; }
}
.offer-section { margin-top: 34px; }.offer-section h2 { font-size: 21px; margin-bottom: 10px; }.offer-section p { color: var(--muted); line-height: 1.65; }.offer-section a, .purchase-offer-note a { color: var(--accent-primary); }.purchase-offer-note { margin-top: 14px; color: var(--muted); font-size: 13px; }
