/* ===== Vex landing — dark warm glass ===== */
:root {
  --bg: #0c0a07;
  --bg-2: #14110b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(212, 165, 116, 0.14);
  --border-strong: rgba(212, 165, 116, 0.28);

  --gold: #d4a574;
  --gold-bright: #ecc99c;
  --gold-deep: #b3865a;

  --text: #ece4d6;
  --text-dim: #b3a892;
  --text-muted: #7d7363;

  --maxw: 1160px;
  --radius: 16px;

  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* soft warm gradient backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 75% -5%, rgba(212, 165, 116, 0.10), transparent 60%),
    radial-gradient(700px 500px at 10% 10%, rgba(212, 165, 116, 0.05), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

/* ===== Buttons ===== */
.btn {
  --c: #1a140c;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--c);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border: 1px solid var(--gold-bright);
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, filter .15s ease;
  box-shadow: 0 6px 24px -8px rgba(212, 165, 116, 0.5);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(212, 165, 116, 0.6); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: 16px; padding: 14px 26px; }
.btn-sm { font-size: 13.5px; padding: 8px 16px; }
.btn-ico { width: 18px; height: 18px; }

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--surface-2); box-shadow: none; }

kbd {
  font-family: var(--font-body);
  font-size: 0.82em;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--text);
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  transition: padding .2s ease;
}
.nav.scrolled {
  padding: 10px 24px;
  background: rgba(12, 10, 7, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
}
.nav.scrolled > * { max-width: var(--maxw); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: 15px; color: var(--text-dim); }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav .btn-sm { margin-left: 4px; }

/* ===== Hero ===== */
.hero { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 40px; }
.hero-glow {
  position: absolute; top: -120px; right: -60px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.16), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 165, 116, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; margin-bottom: 20px; }
.grad {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(16px, 2vw, 19px); color: var(--text-dim); max-width: 30em; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { margin-top: 18px; font-size: 14px; color: var(--text-muted); }

/* Mockup */
.mockup { perspective: 1600px; }
.mockup-win {
  display: grid;
  grid-template-columns: 60px 1fr;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(28, 23, 16, 0.9), rgba(16, 13, 9, 0.95));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(212, 165, 116, 0.05);
  transform: rotateY(-14deg) rotateX(4deg) translateZ(0);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.mockup:hover .mockup-win { transform: rotateY(-6deg) rotateX(2deg); }
.mockup-rail {
  background: rgba(8, 6, 4, 0.6);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 16px 0;
}
.rail-dot { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); margin-bottom: 6px; }
.rail-tab { width: 30px; height: 9px; border-radius: 5px; background: var(--surface-2); }
.rail-tab.active { background: var(--gold); width: 34px; box-shadow: 0 0 14px rgba(212, 165, 116, 0.5); }
.rail-tab.sub { width: 22px; opacity: 0.7; }
.rail-group { width: 30px; height: 9px; border-radius: 5px; background: rgba(143, 179, 224, 0.5); }
.rail-plus { margin-top: auto; color: var(--text-muted); font-size: 20px; line-height: 1; }
.mockup-main { display: flex; flex-direction: column; background: rgba(20, 16, 11, 0.6); }
.mockup-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.bar-btn { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-2); }
.bar-url { margin-left: 8px; font-size: 12px; color: var(--text-muted); background: rgba(0,0,0,0.3); border: 1px solid var(--border); border-radius: 8px; padding: 5px 12px; flex: 1; }
.mockup-page { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.page-clock { font-family: var(--font-head); font-weight: 700; font-size: 40px; color: var(--text); }
.page-greet { font-family: var(--font-head); color: var(--gold); font-size: 16px; }
.page-search { width: 60%; height: 36px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.page-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 4px; }
.page-grid span { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }

/* ===== Feature strip ===== */
.strip {
  max-width: var(--maxw);
  margin: 8px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.strip-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.strip-item strong { font-family: var(--font-head); font-size: 16px; }
.strip-item span { font-size: 13.5px; color: var(--text-muted); }

/* ===== Sections ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.kicker { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 12px 0 14px; }
.section-head p { color: var(--text-dim); font-size: 17px; }

.features { max-width: var(--maxw); margin: 0 auto; padding: 96px 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.feature-ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.feature-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--text-dim); }
.feature kbd { font-size: 0.8em; }

/* ===== Download ===== */
.download { max-width: var(--maxw); margin: 0 auto; padding: 24px 24px 96px; }
.download-card {
  text-align: center;
  padding: 64px 32px;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(212, 165, 116, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(28, 23, 16, 0.7), rgba(16, 13, 9, 0.85));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
}
.dl-mark { width: 64px; height: 64px; margin: 0 auto 22px; }
.download-card h2 { font-size: clamp(30px, 4vw, 44px); }
.download-card > p { color: var(--text-dim); font-size: 17px; max-width: 32em; margin: 14px auto 28px; }
.dl-sub { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.dl-sub a { color: var(--gold); }
.dl-sub a:hover { text-decoration: underline; }
.dl-note { margin: 26px auto 0; max-width: 36em; font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.dl-note strong { color: var(--text-dim); }

/* ===== Shortcuts ===== */
.shortcuts { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 100px; }
.kbd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 760px; margin: 0 auto; }
.kbd-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.kbd-row > span:last-child { color: var(--text-dim); font-size: 15px; }
.kbd-keys { display: inline-flex; gap: 5px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background: rgba(8, 6, 4, 0.5); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 48px 24px; text-align: center; }
.footer .brand { justify-content: center; margin-bottom: 8px; }
.footer-tag { color: var(--text-dim); margin-bottom: 22px; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 22px; font-size: 15px; color: var(--text-dim); }
.footer-links a:hover { color: var(--gold); }
.footer-legal { font-size: 13.5px; color: var(--text-muted); }
.footer-legal strong { color: var(--text-dim); }

/* ===== Reveal animation ===== */
.feature, .strip-item, .kbd-row { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal-in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .feature, .strip-item, .kbd-row { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .mockup-win { transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .mockup { display: none; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .feature-grid, .strip, .kbd-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .download-card { padding: 48px 22px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
