:root {
  --bg: #ffffff;
  --surface: #f6f7fb;
  --surface-2: #eef2ff;
  --ink: #06070b;
  --muted: #596071;
  --line: #d8deeb;
  --blue: #2f6bff;
  --purple: #6335ff;
  --violet: #8a5cff;
  --green: #16a66a;
  --red: #d43d51;
  --dark: #080a12;
  --dark-2: #111522;
  --gradient: linear-gradient(135deg, var(--blue), var(--purple) 58%, #11131b);
  --dark-gradient: radial-gradient(circle at 22% 10%, rgba(99, 53, 255, 0.28), transparent 34%), linear-gradient(135deg, #07080d, #121522);
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(circle at 15% 24%, rgba(47, 107, 255, 0.08), transparent 36%), var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(5, 7, 12, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 7, 12, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 78%);
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: 0;
}

p { margin: 0; color: var(--muted); line-height: 1.7; }
a { color: inherit; }

.container {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.global-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(216, 222, 235, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: 178px;
  height: 46px;
  align-items: center;
  text-decoration: none;
}

.brand img, .footer-logo, .founder-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover { color: var(--purple); }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 20px 35px -24px rgba(47, 107, 255, 0.75);
}

.button:hover { transform: translateY(-1px); }
.button.secondary { background: #fff; color: var(--blue); border: 1px solid rgba(47, 107, 255, 0.35); box-shadow: none; }
.button.dark { background: #111522; color: #fff; }
.nav-cta { min-height: 40px; padding: 10px 16px; font-size: 13px; }

.hero {
  min-height: 84vh;
  display: flex;
  align-items: center;
  padding: 132px 0 78px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(246,247,251,0.72));
}

.hero-centered { max-width: 960px; text-align: center; }

.eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before, .eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0 auto 26px;
  max-width: 900px;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
}

.hero p {
  max-width: 730px;
  margin: 0 auto 34px;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions, .section-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.section { padding: 96px 0; }
.section.muted { background: rgba(246, 247, 251, 0.74); border-block: 1px solid var(--line); }
.section.dark { background: var(--dark-gradient); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: #c8d0df; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 54px;
  align-items: center;
}

.section h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4vw, 56px);
}

.lead { font-size: 19px; }

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 55px -42px rgba(5, 6, 10, 0.7);
}

.image-stack { position: relative; min-height: 510px; }
.img-main {
  position: absolute;
  inset: 0 0 auto auto;
  width: 84%;
  height: 365px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 26px 70px -42px #05060a;
}

.signal-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 66%;
  padding: 24px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-header {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-header strong { color: var(--purple); font-size: 28px; }

.odds-row {
  padding: 18px;
  border-radius: 8px;
  background: #090a10;
  color: #fff;
}

.odds-row strong { color: #fff; font-size: 32px; }

.latency-stack { display: grid; gap: 10px; margin: 14px 0; }
.latency-stack div {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}
.latency-stack strong { color: var(--ink); }
.risk-alert { padding: 12px; border-radius: 8px; background: rgba(99, 53, 255, 0.1); color: var(--purple); font-weight: 900; text-align: center; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.metric { padding: 0 28px; border-right: 1px solid rgba(255,255,255,0.16); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; color: #6ca4ff; font-family: var(--font-heading); font-size: 44px; }
.metric span { color: #d8deeb; }

.section-heading { max-width: 760px; margin-bottom: 48px; }
.center { text-align: center; margin-inline: auto; }

.grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card, .step-card, .data-card { padding: 28px; }
.step-card { min-height: 250px; border-top: 4px solid var(--purple); }
.step-card span { display: block; margin-bottom: 28px; color: rgba(99, 53, 255, 0.3); font: 900 42px/1 var(--font-heading); }
.feature-card h3, .step-card h3, .data-card h3 { margin-bottom: 12px; font-size: 22px; }
.feature-card p, .step-card p, .data-card p { font-size: 15px; }

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 56px;
  align-items: center;
}

.phone-shell {
  padding: 20px;
  border: 10px solid #10131f;
  border-radius: 36px;
  background: #080a12;
  color: #fff;
  box-shadow: 0 40px 90px -55px #05060a;
}
.phone-shell h3 { margin: 20px 0; color: #fff; font-size: 30px; }
.phone-top, .bet-line { display: flex; justify-content: space-between; align-items: center; }
.phone-top { color: #aeb7c9; font-weight: 900; }
.status-green { color: #65e4a3; }
.ai-chip { margin: 24px 0 0; padding: 10px 12px; border-radius: 999px; background: rgba(47, 107, 255, 0.16); color: #9cc0ff; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.bet-line { margin-top: 10px; padding: 14px; border-radius: 8px; background: rgba(255,255,255,0.08); color: #cdd5e5; }
.bet-line strong { color: #fff; font-size: 22px; }
.shake-target { display: grid; place-items: center; min-height: 132px; margin-top: 18px; border: 1px dashed rgba(255,255,255,0.34); border-radius: 8px; background: radial-gradient(circle, rgba(99,53,255,0.32), rgba(47,107,255,0.08)); font: 900 22px/1 var(--font-heading); }
.bio-row { margin-top: 16px; color: #aeb7c9; font-size: 13px; text-align: center; }

.stat-huge {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
}

.founder-card { padding: 34px; text-align: center; }
.founder-card img { width: 220px; height: 58px; margin: 0 auto 24px; object-position: center; }
.founder-card h3 { font-size: 28px; }
.founder-card a { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 800; }

.corporate-footer {
  padding: 64px 28px 28px;
  background: #07080d;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 48px;
  width: min(1200px, 100%);
  margin: 0 auto;
}
.footer-logo { width: 176px; height: 46px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.corporate-footer p, .corporate-footer a, .corporate-footer span { color: #bcc4d3; }
.corporate-footer h5 { margin: 0 0 16px; color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.1em; }
.corporate-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.corporate-footer a { text-decoration: none; }
.contact-meta { margin-bottom: 20px; }
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 8px;
}
.contact-form span {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font: inherit;
}
.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(188, 196, 211, 0.72);
}
.contact-form .button {
  justify-self: start;
  margin-top: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1200px, 100%);
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: #7d8798;
  font-size: 13px;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .split, .demo-grid, .footer-grid { grid-template-columns: 1fr; }
  .image-stack { min-height: 420px; }
  .grid-3, .grid-4, .metrics { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.16); padding-bottom: 20px; }
  .metric:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .global-nav { padding: 12px 18px; }
  .brand { width: 142px; height: 38px; }
  .hero { min-height: auto; padding-top: 112px; }
  .hero h1 { font-size: 43px; }
  .section { padding: 70px 0; }
  .image-stack { min-height: auto; display: grid; gap: 16px; }
  .img-main, .signal-panel { position: static; width: 100%; }
  .footer-bottom { flex-direction: column; }
}
