/* ============================================================
   Velocity — landing page styles
   Self-contained, no frameworks.
   ============================================================ */

:root {
  --bg: #070b18;
  --bg-2: #0b1124;
  --text: #eef2ff;
  --muted: #98a5c4;
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(255, 255, 255, .035);
  --violet: #8b5cf6;
  --blue: #4f8cff;
  --cyan: #22d3ee;
  --green: #34d399;
  --pink: #f472b6;
  --amber: #fbbf24;
  --grad: linear-gradient(100deg, #a78bfa 0%, #60a5fa 45%, #22d3ee 100%);
  --shadow: 0 30px 80px -25px rgba(0, 0, 0, .75);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name, .grad { font-family: "Space Grotesk", Inter, sans-serif; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.035em; margin: 0 0 18px; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 16px; color: var(--muted); }
a { color: inherit; text-decoration: none; }
code {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: .88em;
  background: rgba(139, 92, 246, .13);
  border: 1px solid rgba(139, 92, 246, .22);
  color: #c4b5fd;
  padding: 1px 6px;
  border-radius: 6px;
  white-space: nowrap;
}
::selection { background: rgba(139, 92, 246, .4); color: #fff; }

/* ---------- background layers ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -4; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 12%, #000 25%, transparent 85%);
}
.aurora { position: fixed; border-radius: 50%; filter: blur(120px); z-index: -3; pointer-events: none; opacity: .5; }
.aurora-a { width: 620px; height: 620px; background: #4c1d95; top: -260px; left: -160px; animation: drift-a 18s ease-in-out infinite alternate; }
.aurora-b { width: 560px; height: 560px; background: #0c4a6e; top: 28%; right: -220px; animation: drift-b 21s ease-in-out infinite alternate; }
.aurora-c { width: 500px; height: 500px; background: #155e75; bottom: -220px; left: 25%; animation: drift-a 24s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate(90px, 70px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-110px, -60px) scale(1.1); } }
#particles { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.cursor-glow {
  position: fixed; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, .12), transparent 65%);
  transform: translate(-50%, -50%); pointer-events: none; z-index: -1;
  transition: opacity .3s; opacity: 0;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(7, 11, 24, .55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, padding .3s;
}
.nav.scrolled { border-color: var(--line); background: rgba(7, 11, 24, .82); padding-top: 11px; padding-bottom: 11px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; display: flex; align-items: flex-end; gap: 3px; transform: skew(-9deg); }
.brand-mark span { width: 6px; border-radius: 3px; background: var(--grad); display: block; }
.brand-mark span:nth-child(1) { height: 12px; }
.brand-mark span:nth-child(2) { height: 21px; }
.brand-mark span:nth-child(3) { height: 29px; }
.brand-name { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.nav-links a { color: var(--muted); font-size: .9rem; font-weight: 500; position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: var(--grad); transition: width .25s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: .93rem;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .25s, border-color .25s, background .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-small { padding: 9px 15px; font-size: .85rem; border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; justify-content: space-between; padding: 15px 20px; }
.btn-primary {
  background: linear-gradient(110deg, #7c3aed, #4f8cff);
  color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 58, 237, .8);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(124, 58, 237, .95); }
.btn-outline { background: rgba(255, 255, 255, .035); border-color: var(--line); color: #e8ecff; }
.btn-outline:hover { border-color: rgba(139, 92, 246, .6); background: rgba(139, 92, 246, .1); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: #fff; }
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent); transform: translateX(-120%); transition: transform .55s; }
.btn:hover::before { transform: translateX(120%); }

/* ---------- sections ---------- */
.section { width: min(1180px, 92vw); margin: 0 auto; padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.kicker {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #c4b5fd; margin-bottom: 16px;
  background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .22);
  padding: 6px 13px; border-radius: 100px;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 40px; padding-top: 170px; padding-bottom: 70px; min-height: 100vh; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 600; color: #c7d2fe; background: rgba(99, 102, 241, .1); border: 1px solid rgba(99, 102, 241, .25); padding: 8px 15px; border-radius: 100px; margin-bottom: 26px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.lead { font-size: 1.12rem; max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: .84rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; fill: none; stroke: #a5b4fc; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; height: 520px; perspective: 1300px; display: flex; align-items: center; justify-content: center; }
.halo { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(99, 102, 241, .22), transparent 68%); filter: blur(14px); }
.ring { position: absolute; border: 1px solid rgba(139, 92, 246, .18); border-radius: 50%; }
.ring-1 { width: 430px; height: 430px; animation: spin 26s linear infinite; }
.ring-2 { width: 520px; height: 520px; border-style: dashed; border-color: rgba(34, 211, 238, .12); animation: spin 40s linear infinite reverse; }
.ring::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; top: 12%; left: 12%; box-shadow: 0 0 14px 3px rgba(34, 211, 238, .55); }
@keyframes spin { to { transform: rotate(360deg); } }

.app-window {
  width: 100%; max-width: 570px; border-radius: 16px; overflow: hidden; position: relative; z-index: 2;
  background: linear-gradient(160deg, rgba(23, 29, 53, .96), rgba(12, 17, 34, .98));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 45px 90px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .1);
  transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -8deg)) translateZ(0);
  transition: transform .18s ease-out;
  transform-style: preserve-3d;
}
.win-bar { display: flex; align-items: center; justify-content: space-between; padding: 11px 15px; background: rgba(255, 255, 255, .035); border-bottom: 1px solid var(--line); font-size: .78rem; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.win-title { font-weight: 600; letter-spacing: -.01em; }
.win-speed { color: #6ee7b7; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 6px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; animation: pulse 1.6s infinite; }
.win-body { display: grid; grid-template-columns: 54px 1fr; min-height: 350px; }
.win-side { background: rgba(0, 0, 0, .2); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 16px 0; gap: 14px; }
.side-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); margin-bottom: 12px; }
.side-item { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; opacity: .45; }
.side-item.active { opacity: 1; background: rgba(139, 92, 246, .2); }
.side-item i { width: 14px; height: 14px; border-radius: 3px; border: 1.6px solid #c7d2fe; display: block; }
.side-item i.ic-clock { border-radius: 50%; }
.side-item i.ic-chart { border-radius: 50%; border-style: dashed; }
.side-item i.ic-gear { transform: rotate(45deg); }
.win-main { padding: 16px 18px; }
.win-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; font-size: .82rem; }
.win-head b { font-size: .95rem; }
.win-head span { color: var(--muted); }
.win-row { display: flex; gap: 11px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .055); }
.file-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; display: grid; place-items: center; font-size: .63rem; font-weight: 800; letter-spacing: .03em; }
.file-icon.violet { background: rgba(139, 92, 246, .2); color: #c4b5fd; }
.file-icon.blue { background: rgba(79, 140, 255, .2); color: #93c5fd; }
.file-icon.amber { background: rgba(251, 191, 36, .18); color: #fcd34d; }
.row-info { flex: 1; min-width: 0; }
.row-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; }
.row-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { font-size: .63rem; font-weight: 600; padding: 2px 7px; border-radius: 100px; background: rgba(255, 255, 255, .07); color: var(--muted); white-space: nowrap; }
.pill.ok { background: rgba(52, 211, 153, .14); color: #6ee7b7; }
.bar { height: 5px; background: rgba(255, 255, 255, .08); border-radius: 100px; margin: 8px 0 5px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 100px; background: var(--grad); position: relative; }
.bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shimmer 2.2s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.row-sub { font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .055); }
.chart span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(180deg, rgba(34, 211, 238, .85), rgba(99, 102, 241, .15)); animation: chartPulse 2.6s ease-in-out infinite alternate; }
.chart span:nth-child(3n) { animation-delay: .4s; }
.chart span:nth-child(4n) { animation-delay: .8s; }
@keyframes chartPulse { to { opacity: .55; transform: scaleY(.8); transform-origin: bottom; } }

.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 13px; background: rgba(17, 23, 44, .82);
  border: 1px solid rgba(255, 255, 255, .13); box-shadow: var(--shadow);
  backdrop-filter: blur(16px); transform: translateZ(60px);
  animation: floaty 5s ease-in-out infinite alternate;
}
.float-card b { display: block; font-size: .78rem; }
.float-card span { display: block; font-size: .68rem; color: var(--muted); }
.fc-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .9rem; background: rgba(139, 92, 246, .18); }
.fc-segments { top: 36px; right: -14px; }
.fc-resume { bottom: 64px; left: -26px; animation-delay: 1.2s; }
.fc-resume .fc-icon { background: rgba(52, 211, 153, .15); }
.fc-browser { bottom: 6px; right: 12px; animation-delay: .6s; }
.fc-browser .fc-icon { background: rgba(34, 211, 238, .15); }
@keyframes floaty { to { transform: translateY(-11px) translateZ(60px); } }
.tilt-sm { transform-style: preserve-3d; }

.scroll-hint { text-align: center; margin-top: 40px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-hint span { display: block; width: 1px; height: 34px; margin: 0 auto 12px; background: linear-gradient(var(--violet), transparent); }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .015); padding: 15px 0; }
.ticker-track { display: flex; gap: 38px; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; }
.ticker-track span { font-size: .82rem; font-weight: 600; color: #b9c4e4; letter-spacing: .02em; }
.ticker-track i { color: var(--violet); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats-wrap { padding: 80px 0 20px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.stat { background: #0a0f20; padding: 30px 20px; text-align: center; }
.stat b { display: block; font-family: "Space Grotesk", sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .82rem; color: var(--muted); }

/* ---------- feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative; padding: 28px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  border: 1px solid var(--line); transform-style: preserve-3d;
  transition: transform .18s ease-out, border-color .3s;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, .16), transparent 65%);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { border-color: rgba(139, 92, 246, .35); }
.feature-card h3, .feature-card p, .feature-card .f-tag, .feature-card .f-icon { position: relative; z-index: 1; }
.feature-card p { font-size: .9rem; margin-bottom: 16px; }
.f-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; }
.f-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.f-icon.violet { background: rgba(139, 92, 246, .15); color: #c4b5fd; }
.f-icon.blue { background: rgba(79, 140, 255, .15); color: #93c5fd; }
.f-icon.green { background: rgba(52, 211, 153, .14); color: #6ee7b7; }
.f-icon.amber { background: rgba(251, 191, 36, .14); color: #fcd34d; }
.f-icon.pink { background: rgba(244, 114, 182, .14); color: #f9a8d4; }
.f-icon.cyan { background: rgba(34, 211, 238, .14); color: #67e8f9; }
.f-tag { font-size: .7rem; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; display: block; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.steps::before { content: ""; position: absolute; top: 45px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .5), rgba(34, 211, 238, .4), transparent); }
.step { text-align: center; position: relative; }
.step-num { font-family: "Space Grotesk", sans-serif; font-size: .78rem; font-weight: 700; color: #c4b5fd; letter-spacing: .1em; margin-bottom: 18px; }
.step-art { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(139, 92, 246, .18), rgba(79, 140, 255, .05)); border: 1px solid rgba(139, 92, 246, .25); position: relative; z-index: 1; box-shadow: 0 20px 50px -20px rgba(99, 102, 241, .6); }
.step-art span { font-size: .72rem; color: #c4b5fd; font-weight: 600; }
.art-link i { position: absolute; width: 40px; height: 2px; background: var(--grad); bottom: 24px; border-radius: 2px; }
.art-split { grid-template-columns: repeat(2, 12px); grid-auto-rows: 12px; gap: 5px; align-content: center; }
.art-split i { border-radius: 3px; background: var(--grad); opacity: .85; animation: chartPulse 1.8s infinite alternate; }
.art-split i:nth-child(2) { animation-delay: .3s; }.art-split i:nth-child(3) { animation-delay: .6s; }.art-split i:nth-child(4) { animation-delay: .9s; }
.art-done svg { width: 40px; height: 40px; fill: none; stroke: #6ee7b7; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.step p { font-size: .9rem; max-width: 280px; margin: 0 auto; }

/* ---------- extension ---------- */
.extension-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.ext-copy { position: sticky; top: 110px; }
.ext-copy p { font-size: 1rem; }
.ext-note { display: flex; gap: 12px; padding: 15px; border-radius: 13px; background: rgba(34, 211, 238, .06); border: 1px solid rgba(34, 211, 238, .17); margin: 22px 0; }
.ext-note > span { font-size: 1.2rem; color: var(--cyan); }
.ext-note b { display: block; font-size: .88rem; margin-bottom: 3px; }
.ext-note small { color: var(--muted); font-size: .78rem; line-height: 1.5; display: block; }
.ext-id { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: .75rem; color: var(--muted); }
.ext-id code { font-size: .72rem; }
.copy-btn { background: rgba(139, 92, 246, .15); border: 1px solid rgba(139, 92, 246, .3); color: #c4b5fd; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 7px; cursor: pointer; }
.copy-btn:hover { background: rgba(139, 92, 246, .28); }
.guide { background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.browser-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { flex: 1; white-space: nowrap; background: transparent; border: 0; color: var(--muted); font-family: inherit; font-size: .82rem; font-weight: 600; padding: 9px 14px; border-radius: 9px; cursor: pointer; transition: .25s; }
.tab:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.tab.active { color: #fff; background: rgba(139, 92, 246, .22); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .32); }
.guide-body { padding: 24px; }
.guide-download { display: flex; align-items: center; gap: 14px; padding: 15px; border-radius: 13px; background: linear-gradient(100deg, rgba(124, 58, 237, .22), rgba(79, 140, 255, .12)); border: 1px solid rgba(139, 92, 246, .3); margin-bottom: 24px; transition: transform .2s, border-color .2s; }
.guide-download:hover { transform: translateY(-3px); border-color: rgba(139, 92, 246, .6); }
.guide-download svg { width: 22px; height: 22px; fill: none; stroke: #c4b5fd; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guide-download b { display: block; font-size: .92rem; }
.guide-download small { font-size: .75rem; color: var(--muted); }
.guide-download .arrow { margin-left: auto; font-size: 1.2rem; color: #c4b5fd; }
.guide-steps { list-style: none; padding: 0; margin: 0; }
.guide-steps li { display: flex; gap: 15px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .055); }
.guide-steps li > span { flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: rgba(139, 92, 246, .16); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, .3); }
.guide-steps b { font-size: .88rem; }
.guide-steps p { font-size: .82rem; margin: 3px 0 0; }
.guide-tip { margin-top: 20px; padding: 13px 15px; border-radius: 11px; background: rgba(251, 191, 36, .06); border: 1px solid rgba(251, 191, 36, .16); font-size: .79rem; color: var(--muted); }
.guide-tip b { color: #fcd34d; margin-right: 7px; }
kbd { font-family: "SF Mono", ui-monospace, monospace; font-size: .72rem; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: #e5e7eb; }

/* ---------- download ---------- */
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.download-card { position: relative; padding: 32px; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); border: 1px solid var(--line); transform-style: preserve-3d; transition: transform .18s ease-out, border-color .3s; }
.download-card:hover { border-color: rgba(139, 92, 246, .4); }
.dc-glow { position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .22), transparent 65%); pointer-events: none; }
.dc-glow.cyan-glow { background: radial-gradient(circle, rgba(34, 211, 238, .18), transparent 65%); }
.dc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; position: relative; }
.dc-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; font-weight: 700; background: var(--grad); color: #fff; }
.dc-icon.alt { background: linear-gradient(120deg, #0891b2, #22d3ee); }
.dc-badge { font-size: .7rem; font-weight: 600; padding: 5px 11px; border-radius: 100px; background: rgba(139, 92, 246, .14); border: 1px solid rgba(139, 92, 246, .25); color: #c4b5fd; }
.dc-badge.cyan { background: rgba(34, 211, 238, .1); border-color: rgba(34, 211, 238, .22); color: #67e8f9; }
.download-card h3 { font-size: 1.5rem; }
.download-card > p { font-size: .9rem; min-height: 46px; }
.dc-list { list-style: none; padding: 0; margin: 0 0 24px; }
.dc-list li { font-size: .84rem; color: #c7cfeb; padding: 6px 0 6px 24px; position: relative; }
.dc-list li::before { content: "✓"; position: absolute; left: 0; color: #6ee7b7; font-weight: 700; }
.dc-foot { display: block; text-align: center; margin-top: 13px; font-size: .73rem; color: var(--muted); }
.gate-note { display: flex; gap: 14px; align-items: flex-start; max-width: 780px; margin: 26px auto 0; padding: 16px 19px; border-radius: 13px; background: rgba(251, 191, 36, .05); border: 1px solid rgba(251, 191, 36, .16); }
.gate-note span { font-size: 1.1rem; }
.gate-note p { font-size: .8rem; margin: 0; }

/* ---------- open source ---------- */
.oss-card { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid rgba(139, 92, 246, .25); background: linear-gradient(120deg, rgba(76, 29, 149, .35), rgba(12, 74, 110, .25)); padding: 70px clamp(24px, 6vw, 70px); text-align: center; }
.oss-orb { position: absolute; width: 420px; height: 420px; left: 50%; top: -240px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 250, .35), transparent 65%); filter: blur(20px); }
.oss-inner { position: relative; max-width: 650px; margin: 0 auto; }
.oss-inner p { font-size: 1.02rem; }
.oss-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

/* ---------- faq ---------- */
.faq { max-width: 800px; margin: 0 auto; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 19px 22px; font-weight: 600; font-size: .95rem; display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: background .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255, 255, 255, .025); }
.faq summary span { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; background: #c4b5fd; border-radius: 2px; transition: transform .25s; }
.faq summary span::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq summary span::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq details[open] summary span::after { transform: rotate(90deg); }
.faq details p { padding: 0 22px 20px; font-size: .88rem; margin: 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(0, 0, 0, .25); padding: 55px clamp(20px, 5vw, 64px) 25px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; max-width: 1180px; margin: 0 auto 35px; }
.footer-top p { margin: 0; font-size: .88rem; flex: 1; min-width: 220px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: .85rem; color: var(--muted); }
.footer-links a:hover { color: #fff; }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--muted); }

/* ---------- utilities ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 44px; height: 44px; border-radius: 12px; background: rgba(23, 29, 53, .85); border: 1px solid var(--line); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; transform: translateY(15px); pointer-events: none; transition: .3s; backdrop-filter: blur(10px); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: rgba(139, 92, 246, .6); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 20px); background: rgba(23, 29, 53, .95); border: 1px solid rgba(139, 92, 246, .35); color: #fff; padding: 11px 18px; border-radius: 11px; font-size: .85rem; opacity: 0; pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
/* Card tilt (the hero window keeps its own default perspective transform). */
.tilt:not(.app-window), .reveal.in.tilt:not(.app-window) {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 140px; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-visual { height: 480px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .extension-shell { grid-template-columns: 1fr; }
  .ext-copy { position: static; }
}
@media (max-width: 700px) {
  .nav-links { position: fixed; top: 66px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border-radius: 14px; background: rgba(12, 17, 34, .97); border: 1px solid var(--line); backdrop-filter: blur(20px); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .25s; }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 10px; }
  .menu-toggle { display: block; }
  .nav-actions { gap: 7px; }
  .nav-actions .btn-small { padding: 8px 11px; font-size: .78rem; }
  .section { padding: 78px 0; }
  h1 { font-size: clamp(2.4rem, 10vw, 3.6rem); }
  .feature-grid, .steps, .download-grid, .stats { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .hero-visual { height: 400px; }
  .app-window { max-width: 100%; }
  .float-card { display: none; }
  .ring-2 { width: 380px; height: 380px; }
  .guide-body { padding: 18px; }
  .oss-card { padding: 50px 22px; }
}
@media (max-width: 420px) {
  .win-main { padding: 12px; }
  .win-body { grid-template-columns: 44px 1fr; }
  .row-top { font-size: .72rem; }
  .pill { display: none; }
}

/* ---------- lightweight / native mac ---------- */
.light-shell {
  position: relative; overflow: hidden; border-radius: 26px;
  padding: clamp(28px, 5vw, 58px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
  background: linear-gradient(130deg, rgba(79, 140, 255, .11), rgba(139, 92, 246, .07) 55%, rgba(34, 211, 238, .05));
  border: 1px solid rgba(79, 140, 255, .22);
}
.light-shell::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .16), transparent 65%); pointer-events: none; }
.light-copy { position: relative; z-index: 2; }
.light-copy > p { font-size: 1rem; }
.light-copy b { color: #dbe3ff; }
.light-points { display: grid; gap: 10px; margin: 26px 0 18px; }
.light-point { display: flex; gap: 13px; align-items: flex-start; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); transition: border-color .25s, transform .25s, background .25s; }
.light-point:hover { border-color: rgba(79, 140, 255, .4); background: rgba(79, 140, 255, .07); transform: translateX(4px); }
.light-point > span { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: .9rem; color: #93c5fd; background: rgba(79, 140, 255, .16); }
.light-point b { display: block; font-size: .88rem; color: #eef2ff; }
.light-point small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.light-footnote { font-size: .78rem !important; color: #8f9bbd !important; margin: 0 !important; }

.light-visual { position: relative; height: 430px; display: flex; align-items: center; justify-content: center; perspective: 900px; }
.lv-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(79, 140, 255, .22); }
.lv-ring-a { width: 330px; height: 330px; animation: spin 24s linear infinite; }
.lv-ring-b { width: 400px; height: 400px; border-style: dashed; border-color: rgba(34, 211, 238, .16); animation: spin 38s linear infinite reverse; }
.lv-ring-a::after { content: ""; position: absolute; width: 8px; height: 8px; top: 9%; left: 14%; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 16px 4px rgba(96, 165, 250, .6); }
.lv-core {
  position: relative; z-index: 2; width: 185px; height: 185px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 30%, rgba(30, 64, 175, .5), rgba(10, 15, 32, .95));
  border: 1px solid rgba(147, 197, 253, .4);
  box-shadow: 0 0 70px -10px rgba(79, 140, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .18);
  animation: coreFloat 5s ease-in-out infinite alternate;
}
@keyframes coreFloat { to { transform: translateY(-10px) scale(1.02); } }
.lv-core-label, .lv-core-sub { font-size: .72rem; color: #b6c2e2; letter-spacing: .04em; }
.lv-core strong { font-family: "Space Grotesk", sans-serif; font-size: 2.7rem; line-height: 1.1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lv-core strong small { font-size: 1rem; margin-left: 3px; }
.lv-core-sub { font-size: .68rem; color: #8f9bbd; }
.lv-chip {
  position: absolute; z-index: 3; padding: 8px 13px; border-radius: 100px;
  font-size: .73rem; font-weight: 600; color: #dbe4ff; white-space: nowrap;
  background: rgba(17, 23, 44, .86); border: 1px solid rgba(147, 197, 253, .28);
  backdrop-filter: blur(12px); box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite alternate;
}
.lv-chip.c1 { top: 46px; right: 0; }
.lv-chip.c2 { top: 96px; left: -6px; animation-delay: .8s; }
.lv-chip.c3 { bottom: 66px; left: 6px; animation-delay: 1.6s; }
.lv-chip.c4 { bottom: 26px; right: 12px; animation-delay: .4s; }

/* ---------- safety / open source / contact ---------- */
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.safe-card {
  position: relative; padding: 27px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  border: 1px solid var(--line); transition: transform .18s ease-out, border-color .3s;
}
.safe-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(52, 211, 153, .14), transparent 65%); }
.safe-card:hover::before { opacity: 1; }
.safe-card:hover { border-color: rgba(52, 211, 153, .32); }
.safe-card > * { position: relative; z-index: 1; }
.safe-card p { font-size: .88rem; margin: 0; }
.safe-card .s-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(52, 211, 153, .13); color: #6ee7b7; }
.safe-card .s-icon.code { background: rgba(79, 140, 255, .14); color: #93c5fd; }
.safe-card .s-icon.seal { background: rgba(139, 92, 246, .14); color: #c4b5fd; }
.s-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-top: 22px; padding: clamp(24px, 4vw, 38px); border-radius: 20px; border: 1px solid rgba(34, 211, 238, .2); background: linear-gradient(120deg, rgba(8, 145, 178, .14), rgba(139, 92, 246, .1)); }
.contact-copy h3 { font-size: 1.5rem; }
.contact-copy p { font-size: .9rem; margin: 0; }
.contact-actions { display: grid; gap: 11px; }
.contact-link { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: 13px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); transition: transform .2s, border-color .2s, background .2s; }
.contact-link:hover { transform: translateY(-2px); border-color: rgba(34, 211, 238, .45); background: rgba(34, 211, 238, .07); }
.contact-ic { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.05rem; background: rgba(79, 140, 255, .2); color: #93c5fd; }
.contact-ic.whatsapp { background: rgba(52, 211, 153, .17); color: #6ee7b7; }
.contact-text b { display: block; font-size: .88rem; }
.contact-text small { display: block; font-size: .79rem; color: #b9c6e6; word-break: break-word; }
.contact-link .arrow { margin-left: auto; color: #93c5fd; font-size: 1.1rem; }
.oss-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 24px 28px; border-radius: 16px; background: rgba(139, 92, 246, .08); border: 1px solid rgba(139, 92, 246, .2); }
.oss-strip p { margin: 0; font-size: .95rem; color: #dbe3ff; font-weight: 500; }
.oss-strip p span { color: #c4b5fd; }
.faq details p a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }
.faq details p a:hover { color: #a5b4fc; }

@media (max-width: 1000px) {
  .light-shell { grid-template-columns: 1fr; }
  .light-visual { height: 360px; }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .light-visual { height: 330px; }
  .lv-ring-a { width: 250px; height: 250px; }
  .lv-ring-b { width: 300px; height: 300px; }
  .lv-core { width: 150px; height: 150px; }
  .lv-core strong { font-size: 2.1rem; }
  .lv-chip { font-size: .66rem; padding: 6px 10px; }
  .lv-chip.c1 { right: -4px; top: 28px; }
  .lv-chip.c2 { left: -8px; top: 80px; }
  .lv-chip.c3 { bottom: 50px; left: -4px; }
  .lv-chip.c4 { bottom: 12px; right: 0; }
  .safety-grid { grid-template-columns: 1fr; }
  .oss-strip { flex-direction: column; align-items: flex-start; }
}

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