/* =========================================
   Bookza — South African WhatsApp Booking
   ========================================= */

:root {
  --bg: #0F0F0F;
  --bg-card: #1A1A1A;
  --bg-elevated: #242424;
  --fg: #F5F5F5;
  --fg-muted: #A3A3A3;
  --accent: #F97316;
  --accent-light: rgba(249, 115, 22, 0.12);
  --teal: #14B8A6;
  --teal-light: rgba(20, 184, 166, 0.12);
  --purple: #8B5CF6;
  --pink: #EC4899;
  --amber: #F59E0B;
  --cyan: #06B6D4;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  background: rgba(15,15,15,0.85);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ---- HERO ---- */
.hero {
  padding: 140px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.headline-accent {
  color: var(--accent);
  font-style: italic;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.3;
  max-width: 80px;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- BOOKING MOCKUP ---- */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.booking-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.mockup-avatar {
  width: 32px;
  height: 32px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-name {
  font-size: 0.9rem;
  font-weight: 600;
  flex: 1;
}
.mockup-online {
  font-size: 0.72rem;
  color: #22C55E;
  font-weight: 500;
}
.mockup-thread {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg-business {
  background: var(--bg-elevated);
  border-radius: 8px 8px 8px 2px;
  padding: 10px 14px;
  max-width: 85%;
}
.msg-business p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--fg);
}
.msg-business p strong { color: var(--accent); }
.msg-business p a { color: var(--teal); text-decoration: none; }
.msg-customer {
  background: #128C7E;
  border-radius: 8px 8px 2px 8px;
  padding: 10px 14px;
  max-width: 70%;
  align-self: flex-end;
}
.msg-customer p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #fff;
}
.msg-time {
  display: block;
  font-size: 0.68rem;
  color: var(--fg-muted);
  margin-top: 4px;
  text-align: right;
}
.msg-customer .msg-time { color: rgba(255,255,255,0.6); }
.deposit-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--accent-light);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* ---- BOOKING PAGE MOCKUP ---- */
.booking-page-mockup {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #1a1a1a;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.bp-header {
  background: linear-gradient(135deg, #F97316, #EA580C);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bp-salon { font-size: 1.1rem; font-weight: 700; color: white; }
.bp-tag { font-size: 0.75rem; color: rgba(255,255,255,0.8); }
.bp-service {
  padding: 16px 22px;
  border-bottom: 1px solid #f0f0f0;
}
.bp-svc-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: #374151;
}
.bp-svc-row span:last-child { font-weight: 600; color: #111; }
.bp-slots { padding: 16px 22px; }
.bp-slot-label {
  font-size: 0.8rem;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 10px;
}
.bp-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.slot {
  text-align: center;
  padding: 10px 6px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  background: #f9fafb;
  color: #374151;
  border: 1px solid #e5e7eb;
}
.slot.booked { background: #fee2e2; color: #ef4444; border-color: #fecaca; text-decoration: line-through; }
.bp-cta {
  margin: 0 16px 16px;
  background: #F97316;
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---- PROOF ---- */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 32px;
}
.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.proof-stat { text-align: center; }
.proof-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.proof-label {
  display: block;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 4px;
}
.proof-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ---- SECTIONS ---- */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 48px;
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 32px;
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(249,115,22,0.3);
  transform: translateY(-2px);
}
.feature-card.feature-accent {
  background: linear-gradient(135deg, rgba(249,115,22,0.08) 0%, var(--bg-card) 100%);
  border-color: rgba(249,115,22,0.2);
}
.feature-icon {
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.feature-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 100px;
  padding: 4px 10px;
}

/* ---- HOW ---- */
.how {
  padding: 100px 32px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how .section-heading { margin-bottom: 60px; }
.steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr 48px;
  align-items: start;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  padding-top: 4px;
}
.step-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}
.step-arrow {
  color: var(--fg-muted);
  opacity: 0.4;
  padding-top: 6px;
  display: flex;
}

/* ---- PRICING ---- */
.pricing {
  padding: 100px 32px;
}
.pricing-cards {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.pricing-card.card-featured {
  background: linear-gradient(135deg, rgba(20,184,166,0.06) 0%, var(--bg-card) 100%);
  border-color: rgba(20,184,166,0.3);
}
.card-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--teal);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}
.card-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.card-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.card-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
}
.card-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--fg);
}
.card-note {
  font-size: 0.78rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.roi-note {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-light);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 100px;
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--fg-muted);
  text-align: center;
  justify-content: center;
}
.roi-note svg { flex-shrink: 0; }

/* ---- CLOSING ---- */
.closing {
  padding: 120px 32px;
  text-align: center;
}
.closing-inner { max-width: 720px; margin: 0 auto; }
.closing-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.15;
}
.closing-headline em { color: var(--accent); font-style: italic; }
.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 48px;
}
.closing-cta { display: inline-block; }
.cta-main {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--fg);
  margin-bottom: 8px;
}
.cta-sub {
  font-size: 0.88rem;
  color: var(--fg-muted);
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 32px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--fg-muted);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-head {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .proof-inner { gap: 32px; }
  .proof-divider { display: none; }
  .step { grid-template-columns: 60px 1fr; }
  .step-arrow { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 120px 20px 60px; }
  .features, .how, .pricing, .closing { padding: 80px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .hero-cta-row { gap: 16px; flex-wrap: wrap; }
}