/* ============================================================
   Clerk — Warm Salon Landing Theme
   Palette: Warm cream, blush rose, terracotta, sage
   ============================================================ */

:root {
  --bg: #FFF9F5;           /* warm cream */
  --bg-warm: #FFF2EC;       /* blush tint */
  --bg-card: #FFFFFF;
  --fg: #1C1917;            /* warm near-black */
  --fg-muted: #78716C;      /* warm stone */
  --accent: #C4622D;        /* terracotta — main accent */
  --accent-light: #F5E6DC;   /* blush for icon bg */
  --accent-hover: #A34F22;  /* darker terracotta on hover */
  --sage: #6B8F71;          /* secondary — sage green */
  --sage-light: #EDF4EC;     /* light sage for highlights */
  --rose: #D97B6C;          /* rose — for stat emphasis */
  --border: #EDE4DC;         /* warm cream border */
  --shadow: rgba(196, 98, 45, 0.08);
  --font-display: 'Sora', 'Helvetica Neue', sans-serif;
  --font-body: 'Nunito', 'Helvetica Neue', sans-serif;
  --max-w: 1100px;
  --radius: 14px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--fg);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 100px;
  overflow: hidden;
  background: var(--bg);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(196, 98, 45, 0.15);
  padding: 6px 16px 6px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 20px;
  max-width: 520px;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.stat-highlight {
  display: inline-block;
  background: var(--accent-light);
  border: 1px solid rgba(196, 98, 45, 0.2);
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
}

.stat-highlight strong {
  font-size: 1.5rem;
  display: block;
  color: var(--rose);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
}

.hero-cta-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.hero-visual {
  position: relative;
}

.hero-glow {
  position: absolute;
  top: -5%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 123, 108, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---- HERO DEMO PREVIEW ---- */
.hero-demo {
  max-width: 480px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(196, 98, 45, 0.1);
  position: relative;
  z-index: 1;
}

.demo-bar {
  background: var(--bg-warm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}

.demo-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.demo-title {
  font-size: 12px; color: var(--fg-muted); margin-left: 8px;
  font-family: var(--font-display);
}

.demo-body { padding: 16px 18px; }

.demo-alert {
  font-size: 13px; padding: 10px 14px;
  background: #FFF0EB;
  border: 1px solid rgba(217, 123, 108, 0.2);
  border-radius: 8px; margin-bottom: 12px;
  color: var(--fg);
}

.demo-alert .emoji { font-size: 14px; }

.demo-sub { font-size: 12px; color: var(--fg-muted); margin-bottom: 12px; }

.demo-draft {
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: 8px; padding: 13px;
}

.demo-draft-to {
  font-size: 12px; font-weight: 700; margin-bottom: 5px;
  display: flex; align-items: center; gap: 6px;
}

.demo-draft-msg {
  font-size: 13px; color: var(--fg-muted);
  font-style: italic; line-height: 1.5; margin-bottom: 10px;
}

.demo-draft-btns { display: flex; gap: 8px; justify-content: flex-end; }

.demo-btn-ghost {
  font-size: 12px; padding: 5px 12px;
  border: 1px solid var(--border); color: var(--fg-muted);
  border-radius: 6px; cursor: default; background: var(--bg-card);
}

.demo-btn-send {
  font-size: 12px; padding: 5px 12px;
  background: var(--accent); color: #fff;
  border-radius: 6px; font-weight: 700; cursor: default;
}

/* ---- STAT BAR ---- */
.stat-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}

.stat-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item { padding: 0 20px; }

.stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-value.rose { color: var(--rose); }

.stat-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ---- HOW IT WORKS ---- */
.how {
  padding: 100px 24px;
  background: var(--bg);
}

.how-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.how h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.how-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto 64px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step {
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--fg);
}

.step p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ---- PAIN ---- */
.pain {
  padding: 100px 24px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pain-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.pain-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
}

.pain-header p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pain-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pain-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.pain-text p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ---- FEATURES / VALUE ---- */
.features {
  padding: 100px 24px;
  background: var(--bg);
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.features h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 12px;
  text-align: center;
}

.features-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.feature-card:hover {
  border-color: rgba(196, 98, 45, 0.3);
  box-shadow: 0 8px 32px var(--shadow);
}

.feature-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 10px;
  margin-bottom: 16px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---- PRICING ---- */
.pricing {
  padding: 100px 24px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

.pricing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.pricing h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

.pricing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 48px 40px;
  display: inline-block;
  text-align: left;
  max-width: 480px;
  width: 100%;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
}

.pricing-period {
  font-size: 1rem;
  color: var(--fg-muted);
  font-family: var(--font-display);
}

.pricing-anchor {
  font-size: 0.95rem;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 0.95rem;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--sage-light);
  color: var(--sage);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
  flex-shrink: 0;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  transition: background 0.15s;
}

.pricing-cta:hover { background: var(--accent-hover); }

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 16px;
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg);
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  color: var(--fg);
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 40px;
}

/* ---- SOCIAL PROOF PLACEHOLDER ---- */
.social-proof {
  padding: 60px 24px;
  background: var(--sage-light);
  border-top: 1px solid rgba(107, 143, 113, 0.2);
  border-bottom: 1px solid rgba(107, 143, 113, 0.2);
  text-align: center;
}

.social-proof-inner {
  max-width: 700px;
  margin: 0 auto;
}

.social-proof h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
}

.quote-placeholder {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--fg-muted);
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.quote-placeholder::before { content: '"'; font-size: 3rem; color: var(--sage); line-height: 0; margin-top: 12px; }

/* ---- FOOTER ---- */
.site-footer {
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ---- CTA BUTTON ---- */
.btn-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}
.btn-cta:hover { background: var(--accent-hover); }

/* ---- SECONDARY / GHOST BUTTON ---- */
.btn-ghost {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid rgba(196, 98, 45, 0.3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-demo { max-width: 100%; }
  .hero h1, .hero-sub, .stat-highlight { max-width: 100%; }
  .pain-inner { grid-template-columns: 1fr; gap: 40px; }
  .pain-list { gap: 12px; }
  .pain-item { padding: 16px 18px; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 60px 20px 80px; }
  .hero h1 { font-size: 2.2rem; }
  .stat-bar-inner { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 36px 28px; }
  .closing h2 { font-size: 2rem; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-cta { width: 100%; text-align: center; }
  .feature-card { padding: 24px 18px; }
  .pain-item { flex-direction: column; gap: 12px; }
  .pain-icon { width: 36px; height: 36px; }
  .pricing-amount { font-size: 2.8rem; }
}