/* ============================================
   Total Chat — Marketing Site Styles
   ============================================ */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #10b981;
  --accent-dark: #059669;

  --bg: #0a0a0f;
  --bg-subtle: #111118;
  --bg-card: #16161f;
  --bg-elevated: #1e1e2a;

  --text: #f0f0f5;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --border: #2a2a3a;
  --border-light: #1f1f2e;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.15);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --nav-height: 64px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.875em; }
ul { list-style: none; }

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-height);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}
.nav-logo {
  width: 28px;
  height: 28px;
  color: var(--primary);
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(99,102,241,0.4);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--text); }
.btn-white {
  background: white;
  color: var(--bg);
}
.btn-white:hover {
  background: #f0f0f5;
  transform: translateY(-1px);
}
.btn-ghost-white {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost-white:hover {
  border-color: rgba(255,255,255,0.5);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.badge {
  background: var(--primary);
  color: white;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-subtitle strong {
  color: var(--text);
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}

/* Hero Visual — Browser Mockup */
.hero-visual {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.hero-browser {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.browser-dots span:first-child { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:last-child { background: #10b981; }
.browser-url {
  flex: 1;
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.browser-content {
  display: flex;
  min-height: 340px;
  position: relative;
}
.mock-sidebar {
  width: 60px;
  background: var(--bg-subtle);
  border-right: 1px solid var(--border-light);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-nav-item {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
}
.mock-nav-item.active { background: var(--primary); }
.mock-main {
  flex: 1;
  padding: 20px;
}
.mock-header {
  height: 12px;
  width: 200px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 20px;
}
.mock-cards {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.mock-card {
  flex: 1;
  height: 60px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  position: relative;
}
.mock-card.highlighted {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(99,102,241,0.3);
}
.highlight-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  animation: highlight-pulse 2s infinite;
}
@keyframes highlight-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}
.mock-table { display: flex; flex-direction: column; gap: 6px; }
.mock-row {
  height: 10px;
  background: var(--bg-elevated);
  border-radius: 4px;
}
.mock-row:nth-child(2) { width: 85%; }
.mock-row:nth-child(3) { width: 70%; }

/* Mock Chat Widget */
.mock-chat {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 260px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
}
.mock-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.mock-chat-messages {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-msg {
  font-size: 0.75rem;
  padding: 8px 10px;
  border-radius: 10px;
  line-height: 1.4;
  max-width: 90%;
}
.mock-msg.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.mock-msg.bot {
  background: var(--bg-elevated);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.mock-msg-action {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.mock-chat-input {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ============================================
   Social Proof
   ============================================ */
.social-proof {
  padding: 48px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.social-proof-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-placeholder {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Problem Grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.problem-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Feature Rows
   ============================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(16,185,129,0.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.feature-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.feature-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Feature Visuals */
.feature-visual {
  display: flex;
  justify-content: center;
}
.feature-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow);
}

/* Screen Demo */
.screen-demo-app {
  display: flex;
  background: var(--bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.sd-sidebar {
  width: 48px;
  background: var(--bg-subtle);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--border-light);
}
.sd-nav-item {
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}
.sd-nav-item.active { background: var(--primary); }
.sd-main {
  flex: 1;
  padding: 24px;
  position: relative;
  min-height: 140px;
}
.sd-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  position: relative;
}
.highlighted-btn .sd-highlight-pulse {
  position: absolute;
  inset: -6px;
  border: 2px solid var(--primary-light);
  border-radius: 10px;
  animation: highlight-pulse 2s infinite;
}
.sd-arrow {
  position: absolute;
  top: 16px;
  right: 40px;
}
.sd-tooltip {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--primary);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--primary-light);
  font-weight: 500;
}

/* KB Demo */
.kb-article {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 12px;
}
.kb-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: #f59e0b;
  background: rgba(245,158,11,0.1);
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.kb-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.kb-body { margin-bottom: 16px; }
.kb-line {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 6px;
}
.kb-line.short { width: 60%; }
.kb-line.medium { width: 80%; }
.kb-actions {
  display: flex;
  gap: 8px;
}
.kb-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.kb-btn.approve { background: var(--accent); color: white; }
.kb-btn.edit { background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border); }
.kb-btn.reject { background: var(--bg-elevated); color: var(--text-muted); border: 1px solid var(--border); }
.kb-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Bug Demo */
.bug-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.bug-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  width: 100%;
  font-size: 0.85rem;
}
.bug-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.user-icon { background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border); }
.ai-icon { background: var(--primary); color: white; }
.dev-icon { background: var(--accent); color: white; }
.bug-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Lead Demo */
.lead-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.lead-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.lead-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.lead-info { flex: 1; }
.lead-name { font-size: 0.9rem; font-weight: 700; }
.lead-company { font-size: 0.75rem; color: var(--text-muted); }
.lead-score {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}
.lead-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.lead-detail {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}
.lead-detail span:first-child { color: var(--text-muted); }
.lead-detail span:last-child { color: var(--text); font-weight: 500; }
.lead-synced {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.feature-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99,102,241,0.1);
  color: var(--primary-light);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.feature-card code {
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--primary-light);
}

/* ============================================
   How It Works
   ============================================ */
.how-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}
.step-code {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.step-code code {
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.code-prompt { color: var(--accent); font-weight: 700; }
.code-dim { color: var(--text-muted); }
.code-success { color: var(--accent); }
.code-comment { color: var(--text-muted); }
.code-tag { color: #ef4444; }
.code-attr { color: #f59e0b; }
.code-str { color: var(--accent); }

/* ============================================
   Comparison Table
   ============================================ */
.comparison-section {
  overflow-x: auto;
}
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}
.comparison-table thead th {
  background: var(--bg-card);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.comparison-table tbody td {
  background: var(--bg-subtle);
}
.comparison-table .highlight-col {
  background: rgba(99,102,241,0.05) !important;
}
.comparison-table thead .highlight-col {
  color: var(--primary-light);
  background: rgba(99,102,241,0.1) !important;
}
.check {
  color: var(--accent);
  font-weight: 600;
}
.no {
  color: var(--text-muted);
}
.extra {
  color: #f59e0b;
  font-weight: 500;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
}
.pricing-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.pricing-price {
  margin-bottom: 8px;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.pricing-features {
  margin-bottom: 24px;
}
.pricing-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), #3730a3);
  border-radius: 0;
}
.cta-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
}
.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--primary-light);
}
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 12px;
  }

  .hero { padding: 120px 0 60px; }
  .hero-actions { flex-direction: column; align-items: center; }

  .mock-chat { display: none; }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: span 2; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .comparison-table-wrap { margin: 0 -24px; border-radius: 0; border-left: 0; border-right: 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}
