/* ==========================================================================
   Design tokens: the dark theme of the Vexoryn app (vexoryn-platform/public/style.css)
   ========================================================================== */
:root {
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --bg: #080a12;
  --bg-grad: radial-gradient(1200px 500px at 10% -10%, #1d1840 0%, transparent 60%), radial-gradient(900px 400px at 100% 0%, #10233a 0%, transparent 55%);
  --surface: #151922;
  --surface-2: #1a1f2a;
  --surface-3: #222836;
  --text: #e8eaf0;
  --text-2: #b8beca;
  --muted: #8a92a3;
  --border: #262c39;
  --border-strong: #353d4e;

  --primary: #9a85f7;
  --primary-hover: #ab99f9;
  --primary-soft: #241d45;
  --ring: rgba(154, 133, 247, .4);
  --brand-grad: linear-gradient(90deg, #00e5ff 0%, #397bff 40%, #a855f7 72%, #ff5ce6 100%);

  --good: #3ccf8e;   --good-soft: #10291f;   --good-border: #1d4d39;
  --bad: #ff7b6e;    --bad-soft: #321613;    --bad-border: #5c2621;
  --warn: #f2b44c;   --warn-soft: #2e2210;   --warn-border: #5a4218;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 8px 24px -6px rgba(0, 0, 0, .4);
  --shadow-lg: 0 24px 56px -12px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--text);
  background: var(--bg-grad), var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
code { font-family: var(--mono); font-size: .85em; background: var(--surface-3); padding: .1em .35em; border-radius: 5px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 780px; }

.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 50; padding: .5rem .9rem; border-radius: var(--radius-sm); background: var(--primary); color: #fff; }
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   Buttons and pills (same shapes as the app)
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .55rem 1rem; border-radius: 10px; border: 1px solid transparent;
  font: 600 .92rem/1.2 var(--font); white-space: nowrap;
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .8rem 1.35rem; font-size: 1rem; border-radius: 12px; }
.btn-primary { color: #fff; background: linear-gradient(90deg, #397bff, #a855f7); box-shadow: 0 8px 24px -8px rgba(168, 85, 247, .6); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 30px -8px rgba(168, 85, 247, .8); }
.btn-ghost { color: var(--text); border-color: var(--border-strong); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn-ghost:hover { color: var(--text); border-color: var(--primary); }

.pill { display: inline-flex; align-items: center; padding: .1rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 700; border: 1px solid; white-space: nowrap; }
.pill-bad { color: var(--bad); background: var(--bad-soft); border-color: var(--bad-border); }
.pill-warn { color: var(--warn); background: var(--warn-soft); border-color: var(--warn-border); }
.pill-good { color: var(--good); background: var(--good-soft); border-color: var(--good-border); }
.sev { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-top: .5rem; }
.sev-bad { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.sev-warn { background: var(--warn); box-shadow: 0 0 10px var(--warn); }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 1.6rem; }
.nav a { color: var(--text-2); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--text); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; padding: .5rem; border-radius: 10px; border: 1px solid var(--border-strong); color: var(--text); display: flex; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 200px; display: grid; padding: .4rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.mobile-nav nav a { color: var(--text); padding: .6rem .8rem; border-radius: var(--radius-sm); }
.mobile-nav nav a:hover { background: var(--surface-3); }

@media (max-width: 920px) {
  .nav { display: none; }
  .mobile-nav { display: block; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .brand img { height: 34px; }
  .topbar-inner { gap: 1rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 5rem 0 4rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .8rem; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text-2); font-size: .85rem; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #00e5ff; box-shadow: 0 0 10px #00e5ff; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; margin: 1.3rem 0 1.2rem; }
.lead { font-size: 1.15rem; color: var(--text-2); max-width: 36rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 1.75rem 0 0; color: var(--text-2); font-size: .92rem; }
.checks li { display: flex; align-items: center; gap: .4rem; }
.checks .icon { width: 17px; height: 17px; color: var(--good); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.hero-visual::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(57, 123, 255, .35), rgba(168, 85, 247, .2) 45%, transparent 70%); filter: blur(40px); }
/* The icon sits on black; "screen" lets the page background show through. */
.hero-icon { position: relative; width: min(400px, 82%); mix-blend-mode: screen; }

.float-card { position: absolute; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .9rem 1rem; font-size: .85rem; }
.float-focus { left: -8%; bottom: -2%; width: 300px; display: grid; gap: .5rem; }
.float-grade { right: -2%; top: 4%; display: flex; align-items: center; gap: .75rem; }
.fc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .1rem; }
.fc-title { font-weight: 700; }
.fc-row { display: flex; gap: .55rem; color: var(--text-2); line-height: 1.4; }
.fc-row .sev { margin-top: .35rem; }
.grade { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.35rem; border: 1px solid; }
.grade-c { color: var(--warn); background: var(--warn-soft); border-color: var(--warn-border); }

@media (max-width: 920px) {
  .hero { padding-top: 3rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .float-focus { left: 0; }
}
@media (max-width: 480px) {
  .float-focus { width: 260px; font-size: .8rem; }
  .float-grade { display: none; }
}

/* ==========================================================================
   Vector strip
   ========================================================================== */
.vectors { border-block: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 40%, transparent); }
.vector-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.4rem; color: var(--text-2); font-weight: 600; }
.vector-row span { display: flex; align-items: center; gap: .5rem; }
.vector-row .icon { color: var(--primary); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 6rem 0; }
.section-alt { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface) 45%, transparent) 20%, color-mix(in srgb, var(--surface) 45%, transparent) 80%, transparent); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; margin-bottom: .8rem; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; }
.sub { color: var(--text-2); font-size: 1.08rem; margin-top: 1rem; }
.caption { text-align: center; margin-top: .9rem; }

/* Product preview */
.preview { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(154, 133, 247, .08), 0 30px 80px -30px rgba(57, 123, 255, .35); overflow: hidden; }
.pv-bar { display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.pv-dots { display: flex; gap: .4rem; }
.pv-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--border-strong); }
.pv-url { font-size: .8rem; color: var(--muted); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-body { display: grid; grid-template-columns: 280px 1fr; }
.pv-side { padding: 1.4rem; border-right: 1px solid var(--border); display: grid; gap: 1.2rem; align-content: start; }
.pv-score { display: flex; align-items: center; gap: 1rem; }
.ring { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#00e5ff 0, #397bff 25%, #a855f7 45%, #ff5ce6 62%, var(--surface-3) 62%); flex: none; }
.ring span { width: 58px; height: 58px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; }
.pv-label { font-weight: 700; }
.spark { width: 100%; height: 48px; }
.pv-vectors { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.pv-vectors li { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--text-2); }
.pv-vectors li:last-child { border-bottom: 0; }
.pv-main { padding: 1.4rem; display: grid; gap: .75rem; align-content: start; }
.pv-title { font-weight: 700; font-size: 1.05rem; margin-bottom: .2rem; }
.pv-item { display: flex; gap: .85rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.pv-item > div { flex: 1; }
.pv-item strong { font-size: .95rem; }
.pv-item p { font-size: .87rem; margin-top: .2rem; line-height: 1.5; }
@media (max-width: 760px) {
  .pv-body { grid-template-columns: 1fr; }
  .pv-side { border-right: 0; border-bottom: 1px solid var(--border); }
  .pv-item .pill { display: none; }
}

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 4rem; }
.feature { padding: 1.6rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--surface) 70%, transparent); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature h3 { font-size: 1.1rem; margin: 1rem 0 .5rem; }
.feature p { color: var(--text-2); font-size: .95rem; }
.f-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #00b8d4, #397bff 45%, #a855f7 80%, #ff5ce6); box-shadow: 0 8px 20px -8px rgba(57, 123, 255, .7); }
@media (max-width: 920px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: none; }
.steps li { padding: 1.6rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.steps h3 { font-size: 1.1rem; margin: 1rem 0 .5rem; }
.steps p { color: var(--text-2); font-size: .95rem; }
.step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; border: 1px solid var(--primary); color: var(--primary); background: var(--primary-soft); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Who it's for */
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.aud-card { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: radial-gradient(500px 260px at 0% 0%, rgba(57, 123, 255, .12), transparent 70%), var(--surface); display: grid; gap: 1rem; align-content: start; }
.aud-card h3 { font-size: 1.25rem; }
.list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .9rem; }
.list li { color: var(--text-2); padding-left: 1.4rem; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 8px; height: 8px; border-radius: 2px; background: var(--brand-grad); transform: rotate(45deg); }
.list strong { color: var(--text); }
@media (max-width: 820px) { .audience { grid-template-columns: 1fr; } }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 1.5rem; }
.price-card { position: relative; padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; gap: 1rem; }
.price-card .btn { margin-top: auto; }
.price-card h3 { font-size: 1.2rem; }
.price-featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--brand-grad) border-box; border: 1px solid transparent; box-shadow: 0 30px 70px -30px rgba(168, 85, 247, .45); }
.price-big { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }
.price-big span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.badge { position: absolute; top: -12px; right: 1.5rem; padding: .2rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #fff; background: linear-gradient(90deg, #397bff, #a855f7); }
.list-check { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .6rem; color: var(--text-2); }
.list-check li { padding-left: 1.6rem; position: relative; }
.list-check li::before { content: ""; position: absolute; left: .15rem; top: .35rem; width: 12px; height: 7px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.trust { padding: 1.5rem; border-top: 2px solid; border-image: var(--brand-grad) 1; background: color-mix(in srgb, var(--surface) 60%, transparent); }
.trust h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.trust p { color: var(--text-2); font-size: .93rem; }
@media (max-width: 920px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }
.source-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .source-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .source-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: .75rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 1.3rem 1.2rem; color: var(--text-2); }

/* CTA band */
.cta-band { padding: 0 0 6rem; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 3rem; border-radius: 24px; border: 1px solid var(--border-strong); background: radial-gradient(600px 300px at 0% 0%, rgba(0, 229, 255, .16), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(255, 92, 230, .16), transparent 70%), var(--surface); }
.cta-inner .cta-row { margin-top: 0; }
.cta-inner .sub { margin-top: .6rem; }
@media (max-width: 600px) { .cta-inner { padding: 2rem 1.5rem; } }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer-inner img { height: 40px; width: auto; margin-bottom: .6rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.footer-links a { color: var(--text-2); font-size: .92rem; }
.footer-links a:hover { color: var(--text); }
.copyright { margin-top: 2rem; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound img { margin: 0 auto 2rem; height: 56px; width: auto; }
.notfound h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: .6rem; }
.notfound p { color: var(--text-2); margin-bottom: 1.8rem; }
