:root {
  --bg: #030611;
  --panel: rgba(11, 18, 34, 0.72);
  --panel-strong: rgba(15, 25, 48, 0.92);
  --cyan: #45e5ff;
  --violet: #7b61ff;
  --green: #35ff9b;
  --red: #ff4d6d;
  --amber: #ffcc66;
  --text: #eff7ff;
  --muted: #8da4c0;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(19, 241, 252, 0.18), transparent 30vw),
    radial-gradient(circle at 78% 9%, rgba(123, 97, 255, 0.24), transparent 35vw),
    radial-gradient(circle at 50% 95%, rgba(53, 255, 155, 0.12), transparent 38vw),
    linear-gradient(180deg, #050817 0%, #02040c 100%);
  z-index: -5;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .09;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(19, 241, 252, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 241, 252, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%);
  animation: gridDrift 14s linear infinite;
}

.aurora {
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .45;
  z-index: -3;
  mix-blend-mode: screen;
}
.aurora-one { left: -12vw; top: 10vh; background: rgba(19, 241, 252, .45); animation: floatOne 12s ease-in-out infinite alternate; }
.aurora-two { right: -16vw; top: 22vh; background: rgba(123, 97, 255, .5); animation: floatTwo 15s ease-in-out infinite alternate; }

.ticker-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  color: rgba(141, 164, 192, .16);
  font-family: "Space Grotesk", monospace;
  font-weight: 700;
  letter-spacing: .08em;
}
.ticker-rain span { position: absolute; animation: fall 16s linear infinite; }
.ticker-rain span:nth-child(1) { left: 6%; animation-delay: -3s; }
.ticker-rain span:nth-child(2) { left: 22%; animation-delay: -10s; }
.ticker-rain span:nth-child(3) { left: 41%; animation-delay: -6s; }
.ticker-rain span:nth-child(4) { left: 61%; animation-delay: -12s; }
.ticker-rain span:nth-child(5) { left: 76%; animation-delay: -1s; }
.ticker-rain span:nth-child(6) { left: 91%; animation-delay: -8s; }

.nav {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 12px 14px;
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(3, 6, 17, .6);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 70px rgba(0,0,0,.34);
}
.brand { color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; }
.brand-logo { width: 38px; height: 38px; display: block; object-fit: contain; border-radius: 10px; }
.brand:hover .brand-logo { box-shadow: 0 0 22px rgba(19,241,252,.5); }
.nav nav { display: flex; gap: 26px; }
.nav a { color: rgba(239,247,255,.78); text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--cyan); }
.nav-cta { padding: 11px 16px; border: 1px solid rgba(19,241,252,.45); border-radius: 14px; color: var(--text)!important; background: rgba(19,241,252,.1); }

main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.hero { min-height: 820px; display: grid; grid-template-columns: 1fr 1.08fr; gap: 44px; align-items: center; }
.eyebrow, .section-label { color: var(--cyan); text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: 12px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 22px var(--green); }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; margin: 0; }
h1 { font-size: clamp(54px, 8vw, 104px); line-height: .86; letter-spacing: -.075em; max-width: 690px; }
h1 em { font-style: normal; background: linear-gradient(90deg, #fff, var(--cyan), var(--green)); -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(19,241,252,.25)); }
.hero-subtitle { color: var(--muted); font-size: 19px; line-height: 1.7; max-width: 610px; margin: 28px 0; }
.hero-actions, .trust-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.primary-btn, .ghost-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 16px; text-decoration: none; font-weight: 900; }
.primary-btn { color: #041018; background: linear-gradient(135deg, var(--cyan), var(--green)); box-shadow: 0 20px 60px rgba(19,241,252,.26); }
.primary-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.ghost-btn { color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.trust-row { margin-top: 26px; color: rgba(239,247,255,.68); font-size: 13px; }
.trust-row span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); }

.terminal-stage { position: relative; min-height: 590px; display: grid; place-items: center; perspective: 1200px; }
.dashboard-card { width: min(620px, 100%); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(7,12,27,.78)); backdrop-filter: blur(28px); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.12); }
.main-card { padding: 22px; transform: rotateX(7deg) rotateY(-10deg); animation: hoverPanel 6s ease-in-out infinite; }
.card-topbar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.card-topbar strong { display: block; font-size: 22px; }
.card-topbar small { color: var(--muted); }
.pulse { color: var(--green); font-size: 12px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.pulse span { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 1.2s ease-in-out infinite; }
.metric-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin: 22px 0; }
.metric { min-height: 128px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.045); }
.metric.big { grid-row: span 2; }
.metric label { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.metric strong { display: block; margin: 12px 0 7px; font-size: clamp(26px, 3vw, 46px); font-family: "Space Grotesk"; }
.metric span { color: var(--muted); } .metric .green, .green { color: var(--green); }
.chart { height: 180px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: rgba(0,0,0,.18); }
.chart svg { width: 100%; height: 100%; }
.line { fill: none; stroke: url(#lineGlow); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 900; animation: drawLine 3.8s ease-in-out infinite alternate; }
.area { fill: url(#fillGlow); }
.orbital-ring { position: absolute; border: 1px solid rgba(19,241,252,.25); border-radius: 50%; animation: spin 16s linear infinite; }
.ring-one { width: 680px; height: 360px; transform: rotate(-18deg); }
.ring-two { width: 520px; height: 520px; border-color: rgba(123,97,255,.2); animation-duration: 22s; animation-direction: reverse; }
.floating-ticket { position: absolute; padding: 13px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(6,10,22,.76); backdrop-filter: blur(18px); box-shadow: 0 18px 60px rgba(0,0,0,.32); animation: bob 4s ease-in-out infinite; }
.floating-ticket span { display: block; color: var(--muted); font-size: 12px; } .floating-ticket b { font-family: "Space Grotesk"; font-size: 20px; }
.ticket-one { left: 2%; top: 18%; } .ticket-two { right: 0; bottom: 18%; animation-delay: -1.2s; } .ticket-three { left: 12%; bottom: 8%; animation-delay: -2s; }

.million-panel, .private-beta { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 90px 0 34px; padding: 38px; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(135deg, rgba(19,241,252,.12), rgba(123,97,255,.08)); box-shadow: var(--shadow); }
.million-panel h2, .private-beta h2 { font-size: clamp(34px, 5vw, 62px); line-height: .95; letter-spacing: -.05em; margin-top: 12px; }
.million-panel p, .private-beta p { color: var(--muted); line-height: 1.8; font-size: 18px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px 0 90px; }
.feature-card { padding: 26px; min-height: 250px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.045); backdrop-filter: blur(20px); transition: .35s ease; }
.feature-card:hover { transform: translateY(-9px); border-color: rgba(19,241,252,.45); box-shadow: 0 24px 80px rgba(19,241,252,.11); }
.icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: rgba(19,241,252,.1); color: var(--cyan); font-weight: 900; margin-bottom: 36px; }
.feature-card h3 { font-size: 25px; margin-bottom: 12px; }
.feature-card p { color: var(--muted); line-height: 1.7; }
.login-panel { padding: 24px; border-radius: 26px; background: var(--panel-strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.login-header { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.login-header span { width: 10px; height: 10px; background: var(--green); border-radius: 50%; box-shadow: 0 0 18px var(--green); }
.login-panel label { display: block; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 16px 0 8px; }
.input-shell { min-height: 50px; border-radius: 15px; border: 1px solid var(--line); background: rgba(255,255,255,.05); display: flex; align-items: center; padding: 0 14px; color: var(--text); }
.input-shell.muted { color: rgba(239,247,255,.45); letter-spacing: .18em; }
.full { width: 100%; margin-top: 20px; }
footer { width: min(1180px, calc(100% - 36px)); margin: 60px auto 34px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
footer strong { color: var(--text); }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .16s; } .delay-2 { transition-delay: .32s; }
@keyframes gridDrift { to { background-position: 72px 72px; } }
@keyframes floatOne { to { transform: translate(12vw, 8vh) scale(1.1); } }
@keyframes floatTwo { to { transform: translate(-10vw, -7vh) scale(.9); } }
@keyframes fall { from { transform: translateY(-20vh); } to { transform: translateY(120vh); } }
@keyframes hoverPanel { 0%,100% { transform: rotateX(7deg) rotateY(-10deg) translateY(0); } 50% { transform: rotateX(4deg) rotateY(-4deg) translateY(-16px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(53,255,155,.5); } 50% { box-shadow: 0 0 0 10px rgba(53,255,155,0); } }
@keyframes drawLine { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@media (max-width: 940px) {
  .nav nav { display: none; }
  .hero, .million-panel, .private-beta { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; min-height: auto; }
  .terminal-stage { min-height: 520px; }
  .features { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
@media (max-width: 620px) {
  main, .nav, footer { width: min(100% - 24px, 1180px); }
  .nav { top: 10px; margin-top: 10px; }
  .main-card { transform: none; animation: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .million-panel, .private-beta { padding: 24px; }
  .floating-ticket, .orbital-ring { display: none; }
}
@media (max-width: 420px) {
  main, .nav, footer { width: min(100% - 20px, 1180px); }
  h1 { font-size: clamp(40px, 11vw, 58px); max-width: 100%; overflow-wrap: anywhere; }
  .hero-subtitle { font-size: 16px; max-width: 100%; overflow-wrap: anywhere; }
  .nav-brand { font-size: 20px; }
  .login-panel { padding: 20px; }
  .feature-card h3 { font-size: 18px; }
  .feature-card p { font-size: 14px; overflow-wrap: anywhere; }
  .kpi b { font-size: 18px; }
  .metric-grid { gap: 10px; }
  .nav { gap: 6px; }
  .nav a:not(.nav-cta) { padding: 8px 10px; font-size: 13px; }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
  body, .hero, .main-card, .million-panel, .private-beta, .features { overflow-x: hidden; }
}
