/* ============================================
   Kemi - Ad Landing Page Styles
   Conversion-optimized, minimal, mobile-first
   ============================================ */

/* ---------- Ad hero ---------- */
.ad-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 48px;
  position: relative;
  overflow: hidden;
  background: var(--ivory);
}

.ad-hero-inner {
  max-width: 520px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.ad-hero .nav-logo {
  font-size: clamp(40px, 7vw, 56px);
  margin-bottom: 32px;
  display: block;
  color: var(--teal);
  pointer-events: none;
}

.ad-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.ad-subline {
  font-size: 16px;
  color: var(--charcoal-light);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Waitlist form ---------- */
.ad-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.ad-form .input {
  flex: 1;
  padding: 15px 18px;
  font-size: 16px; /* prevents iOS zoom */
  border-radius: 12px;
  border: 1.5px solid rgba(61, 58, 54, 0.12);
}

.ad-form .btn {
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}

.ad-form-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ---------- Social proof ---------- */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.proof-avatars {
  display: flex;
}

.proof-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--ivory);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: white;
}

.proof-avatar:first-child { margin-left: 0; }

.proof-text {
  font-size: 13px;
  color: var(--charcoal-light);
}

.proof-count {
  font-weight: 600;
  color: var(--charcoal);
}

/* ---------- Trust badges ---------- */
.ad-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ad-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}

.ad-trust-item svg {
  flex-shrink: 0;
  opacity: 0.5;
}

/* ---------- Below fold ---------- */
.ad-below {
  background: white;
  padding: 64px 24px;
}

.ad-below-inner {
  max-width: 560px;
  margin: 0 auto;
}

/* How it works - compact */
.ad-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  margin-bottom: 48px;
}

.ad-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  color: var(--teal);
}

.ad-step-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.ad-step-body {
  font-size: 12px;
  color: var(--charcoal-light);
  line-height: 1.5;
}

/* Phone mockup in below-fold */
.ad-phone-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.ad-phone {
  width: 240px;
  background: var(--charcoal);
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}

.ad-phone-notch {
  width: 80px;
  height: 20px;
  background: var(--charcoal);
  border-radius: 0 0 12px 12px;
  margin: 0 auto -10px;
  position: relative;
  z-index: 2;
}

.ad-phone-screen {
  background: var(--ivory);
  border-radius: 22px;
  overflow: hidden;
  min-height: 380px;
}

/* Ratings compact */
.ad-ratings {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Post-signup state ---------- */
.signup-success {
  text-align: center;
  animation: fadeUp 0.5s var(--ease) both;
}

.success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clear-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.success-body {
  font-size: 15px;
  color: var(--charcoal-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  background: var(--ivory);
  color: var(--charcoal);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.2s;
  cursor: pointer;
}

.share-btn:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

/* ---------- Ad footer ---------- */
.ad-footer {
  padding: 24px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.ad-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}

.ad-footer-links a:hover { color: var(--charcoal); }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .ad-hero { padding: 72px 20px 40px; }
  .ad-form { flex-direction: column; }
  .ad-form .btn { width: 100%; }
  .ad-steps { grid-template-columns: 1fr; gap: 20px; }
  .ad-trust { gap: 12px; }
  .ad-phone { width: 200px; }
  .share-btns { flex-direction: column; align-items: center; }
  .ad-headline { font-size: 28px; }
  .ad-subline { font-size: 15px; }
}
