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

:root {
  --bg: #0d0d1a;
  --bg-alt: #13132a;
  --bg-card: #1a1a33;
  --fg: #ffffff;
  --fg-muted: #8a8aaa;
  --accent: #00d47a;
  --accent-dim: rgba(0, 212, 122, 0.12);
  --accent-border: rgba(0, 212, 122, 0.3);
  --border: rgba(255,255,255,0.08);
  --chat-bg: #111126;
  --chat-ai-bg: #0f2e1e;
  --font: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

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

/* === TYPOGRAPHY === */
h1, h2, h3 { font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { color: var(--fg-muted); max-width: 55ch; }
a { color: var(--accent); text-decoration: none; }

/* === SECTION LABELS === */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 3.5rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 5% 4rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,122,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero-left h1 em { color: var(--accent); font-style: normal; }

.lede { font-size: 1.15rem; line-height: 1.7; color: var(--fg-muted); max-width: 46ch; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.pill {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent-border);
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* === CHAT WIDGET === */
.chat-widget {
  background: var(--chat-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,122,0.1);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.chat-dots { display: flex; gap: 5px; }
.chat-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--fg-muted);
}
.chat-dots span:nth-child(1) { background: #ff5f57; }
.chat-dots span:nth-child(2) { background: #febc2e; }
.chat-dots span:nth-child(3) { background: #28c840; }

.chat-title { font-size: 0.82rem; font-weight: 600; flex: 1; }

.live-dot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 500;
}

.live-dot span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s infinite;
}

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

.chat-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.9rem; }

.msg { max-width: 85%; }
.msg-business {
  align-self: flex-end;
  background: var(--bg-card);
  padding: 0.7rem 1rem;
  border-radius: 12px 12px 12px 3px;
  font-size: 0.88rem;
}
.msg-ai {
  align-self: flex-start;
  background: var(--chat-ai-bg);
  border: 1px solid rgba(0,212,122,0.15);
  padding: 0.7rem 1rem;
  border-radius: 12px 12px 3px 12px;
  font-size: 0.88rem;
  color: #b8ffd0;
}
.msg p { color: var(--fg) !important; margin-bottom: 0.25rem; max-width: none !important; }
.msg-business p { color: var(--fg) !important; }
.msg-ai p { color: #b8ffd0 !important; }

.msg-time {
  font-size: 0.68rem;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.auto-tag {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  padding: 0 0.35rem;
  border-radius: 4px;
  font-size: 0.6rem;
}

.appointment-card {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  align-self: flex-start;
}
.appt-label { font-size: 0.68rem; font-family: var(--font-mono); color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.25rem; }
.appt-detail { font-size: 0.82rem; font-weight: 600; color: #b8ffd0; }

.chat-input-row {
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.typing-indicator { display: flex; gap: 4px; }
.typing-indicator span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fg-muted);
  animation: bounce 1.2s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40% { transform: translateY(-6px); opacity: 1; }
}

.input-hint { font-size: 0.78rem; color: var(--fg-muted); font-family: var(--font-mono); }

/* === SERVICES === */
.services {
  padding: 6rem 5%;
  background: var(--bg-alt);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s;
}

.service-card:hover { border-color: var(--accent-border); }

.service-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.service-card h3 { color: var(--fg); }
.service-card > p { font-size: 0.9rem; }

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* === PROCESS === */
.process {
  padding: 6rem 5%;
  background: var(--bg);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 3.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.step {
  flex: 1;
  min-width: 0;
  padding: 0 2rem;
}

.step:first-child { padding-left: 0; }

.step-connector {
  width: 60px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-border), transparent);
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-connector::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.step h3 { color: var(--fg); margin-bottom: 0.5rem; font-size: 1.1rem; }
.step p { font-size: 0.88rem; }

.process-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  padding: 1.25rem 2rem;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label { font-size: 0.88rem; color: var(--fg-muted); max-width: 30ch; }

/* === MANIFESTO === */
.manifesto {
  padding: 6rem 5%;
  background: var(--bg-alt);
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.manifesto-title { font-size: clamp(1.6rem, 2.5vw, 2rem); }

.manifesto-body { font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.25rem; max-width: 58ch; }
.manifesto-body:last-of-type { margin-bottom: 0; }

.manifesto-quote {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
}

.quote-mark { font-size: 3rem; line-height: 0.5; color: var(--accent); font-family: serif; display: block; margin-bottom: 0.5rem; }

.manifesto-quote p { font-size: 1rem; font-style: italic; color: var(--fg); max-width: none; }

/* === PRICING === */
.pricing {
  padding: 6rem 5%;
  background: var(--bg);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
}

.pricing-card-main {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, rgba(0,212,122,0.05) 0%, var(--bg-card) 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card h3 { margin-bottom: 0.35rem; }
.pricing-desc { font-size: 0.85rem; margin-bottom: 1.5rem; }

.pricing-amount { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.5rem; }
.price { font-size: 2.4rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.price-label { font-size: 0.85rem; color: var(--fg-muted); font-family: var(--font-mono); }

.pricing-monthly { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 1.75rem; }
.monthly-price { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.monthly-label { font-size: 0.82rem; color: var(--fg-muted); font-family: var(--font-mono); }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.pricing-features li { font-size: 0.88rem; color: var(--fg-muted); padding-left: 1.5rem; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pricing-features li strong { color: var(--fg); font-weight: 600; }

.pricing-note { margin-top: 2rem; font-size: 0.82rem; color: var(--fg-muted); text-align: center; max-width: 50ch; margin-left: auto; margin-right: auto; }

/* === CLOSING === */
.closing {
  padding: 7rem 5%;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,122,0.07) 0%, transparent 70%);
}

.closing-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.closing h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.closing p { font-size: 1.05rem; max-width: 52ch; margin: 0 auto 2.5rem; }

.cta-text { font-size: 1.1rem; color: var(--fg-muted); font-style: italic; }

.closing-visual { margin-top: 4rem; display: flex; justify-content: center; }

.floating-stat {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.fstat-number { font-size: 2.2rem; font-weight: 900; color: var(--accent); letter-spacing: -0.04em; line-height: 1; }
.fstat-label { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; max-width: 28ch; }

/* === FOOTER === */
footer { padding: 4rem 5% 2rem; background: var(--bg); border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-logo { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.03em; color: var(--fg); display: block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.88rem; max-width: 36ch; }
.footer-links { display: flex; gap: 3rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col-title { font-size: 0.78rem; font-weight: 600; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); margin-bottom: 0.25rem; }
.footer-col a { font-size: 0.88rem; color: var(--fg-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--fg-muted); font-family: var(--font-mono); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps { flex-direction: column; gap: 1.5rem; }
  .step-connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--accent-border), transparent); margin: 0; }
  .step-connector::after { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 4rem 5% 3rem; }
  h1 { font-size: 2.2rem; }
  .floating-stat { flex-direction: column; text-align: center; gap: 0.75rem; }
  .pricing-card-main { margin-top: 0.5rem; }
}