/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAF7F2;
  --bg-alt: #F5F0E8;
  --fg: #1A1614;
  --fg-muted: #7A746E;
  --accent: #E8602A;
  --accent-light: #FFF0EB;
  --accent-dark: #C44F1F;
  --white: #FFFFFF;
  --border: #E8E2D9;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-link:hover { color: var(--fg); }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.15s, transform 0.1s;
}

.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* === HERO === */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}

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

.hero-cta {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(232, 96, 42, 0.3);
  margin-bottom: 48px;
}

.hero-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 96, 42, 0.4);
}

/* Calendar Widget */
.hero-visual-badge { margin-top: 12px; }

.calendar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: inline-block;
  box-shadow: 0 4px 24px rgba(26, 22, 20, 0.06);
  width: 280px;
}

.cw-header { margin-bottom: 16px; }

.cw-month {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.04em;
}

.cw-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cw-day-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-align: center;
  padding: 4px 0;
  letter-spacing: 0.02em;
}

.cw-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg);
  transition: background 0.15s;
}

.cw-day.cw-empty { background: transparent; }

.cw-day.cw-today {
  background: var(--accent);
  color: white;
  font-weight: 700;
}

.cw-day.cw-booked {
  background: var(--bg-alt);
  color: var(--fg-muted);
}

.cw-day.cw-available {
  background: #E8F5EB;
  color: #2D7A3A;
  font-weight: 600;
}

.cw-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.cw-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--fg-muted);
}

.cw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cw-dot--available { background: #2D7A3A; }
.cw-dot--booked { background: var(--fg-muted); }

/* Phone Mockup */
.hero-illustration {
  display: flex;
  justify-content: center;
}

.phone-mockup { position: relative; }

.phone-frame {
  width: 260px;
  background: #1A1614;
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 24px 80px rgba(26, 22, 20, 0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}

.phone-screen {
  background: var(--white);
  border-radius: 26px;
  padding: 20px 16px;
  overflow: hidden;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.app-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
}

.app-rating {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 8px;
  border-radius: 20px;
}

.app-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.app-slots { display: flex; flex-direction: column; gap: 6px; }

.slot-card {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.slot-card--selected {
  background: var(--accent-light);
  border-color: var(--accent);
}

.slot-date {
  font-size: 0.65rem;
  color: var(--fg-muted);
  margin-bottom: 2px;
}

.slot-time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}

.slot-action {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}

.app-confirmation {
  margin-top: 12px;
  background: #E8F5EB;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.confirm-icon {
  width: 28px;
  height: 28px;
  background: #2D7A3A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.confirm-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1A4D2E;
  line-height: 1.4;
}

/* === SECTIONS SHARED === */
section { padding: 80px 40px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-title--light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 56px;
}

/* === HOW IT WORKS === */
.howitworks { background: var(--white); }

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
  text-align: left;
}

.step-card { position: relative; }

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-icon { margin-bottom: 16px; }

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

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

.hiw-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 40px;
  background: var(--accent-light);
  border-radius: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item { text-align: center; }

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

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  max-width: 200px;
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* === TRUST / PAIN === */
.trust { background: #1A1614; }

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
  border-radius: 20px;
  overflow: hidden;
}

.pain-side { padding: 40px; }

.pain-side--customer { background: #242020; }
.pain-side--provider { background: #1C1918; }

.pain-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

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

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.pain-item--bad { color: #C8C0B8; }
.pain-item--good { color: #A8D4B0; }

.pain-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  background: rgba(200, 192, 184, 0.2);
}

.pain-icon--good {
  background: rgba(168, 212, 176, 0.2);
}

.pain-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 24px 0;
}

/* === PROVIDERS === */
.providers { background: var(--white); }

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

.trade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 64px;
}

.trade-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.trade-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(232, 96, 42, 0.1);
}

.trade-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trade-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
}

.providers-pricing { display: flex; justify-content: center; }

.pricing-card {
  background: var(--accent);
  color: var(--white);
  border-radius: 24px;
  padding: 36px 40px;
  text-align: left;
  max-width: 400px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.pricing-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.pricing-label {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.pricing-price strong { font-weight: 400; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-features li {
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: '✓';
  font-weight: 700;
  opacity: 0.7;
}

/* === CLOSING === */
.closing { background: var(--accent); }

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

.closing-ornament {
  width: 96px;
  height: 96px;
  margin: 0 auto 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ornament-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
}

.ornament-ring--outer {
  width: 96px;
  height: 96px;
}

.ornament-ring--inner {
  width: 64px;
  height: 64px;
  border-color: rgba(255,255,255,0.15);
}

.ornament-center {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 24px;
}

.closing-cta-btn {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--white);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 12px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(26, 22, 20, 0.2);
}

.closing-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(26, 22, 20, 0.25);
}

/* === FOOTER === */
.footer { background: #1A1614; padding: 40px; }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-illustration { display: none; }
  .hero-text { text-align: left; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .pain-grid { grid-template-columns: 1fr; }
  .trade-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-stats { flex-direction: column; gap: 24px; }
  .stat-divider { width: 40px; height: 1px; }
  section { padding: 60px 24px; }
  .hero { padding: 60px 24px 80px; }
}

@media (max-width: 480px) {
  .trade-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-inner { padding: 16px 20px; }
}