@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --purple: #8f43ed;
  --purple-dark: #2d1b4f;
  --purple-mid: #6940b0;
  --lavender: #f3efff;
  --lavender-2: #e9e0ff;
  --red: #ff3040;
  --white: #ffffff;
  --ink: #271a3d;
  --muted: #6e6580;
  --line: #e6dff1;
  --shadow: 0 24px 70px rgba(58, 31, 91, .10);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230,223,241,.75);
}
.brand img { width: 178px; display: block; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav a:not(.nav-cta) { color: #554b65; }
.nav a:hover { color: var(--purple); }
.nav-cta {
  background: var(--purple);
  color: white;
  padding: 11px 18px;
  border-radius: 999px;
}
.menu-button { display: none; border: 0; background: none; font-size: 24px; }

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 5vw;
  padding: 80px 9vw 90px;
  background:
    radial-gradient(circle at 83% 48%, rgba(143,67,237,.13), transparent 31%),
    linear-gradient(135deg, #faf8ff 0%, #f0eaff 100%);
}
.hero-copy { max-width: 700px; }
.eyebrow {
  margin: 0 0 13px;
  color: var(--purple-mid);
  letter-spacing: .20em;
  font-size: 12px;
  font-weight: 800;
}
.eyebrow.light { color: #d9c8ff; }
h1, h2, h3 {
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -.035em;
  margin: 0;
}
h1 { font-size: clamp(54px, 7vw, 94px); max-width: 850px; }
h2 { font-size: clamp(36px, 4.5vw, 60px); }
h3 { font-size: 28px; }
.hero-text {
  font-size: 20px;
  color: var(--muted);
  max-width: 650px;
  margin: 28px 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}
.button-primary { background: var(--purple); color: #fff; }
.button-primary:hover { background: #7d35d8; }
.button-secondary { border-color: #cfc0e6; background: #fff; }
.button-light { background: #fff; color: var(--purple-dark); }
.hero-mark { display: grid; place-items: center; }
.hero-mark img {
  width: min(440px, 75%);
  border-radius: 30%;
  filter: drop-shadow(0 35px 45px rgba(79, 36, 137, .22));
}

.section { padding: 110px 9vw; }
.problem {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 8vw;
  align-items: center;
}
.section-intro { max-width: 760px; }
.section-intro p:last-child, .section-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
  margin-top: 25px;
}
.stat-card {
  background: var(--lavender);
  border: 1px solid var(--lavender-2);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.stat-number {
  display: block;
  font: 800 92px/1 "Manrope";
  color: var(--purple);
}
.stat-label { display: block; font-weight: 800; font-size: 21px; margin-top: 8px; }
.stat-note { display: block; color: var(--muted); margin-top: 15px; }

.products { background: #faf9fc; }
.section-heading { max-width: 850px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: 0 15px 50px rgba(58,31,91,.06);
}
.product-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--purple); color: #fff;
  font: 800 30px/1 "Manrope";
  margin-bottom: 28px;
}
.card-kicker { color: var(--purple-mid); font-weight: 800; font-size: 12px; letter-spacing: .14em; margin: 0 0 10px; }
.product-card > p:not(.card-kicker) { color: var(--muted); font-size: 17px; }
.product-card ul { list-style: none; padding: 0; margin: 25px 0 30px; display: grid; gap: 9px; }
.product-card li::before { content: "✓"; color: var(--red); font-weight: 800; margin-right: 9px; }
.demo-button {
  width: 100%;
  border: 0;
  background: var(--purple-dark);
  color: #fff;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
}
.demo-button:hover { background: var(--purple); }

.pilot { padding-top: 40px; }
.dark-panel {
  background: var(--purple-dark);
  color: #fff;
  border-radius: 36px;
  padding: 70px;
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}
.dark-panel p:not(.eyebrow) { color: #d9d1e4; max-width: 700px; font-size: 18px; }

.investors { background: var(--lavender); }
.investor-grid {
  margin: 50px 0 35px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #d9cdef;
  border: 1px solid #d9cdef;
  border-radius: 24px;
  overflow: hidden;
}
.investor-grid div { background: #fff; padding: 28px; min-height: 150px; }
.investor-grid strong { display: block; font: 800 18px "Manrope"; margin-bottom: 10px; }
.investor-grid span { color: var(--muted); }
.text-link { color: var(--purple-mid); font-weight: 800; }

.work { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center; }
.work-copy p:last-child { color: var(--muted); font-size: 18px; margin-top: 25px; }
.work-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.work-list span { padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-weight: 700; }

.contact {
  background: #f7f4fc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.contact p:last-child { color: var(--muted); }
.contact-email { font: 700 clamp(18px,2vw,25px) "Manrope"; color: var(--purple-mid); }

.footer {
  padding: 35px 5vw;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.footer img { width: 145px; }

.demo-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(94vw, 460px);
}
.demo-dialog::backdrop { background: rgba(35,22,51,.58); backdrop-filter: blur(5px); }
.dialog-card {
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 38px;
  box-shadow: 0 35px 100px rgba(0,0,0,.25);
}
.dialog-card h2 { font-size: 34px; }
.dialog-card > p:not(.eyebrow):not(.error):not(.security-note) { color: var(--muted); }
.dialog-icon { font-size: 30px; margin-bottom: 12px; }
.dialog-close {
  position: absolute; right: 16px; top: 12px;
  border: 0; background: transparent; font-size: 30px; cursor: pointer; color: var(--muted);
}
#demoPassword {
  width: 100%; height: 50px; border: 1px solid #d7cde3; border-radius: 13px;
  padding: 0 15px; outline: none; margin: 12px 0 14px;
}
#demoPassword:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(143,67,237,.12); }
.full { width: 100%; }
.error { min-height: 22px; color: #c92332; font-size: 14px; margin: 12px 0 0; }
.security-note { color: #8a8096; font-size: 12px; margin-bottom: 0; }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 82px; background: #fff; padding: 18px 5vw 25px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-mark { order: -1; }
  .hero-mark img { width: 180px; }
  .problem, .work { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .investor-grid { grid-template-columns: 1fr 1fr; }
  .dark-panel, .contact { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .site-header { padding: 0 22px; }
  .brand img { width: 145px; }
  .hero, .section { padding-left: 22px; padding-right: 22px; }
  .hero { min-height: auto; padding-top: 50px; padding-bottom: 70px; }
  .hero-mark img { width: 145px; }
  h1 { font-size: 50px; }
  h2 { font-size: 37px; }
  .product-card { padding: 28px; }
  .dark-panel { padding: 35px 27px; }
  .investor-grid { grid-template-columns: 1fr; }
  .work-list { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
}
