:root {
  color-scheme: dark;
  --ink: #edf8ff;
  --muted: #8ea6b7;
  --muted-strong: #b8cbd7;
  --bg: #06101b;
  --bg-deep: #03080e;
  --panel: rgba(12, 29, 44, .72);
  --panel-solid: #0c1b29;
  --line: rgba(152, 212, 235, .14);
  --line-strong: rgba(93, 218, 255, .34);
  --cyan: #5de3ff;
  --cyan-soft: #b5f4ff;
  --blue: #3887ff;
  --green: #64f0bd;
  --amber: #ffd37a;
  --shadow: 0 30px 80px rgba(0, 0, 0, .38);
  --radius: 24px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 7%, rgba(24, 111, 164, .23), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, #07121d 46%, var(--bg-deep) 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
svg { display: block; }
.section-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.page-noise {
  position: fixed; inset: 0; z-index: -4; pointer-events: none; opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}
.ambient { position: absolute; z-index: -3; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.ambient-one { width: 780px; height: 780px; top: -460px; left: -220px; border: 130px solid rgba(71, 173, 220, .08); }
.ambient-two { width: 650px; height: 650px; top: 380px; right: -420px; border: 110px solid rgba(58, 129, 255, .06); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 13, 22, .7);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(4, 13, 22, .88); }
.nav-shell { width: min(var(--max), calc(100% - 48px)); height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; }
.brand b { color: var(--cyan); font-weight: 700; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--cyan); background: linear-gradient(145deg, rgba(93,227,255,.17), rgba(56,135,255,.06)); border: 1px solid rgba(93,227,255,.28); border-radius: 11px; box-shadow: inset 0 1px rgba(255,255,255,.08); }
.brand-mark svg { width: 27px; fill: currentColor; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.desktop-nav a { color: var(--muted-strong); font-size: 14px; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--cyan); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.github-pill { height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; color: var(--muted-strong); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.025); }
.github-pill:hover { border-color: var(--line-strong); color: white; }
.github-pill svg { width: 17px; fill: currentColor; }
.language-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.025); }
.language-switch button { min-width: 31px; height: 26px; padding: 0 7px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.language-switch button.active { color: #041019; background: var(--cyan-soft); font-weight: 800; }

.hero { min-height: calc(100svh - 76px); padding: 80px 0 82px; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 50px; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 50%; height: 1px; opacity: .25; background: linear-gradient(90deg, var(--cyan), transparent); }
.eyebrow, .section-kicker { color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { width: fit-content; display: flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid rgba(93,227,255,.2); border-radius: 999px; background: rgba(93,227,255,.055); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(100,240,189,.09), 0 0 18px rgba(100,240,189,.8); }
.hero h1 { margin: 25px 0 23px; font-size: clamp(48px, 4.7vw, 68px); line-height: .99; letter-spacing: -.065em; font-weight: 760; }
.hero h1 em { white-space: nowrap; font-style: normal; font-weight: 550; color: transparent; background: linear-gradient(92deg, var(--cyan-soft), var(--cyan) 48%, #77aaff); background-clip: text; -webkit-background-clip: text; }
.hero-description { max-width: 610px; margin: 0; color: var(--muted-strong); font-size: 19px; line-height: 1.75; letter-spacing: .005em; }
.disclaimer { display: flex; align-items: flex-start; gap: 8px; margin: 20px 0 0; color: #6f8797; font-size: 12px; line-height: 1.6; }
.disclaimer span:first-child { color: #7fa5bb; }
.hero-ctas { display: flex; align-items: stretch; gap: 12px; margin-top: 32px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border-radius: 15px; padding: 0 21px; font-weight: 750; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #041119; background: linear-gradient(135deg, #d8faff, var(--cyan)); box-shadow: 0 16px 45px rgba(44, 193, 238, .18); }
.button-primary:hover { box-shadow: 0 18px 55px rgba(44, 193, 238, .3); }
.button-primary svg { width: 22px; fill: currentColor; }
.button-primary span { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.button-primary small { font-size: 9px; opacity: .62; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.button-primary b { font-size: 15px; }
.button-secondary { border: 1px solid var(--line); color: var(--muted-strong); background: rgba(255,255,255,.025); font-size: 14px; }
.button-secondary:hover { color: white; border-color: var(--line-strong); background: rgba(93,227,255,.05); }
.hero-stats { display: flex; gap: 0; margin-top: 34px; }
.hero-stats div { min-width: 120px; display: flex; flex-direction: column; gap: 4px; padding-right: 24px; margin-right: 24px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border: 0; margin: 0; padding: 0; }
.hero-stats strong { font-size: 19px; letter-spacing: -.02em; }
.hero-stats span { color: var(--muted); font-size: 11px; }

.hero-visual { min-height: 610px; position: relative; display: grid; place-items: center; perspective: 1200px; }
.hero-visual::before { content: ""; position: absolute; width: 78%; height: 72%; border-radius: 50%; background: rgba(29, 151, 211, .13); filter: blur(65px); }
.orbit { position: absolute; border: 1px solid rgba(96, 216, 255, .16); border-radius: 50%; transform: rotate(-17deg); }
.orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.orbit-one { width: 650px; height: 330px; }
.orbit-one::after { left: 13%; top: 12%; }
.orbit-two { width: 520px; height: 610px; transform: rotate(53deg); opacity: .55; }
.orbit-two::after { right: 6%; top: 39%; }
.launcher-window { width: min(100%, 610px); border: 1px solid rgba(143, 219, 244, .22); border-radius: 26px; overflow: hidden; background: rgba(5, 15, 25, .84); box-shadow: 0 50px 100px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.07); backdrop-filter: blur(25px); transform: rotateY(-7deg) rotateX(3deg); animation: windowFloat 7s ease-in-out infinite; }
.window-topbar { height: 55px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff6c78; }
.window-dots i:nth-child(2) { background: var(--amber); }.window-dots i:nth-child(3) { background: var(--green); }
.window-state { justify-self: end; display: flex; align-items: center; gap: 7px; color: #9db7c7; }
.window-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.window-body { min-height: 430px; padding: 28px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 17px; background-image: linear-gradient(rgba(79, 169, 205, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 169, 205, .035) 1px, transparent 1px); background-size: 24px 24px; }
.terminal, .tray-panel { border: 1px solid var(--line); border-radius: 18px; background: rgba(4, 12, 20, .82); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.terminal { min-height: 310px; padding: 18px; font: 12px/1.7 "Cascadia Code", "SFMono-Regular", Consolas, monospace; }
.terminal-title { display: flex; align-items: center; gap: 8px; margin-bottom: 29px; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: #7892a3; }
.terminal-title span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: var(--cyan); background: rgba(93,227,255,.09); font-size: 10px; }
.terminal-title b { color: #a7bfce; font-weight: 500; }
.terminal-line { display: flex; gap: 9px; margin: 7px 0; color: #dbeef7; white-space: nowrap; }
.terminal-line .prompt { color: var(--cyan); }.terminal-line .command { color: white; font-weight: 700; }
.terminal-line.muted { color: #7690a0; }.terminal-line.success { color: var(--green); }
.terminal-cursor { width: 8px; height: 17px; margin-top: 15px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
.tray-panel { align-self: center; padding: 14px; box-shadow: 0 25px 45px rgba(0,0,0,.35); }
.tray-head { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; padding: 5px 3px 14px; }
.tray-logo { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--cyan); background: rgba(93,227,255,.1); }
.tray-logo svg { width: 26px; fill: currentColor; }
.tray-head div { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.tray-head b { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tray-head span { color: var(--muted); font-size: 8px; }
.online-light { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.tray-panel button { width: 100%; height: 35px; display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 5px; margin-top: 5px; padding: 0 8px; color: #9eb4c2; border: 0; border-radius: 9px; background: transparent; text-align: left; font-size: 9px; }
.tray-panel button:hover { background: rgba(93,227,255,.07); color: white; }
.toggle-on { width: 21px; height: 12px; padding: 2px; border-radius: 999px; background: var(--green); }
.toggle-on::after { content: ""; display: block; width: 8px; height: 8px; margin-left: 9px; border-radius: 50%; background: #062019; }
.floating-tag { position: absolute; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(6, 20, 31, .88); box-shadow: var(--shadow); backdrop-filter: blur(15px); font-size: 11px; }
.floating-tag span { color: var(--green); }.floating-tag b { font-weight: 600; }
.tag-background { top: 11%; right: -2%; animation: tagFloat 6s ease-in-out infinite; }
.tag-tray { bottom: 10%; left: 0; animation: tagFloat 6s 1.2s ease-in-out infinite; }

.quick-install { min-height: 86px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 17px 22px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(90deg, rgba(93,227,255,.06), rgba(255,255,255,.018)); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.quick-label { display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.quick-label span { color: var(--muted); font-size: 10px; }.quick-label b { font-size: 13px; }
.quick-install code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #acd6e6; font: 11px "Cascadia Code", Consolas, monospace; }
.copy-button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); cursor: pointer; font-size: 11px; }
.copy-button:hover { border-color: var(--line-strong); background: rgba(93,227,255,.05); }
.copy-button b { color: var(--muted); font-size: 9px; }

.content-section { padding: 150px 0 30px; }
.section-heading { max-width: 670px; margin-bottom: 48px; }
.section-heading h2, .final-cta h2 { margin: 13px 0 16px; font-size: clamp(34px, 4vw, 55px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-card { min-height: 250px; position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(16, 38, 56, .72), rgba(7, 19, 30, .72)); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.feature-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -100px; bottom: -120px; border: 1px solid rgba(93,227,255,.12); border-radius: 50%; box-shadow: 0 0 50px rgba(93,227,255,.04); }
.feature-card:hover { border-color: rgba(93,227,255,.27); }
.feature-wide { grid-column: span 3; min-height: 210px; display: grid; grid-template-columns: auto .7fr 1fr; align-items: center; gap: 25px; }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(93,227,255,.24); border-radius: 14px; color: var(--cyan); background: rgba(93,227,255,.075); font-size: 20px; }
.feature-card h3 { margin: 22px 0 11px; font-size: 20px; letter-spacing: -.025em; }.feature-wide h3 { margin-top: 0; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.mini-process { justify-self: end; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr auto 1.2fr; align-items: center; gap: 8px; color: var(--muted); font: 10px "Cascadia Code", monospace; }
.mini-process span, .mini-process strong { padding: 14px 10px; border: 1px solid var(--line); border-radius: 10px; text-align: center; white-space: nowrap; }.mini-process strong { color: var(--green); background: rgba(100,240,189,.045); }

.commands-section { margin-top: 120px; padding: 115px 0; border-block: 1px solid var(--line); background: linear-gradient(110deg, rgba(9, 29, 43, .78), rgba(3, 10, 17, .45)); }
.commands-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 95px; align-items: start; }
.text-link { display: inline-flex; margin-top: 24px; color: var(--cyan); font-size: 13px; font-weight: 750; }
.command-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(4, 13, 22, .65); box-shadow: var(--shadow); }
.command-list div { min-height: 69px; display: grid; grid-template-columns: 210px 1fr; align-items: center; gap: 25px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.command-list div:last-child { border: 0; }
.command-list code { color: var(--cyan-soft); font: 12px "Cascadia Code", Consolas, monospace; }.command-list span { color: var(--muted); font-size: 13px; }

.faq-list { max-width: 900px; margin-left: auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--cyan); font-size: 22px; font-weight: 400; transition: transform .2s ease; }.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { max-width: 700px; margin: -3px 0 24px; color: var(--muted); line-height: 1.8; font-size: 14px; }

.final-cta { min-height: 300px; margin-top: 150px; padding: 55px 62px; display: flex; align-items: center; justify-content: space-between; gap: 50px; position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 30px; background: radial-gradient(circle at 75% 0%, rgba(93,227,255,.16), transparent 37%), linear-gradient(135deg, rgba(16,47,68,.92), rgba(5,18,29,.92)); box-shadow: var(--shadow); }
.final-cta::after { content: ""; position: absolute; width: 440px; height: 440px; right: -170px; top: -280px; border: 1px solid rgba(93,227,255,.22); border-radius: 50%; box-shadow: 0 0 0 55px rgba(93,227,255,.025), 0 0 0 110px rgba(93,227,255,.018); }
.final-cta > * { position: relative; z-index: 1; }.final-cta h2 { margin-bottom: 10px; }.final-cta p { margin: 0; color: var(--muted); }
.final-cta .button { flex: 0 0 auto; min-width: 235px; }

.site-footer { min-height: 180px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: var(--muted); font-size: 11px; }
.footer-brand { font-size: 14px; }.footer-brand .brand-mark { width: 27px; height: 27px; border-radius: 8px; font-size: 11px; }
.site-footer p { text-align: center; }.site-footer div:last-child { justify-self: end; display: flex; gap: 19px; }.site-footer a:hover { color: var(--cyan); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: #102432; box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes blink { 50% { opacity: 0; } }
@keyframes windowFloat { 0%,100% { transform: rotateY(-7deg) rotateX(3deg) translateY(0); } 50% { transform: rotateY(-5deg) rotateX(2deg) translateY(-10px); } }
@keyframes tagFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 70px; }
  .hero-copy { max-width: 750px; }
  .hero-visual { min-height: 570px; }
  .launcher-window { width: min(88vw, 650px); }
  .tag-background { right: 3%; }.tag-tray { left: 4%; }
  .commands-layout { gap: 50px; }
}

@media (max-width: 760px) {
  .section-shell, .nav-shell { width: min(100% - 28px, var(--max)); }
  .nav-shell { height: 66px; }.github-pill { display: none; }.brand { font-size: 15px; }
  .hero { min-height: auto; padding: 62px 0 70px; }.hero h1 { font-size: clamp(43px, 14vw, 66px); }.hero-description { font-size: 16px; }
  .hero-ctas { align-items: stretch; }.button-secondary { min-width: 130px; }
  .hero-stats { justify-content: space-between; }.hero-stats div { min-width: 0; flex: 1; padding-right: 12px; margin-right: 12px; }
  .hero-visual { min-height: 470px; margin-top: 10px; }.window-body { min-height: 355px; padding: 17px; grid-template-columns: 1fr; }.terminal { min-height: 250px; }.tray-panel { position: absolute; width: 185px; right: 3px; bottom: 22px; }.launcher-window { transform: none; animation: none; }.orbit-one { width: 100%; }.orbit-two { display: none; }
  .floating-tag { display: none; }
  .quick-install { grid-template-columns: 1fr auto; gap: 10px 15px; }.quick-install code { grid-row: 2; grid-column: 1 / -1; }.copy-button { grid-column: 2; grid-row: 1; }
  .content-section { padding-top: 105px; }.feature-grid { grid-template-columns: 1fr; }.feature-wide { grid-column: auto; display: block; }.mini-process { margin-top: 28px; overflow-x: auto; }.feature-card { min-height: auto; }
  .commands-section { margin-top: 80px; padding: 90px 0; }.commands-layout { grid-template-columns: 1fr; gap: 25px; }.command-list div { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
  .final-cta { min-height: 340px; margin-top: 110px; padding: 38px 28px; flex-direction: column; align-items: flex-start; justify-content: center; }.final-cta .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding: 50px 0; text-align: center; }.site-footer div:last-child { justify-self: center; }.site-footer p { margin: 0; }
}

@media (max-width: 500px) {
  .hero-ctas { flex-direction: column; }.button { width: 100%; }.button-primary span { align-items: center; }
  .hero-stats strong { font-size: 16px; }.hero-stats span { font-size: 9px; }
  .window-topbar { grid-template-columns: 1fr 1fr; }.window-topbar > span:nth-child(2) { display: none; }
  .tray-panel { transform: scale(.88); transform-origin: right bottom; }
  .quick-label span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
