/* ============================================================
   Finance House — AI Trading Systems
   Dark premium theme · Originkit-inspired
   Palette: #01030A bg · #004BFF base · #6FC8FF accent · #FFF
   ============================================================ */

:root {
  --bg: #01030A;
  --bg-soft: #050A16;
  --surface: #0A1120;
  --line: rgba(111, 200, 255, 0.14);
  --base: #004BFF;
  --accent: #6FC8FF;
  --text: #E8EEF7;
  --muted: #8A93A6;
  --radius: 18px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

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

::selection { background: rgba(0, 75, 255, 0.45); color: #fff; }

/* subtle film grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ================= Custom cursor ================= */
#cursorDot, #cursorRing {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}
#cursorDot {
  width: 7px; height: 7px;
  background: #BFE3FF;
  box-shadow: 0 0 12px 2px rgba(111, 200, 255, 0.9);
}
#cursorRing {
  width: 38px; height: 38px;
  border: 1px solid rgba(111, 200, 255, 0.55);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
              border-color 0.25s, background 0.25s;
}
#cursorRing.hover {
  width: 64px; height: 64px;
  border-color: rgba(111, 200, 255, 0.9);
  background: rgba(0, 75, 255, 0.08);
}
#cursorRing.pressed { width: 28px; height: 28px; }

@media (pointer: fine) {
  body { cursor: none; }
  a, button, input, [data-hover] { cursor: none; }
}
@media (pointer: coarse) {
  #cursorDot, #cursorRing { display: none; }
}

/* ================= Preloader ================= */
#preloader {
  position: fixed; inset: 0; z-index: 10001;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.6s ease, visibility 0.6s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 22px; letter-spacing: 0.02em; }
.preloader-bar { width: 180px; height: 2px; background: rgba(111,200,255,0.15); overflow: hidden; border-radius: 2px; }
.preloader-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--base), var(--accent)); animation: preload 1.1s var(--ease) infinite; }
@keyframes preload { 0% { transform: translateX(-100%);} 100% { transform: translateX(450%);} }

/* ================= Header ================= */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background 0.35s ease, border-color 0.35s, transform 0.35s;
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(3, 6, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 19px; letter-spacing: 0.01em; }
.logo b { color: var(--accent); font-weight: 600; }
#nav { display: flex; gap: 28px; margin-left: auto; }
#nav a { font-size: 14px; color: var(--muted); font-weight: 500; transition: color 0.25s; position: relative; padding: 6px 0; }
#nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: linear-gradient(90deg, var(--base), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
#nav a:hover { color: var(--text); }
#nav a:hover::after { transform: scaleX(1); }

#navToggle { display: none; flex-direction: column; gap: 5px; margin-left: auto; padding: 8px; }
#navToggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  border-radius: 999px; position: relative; overflow: hidden;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(180deg, #3585FF 0%, #0050F0 52%, #0041D6 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 25, 100, 0.45);
  box-shadow:
    0 0 0 1px rgba(111, 200, 255, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    inset 0 -3px 8px rgba(0, 20, 90, 0.38),
    0 10px 32px -8px rgba(0, 75, 255, 0.60);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(111, 200, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -3px 8px rgba(0, 20, 90, 0.40),
    0 14px 48px -8px rgba(0, 75, 255, 0.85);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary:active {
  box-shadow:
    0 0 0 1px rgba(111, 200, 255, 0.40),
    inset 0 2px 6px rgba(0, 20, 90, 0.50),
    0 4px 14px -6px rgba(0, 75, 255, 0.50);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost {
  border: 1px solid var(--line); color: var(--text);
  background: rgba(111, 200, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-ghost:hover {
  border-color: rgba(111,200,255,0.5);
  background: rgba(0,75,255,0.08);
  transform: translateY(-1px);
}
.btn-ghost:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 5px rgba(0, 20, 90, 0.35);
}

/* ================= Hero ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
#fibreCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 70% 20%, rgba(0, 75, 255, 0.16), transparent 65%),
    radial-gradient(45% 40% at 20% 80%, rgba(111, 200, 255, 0.08), transparent 70%);
}
.hero-content { padding: 140px 0 110px; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px;
  background: rgba(0, 75, 255, 0.06);
  backdrop-filter: blur(6px);
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.4; transform: scale(0.7);} }

.hero h1 {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent), #9FD8FF 45%, #FFFFFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 500;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: 0.01em;
}
.hero-sub { max-width: 560px; margin-top: 26px; color: var(--muted); font-size: 17px; }
.hero-cta { display: flex; gap: 16px; margin-top: 42px; flex-wrap: wrap; }
.hero-risk { margin-top: 30px; font-size: 12.5px; color: #5E6878; }
.hero-risk { color: #5E6878; max-width: 520px; }

.scroll-hint {
  position: absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(111,200,255,0.4);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute; top: 7px; left: 50%;
  width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 3px; background: var(--accent);
  animation: hint 1.8s var(--ease) infinite;
}
@keyframes hint { 0% { transform: translateY(0); opacity: 1;} 70% { transform: translateY(14px); opacity: 0;} 100% { opacity: 0;} }

/* ================= Ticker ================= */
.ticker {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 22, 0.6);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track {
  display: flex; gap: 56px;
  width: max-content;
  animation: tickerMove 36s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerMove { to { transform: translateX(-50%); } }
.ti { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.06em; white-space: nowrap; }
.ti.up { color: #59E0A8; }
.ti.down { color: #FF7A7A; }
.ticker-note {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #4A5468; background: var(--bg); padding: 4px 10px; border-left: 1px solid var(--line);
}

/* ================= Sections ================= */
.section { padding: 120px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(5, 10, 22, 0.55) 18%, rgba(5, 10, 22, 0.55) 82%, transparent); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.tag {
  display: inline-block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; font-weight: 600;
}
.h2 { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.015em; font-weight: 700; }
.grad { background: linear-gradient(100deg, var(--accent), #BFE3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 640px; }

/* ================= Cards ================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.glass {
  background: linear-gradient(160deg, rgba(111,200,255,0.05), rgba(10,17,32,0.85) 40%);
  backdrop-filter: blur(8px);
}
.card:hover { border-color: rgba(111,200,255,0.4); box-shadow: 0 20px 60px -25px rgba(0, 75, 255, 0.45); }
.card h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }

.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 75, 255, 0.08);
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon.big { width: 62px; height: 62px; }
.card-icon.big svg { width: 30px; height: 30px; }

/* Tilt cards (3D follow cursor) */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt-glare {
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), rgba(111,200,255,0.18), transparent 55%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.tilt:hover .tilt-glare { opacity: 1; }
.tilt .card-icon, .tilt h3, .tilt p { transform: translateZ(30px); }

/* ================= Engine demo ================= */
.engine-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: 0 30px 90px -40px rgba(0, 75, 255, 0.4);
}
.engine-top {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(1, 3, 10, 0.6);
}
.engine-dots { display: flex; gap: 6px; }
.engine-dots i { width: 10px; height: 10px; border-radius: 50%; background: #22304A; }
.engine-dots i:first-child { background: rgba(255, 122, 122, 0.8); }
.engine-dots i:nth-child(2) { background: rgba(255, 200, 90, 0.8); }
.engine-dots i:last-child { background: rgba(89, 224, 168, 0.8); }
.engine-title { font-family: var(--font-display); font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }
.engine-live { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #59E0A8; letter-spacing: 0.12em; text-transform: uppercase; }
#candleCanvas { display: block; width: 100%; height: 320px; }
.engine-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.engine-stats > div { padding: 20px 24px; border-right: 1px solid var(--line); }
.engine-stats > div:last-child { border-right: 0; }
.engine-stats b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--accent); }
.engine-stats span { font-size: 13px; color: var(--muted); }

/* ================= Stats band ================= */
.stats-band {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(0, 75, 255, 0.1), transparent 70%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(111,200,255,0.04), transparent);
}
.stat b { display: block; font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 700; background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }

/* ================= Steps ================= */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 64px; }
.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.step:hover { border-color: rgba(111,200,255,0.4); transform: translateY(-6px); }
.step i {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 44px; font-weight: 700;
  background: linear-gradient(160deg, var(--accent), transparent 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.75;
}
.step h3 { font-family: var(--font-display); font-size: 18px; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ================= Video slot ================= */
.video-slot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 9;
  background: radial-gradient(80% 120% at 50% 110%, rgba(0, 75, 255, 0.25), rgba(1, 3, 10, 0.9) 60%);
  display: grid; place-items: center;
  margin-bottom: 64px;
}
.video-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot-fallback { text-align: center; padding: 20px; }
.slot-fallback p { color: var(--muted); font-size: 14px; margin-top: 22px; }
.slot-fallback code { color: var(--accent); background: rgba(0,75,255,0.12); padding: 2px 8px; border-radius: 6px; font-size: 13px; }
.orb {
  width: 110px; height: 110px; margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(191, 227, 255, 0.95), rgba(111, 200, 255, 0.5) 28%, rgba(0, 75, 255, 0.55) 55%, rgba(1, 3, 10, 0.98) 78%);
  box-shadow: 0 0 60px rgba(0, 75, 255, 0.55), inset 0 0 40px rgba(111, 200, 255, 0.4);
  animation: orbFloat 6s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.05); }
}

/* ================= Why / check list ================= */
.why {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 44px;
  background: linear-gradient(120deg, rgba(111,200,255,0.04), transparent 45%);
}
.why h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 20px; }
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; color: var(--muted); }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(89,224,168,0.9) 0 5px, transparent 5.5px),
    radial-gradient(circle, rgba(89,224,168,0.16) 0 9px, transparent 9.5px);
}

/* ================= Contact ================= */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: start; }
.form-card { padding: 38px 36px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; letter-spacing: 0.04em; }
.field input {
  width: 100%;
  background: rgba(1, 3, 10, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input::placeholder { color: #454F63; }
.field input:focus {
  outline: none;
  border-color: rgba(111, 200, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 75, 255, 0.18);
}
.field input.invalid { border-color: rgba(255, 122, 122, 0.7); }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }
.form-note a { color: var(--accent); }
.form-success { margin-top: 16px; font-size: 14px; color: #59E0A8; text-align: center; }
.form-success code { color: var(--accent); font-size: 12px; }

/* ================= Footer ================= */
#footer { border-top: 1px solid var(--line); background: rgba(3, 6, 15, 0.7); padding: 64px 0 44px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 14px; transition: color 0.25s; }
.footer-nav a:hover { color: var(--accent); }
.footer-disclaimer { border-top: 1px solid var(--line); padding-top: 28px; }
.footer-disclaimer p { color: #5E6878; font-size: 12.5px; max-width: 860px; }
.footer-disclaimer p + p { margin-top: 10px; }

/* ================= To top ================= */
#toTop {
  position: fixed; right: 26px; bottom: 26px; z-index: 950;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 17, 32, 0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(16px);
  pointer-events: none;
  transition: 0.35s var(--ease);
}
#toTop.show { opacity: 1; transform: none; pointer-events: auto; }
#toTop:hover { border-color: rgba(111,200,255,0.55); background: rgba(0,75,255,0.2); }

/* ================= Reveal animations ================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ================= Responsive ================= */
@media (max-width: 1020px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  #nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(3, 6, 15, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px 6vw 24px;
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
  }
  #nav.open { transform: none; }
  #nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(111,200,255,0.07); }
  #navToggle { display: flex; }
  .header-inner > .btn { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .engine-stats { grid-template-columns: 1fr; }
  .engine-stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .engine-stats > div:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
  .why { padding: 30px 26px; }
  .video-slot { aspect-ratio: 16 / 10; }
}

/* ================= Reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   v4 MICRO-INTERACTIONS — ripple, burst, video card, lightbox
   ============================================================ */

/* ---------- ripple ink ---------- */
.ripple-host { position: relative; overflow: hidden; }
.ripple-ink {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(111,200,255,.5) 0%, rgba(0,75,255,.22) 42%, rgba(0,75,255,0) 70%);
  mix-blend-mode: screen;
  transform: scale(0); opacity: 1;
  animation: ink .65s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes ink { 60% { opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.ripple-soft .ripple-ink { opacity: .45; }

/* ---------- particle burst ---------- */
.burst-dot {
  position: fixed; width: 5px; height: 5px; border-radius: 50%;
  pointer-events: none; z-index: 12000;
  background: #6FC8FF; box-shadow: 0 0 10px rgba(111,200,255,.95), 0 0 22px rgba(0,75,255,.6);
  animation: burst .68s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes burst {
  0%   { transform: translate(-50%,-50%) scale(1);    opacity: 1; }
  100% { transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(.05); opacity: 0; }
}

/* ---------- press states ---------- */
.btn:active { filter: brightness(1.35); }
.card:active, .step:active, .why:active { filter: brightness(1.16); }
.tilt-card:active { border-color: rgba(111,200,255,.55); filter: brightness(1.12); }
.vc-play:active { transform: translate(-50%,-50%) scale(.92) !important; }

/* ---------- hero play button ---------- */
.play-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-right: 11px; border-radius: 50%;
  background: rgba(111,200,255,.12); border: 1px solid rgba(111,200,255,.45);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.btn-play:hover .play-ic {
  background: #004BFF; border-color: #6FC8FF;
  box-shadow: 0 0 20px rgba(0,75,255,.85);
}
.btn-play:hover .play-ic svg { transform: translateX(1px); }
.play-ic svg { transition: transform .3s var(--ease); }

/* ---------- video card (poster → lightbox) ---------- */
.video-card {
  position: relative; margin: 56px auto 0; max-width: 880px;
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  cursor: pointer; background: #05070F; border: 1px solid var(--line);
  box-shadow: 0 34px 90px rgba(0,0,0,.55);
  transform: translateZ(0);
  transition: border-color .45s, box-shadow .45s;
}
.video-card:hover {
  border-color: rgba(111,200,255,.45);
  box-shadow: 0 40px 110px rgba(0,0,0,.6), 0 0 60px rgba(0,75,255,.22);
}
.vc-poster {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.85) brightness(.7);
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}
.video-card:hover .vc-poster { transform: scale(1.06); filter: saturate(1.12) brightness(.94); }
.vc-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,3,10,.02) 34%, rgba(1,3,10,.9) 100%);
}
.vc-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 86px; height: 86px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #E8EEF7; background: rgba(0,75,255,.3);
  border: 1px solid rgba(111,200,255,.65);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), background .3s, box-shadow .3s;
  z-index: 2;
}
.vc-play::before, .vc-play::after {
  content: ''; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(111,200,255,.55);
  animation: vc-pulse 2.6s ease-out infinite;
}
.vc-play::after { animation-delay: 1.3s; }
@keyframes vc-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.95); opacity: 0; } }
.video-card:hover .vc-play {
  transform: translate(-50%,-50%) scale(1.12);
  background: rgba(0,75,255,.62);
  box-shadow: 0 0 46px rgba(0,75,255,.7);
}
.vc-label {
  position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2;
  display: flex; flex-direction: column; gap: 7px;
  transition: transform .5s var(--ease);
}
.video-card:hover .vc-label { transform: translateY(-4px); }
.vc-badge {
  font: 600 11px/1 'Space Grotesk', sans-serif;
  letter-spacing: .24em; text-transform: uppercase; color: #6FC8FF;
}
.vc-title {
  font: 500 17px/1.45 'Space Grotesk', sans-serif; color: #E8EEF7;
  text-shadow: 0 2px 16px rgba(0,0,0,.7);
}
/* targeting brackets */
.vc-corner {
  position: absolute; width: 26px; height: 26px; z-index: 2;
  border: 0 solid rgba(111,200,255,0);
  transition: border-color .4s, width .5s var(--ease), height .5s var(--ease);
}
.vc-corner.tl { left: 14px; top: 14px;    border-right-width: 0; border-bottom-width: 0; }
.vc-corner.tr { right: 14px; top: 14px;   border-left-width: 0;  border-bottom-width: 0; }
.vc-corner.bl { left: 14px; bottom: 14px; border-right-width: 0; border-top-width: 0; }
.vc-corner.br { right: 14px; bottom: 14px; border-left-width: 0; border-top-width: 0; }
.video-card:hover .vc-corner { border-color: rgba(111,200,255,.85); border-width: 1.5px; }

/* ---------- cinematic lightbox ---------- */
body.no-scroll { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(1,3,10,.84);
  backdrop-filter: blur(14px) saturate(.65); -webkit-backdrop-filter: blur(14px) saturate(.65);
}
.lb-box {
  position: relative; width: min(1080px, 100%);
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(111,200,255,.28);
  background: #05070F;
  box-shadow: 0 44px 130px rgba(0,0,0,.75), 0 0 90px rgba(0,75,255,.2);
  transform: scale(.9);
  transition: transform .55s var(--ease), opacity .35s ease;
}
.lightbox.open .lb-box { transform: scale(1); }
.lb-embed, .lb-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-close {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #E8EEF7; background: rgba(1,3,10,.62);
  border: 1px solid rgba(111,200,255,.38);
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s, box-shadow .3s;
}
.lb-close:hover { background: #004BFF; transform: rotate(90deg); box-shadow: 0 0 26px rgba(0,75,255,.75); }

/* ---------- v4 responsive ---------- */
@media (max-width: 760px) {
  .hero-cta { flex-wrap: wrap; }
  .video-card { aspect-ratio: 16 / 10; margin-top: 40px; }
  .vc-play { width: 64px; height: 64px; }
  .vc-play svg { width: 22px; height: 22px; }
  .vc-title { font-size: 14px; }
  .vc-corner { width: 18px; height: 18px; }
  .lb-close { width: 36px; height: 36px; right: 10px; top: 10px; }
}

/* ==== v11.4 DESIGN POLISH (landing) ==== */
.hero-facts strong, .stat b, .engine-stats b, .ticker-item b { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.btn:active { transform: translateY(1px) scale(.99); }
.ticker-wrap::-webkit-scrollbar { height: 4px; }
.ticker-wrap::-webkit-scrollbar-thumb { background: #1d2c44; border-radius: 4px; }
