/* ============================================================
   Smart Scheduler — Landing page sections
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(8rem, 16vw, 12rem);
  padding-bottom: var(--section-y);
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; z-index: -1;
  background: var(--glow-lime); opacity: 0.7;
  pointer-events: none; filter: blur(10px);
}
.hero-glow.violet {
  top: 20%; width: 600px; height: 500px;
  background: var(--glow-violet); opacity: 0.5;
}
.hero h1 { margin: 1.4rem auto 0; max-width: 16ch; }
.hero-subtitle {
  margin: 1.4rem auto 0; max-width: 56ch;
  font-size: var(--fs-lg); color: var(--text-muted);
}
.hero-actions {
  margin-top: 2.2rem; display: flex; gap: 0.9rem;
  justify-content: center; flex-wrap: wrap;
}
.hero-trust {
  margin-top: 2.4rem;
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  color: var(--text-dim); font-size: 0.88rem;
}
.hero-trust strong { color: var(--text); font-weight: 600; }
.hero-trust .dot { color: var(--lime); }

/* product mock under hero */
.hero-mock {
  margin: 3.5rem auto 0; max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}
.hero-mock-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1rem; border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.hero-mock-bar .dot3 { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); }
.hero-mock-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.chat-row { display: flex; gap: 0.7rem; max-width: 78%; }
.chat-row.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-bubble {
  padding: 0.7rem 1rem; border-radius: 14px; font-size: 0.93rem; line-height: 1.5;
}
.chat-row.user .chat-bubble { background: var(--lime); color: var(--text-on-lime); border-bottom-right-radius: 4px; }
.chat-row.bot .chat-bubble { background: var(--surface-3); color: var(--text); border-bottom-left-radius: 4px; }
.chat-avatar {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 700;
}
.chat-row.bot .chat-avatar { background: var(--violet); color: #fff; }
.chat-row.user .chat-avatar { background: var(--surface-3); color: var(--text-muted); }

/* ---------- Section headers ---------- */
.section-head { text-align: center; max-width: 44ch; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 0.9rem; }

/* ---------- Logos / trust strip ---------- */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem;
  align-items: center; justify-content: center;
  padding-block: 2.5rem; border-block: 1px solid var(--border);
  color: var(--text-dim); font-family: var(--font-mono); font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.feature-card { position: relative; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  color: var(--lime);
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.95rem; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { position: relative; padding-top: 0.5rem; }
.step-num {
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--lime);
  border: 1px solid var(--border-accent); border-radius: 8px;
  padding: 0.2rem 0.55rem; display: inline-block; margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; gap: 1.2rem; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 980px; margin: 0 auto;
}
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.popular {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px var(--border-accent), var(--shadow-lime);
}
.popular-badge {
  position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: var(--text-on-lime);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.3rem 0.85rem; border-radius: var(--radius-pill); text-transform: uppercase;
}
.price-card h3 { font-size: 1.15rem; }
.price-amount { font-family: var(--font-display); font-weight: 700; margin: 0.6rem 0 0.2rem; }
.price-amount .num { font-size: 2.8rem; letter-spacing: -0.03em; }
.price-amount .currency { font-size: 1.3rem; vertical-align: top; color: var(--text-muted); }
.price-amount .period { font-size: 0.95rem; color: var(--text-dim); font-weight: 500; font-family: var(--font-body); }
.price-desc { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 1.3rem; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.6rem; flex: 1; }
.price-features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--text-muted); }
.price-features li::before {
  content: ""; flex-shrink: 0; margin-top: 0.15rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(190,242,100,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23BEF264' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- CTA ---------- */
.cta {
  position: relative; text-align: center; overflow: hidden;
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
  background: var(--surface);
}
.cta-glow { position: absolute; inset: 0; z-index: 0; background: var(--glow-violet); opacity: 0.5; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { max-width: 18ch; margin: 0.8rem auto 0; }
.cta p { margin: 1rem auto 0; max-width: 50ch; }
.email-form {
  margin: 2rem auto 0; max-width: 460px;
  display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.email-form input {
  flex: 1; min-width: 200px; padding: 0.9rem 1.1rem;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
}
.email-form input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(190,242,100,0.15); }
.email-success { margin-top: 1rem; color: var(--success); font-size: 0.92rem; }
