/* ==========================================================================
   landing.css — Landing page: hero, form, FOMO, social proof,
   how-it-works, pricing, footer. Doodle aesthetic.
   ========================================================================== */

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 3rem 0 2rem;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-eyebrow .dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-lead {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.hero h1 {
  font-size: 2.65rem;
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 0.85rem;
  position: relative;
  display: inline-block;
}

.hero-highlight {
  color: var(--accent);
  position: relative;
}

.hero p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto;
}

.hero p strong {
  color: var(--text);
  font-weight: 600;
}

/* Hero doodle decorations */
.hero-doodle-rocket {
  position: absolute;
  right: -38px;
  top: -30px;
  width: 80px;
  height: 80px;
  opacity: 0.6;
}

.hero-doodle-sparkle {
  position: absolute;
  left: -48px;
  top: -20px;
  width: 64px;
  height: 64px;
  opacity: 0.5;
}

.hero-annotation {
  position: absolute;
  right: 0;
  bottom: -20px;
  font-family: var(--font-doodle);
  font-size: 1.02rem;
  color: var(--accent);
  opacity: 0.75;
  transform: rotate(-3deg);
}

.hero-annotation-arrow {
  position: absolute;
  right: 108px;
  bottom: -40px;
  width: 44px;
  height: 44px;
  opacity: 0.5;
  transform: scaleX(-1) rotate(10deg);
}

/* --- Form Card --- */
.form-card {
  max-width: 480px;
  margin: 1.5rem auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.form-doodle-pencil {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%) rotate(12deg);
  width: 68px;
  height: 68px;
  opacity: 0.45;
}

.form-row {
  margin-bottom: 0.85rem;
}

.form-submit {
  width: 100%;
  position: relative;
  overflow: visible;
}

.form-submit-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-submit-doodle {
  width: 28px;
  height: 28px;
  opacity: 0.7;
  filter: brightness(0) invert(1);
}

.form-sample-link {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 0.65rem;
  transition: color var(--transition);
}

.form-sample-link:hover {
  color: var(--accent);
}

.form-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-top: 0.6rem;
}

/* --- FOMO Widget --- */
.fomo-widget {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-dashed);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fomo-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.fomo-dot {
  width: 5px; height: 5px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.fomo-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}

.fomo-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.2;
}

.fomo-label small {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.65rem;
}

.fomo-sep {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.fomo-right {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.fomo-countdown {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fomo-clock-icon {
  width: 18px; height: 18px;
  color: var(--text-strong);
  flex-shrink: 0;
}

.fomo-note {
  font-family: var(--font-doodle);
  font-size: 0.82rem;
  color: var(--accent);
  opacity: 0.75;
  transform: rotate(-1deg);
}

/* --- FOMO Popover Tooltip --- */
.fomo-tooltip-trigger {
  position: relative;
  cursor: help;
}

.fomo-popover {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--text-strong);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  width: 240px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
  z-index: 20;
}

.fomo-popover::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #fff;
}

.fomo-tooltip-trigger:hover .fomo-popover {
  opacity: 1;
  visibility: visible;
}

/* --- Social Proof Activity Widget --- */
.social-proof {
  max-width: 480px;
  margin: 1rem auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  overflow: hidden;
  position: relative;
}

.social-proof-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.social-proof-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.social-proof-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.social-proof-refresh {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
  font-style: italic;
}

.social-proof-blurb {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.55;
}

.social-proof-blurb strong {
  color: var(--text-strong);
  font-weight: 700;
}

.activity-doodle {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 22px; height: 22px;
  opacity: 0.35;
  mix-blend-mode: multiply;
}

/* --- How It Works Steps --- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.how-step {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.how-step-doodle {
  width: 68px; height: 68px;
  margin: 0 auto 0.65rem;
  opacity: 0.7;
  display: block;
}

.how-step-num {
  position: absolute;
  top: 8px;
  left: 10px;
  font-family: var(--font-doodle);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
}

.how-step-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.25rem;
}

.how-step-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Step arrow connector between how-it-works cards — MORE PROMINENT */
.how-step-arrow {
  position: absolute;
  right: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  opacity: 0.55;
  mix-blend-mode: multiply;
  z-index: 1;
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.stat-cell {
  background: var(--bg-card);
  padding: 1rem 1.25rem;
  text-align: center;
  position: relative;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.stat-doodle {
  position: absolute;
  width: 36px; height: 36px;
  opacity: 0.4;
  mix-blend-mode: multiply;
  top: 6px;
  right: 8px;
}

/* --- Pricing Section --- */
.pricing-section {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  color: var(--text-strong);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.pricing-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card .btn {
  margin-top: auto;
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(99,91,255,0.08);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.pricing-once {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 1rem;
  margin-top: -0.75rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.82rem;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-card-agency {
  border-color: var(--text-dim);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-muted) 100%);
}

/* --- Footer --- */
.footer {
  border-top: 1px dashed var(--border-dashed);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}

/* Newsletter */
.footer-newsletter {
  text-align: center;
  max-width: 400px;
  margin: 0 auto 2rem;
}

.footer-newsletter-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.25rem;
}

.footer-newsletter-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter-input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  background: var(--bg-card);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.footer-newsletter-input:focus {
  border-color: var(--accent);
}

.footer-newsletter-btn {
  padding: 0.55rem 1.1rem;
  background: var(--text-strong);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.footer-newsletter-btn:hover {
  opacity: 0.85;
}

.footer-newsletter-status {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  color: var(--green);
  font-weight: 500;
}

/* Footer bottom row */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-dashed);
}

.footer-brand {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-by {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-by-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer-by-link:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--text);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 0 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 0.92rem;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 320px;
    margin: 0 auto 2rem;
  }

  .how-step-arrow {
    display: none;
  }

  .stats-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid,
  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .form-doodle-pencil {
    display: none;
  }

  .hero-doodle-rocket,
  .hero-doodle-sparkle {
    display: none;
  }

  .hero-annotation,
  .hero-annotation-arrow {
    display: none;
  }

  .fomo-widget {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 0 1rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .form-card {
    padding: 1.25rem;
  }

  .pricing-card {
    padding: 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
