:root {
  --bg: #08111f;
  --bg-soft: #0d1728;
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --text: #e9f1ff;
  --muted: #9fb0c8;
  --line: rgba(255, 255, 255, 0.1);
  --primary: #6c7cff;
  --primary-2: #19d3c5;
  --accent: #7ee787;
  --danger: #ff7a7a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(circle at top, #10213f 0%, var(--bg) 45%, #050a13 100%);
  color: var(--text);
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section { padding: 92px 0; position: relative; z-index: 1; }
.section-accent { background: linear-gradient(180deg, rgba(108,124,255,0.08), rgba(25,211,197,0.03)); }
.section-dark { background: rgba(255,255,255,0.03); }

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  pointer-events: none;
}
.orb-1 { width: 300px; height: 300px; background: var(--primary); top: 60px; left: -80px; }
.orb-2 { width: 360px; height: 360px; background: var(--primary-2); bottom: 10%; right: -120px; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(8, 17, 31, 0.65);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 10px 30px rgba(108,124,255,0.45);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
}
.nav-links a:hover, .footer-links a:hover { color: var(--text); }
.burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 99px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(8, 17, 31, 0.95);
}
.mobile-menu.open { display: flex; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  transition: .25s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  box-shadow: 0 14px 35px rgba(108,124,255,0.35);
}
.btn-secondary, .btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}

.hero { padding-top: 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #c9d7ea;
  font-size: 13px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
h3 { font-size: 22px; margin-bottom: 10px; }
p, li { color: var(--muted); line-height: 1.72; font-size: 16px; }
.lead { font-size: 18px; max-width: 760px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}
.hero-points span, .check-list div {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dbe8f8;
  padding: 12px 14px;
  border-radius: 14px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.dashboard-card { border-radius: 28px; padding: 22px; }
.dashboard-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d2def0;
  margin-bottom: 18px;
}
.status-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 8px rgba(126,231,135,0.12);
}
.status-badge {
  margin-left: auto;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(126,231,135,0.14);
  color: #b6f2bc;
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.screen-card {
  background: rgba(7, 13, 24, 0.82);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 16px;
}
.screen-card.active { border-color: rgba(25,211,197,0.45); box-shadow: inset 0 0 0 1px rgba(25,211,197,0.2); }
.screen-card.alert { border-color: rgba(255,122,122,0.35); }
.screen-title { font-weight: 600; margin-bottom: 6px; }
.screen-meta, .screen-foot { color: var(--muted); font-size: 14px; }
.screen-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin: 12px 0;
}
.screen-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.section-heading { max-width: 880px; margin-bottom: 36px; }
.cards-3, .integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-card, .integration-card {
  padding: 26px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
}
.info-card.dark { background: rgba(255,255,255,0.04); }
.integration-card span {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}
.two-col, .analytics-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}
.feature-list li::before, .check-list div::before {
  content: '•';
  color: var(--primary-2);
  font-weight: 800;
  margin-right: 10px;
}
.timeline-card {
  padding: 28px;
  border-radius: var(--radius);
}
.timeline-step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.timeline-step:last-child { border-bottom: 0; }
.timeline-step span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
  font-weight: 700;
}

.analytics-panel {
  padding: 28px;
  border-radius: var(--radius);
}
.chart-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
}
.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: end;
  height: 190px;
  margin-bottom: 24px;
}
.bars span {
  display: block;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.metrics-grid div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.metrics-grid strong {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}
.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.cta-card {
  border-radius: 30px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.footer {
  padding: 30px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@media (max-width: 1024px) {
  .hero-grid, .two-col, .analytics-wrap, .cta-card { grid-template-columns: 1fr; display: grid; }
  .cards-3, .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav .btn-ghost { display: none; }
  .burger { display: block; }
}

@media (max-width: 680px) {
  .section { padding: 74px 0; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .cards-3, .integrations-grid, .screen-grid, .metrics-grid { grid-template-columns: 1fr; }
  .dashboard-card, .timeline-card, .analytics-panel, .cta-card { padding: 20px; }
  .footer-inner { flex-direction: column; }
}
