:root {
  --bg: #0a0a0f;
  --bg-subtle: #111118;
  --bg-card: #16161f;
  --fg: #e8e6e3;
  --fg-muted: #8a8a9a;
  --accent: #f0a500;
  --accent-glow: rgba(240, 165, 0, 0.15);
  --accent-light: #ffd166;
  --red: #ff4d4d;
  --green: #34d399;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

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

.highlight {
  color: var(--accent);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid rgba(240, 165, 0, 0.3);
  background: var(--accent-glow);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

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

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ============ PROBLEM ============ */
.problem {
  padding: 6rem 2rem;
  background: var(--bg-subtle);
}

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

.problem-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.problem-left p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.phone-mock {
  background: #1a1a24;
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  max-width: 340px;
  margin: 0 auto;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--fg-muted);
}

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

.phone-dot.red {
  background: var(--red);
}

.phone-label {
  font-weight: 600;
  color: var(--fg);
}

.phone-time {
  margin-left: auto;
  font-size: 0.7rem;
}

.text-bubble {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  position: relative;
}

.text-bubble .text-sender {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.text-bubble .text-time {
  display: block;
  font-size: 0.65rem;
  color: var(--fg-muted);
  margin-top: 0.4rem;
  text-align: right;
}

.text-bubble.incoming {
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.15);
  border-bottom-left-radius: 4px;
  margin-right: 2rem;
}

.text-bubble.outgoing {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom-right-radius: 4px;
  margin-left: 2rem;
  color: var(--fg);
}

/* ============ FEATURES ============ */
.features {
  padding: 6rem 2rem;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(240, 165, 0, 0.2);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

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

/* ============ VERTICALS ============ */
.verticals {
  padding: 6rem 2rem;
  background: var(--bg-subtle);
}

.verticals-inner {
  max-width: 900px;
  margin: 0 auto;
}

.verticals-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 2.5rem;
}

.verticals-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.vertical-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.3s ease;
}

.vertical-pill:hover {
  border-color: rgba(240, 165, 0, 0.25);
}

.vertical-emoji {
  font-size: 1.1rem;
}

.verticals-callout {
  background: var(--accent-glow);
  border: 1px solid rgba(240, 165, 0, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg);
}

.verticals-callout strong {
  color: var(--accent);
}

/* ============ CLOSING ============ */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(240, 165, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
}

.closing-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .problem-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 50px;
    height: 1px;
  }

  .stat-label {
    max-width: 240px;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .hero {
    padding: 4rem 1.5rem 3rem;
    min-height: auto;
  }

  .problem,
  .features,
  .verticals {
    padding: 4rem 1.5rem;
  }

  .closing {
    padding: 5rem 1.5rem;
  }
}

/* ============ NAV ============ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

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

.nav-cta {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-cta.active {
  background: rgba(240,165,0,0.15);
  color: var(--accent);
  border: 1px solid rgba(240,165,0,0.3);
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-primary.btn-sm {
  font-size: 0.82rem;
  padding: 0.6rem 1.25rem;
}

.btn-ghost {
  display: inline-block;
  color: var(--fg-muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--fg);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* ============ DEMO SECTION ============ */
.demo-section {
  padding: 6rem 2rem;
  background: var(--bg-subtle);
  scroll-margin-top: 64px;
}

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

.demo-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.demo-desc {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.demo-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
}

.demo-form {
  padding: 2rem;
}

.demo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.input-group input,
.input-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--fg);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  -webkit-appearance: none;
}

.input-group input::placeholder {
  color: var(--fg-muted);
  opacity: 0.6;
}

.input-group input:focus,
.input-group select:focus {
  border-color: var(--accent);
}

.input-group select option {
  background: var(--bg-card);
}

.btn-demo {
  width: 100%;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-bottom: 0.75rem;
}

.btn-demo:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-demo:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.demo-note {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-align: center;
}

/* ============ CHAT UI ============ */
.demo-chat {
  flex-direction: column;
  height: 520px;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52,211,153,0.6);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

.chat-sub {
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-top: 0.1rem;
}

.chat-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(52,211,153,0.15);
  color: var(--green);
  border: 1px solid rgba(52,211,153,0.3);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}

.chat-badge.badge-booked {
  background: rgba(240,165,0,0.15);
  color: var(--accent);
  border-color: rgba(240,165,0,0.3);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
}

.chat-msg {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 82%;
}

.chat-msg .msg-sender {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.chat-msg .msg-time {
  display: block;
  font-size: 0.65rem;
  color: var(--fg-muted);
  margin-top: 0.4rem;
  text-align: right;
}

.chat-msg--assistant {
  background: rgba(240,165,0,0.08);
  border: 1px solid rgba(240,165,0,0.15);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-msg--user {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-msg--typing .typing-dots span {
  display: inline-block;
  animation: typing-bounce 1.2s infinite;
  font-size: 1.3rem;
  line-height: 1;
}

.chat-msg--typing .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg--typing .typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.missed-call-banner {
  background: rgba(255,77,77,0.08);
  border: 1px solid rgba(255,77,77,0.15);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.missed-icon {
  font-size: 1rem;
}

.chat-input-row {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.15);
}

.chat-input-row input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: var(--fg);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-input-row input:focus {
  border-color: rgba(240,165,0,0.4);
}

.chat-input-row input::placeholder {
  color: var(--fg-muted);
  opacity: 0.6;
}

.btn-send {
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-send:hover {
  opacity: 0.85;
}

.chat-booked {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(52,211,153,0.15);
  background: rgba(52,211,153,0.05);
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.booked-icon {
  font-size: 1.5rem;
}

.booked-text {
  flex: 1;
}

.booked-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--green);
}

.booked-text span {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.btn-dashboard {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.btn-dashboard:hover {
  opacity: 0.88;
}

@media (max-width: 600px) {
  .demo-form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}