/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #eaf1fc;
  --bg2:       #ffffff;
  --bg3:       #f2f7fd;
  --accent:    #3b82f6;
  --accent2:   #1d4ed8;
  --text:      #1b2740;
  --text-muted:#6b7a99;
  --border:    rgba(59,130,246,0.12);
  --radius:    28px;
  --radius-sm: 18px;
  --font:      'Inter', system-ui, sans-serif;

  /* Claymorphism shadow pair: soft light source top-left, soft shadow bottom-right */
  --clay-out: 8px 8px 20px rgba(163,185,222,0.45), -8px -8px 20px rgba(255,255,255,0.9);
  --clay-out-sm: 5px 5px 12px rgba(163,185,222,0.45), -5px -5px 12px rgba(255,255,255,0.9);
  --clay-in: inset 4px 4px 10px rgba(163,185,222,0.35), inset -4px -4px 10px rgba(255,255,255,0.85);
  --clay-btn: 6px 6px 16px rgba(29,78,216,0.35), -4px -4px 14px rgba(255,255,255,0.7);
}

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(145deg, #5b9dff, var(--accent2));
  color: #fff;
  box-shadow: var(--clay-btn);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 8px 10px 22px rgba(29,78,216,0.4), -4px -4px 14px rgba(255,255,255,0.8);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow: inset 3px 3px 8px rgba(15,45,140,0.5), inset -2px -2px 6px rgba(255,255,255,0.2);
}
.btn-outline {
  background: var(--bg2);
  color: var(--accent2);
  box-shadow: var(--clay-out-sm);
}
.btn-outline:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* =====================
   NAV
   ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(234,241,252,0.85);
  backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.logo span { color: var(--accent2); }

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 10%, rgba(91,157,255,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 25%, rgba(59,130,246,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255,255,255,0.9) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--bg2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: var(--clay-out-sm);
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 24px;
  color: var(--text);
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =====================
   HERO MOCKUP
   ===================== */
.hero-mockup {
  margin-top: 64px;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px;
  background: var(--bg2);
  border-radius: 36px;
  box-shadow: var(--clay-out);
}
.hero-mockup img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}
.hero-mockup img:not([src]),
.hero-mockup img[src=""] {
  min-height: 360px;
  background: var(--bg3);
}

/* =====================
   FEATURE IMAGE
   ===================== */
.feature-img {
  margin-top: 16px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: var(--clay-in);
}

/* =====================
   PROBLEM
   ===================== */
.problem {
  padding: 80px 0;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.pain-card {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--clay-out);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pain-card:hover { transform: translateY(-4px); }
.pain-icon {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--bg3);
  box-shadow: var(--clay-in);
}
.pain-card p { color: var(--text-muted); line-height: 1.6; }

/* =====================
   FEATURES
   ===================== */
.features { padding: 100px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.feature-card {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--clay-out);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 14px 26px rgba(163,185,222,0.5), -6px -6px 18px rgba(255,255,255,0.9);
}
.feature-icon {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, #dfeaff, var(--bg3));
  box-shadow: var(--clay-in);
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* =====================
   SOCIAL PROOF
   ===================== */
.social-proof {
  padding: 80px 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.testimonial {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--clay-out);
  position: relative;
}
.testimonial::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}
.testimonial p {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--text);
}
.testimonial span { font-size: 0.85rem; color: var(--text-muted); }

/* =====================
   WAITLIST
   ===================== */
.waitlist {
  padding: 100px 0;
}
.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.waitlist-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}
.waitlist-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 1.05rem; }
.waitlist-text ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.waitlist-text li {
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg2);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  box-shadow: var(--clay-out-sm);
}

.waitlist-form-wrap {
  background: var(--bg2);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--clay-out);
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.waitlist-form input,
.waitlist-form select {
  width: 100%;
  padding: 16px 18px;
  background: var(--bg3);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: box-shadow 0.2s ease;
  outline: none;
  box-shadow: var(--clay-in);
}
.waitlist-form input::placeholder { color: var(--text-muted); }
.waitlist-form input:focus,
.waitlist-form select:focus {
  box-shadow: inset 4px 4px 10px rgba(59,130,246,0.25), inset -4px -4px 10px rgba(255,255,255,0.9), 0 0 0 3px rgba(59,130,246,0.25);
}
.waitlist-form select option { background: var(--bg2); }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-muted); }

.hidden { display: none !important; }
.form-success {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg3);
  box-shadow: var(--clay-in);
}
.form-success h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.form-success p { color: var(--text-muted); margin-bottom: 24px; }

/* =====================
   HOW IT WORKS
   ===================== */
.how-it-works { padding: 100px 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.step {
  text-align: center;
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--clay-out);
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #5b9dff, var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: var(--clay-btn);
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--bg2);
  padding: 60px 0 0;
  margin-top: 40px;
  box-shadow: 0 -8px 24px rgba(163,185,222,0.25);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-brand .logo { font-size: 1.3rem; display: block; margin-bottom: 10px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent2); }
.footer-bottom {
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .waitlist-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 80px 0 70px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .steps { grid-template-columns: 1fr 1fr; }
}
