:root {
  --bg: #070b16;
  --bg2: #0d1426;
  --text: #e8edf7;
  --muted: #9aa6bd;
  --line: rgba(255, 255, 255, .09);
  --card: rgba(255, 255, 255, .045);
  --accent: #2f6bff;
  --accent2: #5aa2ff;
  --ok: #3ddc84;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(1200px 600px at 75% 20%, #12224a 0%, transparent 60%), linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  color: var(--text);
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

.glow { position: fixed; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; z-index: 0; }
.glow-a { width: 420px; height: 420px; background: #2f6bff; top: -120px; right: 8%; }
.glow-b { width: 360px; height: 360px; background: #7a3cff; bottom: -160px; left: -80px; opacity: .22; }

.top, .hero, .steps, .apps, .foot { position: relative; z-index: 1; width: min(1180px, 100% - 48px); margin: 0 auto; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 4px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: .2px; }
.pill { font-size: 13px; color: var(--accent2); border: 1px solid rgba(90, 162, 255, .35); background: rgba(47, 107, 255, .12); padding: 4px 12px; border-radius: 999px; }
.hidden { display: none !important; }

.hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 8px 0 8px; }

.eyebrow { margin: 0 0 14px; color: var(--accent2); font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; font-size: 13px; }
h1 { margin: 0; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.06; letter-spacing: -1px; font-weight: 800; }
.grad { background: linear-gradient(90deg, #8fc1ff 0%, #4f86ff 45%, #a77bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; max-width: 560px; margin: 16px 0 22px; }

.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 12px;
  background: linear-gradient(180deg, #4a83ff 0%, #2f6bff 100%); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 17px; box-shadow: 0 10px 30px -8px rgba(47, 107, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(47, 107, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn.off { pointer-events: none; opacity: .5; }
.meta { color: var(--muted); font-size: 14px; line-height: 1.5; }

.features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; max-width: 600px; }
.features li { display: flex; gap: 12px; align-items: flex-start; }
.features b { display: block; font-size: 15px; }
.features small { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.fi { flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(47, 107, 255, .14); border: 1px solid rgba(90, 162, 255, .25); display: grid; place-items: center; }
.fi svg, .chip svg { width: 18px; height: 18px; fill: none; stroke: var(--accent2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Ventanas de ejemplo */
.visual { position: relative; height: 430px; }
.win {
  position: absolute; width: 340px; border-radius: 12px; overflow: hidden; background: #f3f4f7; color: #1b1b1b;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}
.win-back { right: 0; top: 10px; transform: rotate(3deg); opacity: .96; }
.win-front { left: 0; top: 200px; transform: rotate(-3deg); animation: float 6s ease-in-out infinite; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #fff; border-bottom: 1px solid #e6e6e6; font-size: 12.5px; }
.win-bar img { width: 16px; height: 16px; }
.win-bar span { flex: 1; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d9de; }
.win-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.w-title { font-weight: 700; font-size: 16px; }
.w-secure { color: #107c10; font-size: 12.5px; }
.w-card { background: #fff; border: 1px solid #e3e3e8; border-radius: 9px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.w-bar { height: 8px; background: #e3e6ee; border-radius: 4px; overflow: hidden; }
.w-fill { height: 100%; width: 80%; background: #2563eb; border-radius: 4px; animation: fill 5s ease-in-out infinite alternate; }
.w-row { display: flex; justify-content: space-between; font-size: 11.5px; color: #666; }
.w-file { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #e3e3e8; border-radius: 9px; padding: 8px 10px; }
.w-file b { display: block; font-size: 12.5px; font-weight: 600; }
.w-file small { color: #777; font-size: 11px; }
.w-ico { color: #888; font-size: 18px; }
.w-code-card { background: #e8f0fe; border-radius: 10px; padding: 14px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.w-code-card small { color: #5f5f5f; font-size: 11.5px; }
.w-code { font-family: "Cascadia Mono", Consolas, monospace; font-size: 27px; font-weight: 700; color: #1d4ed8; }
.w-copy { align-self: center; font-size: 11px; color: #1d4ed8; background: #fff; border-radius: 6px; padding: 3px 9px; }

.chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: rgba(13, 20, 38, .85); border: 1px solid var(--line); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.chip-a { right: 30px; bottom: 40px; }
.chip-b { left: 30px; top: 90px; }
.chip-b svg { stroke: var(--ok); }

@keyframes float { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }
@keyframes fill { from { width: 35%; } to { width: 92%; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 6px 0 12px; }
.step { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.step b { color: var(--text); }
.n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(180deg, #4a83ff, #2f6bff); }

.also { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); text-decoration: none; font-size: 14px; }
.also b { color: #5eead4; }
.also:hover { color: var(--text); }

.apps { padding: 18px 0 18px; }
.apps h2 { font-size: clamp(20px, 2vw, 26px); margin: 0 0 16px; letter-spacing: -.3px; }
.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.app-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.app-card.sync { border-color: rgba(45, 212, 191, .28); background: linear-gradient(180deg, rgba(45, 212, 191, .07), rgba(255, 255, 255, .03)); }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-head h3 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.app-head small { color: var(--muted); font-size: 14px; }
.new { font-size: 11.5px; font-weight: 700; color: #04342c; background: #5eead4; border-radius: 999px; padding: 2px 9px; letter-spacing: .3px; }
.app-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }
.app-card ul { margin: 0 0 6px; padding-left: 20px; color: var(--text); line-height: 1.7; font-size: 14.5px; }
.app-card .btn { font-size: 16px; padding: 13px 22px; }
.btn-sync { background: linear-gradient(180deg, #2dd4bf 0%, #0d9488 100%); box-shadow: 0 10px 30px -8px rgba(13, 148, 136, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-sync:hover { box-shadow: 0 16px 36px -8px rgba(13, 148, 136, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }

.foot { color: #6f7b93; font-size: 12.5px; text-align: center; padding: 2px 0 14px; }
.linux-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.linux-lbl { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-right: 2px; }
.pill-dl { font-size: 13.5px; color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: rgba(255, 255, 255, .04); }
.pill-dl:hover { border-color: #8fa3c7; background: rgba(255, 255, 255, .08); }
.foot code { font-size: 12px; }
.sc-foot { display: flex; width: fit-content; align-items: center; gap: 10px; margin: 14px auto 0; color: #8fa3c7; text-decoration: none; font-size: 13px; }
.sc-foot:hover { color: var(--text); }
.sc-foot img { display: block; }
.made-with { display: block; width: 66px; margin: 10px auto 0; opacity: .75; }
.made-with img { display: block; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .visual { height: 420px; max-width: 520px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .app-cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .win { width: 290px; }
  .visual { height: 400px; }
  .win-front { top: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .win-front, .w-fill { animation: none; }
}
