
:root {
  --bg: #0c0718;
  --bg-2: #140b27;
  --text: #f5f4ff;
  --muted: #c8c0ec;
  --line: rgba(255,255,255,0.12);
  --glass: rgba(255,255,255,0.10);
  --glass-strong: rgba(255,255,255,0.16);
  --purple: #9b6dff;
  --purple-2: #7b4dff;
  --pink: #d47cff;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(155,109,255,0.18), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(212,124,255,0.14), transparent 18%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 56px 0; }

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 50%, transparent 92%);
  pointer-events: none;
}
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.orb-1 {
  width: 320px; height: 320px; left: -80px; top: 80px;
  background: rgba(123,77,255,0.34);
}
.orb-2 {
  width: 380px; height: 380px; right: -120px; top: 280px;
  background: rgba(212,124,255,0.22);
}

.glass, .glass-inline {
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.07));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.glass-inline {
  display: inline-flex;
  border-radius: 999px;
  padding: 10px 16px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  margin: 12px auto 0;
  width: min(1160px, calc(100% - 32px));
  border-radius: 22px;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  box-shadow: 0 10px 30px rgba(155,109,255,0.35);
}
.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
}
.nav a:hover { color: white; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(155,109,255,0.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-secondary {
  background: rgba(255,255,255,0.06);
  box-shadow: none;
}
.button-small {
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 34px;
  align-items: center;
  padding: 72px 0 36px;
}
.eyebrow {
  color: #e5d9ff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero h1, .page-hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 660px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.stats-row, .card-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.stat, .service-card, .platform-card, .legal-card, .contact-card {
  border-radius: 22px;
  padding: 18px;
}
.stat strong, .service-card h3, .platform-card h3 {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}
.stat span, .service-card p, .platform-card p, .muted, .contact-card p, .legal-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.hero-card, .showcase-card, .page-hero {
  border-radius: 28px;
  padding: 24px;
}
.hero-card-top, .chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: #efe7ff;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.92rem;
}
.device-stack {
  position: relative;
  min-height: 460px;
}
.device {
  position: absolute;
  border-radius: 34px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.06));
}
.phone {
  width: 210px;
  height: 410px;
  left: 16px;
  top: 58px;
}
.tablet {
  width: 310px;
  height: 330px;
  right: 8px;
  top: 120px;
  border-radius: 28px;
}
.device-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(155,109,255,0.26), rgba(67,31,121,0.38));
  border: 1px solid rgba(255,255,255,0.09);
  padding: 18px;
}
.mini-top, .mini-card, .mini-chart, .mini-row, .dashboard-grid > div {
  background: linear-gradient(135deg, rgba(196,157,255,0.96), rgba(128,89,255,0.90));
  border-radius: 18px;
}
.mini-top { width: 56%; height: 30px; margin-bottom: 18px; }
.mini-card { width: 100%; height: 128px; margin-bottom: 18px; }
.mini-chart { width: 100%; height: 96px; margin-bottom: 16px; opacity: .78; }
.mini-row { width: 100%; height: 18px; margin-bottom: 12px; opacity: .9; }
.mini-row.short { width: 68%; }
.window-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.window-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.55);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  height: calc(100% - 32px);
}
.dashboard-grid > div {
  opacity: .9;
}
.floating-card {
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin: 10px 0 0;
  letter-spacing: -0.03em;
}

.card-grid.two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.platform-list {
  display: grid;
  gap: 16px;
}
.page-shell {
  padding: 54px 0 80px;
}
.page-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
}
.page-side {
  min-height: 100%;
}
.page-side .showcase-card {
  height: 100%;
}
.legal-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.legal-card h3, .contact-card h3 { margin-top: 0; }
.list {
  display: grid;
  gap: 12px;
  color: var(--muted);
  padding-left: 18px;
  line-height: 1.7;
}
.content {
  max-width: 920px;
}
.content h2, .content h3 {
  margin-top: 34px;
  margin-bottom: 12px;
}
.content p {
  color: var(--muted);
  line-height: 1.8;
}
.site-footer {
  padding: 26px 0 40px;
  color: var(--muted);
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.notice {
  display: inline-flex;
  margin-top: 12px;
  color: #f1e6ff;
}

@media (max-width: 980px) {
  .hero, .page-hero, .card-grid.two, .legal-links, .card-grid.three, .stats-row {
    grid-template-columns: 1fr;
  }
  .site-header { position: static; }
  .nav-wrap { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .device-stack { min-height: 560px; }
  .tablet { right: 0; top: 220px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 20px, 1160px); }
  .hero, .page-shell { padding-top: 34px; }
  .phone { width: 180px; height: 360px; left: 6px; }
  .tablet { width: 250px; height: 280px; top: 230px; }
}
