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

:root {
  --bg: #09090e;
  --surface: #111119;
  --surface-2: #18181f;
  --border: #222230;
  --accent: #ff5c00;
  --accent-glow: rgba(255, 92, 0, 0.15);
  --text: #f0ede8;
  --text-muted: #7a7888;
  --text-dim: #4a4860;
  --success: #22c55e;
  --booked: #16a34a;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
.font-condensed { font-family: 'Barlow Condensed', sans-serif; }

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

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
}

.nav-logo svg { color: var(--accent); flex-shrink: 0; }

.nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover { color: var(--text); border-color: var(--text-dim); }

.btn-lg { padding: 14px 28px; font-size: 15px; }

.btn-plan {
  display: block;
  text-align: center;
  background: var(--surface-2);
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  margin-top: auto;
}

.btn-plan:hover { color: var(--text); border-color: var(--text-dim); }

.btn-plan-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-plan-primary:hover { opacity: 0.88; }

/* === SECTION HELPERS === */
.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: 0.01em;
}

.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* === HERO === */
.hero {
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255, 92, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-dim);
}

/* === DASHBOARD MOCK === */
.dashboard-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(255, 92, 0, 0.08), 0 32px 64px rgba(0,0,0,0.5);
  position: relative;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.dash-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.dash-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  letter-spacing: 0.06em;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}

.metric {
  padding: 14px 12px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.metric:last-child { border-right: none; }
.metric.accent { background: rgba(255, 92, 0, 0.05); }

.metric-val {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.metric.accent .metric-val { color: var(--accent); }

.metric-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
  text-transform: uppercase;
}

.dash-leads {
  padding: 8px 0;
}

.lead-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.lead-item:last-child { border-bottom: none; }
.lead-item.new { background: rgba(255, 92, 0, 0.04); }
.lead-item:hover { background: var(--surface-2); }

.lead-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
  flex-shrink: 0;
}

.lead-avatar.sm { width: 30px; height: 30px; font-size: 11px; }

.lead-info {
  flex: 1;
  min-width: 0;
}

.lead-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.lead-issue {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lead-time {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
}

.lead-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}

.lead-badge { background: var(--accent-glow); color: var(--accent); }
.lead-badge.reply { background: rgba(100, 116, 139, 0.15); color: #94a3b8; }
.lead-badge.booked { background: rgba(34, 197, 94, 0.1); color: var(--success); }

/* === STATS === */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.stat-item { padding: 0 32px; text-align: center; }

.stat-number {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-text {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 200px;
}

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

/* === HOW IT WORKS === */
.howitworks {
  padding: 96px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}

.step-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.step-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* === FEATURES === */
.features {
  padding: 96px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.feature-card:hover { border-color: var(--text-dim); }

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* === CONVERSATION === */
.conversation {
  padding: 96px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.chat-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.chat-from {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.chat-status {
  font-size: 11px;
  color: var(--success);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-msg { display: flex; flex-direction: column; gap: 4px; }

.customer { align-items: flex-start; }
.ai { align-items: flex-end; }

.msg-text {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 85%;
}

.customer .msg-text {
  background: var(--surface-2);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.ai .msg-text {
  background: rgba(255, 92, 0, 0.12);
  color: var(--text);
  border-bottom-right-radius: 4px;
}

.ai.booked .msg-text {
  background: rgba(34, 197, 94, 0.12);
}

.msg-time {
  font-size: 10px;
  color: var(--text-dim);
  padding: 0 4px;
}

.chat-system {
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  margin-top: 4px;
}

/* === PRICING === */
.pricing {
  padding: 96px 24px;
  background: var(--bg);
}

.plans {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(255, 92, 0, 0.1);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-header { margin-bottom: 28px; }

.plan h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan.featured h3 { color: var(--text); }

.plan-price { display: flex; align-items: baseline; gap: 4px; }

.price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.per {
  font-size: 16px;
  color: var(--text-muted);
}

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

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.plan-features li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* === CLOSING === */
.closing {
  padding: 100px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.closing h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.05;
}

.closing p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.closing-note {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 16px;
}

.closing-actions { display: flex; justify-content: center; }

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

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.footer-logo svg { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 20px;
  flex: 1;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-muted); }

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual { order: -1; }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-divider { width: 60px; height: 1px; margin: 0 auto; }

  .steps {
    flex-direction: column;
    gap: 12px;
  }

  .step-arrow { transform: rotate(90deg); padding: 0; justify-content: center; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-links { justify-content: center; }

  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 40px; }
  .hero { padding: 60px 20px 80px; }
  .plans { gap: 16px; }
  .plan { padding: 24px; }
  .chat-window { max-width: 100%; }
}