:root {
  --bg: #f5f6fa;
  --surface: #ffffff;
  --ink: #191d31;
  --muted: #5b617a;
  --brand: #6f1d9e;
  --brand-2: #4f33ff;
  --accent: #2ccf8d;
  --accent-2: #ff7e48;
  --line: #daddef;
  --shadow: 0 22px 50px rgba(25, 20, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 5% 0%, #fdfdff 0%, var(--bg) 55%);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  scroll-behavior: smooth;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(16px, 3vw, 52px);
  backdrop-filter: blur(10px);
  background: rgba(245, 246, 250, 0.8);
  border-bottom: 1px solid rgba(111, 29, 158, 0.15);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 172px;
  height: auto;
  display: block;
}

.screen {
  width: min(1160px, calc(100% - 28px));
  margin: 22px auto;
  border-radius: 28px;
  padding: clamp(24px, 5vw, 58px);
  position: relative;
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(18px, 4vw, 56px);
  min-height: 72vh;
  background:
    linear-gradient(130deg, #2a1248 4%, #4b1e82 46%, #7856f8 100%);
  color: #fcfaff;
  box-shadow: var(--shadow);
}

.hero-bg-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  top: -180px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 100px;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.14);
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.04;
  max-width: 16ch;
}

.lead {
  margin: 18px 0 0;
  max-width: 54ch;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: rgba(249, 248, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 14px 20px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  background: linear-gradient(135deg, #3bdf82, #27c8b5);
  color: #122129;
  box-shadow: 0 12px 32px rgba(22, 188, 131, 0.34);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.13);
  color: #fefcff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline {
  border: 1px solid rgba(108, 31, 154, 0.35);
  color: var(--brand);
  background: rgba(255, 255, 255, 0.8);
  padding: 11px 18px;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 10px;
}

.hero-bullets li {
  position: relative;
  padding-left: 28px;
  color: rgba(249, 248, 255, 0.88);
}

.hero-bullets li::before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  left: 6px;
  top: 0.45em;
  border-radius: 50%;
  background: linear-gradient(145deg, #80ffc6, #62e6f8);
}

.hero-art svg {
  width: 100%;
  max-width: 560px;
  height: auto;
  animation: floatIn 0.8s ease;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz,
.analytics,
.quote {
  background: var(--surface);
  box-shadow: 0 12px 38px rgba(20, 16, 39, 0.08);
}

.section-copy {
  max-width: 72ch;
}

.section-copy .eyebrow {
  color: var(--brand);
  background: #f2e8fb;
}

.section-copy h2 {
  font-size: clamp(1.55rem, 3.3vw, 2.6rem);
}

.section-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 13px 0 0;
}

.pill-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row span {
  border-radius: 999px;
  font-size: 0.9rem;
  padding: 9px 13px;
  color: #25304a;
  background: #eef2ff;
  border: 1px solid #d9def4;
}

.quiz-layout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 18px;
  align-items: start;
}

.desktop-card,
.phone-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #f8f9ff;
}

.desktop-card {
  overflow: hidden;
}

.mock-illustration {
  height: 255px;
  background:
    radial-gradient(circle at 20% 20%, #e4f4ff, transparent 32%),
    radial-gradient(circle at 85% 85%, #f8cbff, transparent 34%),
    linear-gradient(150deg, #e8f7ff 0%, #f3ebff 45%, #fff3ec 100%);
  border-bottom: 1px solid #dce1f7;
  position: relative;
}

.mock-illustration::before,
.mock-illustration::after {
  content: "";
  position: absolute;
  border-radius: 18px;
  border: 2px dashed rgba(100, 60, 170, 0.34);
}

.mock-illustration::before {
  width: 160px;
  height: 96px;
  left: 42px;
  top: 62px;
  transform: rotate(-6deg);
}

.mock-illustration::after {
  width: 205px;
  height: 124px;
  right: 56px;
  top: 80px;
  transform: rotate(5deg);
}

.mock-content {
  padding: 22px;
}

.stepline {
  margin: 0;
  font-weight: 700;
  color: #5a35b5;
  font-size: 0.88rem;
}

.mock-content h3 {
  margin-top: 8px;
  font-size: 1.35rem;
}

.mock-content ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.mock-content li {
  background: #ffffff;
  border: 1px solid #dde2f6;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 500;
}

.phone-card {
  background: #22263f;
  color: #f9fcff;
  padding: 14px;
}

.notch {
  width: 42%;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #0f1220;
  margin: -14px auto 18px;
}

.phone-step {
  margin: 0;
  font-size: 0.82rem;
  color: #b2b7d2;
}

.phone-card h3 {
  margin-top: 8px;
  font-size: 1.1rem;
}

.phone-card button {
  width: 100%;
  margin-top: 9px;
  border: 1px solid #3d4260;
  color: #edf3ff;
  background: #2b3151;
  padding: 10px;
  border-radius: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  text-align: left;
}

.phone-card button.right {
  text-align: center;
  background: #3bdf82;
  color: #101c26;
  font-weight: 700;
}

.stats-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stats-grid article {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #dfe4f3;
  background: linear-gradient(180deg, #ffffff, #f8faff);
}

.stats-grid strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #2e1f57;
}

.stats-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.analytics-foot {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 360px);
  gap: 14px;
}

.funnel {
  border-radius: 16px;
  border: 1px solid #e0e4f2;
  background: #f8f9ff;
  padding: 16px;
}

.bar {
  border-radius: 10px;
  background: #e7ebf9;
  height: 38px;
  margin-top: 10px;
  overflow: hidden;
}

.bar:first-child {
  margin-top: 0;
}

.bar span {
  display: flex;
  height: 100%;
  align-items: center;
  padding-left: 12px;
  color: #fcfdff;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #4f36cf, #865bff);
}

.proof-card {
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #e0e4f2;
  background: linear-gradient(165deg, #f8fff9 0%, #e4fff2 100%);
}

.proof-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: #1a8c6d;
  font-weight: 700;
}

.proof-card p {
  margin: 10px 0 0;
  color: #29514b;
}

.quote {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  background:
    radial-gradient(circle at 0% 0%, #f6f9ff 0%, #ffffff 58%),
    linear-gradient(110deg, #ffffff 0%, #fffaf7 100%);
}

.quote-copy h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.6rem);
}

.quote-copy p {
  color: var(--muted);
  max-width: 44ch;
}

.quote-form {
  border: 1px solid #e0e4f2;
  border-radius: 20px;
  background: #ffffff;
  padding: clamp(16px, 3vw, 24px);
  display: grid;
  gap: 8px;
  box-shadow: 0 12px 30px rgba(23, 16, 49, 0.08);
}

.quote-form label {
  font-size: 0.9rem;
  color: #3a4060;
  font-weight: 700;
}

.quote-form input {
  border: 1px solid #cbd3ea;
  border-radius: 12px;
  padding: 12px 12px;
  font: inherit;
}

.quote-form input:focus-visible {
  outline: 2px solid #93c8ff;
  border-color: #6ea3ff;
}

.quote-form .btn {
  margin-top: 10px;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: #687090;
}

.form-status {
  margin: 2px 0 0;
  min-height: 22px;
  font-weight: 700;
}

.form-status.success {
  color: #1f8e55;
}

.form-status.error {
  color: #bf2e55;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1160px, calc(100% - 28px));
  margin: 8px auto 26px;
  padding: 14px 8px;
  color: #6d748f;
  font-size: 0.96rem;
}

.footer p {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero,
  .quote {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .quiz-layout,
  .analytics-foot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .topbar {
    padding: 14px 14px;
  }

  .screen {
    border-radius: 22px;
    padding: 22px 16px;
    width: calc(100% - 14px);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    width: calc(100% - 14px);
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
