:root {
  --bg: #090b1d;
  --bg-soft: #11152f;
  --panel: rgba(30, 36, 73, 0.82);
  --panel-strong: #1c2246;
  --text: #f8f8ff;
  --muted: #a9abc1;
  --line: rgba(255, 255, 255, 0.10);
  --yellow: #ffc247;
  --orange: #ff8f43;
  --mint: #59e2b2;
  --blue: #5a76ff;
  --radius: 26px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(76, 95, 255, .18), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(255, 158, 64, .10), transparent 30%),
    var(--bg);
  background-size: 58px 58px, 58px 58px, auto, auto, auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 29, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  position: relative;
  transform: rotate(30deg);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 8px;
}
.brand-mark::before {
  inset: 2px 8px 10px 2px;
  background: linear-gradient(145deg, var(--yellow), var(--orange));
}
.brand-mark::after {
  inset: 12px 1px 1px 12px;
  background: linear-gradient(145deg, #8060ff, #4c5cff);
  opacity: .9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}
.nav-links a:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid var(--line);
  font-weight: 900;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #111326;
  border: 0;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 16px 38px rgba(255, 155, 63, .28);
}
.button-secondary { background: rgba(255,255,255,.04); }

.hero {
  min-height: 780px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 66px;
  padding: 78px 0 100px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .78rem;
  font-weight: 900;
}

h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  letter-spacing: -.055em;
}
h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 630px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.badge {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #d2d3e0;
  font-size: .88rem;
  font-weight: 800;
}

.phone-stage {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
}
.phone-stage::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 174, 61, .22), transparent 67%);
  filter: blur(4px);
}

.phone {
  position: relative;
  z-index: 3;
  width: min(365px, 78vw);
  padding: 11px;
  border-radius: 54px;
  background: #05060d;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.phone img { border-radius: 44px; }
.phone.primary { transform: rotate(4deg); }
.phone.secondary {
  position: absolute;
  width: min(270px, 58vw);
  left: -4%;
  bottom: 12%;
  transform: rotate(-9deg);
  z-index: 4;
}

.cube {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  transform: rotate(28deg);
  opacity: .9;
  box-shadow: 0 16px 32px rgba(0,0,0,.26);
}
.cube.one { top: 10%; right: 3%; background: linear-gradient(145deg, #ffca57, #ff8f43); }
.cube.two { bottom: 9%; right: 1%; width: 42px; height: 42px; background: linear-gradient(145deg, #5b7cff, #6c4de7); }
.cube.three { top: 32%; left: -3%; width: 34px; height: 34px; background: linear-gradient(145deg, #55e5b0, #18786b); }

.section { padding: 104px 0; }
.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}
.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -.04em;
}
.section-heading p { color: var(--muted); font-size: 1.12rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(34, 41, 82, .88), rgba(22, 27, 57, .72));
  box-shadow: 0 16px 44px rgba(0,0,0,.16);
}
.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  color: #14162c;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  font-size: 1.25rem;
  font-weight: 900;
}
.card h3 { margin-bottom: 8px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }

.showcase {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.showcase.reverse { grid-template-columns: 1.1fr .9fr; }
.showcase-copy h2 { font-size: clamp(2.35rem, 5vw, 4.1rem); letter-spacing: -.04em; }
.showcase-copy p { color: var(--muted); font-size: 1.1rem; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; }
.check-list li { position: relative; padding-left: 34px; margin: 14px 0; color: #dedfec; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 900;
}

.screenshot-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 180, 71, .15), transparent 38%),
    rgba(26, 31, 66, .58);
  display: grid;
  place-items: center;
}
.screenshot-panel .phone { width: min(350px, 76vw); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.stat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
}
.stat strong { display: block; color: var(--yellow); font-size: 1.6rem; }
.stat span { color: var(--muted); font-size: .9rem; }

.cta {
  padding: 62px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 36px;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 193, 71, .22), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(95, 104, 255, .20), transparent 34%),
    linear-gradient(145deg, #1d2347, #13172f);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta h2 { margin-bottom: 14px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta p { max-width: 680px; margin: 0 auto 26px; color: var(--muted); }

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.legal-hero { padding: 84px 0 42px; }
.legal-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.legal-hero p { color: var(--muted); max-width: 720px; }
.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 44px;
  padding: 32px 0 100px;
}
.legal-nav {
  position: sticky;
  top: 110px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
}
.legal-nav a {
  display: block;
  padding: 9px 0;
  text-decoration: none;
  color: var(--muted);
}
.legal-content {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(22, 27, 57, .70);
}
.legal-content h2 { margin-top: 44px; margin-bottom: 12px; font-size: 1.7rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #c7c8d7; }
.legal-content a { color: var(--yellow); }

@media (max-width: 900px) {
  .nav-links a:not(.button) { display: none; }
  .hero, .showcase, .showcase.reverse, .legal-layout { grid-template-columns: 1fr; }
  .hero { gap: 34px; padding-top: 56px; }
  .phone-stage { min-height: 650px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .legal-nav { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, 1120px); }
  .site-header .button { display: none; }
  .feature-grid, .stats { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .hero { min-height: 0; }
  .phone-stage { min-height: 590px; }
  .phone.secondary { left: -1%; bottom: 7%; width: 54vw; }
  .cta { padding: 42px 22px; }
  .legal-content { padding: 24px; }
}
