:root {
  --bg: #07080c;
  --bg-2: #0c0e14;
  --panel: #11141c;
  --panel-2: #171b25;
  --line: #1f2430;
  --line-2: #2b3242;
  --text: #eceef4;
  --muted: #8d95a8;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --ok: #34d399;
  --radius: 16px;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
a { color: inherit; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: #07080cd9; backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid #ffffff0d; }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; }
.brand img { width: 30px; height: 30px; }
.brand span span { color: #a78bfa; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); transition: transform .1s, filter .15s, background .15s; cursor: pointer; }
.btn:hover { background: var(--panel-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { border: 0; background: var(--grad); color: #fff; box-shadow: 0 12px 32px -12px #8b5cf6; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 40px; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -200px 0 auto; height: 600px; background: radial-gradient(600px 300px at 30% 30%, #8b5cf633, transparent 70%), radial-gradient(600px 300px at 70% 20%, #22d3ee22, transparent 70%); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: #ffffff06; font-size: 13px; color: var(--muted); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px #34d39926; }
.hero h1 { position: relative; font-size: clamp(38px, 6vw, 68px); margin: 22px auto 0; max-width: 900px; }
.hero .lead { position: relative; max-width: 660px; margin: 20px auto 0; font-size: 19px; color: #b8bfcf; }
.hero-cta { position: relative; display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { position: relative; margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* ---------- app mockup ---------- */
.mock { position: relative; margin: 64px auto 0; max-width: 1040px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 60px 120px -40px #000, 0 0 0 1px #ffffff08 inset; overflow: hidden; text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #0a0c11; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3040; }
.mock-tabs { display: flex; gap: 4px; margin-left: 14px; }
.mock-tab { font-size: 12px; padding: 5px 12px; border-radius: 8px 8px 0 0; color: var(--muted); }
.mock-tab.on { background: var(--panel); color: var(--text); }
.mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 8px; background: var(--panel); }
.mock-pane { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #05060a; }
.mock-head { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; font-size: 11.5px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.mock-head b { font-weight: 600; }
.mock-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.mock-head .modes { margin-left: auto; display: flex; gap: 2px; padding: 2px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); }
.mock-head .modes span { font-size: 10px; padding: 1px 6px; border-radius: 4px; color: var(--muted); }
.mock-head .modes span.on { background: var(--panel-2); color: var(--text); }
.screen { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.screen.win { background: radial-gradient(120% 90% at 70% 110%, #1e3a8a, #0b1024 60%); }
.screen.win2 { background: radial-gradient(120% 90% at 20% 110%, #5b21b6, #120a26 60%); }
.screen.linux { background: radial-gradient(120% 90% at 50% 120%, #9a3412, #1a0d09 60%); }
.screen.mint { background: radial-gradient(120% 90% at 80% 120%, #166534, #07140c 60%); }
.screen .task { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: #0008; backdrop-filter: blur(4px); }
.screen .win-card { position: absolute; left: 12%; top: 14%; width: 46%; height: 52%; border-radius: 6px; background: #ffffffd9; box-shadow: 0 10px 30px #0006; }
.screen .win-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12%; background: #e5e7eb; border-radius: 6px 6px 0 0; }
.screen .term { position: absolute; right: 8%; top: 20%; width: 44%; height: 50%; border-radius: 6px; background: #0b0f14ee; border: 1px solid #ffffff1a; padding: 6% 5%; }
.screen .term span { display: block; height: 5px; margin-bottom: 7px; border-radius: 3px; background: #34d39966; }
.screen .term span:nth-child(2) { width: 70%; background: #22d3ee55; }
.screen .term span:nth-child(3) { width: 45%; }
.screen .cursor { position: absolute; left: 34%; top: 42%; width: 0; height: 0; border-left: 7px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; transform: rotate(-20deg); filter: drop-shadow(0 1px 2px #000); animation: drift 6s ease-in-out infinite; }
@keyframes drift { 0%, 100% { left: 30%; top: 40%; } 33% { left: 52%; top: 28%; } 66% { left: 40%; top: 58%; } }
.screen.win2 .cursor { animation-delay: -2s; }
.screen.linux .cursor { animation-delay: -4s; }
.screen.mint .cursor { animation-delay: -1s; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a78bfa; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-top: 12px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-head.left { text-align: left; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.feature:hover { border-color: var(--line-2); transform: translateY(-2px); }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #8b5cf61c; color: #c4b5fd; margin-bottom: 18px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; }
.feature p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), transparent); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); font-weight: 700; margin-bottom: 18px; }
.step h3 { font-size: 18px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; color: #c9cfdc; }
.list li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: #34d3991f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.spec { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec div:last-child { border-bottom: 0; }
.spec span:first-child { color: var(--muted); }
.spec span:last-child { text-align: right; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 14px; border: 1px solid var(--line); background: var(--panel); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 15px; }

.cta { text-align: center; padding: 72px 24px; border-radius: 24px; border: 1px solid var(--line-2); background: radial-gradient(500px 200px at 50% 0%, #8b5cf62e, transparent 70%), var(--bg-2); }
.cta h2 { font-size: clamp(28px, 4vw, 40px); }
.cta p { margin: 14px auto 30px; max-width: 520px; color: var(--muted); }
.cta .hero-meta { margin-top: 16px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- legal pages ---------- */
.legal { max-width: 800px; padding: 64px 24px 96px; }
.legal h1 { font-size: 40px; }
.legal .stand { margin-top: 10px; color: var(--muted); font-size: 14px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: #c3c9d6; font-size: 15.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal address { font-style: normal; color: var(--text); line-height: 1.7; padding: 18px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin: 12px 0; }
.legal a { color: #a5b4fc; }
.legal .toc { margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); columns: 2; font-size: 14.5px; }
.legal .toc a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
.legal .toc a:hover { color: var(--text); }

@media (max-width: 900px) {
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 620px) {
  .features, .steps, .mock-grid { grid-template-columns: 1fr; }
  .mock-grid .mock-pane:nth-child(n+3) { display: none; }
  .hero { padding-top: 64px; }
  section { padding: 72px 0; }
  .legal .toc { columns: 1; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
