:root {
  --navy-950: #070f25;
  --navy-900: #0b1430;
  --navy-850: #101b39;
  --navy-800: #162346;
  --purple: #7c3aed;
  --purple-2: #9157ff;
  --purple-soft: #ede9fe;
  --blue: #2f80ed;
  --green: #26c281;
  --orange: #ff9f43;
  --pink: #ff5ca8;
  --text: #111a36;
  --muted: #64708b;
  --line: #e8ebf3;
  --surface: #ffffff;
  --surface-soft: #f7f8fc;
  --shadow: 0 20px 60px rgba(15, 24, 54, .12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.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;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
}
.nav-wrap {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand img { object-fit: contain; }
.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 14px;
  font-weight: 600;
}
.main-nav a,
.footer-links a {
  opacity: .9;
  transition: opacity .2s ease, color .2s ease;
}
.main-nav a:hover, .footer-links a:hover { opacity: 1; color: #bfa5ff; }
.nav-actions { display: flex; gap: 12px; align-items: center; }

.btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 14px 32px rgba(124, 58, 237, .32);
}
.btn-primary:hover { box-shadow: 0 18px 36px rgba(124, 58, 237, .42); }
.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.03);
}
.btn-outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
}
.btn-large { min-height: 56px; padding-inline: 26px; }
.play-icon {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  font-size: 9px;
}
.mobile-menu-btn { display: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 136px 0 80px;
  color: #fff;
  background:
    radial-gradient(circle at 35% 68%, rgba(77, 108, 255, .33), transparent 33%),
    radial-gradient(circle at 85% 85%, rgba(124, 58, 237, .28), transparent 32%),
    linear-gradient(135deg, #071126 0%, #0a1b43 50%, #11153c 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, #000, transparent 70%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero-glow-one {
  width: 360px; height: 360px; left: -150px; bottom: -130px;
  background: rgba(54, 95, 255, .35);
}
.hero-glow-two {
  width: 420px; height: 420px; right: -180px; bottom: -180px;
  background: rgba(134, 67, 255, .22);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(410px, .78fr) minmax(650px, 1.22fr);
  gap: 56px;
  align-items: center;
}
.eyebrow, .section-kicker, .modal-kicker {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: 12px;
}
.eyebrow {
  color: #c6adff;
  background: rgba(124, 58, 237, .15);
  border: 1px solid rgba(174, 139, 255, .15);
  padding: 10px 16px;
  border-radius: 999px;
}
.hero h1 {
  margin: 26px 0 20px;
  font-size: clamp(54px, 5vw, 82px);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.hero h1 span {
  color: #9b6cff;
  text-shadow: 0 12px 42px rgba(124,58,237,.32);
}
.hero-copy > p {
  max-width: 610px;
  margin: 0;
  color: #c6cfe2;
  font-size: 18px;
  line-height: 1.75;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #bdc8dc;
  font-size: 13px;
}
.product-window {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,20,48,.76);
  box-shadow: 0 42px 100px rgba(1, 5, 19, .48);
  transform: perspective(1600px) rotateY(-2deg);
}
.window-topbar {
  min-height: 48px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #cdd6e8;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #56617a; }
.window-status {
  justify-self: end;
  color: #6ee7b7;
  background: rgba(16,185,129,.1);
  padding: 5px 9px;
  border-radius: 999px;
}
.product-window img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Generic sections */
.section { padding: 88px 0; }
.section-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-kicker { color: var(--purple); }
.section-heading h2,
.solution-copy h2,
.cta-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.13;
  letter-spacing: -.04em;
}
.section-heading p, .solution-copy > p, .cta-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Features */
.features {
  background:
    radial-gradient(circle at 15% 0%, rgba(124,58,237,.06), transparent 26%),
    #fff;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 14px 40px rgba(15,24,54,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-7px);
  border-color: #d8ccff;
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  font-size: 23px; font-weight: 700;
}
.green { color: #0b9a64; background: #e9fbf3; }
.blue { color: #2777df; background: #eaf3ff; }
.purple { color: #7c3aed; background: #f1ebff; }
.orange { color: #e67517; background: #fff1e4; }
.pink { color: #e84393; background: #ffeaf4; }
.feature-card h3 { margin: 22px 0 10px; font-size: 18px; }
.feature-card p { color: var(--muted); line-height: 1.65; font-size: 14px; }
.feature-link {
  margin-top: 10px;
  padding: 0;
  color: var(--purple);
  background: transparent;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

/* Solutions */
.solutions { background: var(--surface-soft); }
.solution-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 70px;
  align-items: center;
}
.solution-copy > p { max-width: 640px; }
.solution-list { margin-top: 30px; display: grid; gap: 18px; }
.solution-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.solution-list strong { font-size: 15px; }
.solution-list span { color: var(--muted); line-height: 1.55; }
.metric-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(145deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow);
}
.metric-card {
  min-height: 155px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.metric-card span { color: #aeb9d1; font-size: 13px; }
.metric-card strong {
  display: block;
  margin: 18px 0 12px;
  font-size: 27px;
  letter-spacing: -.03em;
}
.metric-card small { font-size: 12px; color: #bdc8dc; }
.metric-card em { color: #66e4ad; font-style: normal; font-size: 12px; }
.metric-card.warning em { color: #ffadad; }

/* Benefits */
.benefits { padding-top: 42px; }
.benefits-row {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 42px rgba(15,24,54,.06);
}
.benefit { display: flex; align-items: center; gap: 13px; }
.benefit-icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--purple);
  background: var(--purple-soft);
  font-weight: 800;
}
.benefit strong, .benefit small { display: block; }
.benefit strong { font-size: 13px; }
.benefit small { margin-top: 5px; color: var(--muted); font-size: 11px; }

/* CTA/Footer */
.cta-section { padding-top: 20px; }
.cta-card {
  padding: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  color: #fff;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 80% 0%, rgba(145,87,255,.38), transparent 38%),
    linear-gradient(135deg, #09132c, #14184a);
  box-shadow: var(--shadow);
}
.cta-card p { color: #c7d0e4; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost-light {
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}
.site-footer {
  margin-top: 80px;
  padding: 28px 0;
  color: #c8d1e4;
  background: var(--navy-950);
}
.footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.footer-brand { color: #fff; font-size: 20px; }
.footer-row p { margin: 0; font-size: 12px; }
.footer-links { justify-self: end; display: flex; gap: 22px; font-size: 12px; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(4, 9, 25, .75);
  backdrop-filter: blur(12px);
}
.modal-backdrop[hidden] { display: none; }
.feature-modal {
  position: relative;
  width: min(100%, 640px);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 38px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 32px 120px rgba(0,0,0,.32);
  animation: modalIn .22s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 12px;
  color: #53607a;
  background: #f1f3f8;
  font-size: 25px;
  cursor: pointer;
}
.modal-icon {
  width: 54px; height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  font-size: 26px;
}
.modal-kicker { color: var(--purple); }
.feature-modal h2 {
  margin: 8px 0 12px;
  font-size: 34px;
  letter-spacing: -.04em;
}
.feature-modal > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}
.modal-points {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.modal-point {
  padding: 15px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fafbfe;
}
.modal-point i {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; background: var(--purple);
  font-style: normal;
  font-size: 12px;
}
.modal-point span { color: #45516c; line-height: 1.55; font-size: 14px; }
.modal-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.modal-actions .btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: #f6f7fb;
}

/* Responsive */
@media (max-width: 1180px) {
  .nav-wrap { grid-template-columns: auto 1fr auto; }
  .main-nav { gap: 22px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-product { max-width: 1000px; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .site-header { position: absolute; }
  .nav-wrap { min-height: 76px; grid-template-columns: auto auto; justify-content: space-between; }
  .mobile-menu-btn {
    width: 42px; height: 42px; padding: 10px;
    display: grid; gap: 4px; align-content: center;
    border-radius: 10px; background: rgba(255,255,255,.08);
  }
  .mobile-menu-btn span:not(.sr-only) { height: 2px; border-radius: 10px; background: #fff; }
  .main-nav {
    position: absolute;
    top: 72px; left: 20px; right: 20px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    background: rgba(7,15,37,.97);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .nav-actions { display: none; }
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(48px, 12vw, 70px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-grid { grid-template-columns: 1fr; }
  .benefits-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .footer-row { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-self: center; }
}

@media (max-width: 580px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { min-height: auto; padding: 112px 0 60px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .trust-row { gap: 10px 16px; }
  .window-topbar { grid-template-columns: 1fr auto; }
  .window-topbar > span:nth-of-type(1) { display: none; }
  .section { padding: 66px 0; }
  .feature-grid, .benefits-row, .metric-panel { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .solution-list div { grid-template-columns: 1fr; gap: 5px; }
  .cta-card { padding: 34px 24px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .feature-modal { padding: 30px 22px 24px; }
  .feature-modal h2 { font-size: 28px; }
}
