:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --surface: #151515;
  --surface-2: #1e1e1e;
  --border: #2a2a2a;
  --fg: #ffffff;
  --fg-2: #a0a0a0;
  --fg-3: #666666;
  --accent: #0057FF;
  --accent-2: #0040c4;
  --accent-glow: rgba(0, 87, 255, 0.15);
  --success: #10B981;
  --warning: #F59E0B;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border) var(--bg);
}

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

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-ai {
  color: var(--accent);
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-3);
  font-weight: 500;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(0, 87, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(0, 87, 255, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 32px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 28px;
  color: var(--fg);
}

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

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--fg-2);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ─── Widget ─── */
.hero-widget {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.widget-header {
  background: var(--surface-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.widget-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28CA41; }

.widget-title {
  font-size: 12px;
  color: var(--fg-3);
  font-weight: 500;
  flex: 1;
  text-align: center;
}

.widget-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}

.widget-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.widget-ai-msg { align-items: flex-start; }
.widget-user-msg { flex-direction: column; align-items: flex-end; }

.widget-ai-avatar {
  flex-shrink: 0;
  margin-top: 4px;
}

.msg-bubble {
  max-width: 280px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.ai-bubble {
  background: var(--surface-2);
  color: var(--fg);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.user-bubble {
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 4px;
}

.msg-time {
  font-size: 11px;
  color: var(--fg-3);
  margin-top: 4px;
}

.cal-msg { margin-bottom: 10px; }

.time-slots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.time-slot {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--fg-2);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  cursor: default;
}

.time-slot.selected {
  background: rgba(0, 87, 255, 0.2);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.widget-confirmed {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--success);
  font-weight: 500;
}

.widget-footer {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
}

.widget-input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--fg-3);
  font-size: 13px;
  cursor: default;
  outline: none;
}

/* ─── Hero Stats ─── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

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

.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 4px;
  font-weight: 500;
}

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

/* ─── Proof Bar ─── */
.proofbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 20px 32px;
}

.proofbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.proofbar-label {
  font-size: 12px;
  color: var(--fg-3);
  font-weight: 500;
  white-space: nowrap;
}

.proofbar-icons {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-icon {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-2);
  font-weight: 500;
}

/* ─── Features ─── */
.features {
  padding: 100px 32px;
}

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

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg);
}

.section-sub {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 500px;
  margin: 20px auto 0;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(0, 87, 255, 0.4);
  transform: translateY(-2px);
}

.feature-primary {
  background: linear-gradient(135deg, rgba(0,87,255,0.08) 0%, var(--surface) 100%);
  border-color: rgba(0, 87, 255, 0.3);
}

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

.feature-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg-3);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
}

/* ─── How It Works ─── */
.how-it-works {
  padding: 100px 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
  padding-bottom: 48px;
}

.step:last-child { padding-bottom: 0; }

.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  padding-top: 4px;
}

.step-content { padding-top: 4px; }

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.7;
}

.step-line {
  position: absolute;
  left: 39px;
  top: 70px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.2;
}

/* ─── Pricing ─── */
.pricing {
  padding: 100px 32px;
}

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

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 87, 255, 0.3);
}

.pricing-featured {
  background: linear-gradient(135deg, rgba(0,87,255,0.12) 0%, var(--surface) 100%);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0,87,255,0.2), 0 20px 60px rgba(0,87,255,0.15);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.pricing-tier {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pricing-price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 52px;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.pricing-period {
  font-size: 20px;
  font-weight: 600;
  color: var(--fg-3);
}

.pricing-desc {
  font-size: 14px;
  color: var(--fg-2);
  margin-bottom: 28px;
  line-height: 1.6;
}

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

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.4;
}

.pricing-feature .check { flex-shrink: 0; margin-top: 2px; }

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ─── Closing ─── */
.closing {
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0,87,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-two-col {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}

.closing-copy {
  text-align: left;
}

.closing-icon {
  margin-bottom: 32px;
}

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-body {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 32px;
}

.closing-cta {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
}

.closing-form {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .closing-two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .closing-copy {
    text-align: center;
  }
  .closing-icon {
    display: flex;
    justify-content: center;
  }
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-3);
  flex: 1;
}

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

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-sep { display: none; }

  .step {
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }

  .step-num { font-size: 36px; }
  .step-line { display: none; }

  .nav-tagline { display: none; }
  .nav-inner { padding: 14px 20px; }

  .hero { padding: 100px 20px 60px; }
  .features, .pricing, .how-it-works { padding: 60px 20px; }
  .closing { padding: 80px 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--fg-3); }

/* ─── Selection ─── */
::selection { background: var(--accent); color: white; }
