@import url("../fonts/inter.css");

:root {
  --bg: #050506;
  --bg-deep: #020203;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --text: #edecef;
  --text-muted: rgba(237, 236, 239, 0.62);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --brand: #6867f7;
  --brand-bright: #7b7af9;
  --brand-tint: rgba(104, 103, 247, 0.16);
  --success: #86efac;
  --font-family-base: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --container: min(1200px, calc(100% - 48px));
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --ease: 0.3s ease-out;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg-deep); color: var(--text); font-family: var(--font-family-base); line-height: 1.6; }
body::before { position: fixed; inset: 0; z-index: -2; content: ""; background-color: var(--bg); }
body::after { position: fixed; inset: 0; z-index: -1; pointer-events: none; content: ""; opacity: 0.28; background-image: linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black, transparent 74%); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 108px 0; }
.section-grid { position: relative; overflow: clip; }
.section-grid::after { position: absolute; top: 18%; right: -12rem; width: 28rem; height: 28rem; z-index: -1; content: ""; border: 1px solid rgba(104,103,247,.13); border-radius: 50%; box-shadow: 0 0 96px rgba(104,103,247,.09); }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: #bcbcff; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow i { color: var(--brand-bright); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; line-height: 1.15; }
h1 { margin-bottom: 24px; font-size: clamp(2.85rem, 5.6vw, 4.8rem); max-width: 12ch; }
h2 { margin-bottom: 0; font-size: clamp(2.1rem, 4vw, 3.35rem); max-width: 15ch; }
h3 { margin-bottom: 10px; font-size: 1.2rem; }
h1 span, h2 span { color: var(--brand-bright); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: .91rem; font-weight: 700; transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), border-color var(--ease), color var(--ease); }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); box-shadow: 0 10px 20px rgba(104,103,247,.28); color: #fff; }
.button-primary:hover { background: var(--brand-bright); box-shadow: 0 14px 28px rgba(104,103,247,.38); }
.button-ghost { border-color: var(--border-strong); background: rgba(255,255,255,.035); color: var(--text); }
.button-ghost:hover { border-color: rgba(104,103,247,.55); background: var(--brand-tint); }
.button-small { min-height: 38px; padding: 0 14px; font-size: .8rem; }
.site-header { position: fixed; top: 0; left: 0; z-index: 20; width: 100%; border-bottom: 1px solid transparent; transition: background-color var(--ease), border-color var(--ease), backdrop-filter var(--ease); }
.site-header.is-scrolled { border-color: var(--border); background-color: rgba(5,5,6,.94); backdrop-filter: blur(16px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; gap: 10px; font-size: 1.05rem; font-weight: 800; letter-spacing: .01em; }
.brand-logo { display: block; width: min(184px, 100%); height: auto; aspect-ratio: 1080 / 360; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--border-strong); border-radius: 12px; background: rgba(255,255,255,.035); color: var(--text-muted); font-size: .93rem; font-weight: 700; }
.site-nav > a:not(.button) { position: relative; padding: 8px 14px; border: 1px solid transparent; border-radius: 8px; transition: color var(--ease), background-color var(--ease), border-color var(--ease), box-shadow var(--ease); }
.site-nav > a:not(.button)::after { position: absolute; right: 10px; bottom: 4px; left: 10px; height: 1px; content: ""; background: var(--brand-bright); transform: scaleX(0); transition: transform var(--ease); }
.site-nav > a:hover { border-color: rgba(123,122,249,.3); background: rgba(104,103,247,.11); color: var(--text); }
.site-nav > a.active { border-color: rgba(123,122,249,.52); background: rgba(104,103,247,.2); box-shadow: inset 0 0 18px rgba(104,103,247,.12); color: #efefff; }
.site-nav > a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); color: var(--text); }
.site-footer { border-top: 1px solid var(--border); background: #030304; }
.footer-row { display: flex; align-items: center; justify-content: space-between; min-height: 112px; gap: 24px; color: var(--text-muted); font-size: .8rem; }
.footer-row > p { margin: 0; text-align: center; }.footer-links { display: flex; justify-content: flex-end; gap: 20px; }.footer-links a { color: var(--text); font-weight: 700; }.footer-links a:hover { color: var(--brand-bright); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease-out, transform .6s ease-out; }.reveal.is-visible { opacity: 1; transform: translateY(0); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #c8c8ff; font-weight: 700; }.text-link i { transition: transform var(--ease); }.text-link:hover i { transform: translateX(4px); }
@media (max-width: 760px) { :root { --container: min(100% - 30px, 1200px); }.section { padding: 74px 0; }.nav-shell { min-height: 64px; gap: 16px; }.brand { max-width: calc(100% - 56px); }.brand-logo { width: min(166px, 100%); }.menu-toggle { display: grid; place-items: center; }.site-nav { position: absolute; top: 64px; right: 15px; left: 15px; display: none; padding: 14px; border-radius: 14px; background: #101014; box-shadow: 0 18px 40px rgba(0,0,0,.35); }.site-nav.is-open { display: grid; gap: 4px; }.site-nav > a:not(.button) { padding: 10px 8px; }.nav-cta { margin-top: 8px; }.footer-row { grid-template-columns: 1fr; justify-items: start; min-height: auto; padding: 34px 0; gap: 13px; }.footer-row > p { text-align: left; }.footer-links { justify-content: start; } }
