:root {
  --bg: #07090d;
  --bg-soft: #0b0f16;
  --panel: rgba(15, 20, 29, .82);
  --panel-solid: #10151e;
  --panel-2: #151b26;
  --text: #f7f9fc;
  --muted: #a9b0bd;
  --muted-2: #727b8d;
  --border: rgba(255,255,255,.10);
  --border-strong: rgba(255,255,255,.18);
  --cyan: #27d7f1;
  --blue: #3997ff;
  --violet: #a45cff;
  --yellow: #f2c94c;
  --shadow: 0 24px 80px rgba(0,0,0,.38);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

html[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-soft: #eef2f7;
  --panel: rgba(255,255,255,.88);
  --panel-solid: #ffffff;
  --panel-2: #f0f3f8;
  --text: #111827;
  --muted: #5e6879;
  --muted-2: #7d8797;
  --border: rgba(17,24,39,.10);
  --border-strong: rgba(17,24,39,.18);
  --shadow: 0 24px 70px rgba(43,54,75,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(39,215,241,.11), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(164,92,255,.12), transparent 26%),
    var(--bg);
  line-height: 1.55;
  transition: background .2s ease, color .2s ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  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: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid transparent;
}
.nav-wrap.scrolled { border-bottom-color: var(--border); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; font-size: 22px; letter-spacing: -.6px; white-space: nowrap; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand-desk { color: var(--text); }
.brand-vexa {
  background: linear-gradient(100deg, var(--cyan), var(--blue) 55%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-btn, .menu-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel); color: var(--text); cursor: pointer; font-size: 18px;
}
.menu-btn { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--border); font-weight: 800; font-size: 14px;
}
.btn-primary { background: linear-gradient(110deg, #1bcde6, #318af7 58%, #8b55f5); color: white; border-color: transparent; box-shadow: 0 10px 30px rgba(61,137,247,.24); }
.btn-ghost { background: var(--panel); }
.btn-disabled { opacity: .82; cursor: default; }

.hero { padding: 86px 0 54px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px rgba(39,215,241,.85); }
h1 { font-size: clamp(48px, 7.2vw, 86px); line-height: .98; letter-spacing: -4px; margin: 26px auto 22px; max-width: 970px; }
.gradient-text { background: linear-gradient(100deg, var(--cyan), var(--blue) 53%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 13px; font-size: 12px; color: var(--muted-2); }

.product-stage { padding: 42px 0 90px; }
.browser {
  overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-xl); background: var(--panel-solid); box-shadow: var(--shadow); position: relative;
}
.browser::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 70% 0%, rgba(73,102,255,.11), transparent 38%); }
.browser-top { height: 50px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--panel-solid) 90%, var(--bg-soft)); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.browser-title { margin-left: 10px; font-size: 12px; font-weight: 800; color: var(--muted); }
.demo-app { min-height: 530px; display: grid; grid-template-columns: 235px 1fr; position: relative; }
.demo-side { padding: 22px 16px; border-right: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.015), transparent); }
.demo-logo { display: flex; align-items: center; gap: 8px; font-weight: 850; margin-bottom: 22px; }
.demo-logo img { width: 27px; }
.demo-section { margin: 22px 8px 8px; color: var(--muted-2); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.demo-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 10px 9px; border-radius: 10px; color: var(--muted); font-size: 12px; font-weight: 780; }
.demo-row.active { background: rgba(39,215,241,.09); color: var(--text); }
.demo-row strong { color: var(--text); font-size: 12px; }
.demo-main { padding: 26px; }
.demo-toolbar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 22px; }
.mini-btn { padding: 8px 11px; border: 1px solid var(--border); border-radius: 9px; font-size: 10px; font-weight: 800; color: var(--muted); background: var(--panel); }
.demo-pinned { border: 1px solid rgba(242,201,76,.46); border-left: 4px solid var(--yellow); border-radius: 14px; padding: 16px; margin-bottom: 18px; background: color-mix(in srgb, var(--panel-solid) 88%, #2b2511); }
.demo-label { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 900; letter-spacing: .16em; color: var(--muted); }
.demo-link { margin-top: 12px; padding: 14px; border-radius: 10px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 850; }
.demo-link span:last-child { color: var(--muted); font-weight: 700; }
.demo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 14px; }
.demo-card { min-height: 132px; border: 1px solid var(--border); border-radius: 16px; padding: 17px; background: var(--panel); }
.demo-card-head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 900; }
.demo-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #4fd9ec, #4b9ffb); color: #0c1118; }
.demo-card:nth-child(2) .demo-icon { background: linear-gradient(135deg, #8b67ef, #b073f0); }
.demo-meta { margin-top: 12px; font-size: 10px; color: var(--muted); }
.demo-card small { display: block; text-align: right; margin-top: 20px; color: var(--muted-2); font-weight: 800; }

.section { padding: 90px 0; }
.section-tight { padding: 62px 0; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.kicker { color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 900; }
h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -2px; margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { border: 1px solid var(--border); background: var(--panel); border-radius: var(--radius-lg); padding: 24px; min-height: 210px; }
.feature-icon { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); margin-bottom: 25px; font-size: 18px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.big-card { border: 1px solid var(--border); background: var(--panel); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); min-height: 360px; overflow: hidden; position: relative; }
.big-card h3 { font-size: 28px; margin: 0 0 12px; letter-spacing: -.8px; }
.big-card p { color: var(--muted); max-width: 520px; }
.metric-list { margin-top: 28px; display: grid; gap: 10px; }
.metric { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px 15px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel-solid); font-size: 13px; font-weight: 850; }
.metric b { font-size: 16px; }
.workspace-stack { margin-top: 30px; display: grid; gap: 12px; }
.workspace-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px; border-radius: 13px; border: 1px solid var(--border); background: var(--panel-solid); }
.workspace-row strong { font-size: 14px; }
.workspace-row small { color: var(--muted); font-weight: 750; }

.privacy-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; border: 1px solid var(--border-strong); background: linear-gradient(135deg, rgba(39,215,241,.06), rgba(164,92,255,.07)), var(--panel); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 54px); }
.privacy-card p { color: var(--muted); }
.privacy-points { display: grid; gap: 10px; }
.privacy-point { border: 1px solid var(--border); background: var(--panel-solid); border-radius: 12px; padding: 14px; font-size: 13px; font-weight: 780; }
.privacy-point span { color: var(--cyan); margin-right: 8px; }

.faq { display: grid; gap: 10px; }
details { border: 1px solid var(--border); background: var(--panel); border-radius: 14px; padding: 0 18px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 850; }
summary::-webkit-details-marker { display:none; }
details p { color: var(--muted); margin: -4px 0 18px; font-size: 14px; }

.cta { text-align: center; border: 1px solid var(--border-strong); border-radius: var(--radius-xl); padding: 60px 26px; background: radial-gradient(circle at 50% 0%, rgba(57,151,255,.16), transparent 52%), var(--panel); }
.cta h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.cta p { color: var(--muted); max-width: 620px; margin: 0 auto 24px; }

footer { padding: 34px 0 46px; color: var(--muted); font-size: 13px; }
.footer-row { display: flex; justify-content: space-between; gap: 22px; align-items: center; border-top: 1px solid var(--border); padding-top: 26px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

.page-hero { padding: 84px 0 42px; }
.page-hero h1 { text-align: left; max-width: 820px; margin-left: 0; font-size: clamp(44px, 6vw, 72px); }
.prose { max-width: 800px; }
.prose h2 { font-size: 26px; letter-spacing: -.5px; margin-top: 42px; }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.notice { border: 1px solid var(--border); background: var(--panel); padding: 18px; border-radius: 14px; color: var(--muted); }
.status-box { border: 1px solid rgba(39,215,241,.25); background: rgba(39,215,241,.06); border-radius: 16px; padding: 22px; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 72px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: var(--panel-solid); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; border-radius: 10px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .demo-app { grid-template-columns: 190px 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .privacy-card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 26px), var(--max)); }
  .nav { height: 68px; }
  .brand { font-size: 19px; }
  .brand img { width: 33px; height: 33px; }
  .nav-actions .btn { display: none; }
  .hero { padding-top: 62px; }
  h1 { letter-spacing: -2.7px; }
  .product-stage { padding-top: 22px; }
  .demo-app { grid-template-columns: 1fr; min-height: auto; }
  .demo-side { border-right: 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .demo-logo, .demo-section { grid-column: 1 / -1; }
  .demo-main { padding: 16px; }
  .demo-toolbar { justify-content: flex-start; overflow-x: auto; }
  .demo-cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}
