/* ================================
   AI OS Landing Page — Dark Futuristic
   ================================ */

:root {
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a26;
  --bg-elevated: #16161f;
  --border: #1e1e2e;
  --border-glow: #3b82f620;
  --text-primary: #e4e4ef;
  --text-secondary: #9898b0;
  --text-muted: #5a5a72;
  --primary: #3b82f6;
  --primary-dim: #3b82f620;
  --primary-glow: #3b82f640;
  --secondary: #8b5cf6;
  --tertiary: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-hero: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: #60a5fa; }

/* ================================
   NAVIGATION
   ================================ */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { font-size: 24px; color: var(--primary); }
.nav-name { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; }
.mobile-menu { display: none; }

/* ================================
   BUTTONS
   ================================ */
.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text-primary); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; text-align: center; }
.btn-arrow { transition: transform 0.2s; }
.btn-primary-cta:hover .btn-arrow { transform: translateX(3px); }

/* ================================
   HERO
   ================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-dim);
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-bottom: 48px;
}
.hero-stat { text-align: center; }
.hero-stat-value { display: block; font-size: 28px; font-weight: 800; color: var(--text-primary); }
.hero-stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.hero-content { position: relative; z-index: 1; }

/* Terminal */
.hero-visual { position: relative; z-index: 1; max-width: 680px; width: 100%; margin: 0 auto; }
.terminal-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }
.terminal-title { margin-left: auto; font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); }
.terminal-body { padding: 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.8; }
.terminal-line { white-space: nowrap; overflow: hidden; }
.t-prompt { color: var(--primary); font-weight: 600; }
.t-cmd { color: var(--tertiary); font-weight: 600; }
.t-flag { color: var(--secondary); }
.t-output { color: var(--text-secondary); }
.t-success { color: var(--success); font-weight: 600; }
.t-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--primary);
  animation: blink 1s infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ================================
   TRUST BAR
   ================================ */
.trust-bar {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.trust-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.trust-logos { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.trust-logo {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

/* ================================
   SECTIONS (shared)
   ================================ */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-dim);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ================================
   PAIN POINTS
   ================================ */
.pain-points {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(239,68,68,0.03) 0%, transparent 100%);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.pain-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.pain-card:hover {
  border-color: rgba(239,68,68,0.3);
  transform: translateY(-2px);
}
.pain-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.pain-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.pain-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.pain-solution {
  font-size: 13px;
  line-height: 1.6;
  padding: 14px 16px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: 8px;
  color: var(--text-secondary);
}
.pain-solution strong {
  color: #10b981;
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .pain-grid { grid-template-columns: 1fr; }
}

/* ================================
   FEATURES
   ================================ */
.features { padding: 100px 0; }
.phase-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.phase-label:first-of-type { margin-top: 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ================================
   ARCHITECTURE
   ================================ */
.architecture { padding: 100px 0; background: var(--bg-elevated); }
.arch-layers { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.arch-layer {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.arch-layer:last-child { border-bottom: none; }
.arch-layer:hover { background: var(--bg-card); margin: 0 -20px; padding-left: 20px; padding-right: 20px; border-radius: var(--radius); }
.arch-layer-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.4;
  min-width: 60px;
  font-family: var(--font-mono);
}
.arch-layer:hover .arch-layer-num { opacity: 1; }
.arch-layer-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.arch-layer-content p { font-size: 14px; color: var(--text-secondary); }

/* ================================
   AGENT ROSTER
   ================================ */
.agents { padding: 100px 0; }
.agent-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s, transform 0.2s;
}
.agent-chip:hover { transform: translateY(-1px); }
.agent-chip.opus { border-color: #8b5cf640; }
.agent-chip.opus:hover { border-color: #8b5cf6; box-shadow: 0 0 12px #8b5cf620; }
.agent-chip.sonnet { border-color: #3b82f640; }
.agent-chip.sonnet:hover { border-color: #3b82f6; box-shadow: 0 0 12px #3b82f620; }
.agent-chip.haiku { border-color: #10b98140; }
.agent-chip.haiku:hover { border-color: #10b981; box-shadow: 0 0 12px #10b98120; }
.agent-chip.economy { border-color: #f59e0b40; }
.agent-chip.economy:hover { border-color: #f59e0b; box-shadow: 0 0 12px #f59e0b20; }
.agent-chip.grok { border-color: #ef444440; }
.agent-chip.grok:hover { border-color: #ef4444; box-shadow: 0 0 12px #ef444420; }
.agent-chip.hermes { border-color: #a78bfa40; }
.agent-chip.hermes:hover { border-color: #a78bfa; box-shadow: 0 0 12px #a78bfa20; }
.agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}
.agent-chip.opus .agent-dot { color: #8b5cf6; }
.agent-chip.sonnet .agent-dot { color: #3b82f6; }
.agent-chip.haiku .agent-dot { color: #10b981; }
.agent-chip.economy .agent-dot { color: #f59e0b; }
.agent-chip.grok .agent-dot { color: #ef4444; }
.agent-chip.hermes .agent-dot { color: #a78bfa; }
.agent-chip.omni { border-color: #ec489940; }
.agent-chip.omni:hover { border-color: #ec4899; box-shadow: 0 0 12px #ec489920; }
.agent-chip.omni .agent-dot { color: #ec4899; }
.agent-chip.legal { border-color: #78716c40; }
.agent-chip.legal:hover { border-color: #78716c; box-shadow: 0 0 12px #78716c20; }
.agent-chip.legal .agent-dot { color: #78716c; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.agent-model { font-size: 10px; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.agent-legend { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.legend-dot.opus { background: #8b5cf6; }
.legend-dot.sonnet { background: #3b82f6; }
.legend-dot.haiku { background: #10b981; }
.legend-dot.economy { background: #f59e0b; }
.legend-dot.grok { background: #ef4444; }
.legend-dot.omni { background: #ec4899; }
.legend-dot.legal { background: #78716c; }
.legend-dot.hermes { background: #a78bfa; }

/* ================================
   PRICING
   ================================ */
.pricing { padding: 100px 0; background: var(--bg-elevated); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
}
.pricing-grid.pricing-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s, transform 0.2s;
}
.pricing-card:hover { transform: translateY(-2px); }
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.06); }
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-tier { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.pricing-price { font-size: 48px; font-weight: 900; letter-spacing: -2px; }
.pricing-mo { font-size: 18px; font-weight: 400; color: var(--text-muted); }
.pricing-period { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li { padding: 8px 0; font-size: 14px; color: var(--text-secondary); border-bottom: 1px solid #1a1a26; }
.pricing-features li:last-child { border-bottom: none; }

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ================================
   FAQ
   ================================ */
.faq { padding: 100px 0; background: var(--bg-elevated); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
}
.faq-question:hover { color: var(--primary); }
.faq-toggle { font-size: 24px; color: var(--text-muted); transition: transform 0.3s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-dark);
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; position: relative; }
.cta-subtitle { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }

/* ================================
   FOOTER
   ================================ */
.site-footer { padding: 60px 0 0; border-top: 1px solid var(--border); }
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}
.footer-brand { max-width: 260px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.footer-links { display: flex; gap: 64px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ================================
   MODAL (Login)
   ================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 420px;
  box-shadow: var(--shadow);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 28px; cursor: pointer; line-height: 1; }
.modal-body { padding: 24px; }
.modal-footer { padding: 0 24px 24px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-primary);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--primary); }
.login-error { color: var(--error); font-size: 13px; margin-top: 8px; display: none; }
.login-alt { text-align: center; padding: 16px 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }

/* ================================
   TOUR GUIDE AVATAR
   ================================ */
.tour-guide {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
}
.tour-guide-fab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border: none;
  border-radius: 50px;
  padding: 10px 20px 10px 12px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.4);
  transition: all 0.3s;
  color: #fff;
}
.tour-guide-fab:hover { transform: translateY(-2px); box-shadow: 0 6px 32px rgba(59, 130, 246, 0.5); }
.tour-guide-fab.active { opacity: 0; pointer-events: none; transform: scale(0.8); }
.tour-guide-fab.attention { animation: fabBounce 1s ease infinite; }
@keyframes fabBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.tour-avatar { position: relative; width: 40px; height: 40px; }
.tour-avatar-face { font-size: 28px; line-height: 40px; text-align: center; }
.tour-avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  animation: ringPulse 2s ease infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
}
.tour-fab-label { font-size: 14px; font-weight: 700; white-space: nowrap; }

/* Panel */
.tour-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: #0f1117;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s ease;
}
.tour-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.tour-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tour-header-avatar { font-size: 30px; }
.tour-header-info { flex: 1; }
.tour-header-name { font-size: 14px; font-weight: 700; color: #fff; }
.tour-header-role { font-size: 11px; color: rgba(255,255,255,0.5); }
.tour-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.tour-close:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* Messages */
.tour-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  max-height: 300px;
}
.tour-msg { display: flex; gap: 8px; align-items: flex-start; animation: msgIn 0.3s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tour-msg-bot { align-self: flex-start; }
.tour-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.tour-msg-avatar { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.tour-msg-text {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
  max-width: 280px;
}
.tour-msg-bot .tour-msg-text {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border-bottom-left-radius: 4px;
}
.tour-msg-user .tour-msg-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Typing indicator */
.tour-dots span {
  display: inline-block;
  animation: dotBounce 1.2s infinite;
  font-size: 18px;
  line-height: 1;
  color: rgba(255,255,255,0.5);
}
.tour-dots span:nth-child(2) { animation-delay: 0.2s; }
.tour-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

/* Quick reply options */
.tour-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 8px;
}
.tour-option {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.tour-option:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: #3b82f6;
  transform: translateY(-1px);
}

/* Input row */
.tour-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.tour-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  color: #fff;
  outline: none;
}
.tour-input:focus { border-color: rgba(59, 130, 246, 0.5); }
.tour-input::placeholder { color: rgba(255,255,255,0.3); }
.tour-send {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.tour-send:hover { transform: scale(1.05); }

@media (max-width: 480px) {
  .tour-panel { width: calc(100vw - 32px); right: -8px; }
  .tour-fab-label { display: none; }
  .tour-guide-fab { padding: 12px; border-radius: 50%; }
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1280px) {
  .pricing-grid.pricing-grid-5 { grid-template-columns: repeat(3, 1fr); max-width: 960px; }
}
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .pricing-grid.pricing-grid-5 { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-2px); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
  }
  .mobile-menu a { padding: 8px 0; font-size: 15px; color: var(--text-secondary); }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; align-items: center; }
  .arch-layer { flex-direction: column; gap: 8px; }
  .arch-layer-num { font-size: 24px; }
  .footer-container { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
  .trust-container { flex-direction: column; gap: 16px; }
}
