:root {
  --bg: #f7f4ff;
  --bg-deep: #efe8ff;
  --surface: #ffffff;
  --ink: #0b1220;
  --muted: #5c6478;
  --accent: #7b3fe4;
  --accent-2: #9b5cff;
  --accent-ink: #5b2bbd;
  --tint: rgba(123, 63, 228, .1);
  --line: #e4dcf7;
  --ok: #12b76a;
  --max: 1120px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(91, 43, 189, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(155, 92, 255, .28), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(123, 63, 228, .16), transparent 50%),
    linear-gradient(180deg, #faf8ff 0%, var(--bg) 40%, #f3eeff 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; border: 0; cursor: pointer; background: none; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 800;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(123, 63, 228, .32);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(123, 63, 228, .4);
  filter: brightness(1.03);
  color: #fff;
}
.btn.ghost {
  background: rgba(255,255,255,.72);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: none;
  filter: none;
}
.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 13.5px; }

/* Nav */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(250, 248, 255, .78);
  border-bottom: 1px solid rgba(228, 220, 247, .7);
}
.site-nav .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
.brand-logo { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--accent-ink); }
.nav-login { color: var(--ink) !important; font-weight: 700 !important; }

/* Hero */
.hero {
  position: relative;
  padding: 130px 0 70px;
  overflow: hidden;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 40%, rgba(123, 63, 228, .08) 100%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(123, 63, 228, .035) 18px,
      rgba(123, 63, 228, .035) 19px
    );
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.35rem, 5.4vw, 4rem);
  max-width: 15ch;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-ink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.trustline { color: var(--muted); font-size: 13.5px; font-weight: 600; }

.browser {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: rise .8s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: linear-gradient(90deg, #f4efff, #fff);
  border-bottom: 1px solid var(--line);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }
.urlbar {
  flex: 1;
  margin-left: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}
.chip {
  font-size: 11px;
  font-weight: 800;
  color: var(--ok);
  background: rgba(18, 183, 106, .12);
  padding: 5px 10px;
  border-radius: 999px;
}
.browser-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 280px;
}
.app-side {
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #fcfbff;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.field p { font-weight: 700; }
.gen {
  margin-top: 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 800;
  padding: 13px;
  border-radius: 12px;
}
.preview-side {
  padding: 32px;
  background:
    radial-gradient(circle at 80% 20%, rgba(155, 92, 255, .18), transparent 45%),
    linear-gradient(160deg, #fff, #f6f1ff);
}
.preview-side .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--tint);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.preview-side h4 { font-size: 1.45rem; margin-bottom: 10px; }
.preview-side p { color: var(--muted); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.stat {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(8px);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-ink);
  margin-bottom: 4px;
}
.stat span { color: var(--muted); font-size: 13px; font-weight: 600; }

section { padding: 88px 0; }
.sec-head { margin-bottom: 40px; max-width: 42rem; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 10px 0 12px; }
.sec-head h2 em {
  font-style: normal;
  color: var(--accent-ink);
}
.sec-head p { color: var(--muted); }

.band {
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(239, 232, 255, .75));
  border-block: 1px solid var(--line);
}

.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(91, 43, 189, .04);
}
.step-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--accent);
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

.objections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.obj {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}
.obj .q {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}
.obj h3 { font-size: 1.2rem; margin-bottom: 8px; }
.obj p { color: var(--muted); font-size: .95rem; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  transition: transform .25s ease, border-color .25s ease;
}
.feat:hover {
  transform: translateY(-3px);
  border-color: rgba(123, 63, 228, .35);
}
.feat .ic {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--tint);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 14px;
}
.feat h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: .92rem; }

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  display: grid;
  gap: 16px;
  animation: rise .7s ease both;
}
.review:nth-child(2) { animation-delay: .08s; }
.review:nth-child(3) { animation-delay: .16s; }
.review:nth-child(4) { animation-delay: .24s; }
.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-top img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(123, 63, 228, .25);
}
.review-top strong { display: block; font-size: .98rem; }
.review-top span { color: var(--muted); font-size: 13px; font-weight: 600; }
.stars { color: #f5a524; letter-spacing: 1px; font-size: 14px; margin-top: 2px; }
.review blockquote {
  color: var(--muted);
  font-size: .98rem;
  quotes: none;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  align-items: stretch;
}
.calc-controls, .calc-result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
.slider-row { margin-bottom: 22px; }
.slider-row label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 14px;
}
.slider-row b { color: var(--accent-ink); }
.slider-row input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}
.calc-result {
  background: linear-gradient(160deg, #6d2fd4, #9b5cff);
  color: #fff;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result h3 { font-size: 1rem; opacity: .9; margin-bottom: 8px; }
.calc-result .big {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}
.calc-result .sub { opacity: .9; font-size: 14px; }
.calc-note { margin-top: 16px; font-size: 13px; opacity: .82; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 18px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  font-family: var(--font-display);
}
summary::-webkit-details-marker { display: none; }
details .a {
  color: var(--muted);
  padding-bottom: 16px;
  font-size: .95rem;
}

.cta-strip {
  text-align: center;
  background: linear-gradient(135deg, rgba(123, 63, 228, .12), rgba(155, 92, 255, .18));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px 28px;
}
.cta-strip h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}
.cta-strip p { color: var(--muted); margin-bottom: 22px; }

.page-footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.45);
}
.page-footer .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.flinks { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; font-size: 14px; color: var(--muted); }
.flinks a:hover { color: var(--accent-ink); }
.legal { color: var(--muted); font-size: 13px; display: grid; gap: 10px; max-width: 860px; }

/* Auth */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}
.auth-top {
  padding: 22px 24px;
  display: flex;
  justify-content: center;
}
.auth-wrap {
  display: grid;
  place-items: center;
  padding: 20px 24px 60px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation: rise .55s ease both;
}
.auth-card .login-logo {
  height: 40px;
  margin: 0 auto 18px;
}
.auth-card h1 {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.auth-card .sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 22px;
  font-size: .95rem;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-deep);
  padding: 6px;
  border-radius: 14px;
  margin-bottom: 22px;
}
.auth-tab {
  padding: 11px;
  border-radius: 10px;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--muted);
}
.auth-tab.active {
  background: #fff;
  color: var(--accent-ink);
  box-shadow: 0 4px 14px rgba(91, 43, 189, .1);
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(123, 63, 228, .12);
}
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.check-email {
  text-align: center;
  display: none;
}
.check-email.active { display: block; }
.check-email .mail-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--tint);
  color: var(--accent-ink);
  font-size: 28px;
}
.check-email h2 { font-size: 1.45rem; margin-bottom: 10px; }
.check-email p { color: var(--muted); margin-bottom: 10px; }
.check-email .email-highlight {
  font-weight: 800;
  color: var(--accent-ink);
  word-break: break-all;
}
.auth-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.auth-foot {
  text-align: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.auth-foot a { color: var(--accent-ink); font-weight: 800; }

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 110px 24px 60px;
}
.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent-ink);
  font-weight: 800;
}
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-updated { color: var(--muted); margin-bottom: 24px; }
.legal-page h2 { font-size: 1.15rem; margin: 24px 0 8px; }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 10px; }
.legal-page ul { padding-left: 18px; list-style: disc; }

@media (max-width: 900px) {
  .browser-body { grid-template-columns: 1fr; }
  .app-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stats, .features { grid-template-columns: 1fr 1fr; }
  .objections, .reviews, .calc-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .nav-links a:not(.btn):not(.nav-login) { display: none; }
}
@media (max-width: 560px) {
  .hero-stats, .features { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; }
}
