:root {
  color-scheme: dark;
  --background: #07101d;
  --surface: rgba(15, 29, 47, 0.78);
  --surface-hover: rgba(20, 39, 62, 0.92);
  --border: rgba(151, 181, 212, 0.16);
  --text: #f4f8fb;
  --muted: #91a2b5;
  --accent: #24ded0;
  --accent-blue: #218cff;
  --accent-dark: #073f41;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--background);
  background-size: 44px 44px;
}

body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 50% 12%, rgba(17, 95, 157, .16), transparent 38%); pointer-events: none; }

a { color: inherit; text-decoration: none; }
.glow { position: fixed; z-index: -1; width: 34rem; height: 34rem; border-radius: 50%; filter: blur(110px); opacity: .12; }
.glow-one { top: -14rem; left: 10%; background: #21e6d0; }
.glow-two { right: -16rem; top: 35%; background: #3678ee; }

header, main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
header { height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.brand { display: flex; gap: 12px; align-items: center; font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 0 22px rgba(20, 151, 255, .2); }
nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 13px; }
nav a { transition: color .2s; }
nav a:hover { color: var(--text); }
.github-link { padding: 9px 13px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.025); }

.hero { padding: 96px 0 90px; text-align: center; }
.logo-stage { position: relative; width: 132px; height: 132px; margin: -28px auto 24px; display: grid; place-items: center; }
.logo-stage::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 143, 255, .2), transparent 68%); filter: blur(8px); }
.logo-orbit { position: absolute; inset: 0; border: 1px solid rgba(75, 177, 255, .2); border-radius: 50%; }
.logo-orbit::after { content: ""; position: absolute; top: 11px; right: 20px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.hero-logo { position: relative; width: 104px; height: 104px; border-radius: 25px; filter: drop-shadow(0 18px 34px rgba(0, 113, 255, .28)); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 99px; color: #b8c7d7; background: rgba(14, 28, 45, .6); font-size: 12px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
h1 { margin: 28px 0 22px; font-size: clamp(48px, 7vw, 82px); line-height: .98; letter-spacing: -.065em; }
h1 em { color: transparent; background: linear-gradient(100deg, var(--accent), #29a8ff); background-clip: text; -webkit-background-clip: text; font-style: normal; }
.intro { width: min(630px, 100%); margin: 0 auto 34px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.primary-download { display: inline-flex; align-items: center; gap: 14px; min-width: 280px; padding: 15px 22px; border-radius: 12px; color: #031817; background: linear-gradient(110deg, var(--accent), #31c9e9); box-shadow: 0 12px 40px rgba(38,217,199,.17); text-align: left; transition: transform .2s, box-shadow .2s; }
.primary-download:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(38,217,199,.25); }
.download-icon { font-size: 25px; }
.primary-download small, .primary-download strong { display: block; }
.primary-download small { margin-bottom: 2px; font-size: 10px; font-weight: 700; opacity: .68; text-transform: uppercase; }
.primary-download strong { font-size: 14px; }
.version { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 14px 0 0; color: #71859a; font-size: 11px; }
.version span { width: 5px; height: 5px; border-radius: 50%; background: #55d58b; box-shadow: 0 0 8px rgba(85,213,139,.6); }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: rgba(10, 23, 39, .62); }
.benefits article { display: flex; gap: 18px; padding: 26px; }
.benefits article + article { border-left: 1px solid var(--border); }
.benefit-number { color: var(--accent); font-family: ui-monospace, monospace; font-size: 11px; }
.benefits strong { display: block; margin-bottom: 7px; font-size: 14px; }
.benefits p { margin: 0; color: #708399; font-size: 12px; line-height: 1.55; }

.downloads { padding: 100px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 30px; }
.section-heading > p { max-width: 430px; margin: 0; color: #718499; font-size: 13px; line-height: 1.55; }
.kicker { margin: 0 0 9px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .16em; }
h2 { margin: 0; font-size: clamp(27px, 4vw, 38px); letter-spacing: -.04em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 28px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(145deg, rgba(18, 35, 56, .88), rgba(10, 23, 39, .78)); backdrop-filter: blur(18px); transition: transform .2s, border-color .2s, background .2s; }
.card::before { content: ""; position: absolute; width: 140px; height: 140px; top: -75px; left: -55px; border-radius: 50%; background: var(--accent-blue); opacity: .06; filter: blur(25px); }
.card:hover, .card.recommended { transform: translateY(-4px); border-color: rgba(38,217,199,.42); background: var(--surface-hover); }
.card.recommended::after { content: "RECOMENDADO"; position: absolute; top: 16px; right: 16px; color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.system-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 34px; border-radius: 12px; color: var(--accent); background: var(--accent-dark); font-size: 25px; }
.windows { grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); gap: 2px; }
.windows i { display: block; width: 9px; height: 9px; background: var(--accent); }
.linux { font-size: 28px; }
.apple { position: relative; font-size: 30px; }
.apple::after { content: ""; position: absolute; width: 11px; height: 6px; top: 8px; left: 26px; border-radius: 9px 1px; background: var(--accent-dark); transform: rotate(-35deg); }
.card-copy h3 { margin: 0 0 7px; font-size: 22px; letter-spacing: -.02em; }
.card-copy p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.card-copy span { color: #64788d; font-size: 11px; }
.card > a { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px; color: #d8e3ec; background: rgba(255,255,255,.035); font-size: 13px; font-weight: 650; transition: color .2s, border-color .2s, background .2s; }
.card > a:hover { color: var(--accent); border-color: rgba(38,217,199,.45); }
.card > a b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: var(--accent); background: rgba(38,217,199,.08); }
.alternatives { margin-top: 12px; color: #65798d; font-size: 11px; }
.alternatives a { margin-left: 6px; color: #9eb2c6; text-decoration: underline; text-underline-offset: 3px; }

.getting-started { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 82px; margin-bottom: 100px; border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(135deg, rgba(17, 40, 64, .8), rgba(8, 20, 34, .86)); }
.install-copy h2 { margin-bottom: 20px; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.08; }
.install-copy > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.65; }
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border: 0; padding-bottom: 0; }
.steps li > span { display: grid; flex: 0 0 auto; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(38,217,199,.3); border-radius: 50%; color: var(--accent); font-family: ui-monospace, monospace; font-size: 11px; }
.steps strong { font-size: 14px; }
.steps p { margin: 5px 0 0; color: #74879a; font-size: 12px; }

footer { display: flex; align-items: center; gap: 20px; padding: 26px 0 38px; border-top: 1px solid var(--border); color: #66798c; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: #b9c7d5; font-weight: 750; }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
footer p { margin: 0; }
footer a { margin-left: auto; color: #8ea1b4; }

@media (max-width: 800px) {
  .hero { padding: 78px 0 72px; }
  .logo-stage { width: 112px; height: 112px; margin-top: -18px; }
  .hero-logo { width: 88px; height: 88px; border-radius: 22px; }
  .benefits { grid-template-columns: 1fr; }
  .benefits article + article { border-left: 0; border-top: 1px solid var(--border); }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 290px; }
  .getting-started { grid-template-columns: 1fr; gap: 42px; padding: 48px; }
}

@media (max-width: 520px) {
  header, main, footer { width: min(100% - 28px, 1120px); }
  header { height: 70px; }
  nav > a:not(.github-link) { display: none; }
  nav { gap: 0; }
  h1 { font-size: 47px; }
  .intro { font-size: 16px; }
  .downloads { padding-top: 56px; }
  .benefits article { padding: 22px; }
  .getting-started { padding: 30px 24px; margin-bottom: 70px; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  footer a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
