/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --ink:      #0f0f0f;
  --ink-2:    #555;
  --ink-3:    #888;
  --bg:       #fafaf9;
  --surface:  #ffffff;
  --border:   #e8e8e4;
  --accent:   #FF5722;/*#5b4cdb;*/
  --accent-h: #c25938;/*#4538c0;*/
  --accent-l: #fbeeea;/*#eeecfb;*/
  --radius:   12px;
  --radius-sm: 8px;
  --font:     'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, border-color 0.15s;
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn--sm  { padding: 8px 16px; font-size: 14px; }
.btn--lg  { padding: 14px 28px; font-size: 16px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-h); border-color: var(--accent-h); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--outline:hover { border-color: var(--ink-2); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a:not(.btn) {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.15s;
}
.nav__links a:not(.btn):hover { color: var(--ink); }

/* ── Hero ── */
.hero {
  padding: 96px 0 80px;
}

.hero__inner {
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--accent-l);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.hero__title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__note {
  font-size: 13px;
  color: var(--ink-3);
}

/* Form preview card */
.hero__preview {
  position: relative;
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  text-align: left;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}

.form-card__tag {
  display: inline-block;
  background: #f0f0ef;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.form-card__sub {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 20px;
}

.form-card__row {
  display: flex;
  gap: 8px;
}

.form-card__row input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink-3);
  background: var(--bg);
  outline: none;
}

.form-card__row button {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: default;
  white-space: nowrap;
}

.form-card__legal {
  margin-top: 12px;
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* Floating stats */
.hero__stat {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.hero__stat--a { left: 50%; transform: translateX(-290px); top: 40px; }
.hero__stat--b { right: 50%; transform: translateX(290px); bottom: 40px; }

.stat__num {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--accent);
}

.stat__label {
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ── Logos ── */
.logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  background: var(--surface);
}

.logos__label {
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 20px;
}

.logos__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.logo-pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 99px;
}

/* ── Section shared ── */
.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 56px;
}

/* ── Features ── */
.features {
  padding: 96px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  background: var(--accent-l);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feature-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ── How it works ── */
.how {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
}

.step__arrow {
  font-size: 24px;
  color: var(--border);
  padding: 0 16px;
  margin-top: 16px;
  flex-shrink: 0;
}

.step__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.step p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 240px;
}

/* ── Pricing ── */
.pricing {
  padding: 96px 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}

.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.plan__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.plan__price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
  line-height: 1;
}

.plan__price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
}

.plan__desc {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan__list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan__list li {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan__list li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--accent-l);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%235b4cdb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── CTA section ── */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  background: var(--accent);
  border-radius: 20px;
  padding: 72px 48px;
  text-align: center;
  color: #fff;
}

.cta-box h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 17px;
  opacity: 0.8;
  margin-bottom: 32px;
}

.cta-box .btn--primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.cta-box .btn--primary:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
}

/* ── Waitlist form ── */
.waitlist-form {
  margin-top: 32px;
}

.waitlist-form__fields {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.waitlist-form__fields input {
  padding: 13px 18px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  width: 220px;
  transition: border-color 0.15s, background 0.15s;
}

.waitlist-form__fields input::placeholder { color: rgba(255,255,255,0.55); }

.waitlist-form__fields input:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.18);
}

.btn--submit {
  padding: 13px 28px;
  background: #fff;
  color: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
  white-space: nowrap;
}

.btn--submit:hover:not(:disabled) { background: rgba(255,255,255,0.9); }
.btn--submit:disabled { opacity: 0.7; cursor: not-allowed; }

.btn__spinner { display: none; animation: spin 0.7s linear infinite; }
.btn--loading .btn__label { display: none; }
.btn--loading .btn__spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.waitlist-form__error {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  min-height: 20px;
}

.waitlist-success {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
}

.waitlist-success svg { flex-shrink: 0; opacity: 0.9; }

.waitlist-success p {
  font-size: 17px;
  font-weight: 500;
  opacity: 0.95;
  margin: 0;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 13px;
  color: var(--ink-3);
  transition: color 0.15s;
}

.footer__links a:hover { color: var(--ink); }

.footer__copy {
  font-size: 13px;
  color: var(--ink-3);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid  { grid-template-columns: 1fr; }

  .steps {
    flex-direction: column;
    gap: 40px;
  }
  .step__arrow { display: none; }
  .step p { max-width: 100%; }

  .hero__stat--a,
  .hero__stat--b { display: none; }
}

@media (max-width: 640px) {
  .nav__links a:not(.btn) { display: none; }

  .hero { padding: 64px 0 56px; }
  .hero__title { letter-spacing: -1px; }
  .hero__sub { font-size: 16px; }

  .features { padding: 64px 0; }
  .features__grid { grid-template-columns: 1fr; }

  .how { padding: 64px 0; }
  .pricing { padding: 64px 0; }
  .cta-box { padding: 48px 24px; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__copy { order: 3; }
}
