/* ============================================
   NodeZen — Dark Mode Premium Landing Page
   ============================================ */

/* --- Base & Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body { font-family: 'Inter', sans-serif; background: #030712; color: #94A3B8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* --- 3D Tilt Cards --- */
.tilt-card { transition: transform 0.3s ease, box-shadow 0.4s ease; will-change: transform; }
.tilt-card:hover { box-shadow: 0 25px 80px rgba(124,58,237,0.2), 0 0 40px rgba(124,58,237,0.1); }

/* --- Animated Background --- */
.hero-bg {
  position: relative;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124,58,237,0.15), transparent),
              radial-gradient(ellipse 60% 40% at 80% 50%, rgba(6,182,212,0.08), transparent),
              #030712;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237C3AED' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

/* --- Grid Overlay --- */
.grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(124,58,237,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(124,58,237,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* --- Glassmorphism --- */
.glass { background: rgba(255,255,255,0.03); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.06); }
.glass-strong { background: rgba(255,255,255,0.05); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.08); }
.glass-purple { background: rgba(124,58,237,0.06); backdrop-filter: blur(16px); border: 1px solid rgba(124,58,237,0.15); }

/* --- Glows --- */
.glow-purple { box-shadow: 0 0 30px rgba(124,58,237,0.4), 0 0 60px rgba(124,58,237,0.1); }
.glow-cyan { box-shadow: 0 0 30px rgba(6,182,212,0.4), 0 0 60px rgba(6,182,212,0.1); }
.glow-text { filter: drop-shadow(0 0 20px rgba(124,58,237,0.3)); }
.glow-btn { box-shadow: 0 0 20px rgba(124,58,237,0.5), 0 0 40px rgba(124,58,237,0.2), inset 0 1px 0 rgba(255,255,255,0.1); }
.glow-btn:hover { box-shadow: 0 0 30px rgba(124,58,237,0.7), 0 0 60px rgba(124,58,237,0.3), inset 0 1px 0 rgba(255,255,255,0.15); }

/* --- Gradient Text --- */
.text-gradient {
  background: linear-gradient(135deg, #7C3AED, #06B6D4, #A78BFA, #22D3EE);
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientTextShift 6s ease infinite;
}
.text-gradient-cyan {
  background: linear-gradient(135deg, #06B6D4, #7C3AED, #22D3EE, #A78BFA);
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientTextShift 6s ease infinite reverse;
}
@keyframes gradientTextShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Cursor Spotlight --- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 600px; height: 600px;
  pointer-events: none; z-index: 9990;
  background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: transform;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, #7C3AED, #06B6D4, #A78BFA);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.1s linear;
  will-change: transform;
}

/* --- Film Grain Overlay --- */
.grain-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 9989; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Floating Particles --- */
.hero-particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1;
}
.hero-particle {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(124,58,237,0.4);
  animation: particleFloat linear infinite;
}
.hero-particle:nth-child(odd) { background: rgba(6,182,212,0.3); }
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(40px); opacity: 0; }
}

/* --- Form Card Glow (cursor follow) --- */
.form-glow-card {
  position: relative; overflow: hidden;
}
.form-glow-card .form-glow-spot {
  position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none; transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0; z-index: 0;
}
.form-glow-card:hover .form-glow-spot { opacity: 1; }

/* --- Card Hover Glow (cursor tracking) --- */
.glow-card {
  position: relative; overflow: hidden;
}
.glow-card::after {
  content: ''; position: absolute; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
  transform: translate(-50%, -50%);
  left: var(--glow-x, 50%); top: var(--glow-y, 50%);
}
.glow-card:hover::after { opacity: 1; }

/* --- Animated Section Dividers --- */
.section-divider {
  height: 1px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), rgba(6,182,212,0.3), transparent);
  background-size: 200% 100%;
  animation: dividerShimmer 4s ease infinite;
}
@keyframes dividerShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* --- Animated Gradient Border --- */
.gradient-border { position: relative; }
.gradient-border::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(124,58,237,0.5), rgba(6,182,212,0.5), rgba(124,58,237,0.5));
  background-size: 200% 200%; animation: gradientShift 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* --- Product Card Hover --- */
.product-card { transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(124,58,237,0.15); }
.product-card .card-icon { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.product-card:hover .card-icon { transform: scale(1.1); box-shadow: 0 0 30px rgba(124,58,237,0.4); }

/* --- Metric Card --- */
.metric-card { transition: transform 0.3s ease; }
.metric-card:hover { transform: translateY(-4px); }

/* --- Scroll Animations --- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* --- Stagger Children --- */
.stagger-children > * { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* --- Keyframes --- */
@keyframes gradientShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 20px rgba(124,58,237,0.4); } 50% { box-shadow: 0 0 40px rgba(124,58,237,0.7); } }
@keyframes slideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes typing { 0%,100% { opacity:0.3; } 50% { opacity:1; } }
@keyframes orbit { from { transform: rotate(0deg) translateX(120px) rotate(0deg); } to { transform: rotate(360deg) translateX(120px) rotate(-360deg); } }

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-orbit { animation: orbit 20s linear infinite; }
.animate-orbit-reverse { animation: orbit 15s linear infinite reverse; }

/* --- Floating Badge --- */
.badge-float { animation: float 4s ease-in-out infinite; }
.badge-float:nth-child(2) { animation-delay: 1s; }
.badge-float:nth-child(3) { animation-delay: 2s; }

/* --- Nav --- */
.nav-blur { background: rgba(3,7,18,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-scrolled { background: rgba(3,7,18,0.95) !important; box-shadow: 0 4px 30px rgba(0,0,0,0.3); }

/* --- Custom Select --- */
select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%237C3AED' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center; background-repeat: no-repeat; background-size: 1.5em 1.5em;
  padding-right: 2.5rem; -webkit-appearance: none; appearance: none;
}

/* --- Chat Widget Custom --- */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; }
.chat-toggle {
  width: 64px; height: 64px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, #7C3AED, #06B6D4);
  box-shadow: 0 0 30px rgba(124,58,237,0.5); display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.chat-toggle:hover { transform: scale(1.1); box-shadow: 0 0 40px rgba(124,58,237,0.7); }
.chat-toggle::before {
  content: ''; position: absolute; inset: -2px; border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #06B6D4, #7C3AED); background-size: 200% 200%;
  animation: gradientShift 3s ease infinite; z-index: -1;
}
.chat-toggle svg { width: 28px; height: 28px; fill: white; }
.chat-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(124,58,237,0.5); animation: pulse-ring 2s ease-out infinite; }
@keyframes pulse-ring { 0% { transform:scale(1); opacity:1; } 100% { transform:scale(1.4); opacity:0; } }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem !important; line-height: 1.1 !important; }
  .hero-subtitle { font-size: 1rem !important; }
  .section-title { font-size: 1.75rem !important; }
  .chat-widget { bottom: 16px; right: 16px; }
  .chat-toggle { width: 56px; height: 56px; }

  /* Prevent any horizontal overflow on the entire page */
  html, body { overflow-x: hidden !important; }

  /* Hero section: contain everything within viewport */
  #inicio .max-w-7xl { padding-left: 20px !important; padding-right: 20px !important; }

  /* CTA buttons — full width, smaller text, no overflow */
  #inicio .flex.flex-col a,
  #inicio .flex.flex-col a.group {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
  }

  /* Stats row — wrap gracefully on very narrow screens */
  #inicio .flex.items-center.gap-8 {
    gap: 12px !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    padding-right: 0 !important;
  }
  /* Hide the vertical dividers on mobile to save space */
  #inicio .flex.items-center.gap-8 > .w-px {
    display: none !important;
  }
  /* Each stat block takes equal space */
  #inicio .flex.items-center.gap-8 > div:not(.w-px) {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    text-align: center !important;
  }
  #inicio .flex.items-center.gap-8 span.block {
    font-size: 1.4rem !important;
  }
  #inicio .flex.items-center.gap-8 span.text-xs {
    font-size: 0.55rem !important;
    letter-spacing: 0.03em !important;
  }

  /* Hero badge — allow wrapping and keep inside viewport */
  #inicio .inline-flex.items-center.gap-2 {
    max-width: 100% !important;
    white-space: normal !important;
    text-align: left !important;
  }
  #inicio .inline-flex.items-center.gap-2 span.text-purple-400 {
    white-space: normal !important;
    word-break: break-word !important;
  }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #030712; }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,0.5); }

/* --- Section Divider --- */
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), rgba(6,182,212,0.3), transparent); }

/* ============================================
   CRM Demo Section Styles
   ============================================ */

/* --- Demo Tabs --- */
.demo-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  width: fit-content;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.demo-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.demo-tab:hover { color: #cbd5e1; background: rgba(255,255,255,0.04); }
.demo-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.1));
  border: 1px solid rgba(124,58,237,0.25);
  box-shadow: 0 0 20px rgba(124,58,237,0.15);
}
.demo-tab i { font-size: 14px; }
.demo-tab.active i { filter: drop-shadow(0 0 6px rgba(124,58,237,0.5)); }

/* --- Browser Frame --- */
.demo-browser {
  border-radius: 16px;
  overflow: hidden;
  background: #0a0f1a;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 80px rgba(0,0,0,0.5), 0 0 40px rgba(124,58,237,0.08);
  position: relative;
}
.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(15,23,42,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.demo-browser-dots {
  display: flex;
  gap: 6px;
}
.demo-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.demo-browser-dots span:nth-child(1) { background: #ef4444; }
.demo-browser-dots span:nth-child(2) { background: #eab308; }
.demo-browser-dots span:nth-child(3) { background: #22c55e; }
.demo-browser-url {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  color: #64748b;
  font-family: 'Inter', monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-browser-url i { color: #22c55e; font-size: 10px; }
.demo-browser-content {
  min-height: 480px;
  max-height: 540px;
  overflow: hidden;
  position: relative;
}

/* --- Panel (Tab content) --- */
.demo-panel {
  display: none;
  animation: demoPanelIn 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}
.demo-panel.active { display: block; }
@keyframes demoPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Feature Highlights row --- */
.demo-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.demo-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}
.demo-feature:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.demo-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.demo-feature h4 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px 0;
}
.demo-feature p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ═══════ MOCKUP: Dashboard ═══════ */
.mock-dashboard {
  display: flex;
  height: 100%;
}
.mock-sidebar {
  width: 320px;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  background: rgba(2,6,23,0.4);
}
.mock-sidebar-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-stats {
  display: flex;
  gap: 6px;
  padding: 0 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.mock-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(15,23,42,0.5);
  border: 1px solid rgba(255,255,255,0.04);
}
.mock-stat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.mock-stat-num {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.mock-stat-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-client-list {
  flex: 1;
  overflow: hidden;
  padding: 8px;
}
.mock-client {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  cursor: default;
  transition: background 0.2s ease;
  margin-bottom: 2px;
}
.mock-client:hover, .mock-client.selected {
  background: rgba(139,92,246,0.06);
}
.mock-client.selected {
  border: 1px solid rgba(139,92,246,0.15);
}
.mock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.mock-client-info { flex: 1; min-width: 0; }
.mock-client-name {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-client-preview {
  font-size: 11px;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.mock-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.mock-chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(2,6,23,0.2);
}
.mock-chat-header {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-chat-messages {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

/* ═══════ MOCKUP: Chat messages ═══════ */
.mock-msg {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
  animation: mockMsgIn 0.4s ease-out both;
}
.mock-msg:nth-child(1) { animation-delay: 0.1s; }
.mock-msg:nth-child(2) { animation-delay: 0.3s; }
.mock-msg:nth-child(3) { animation-delay: 0.5s; }
.mock-msg:nth-child(4) { animation-delay: 0.7s; }
.mock-msg:nth-child(5) { animation-delay: 0.9s; }
@keyframes mockMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mock-msg-user {
  align-self: flex-end;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.15);
  color: #e2e8f0;
  border-bottom-right-radius: 4px;
}
.mock-msg-bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: #cbd5e1;
  border-bottom-left-radius: 4px;
}
.mock-msg-bot strong { color: #a78bfa; }
.mock-msg-bot .green { color: #4ade80; }
.mock-msg-bot .amber { color: #fbbf24; }
.mock-msg-bot .blue { color: #60a5fa; }
.mock-msg-bot .pink { color: #f472b6; }

/* ═══════ MOCKUP: Copilot ═══════ */
.mock-copilot {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
}
.mock-copilot-welcome {
  text-align: center;
  padding: 20px 0;
}
.mock-copilot-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(96,165,250,0.08));
  border: 1px solid rgba(139,92,246,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  animation: float 6s ease-in-out infinite;
}
.mock-copilot h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.mock-copilot .subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}
.mock-suggestions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}
.mock-suggestion {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  width: 160px;
  transition: all 0.3s ease;
  cursor: default;
}
.mock-suggestion:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.1); }
.mock-suggestion-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 16px;
}
.mock-suggestion span {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}
.mock-copilot-input {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(15,23,42,0.5);
  border: 1px solid rgba(255,255,255,0.06);
}
.mock-copilot-input span {
  color: rgba(139,92,246,0.4);
  font-size: 16px;
}
.mock-copilot-input p {
  flex: 1;
  font-size: 13px;
  color: #334155;
  margin: 0;
}
.mock-copilot-input .send-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(30,41,59,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 13px;
}

/* ═══════ MOCKUP: Metrics ═══════ */
.mock-metrics {
  padding: 24px;
  height: 100%;
  overflow: hidden;
}
.mock-metrics-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.mock-metrics-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.mock-metrics-header i { color: #a78bfa; font-size: 18px; }
.mock-hero-kpi {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(96,165,250,0.04));
  border: 1px solid rgba(139,92,246,0.12);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.mock-hero-kpi::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139,92,246,0.08), transparent);
  border-radius: 50%;
}
.mock-hero-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #a78bfa;
}
.mock-hero-kpi-value {
  font-size: 42px;
  font-weight: 900;
  color: #a78bfa;
  line-height: 1;
  letter-spacing: -0.03em;
}
.mock-hero-kpi-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mock-hero-kpi-sublabel {
  font-size: 11px;
  color: #475569;
  margin-top: 2px;
}
.mock-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.mock-kpi-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(15,23,42,0.4);
  border: 1px solid rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-kpi-card-icon { font-size: 16px; }
.mock-kpi-card-value {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}
.mock-kpi-card-label {
  font-size: 9px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mock-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mock-chart-card {
  padding: 16px;
  border-radius: 14px;
  background: rgba(15,23,42,0.4);
  border: 1px solid rgba(255,255,255,0.04);
}
.mock-chart-title {
  font-size: 12px;
  font-weight: 800;
  color: #e2e8f0;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-chart-title i { color: #a78bfa; font-size: 12px; }

/* Mini donut via conic-gradient */
.mock-donut {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
}
.mock-donut-hole {
  position: absolute;
  inset: 18px;
  background: rgba(15,23,42,0.9);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mock-donut-hole span:first-child { font-size: 18px; font-weight: 900; color: #fff; }
.mock-donut-hole span:last-child { font-size: 8px; font-weight: 700; color: #475569; text-transform: uppercase; }

/* Mini bar chart */
.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 80px;
  padding-top: 8px;
}
.mock-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(139,92,246,0.3);
  min-height: 4px;
  transition: height 0.5s ease;
}
.mock-bar.highlight {
  background: linear-gradient(to top, rgba(139,92,246,0.4), rgba(139,92,246,0.7));
  box-shadow: 0 0 8px rgba(139,92,246,0.3);
}

/* ═══════ MOCKUP: File Manager ═══════ */
.mock-files {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mock-files-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-files-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(96,165,250,0.15), rgba(59,130,246,0.08));
  border: 1px solid rgba(96,165,250,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 18px;
}
.mock-files-search {
  margin: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15,23,42,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  color: #334155;
  font-size: 13px;
}
.mock-files-search i { color: #475569; font-size: 13px; }
.mock-files-filters {
  display: flex;
  gap: 6px;
  padding: 0 16px;
  margin-bottom: 12px;
}
.mock-file-filter {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: rgba(15,23,42,0.3);
  border: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.mock-file-filter.active {
  color: #fff;
  background: rgba(96,165,250,0.15);
  border-color: rgba(96,165,250,0.25);
}
.mock-file-list {
  flex: 1;
  overflow: hidden;
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-file-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(15,23,42,0.45);
  border: 1px solid rgba(255,255,255,0.05);
  animation: mockMsgIn 0.4s ease-out both;
}
.mock-file-card:nth-child(1) { animation-delay: 0.1s; }
.mock-file-card:nth-child(2) { animation-delay: 0.2s; }
.mock-file-card:nth-child(3) { animation-delay: 0.3s; }
.mock-file-card:nth-child(4) { animation-delay: 0.4s; }
.mock-file-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(30,41,59,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.mock-file-info { flex: 1; min-width: 0; }
.mock-file-name {
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-file-meta {
  font-size: 10px;
  color: #475569;
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mock-file-tags {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.mock-file-tag {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
}
.mock-file-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.mock-file-action {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ═══════ MOCKUP: AI Summary Banner ═══════ */
.mock-ai-summary {
  margin: 8px 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(96,165,250,0.04));
  border: 1px solid rgba(139,92,246,0.12);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mock-ai-summary-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(139,92,246,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  font-size: 12px;
  flex-shrink: 0;
}
.mock-ai-summary-text { font-size: 11px; color: #94a3b8; line-height: 1.5; }
.mock-ai-summary-text strong { color: #c4b5fd; }

/* ═══════ Chat input mockup ═══════ */
.mock-chat-input {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(2,6,23,0.5);
}
.mock-chat-input-box {
  flex: 1;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15,23,42,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: #334155;
}
.mock-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}

/* ═══════ Animated counter ═══════ */
.demo-counter {
  display: inline-block;
  transition: all 0.6s ease-out;
}

/* ═══════ Typing dots ═══════ */
.mock-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  align-self: flex-start;
  width: fit-content;
}
.mock-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a78bfa;
  animation: typing 1.4s infinite;
}
.mock-typing span:nth-child(2) { animation-delay: 0.2s; }
.mock-typing span:nth-child(3) { animation-delay: 0.4s; }

/* ═══════ Responsive ═══════ */
@media (max-width: 1024px) {
  .mock-sidebar { width: 260px; }
  .mock-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .mock-charts-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* --- Demo Tabs: horizontal scroll with hidden scrollbar --- */
  .demo-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .demo-tabs::-webkit-scrollbar { display: none; }
  .demo-tab { padding: 8px 14px; font-size: 12px; }

  /* --- Browser frame: allow content to grow naturally, no clipping --- */
  .demo-browser-content {
    min-height: auto;
    max-height: none;
    overflow: visible;
  }

  /* --- Feature highlights: single column --- */
  .demo-features { grid-template-columns: 1fr; }

  /* ═══ TAB 1: Dashboard — stacked layout, NO sidebar on mobile ═══ */
  .mock-dashboard {
    flex-direction: column;
    height: auto !important;
  }
  /* Hide sidebar completely on mobile — only show chat area */
  .mock-sidebar {
    display: none;
  }
  .mock-chat-area {
    min-height: auto;
  }
  .mock-chat-messages {
    overflow-y: auto;
  }
  /* Smaller avatar on mobile dashboard */
  .mock-client .mock-avatar {
    width: 36px;
    height: 36px;
    font-size: 13px;
    border-radius: 10px;
  }
  .mock-client {
    padding: 10px;
    gap: 10px;
  }
  .mock-client-name { font-size: 12px; }
  .mock-client-preview { font-size: 10px; }
  /* Tighter stats row */
  .mock-stats {
    gap: 4px;
    padding: 0 12px;
    margin-top: 8px;
  }
  .mock-stat {
    padding: 4px 8px;
    border-radius: 8px;
    gap: 4px;
  }
  .mock-stat-num { font-size: 13px; }
  .mock-stat-label { font-size: 8px; }
  .mock-stat-dot { width: 6px; height: 6px; }
  /* Chat area adjustments */
  .mock-chat-header { padding: 10px 14px; gap: 10px; }
  .mock-ai-summary { margin: 6px 14px; padding: 10px 12px; gap: 8px; }
  .mock-ai-summary-text { font-size: 10px; }
  .mock-chat-messages { padding: 12px 14px; gap: 6px; }
  .mock-msg { font-size: 11px; padding: 8px 12px; max-width: 90%; }
  .mock-chat-input { padding: 10px 12px; }

  /* ═══ TAB 2: Copilot — scrollable content, no clipping ═══ */
  #panel-copilot > div {
    height: auto !important;
    min-height: auto;
    padding: 16px !important;
  }
  #panel-copilot > div > div:nth-child(2) {
    /* The conversation container — let it grow fully */
    overflow: visible !important;
    flex: none !important;
  }
  .mock-msg.mock-msg-bot {
    max-width: 95% !important;
  }
  .mock-suggestions { flex-direction: column; align-items: center; }
  .mock-suggestion { width: 100%; max-width: 280px; }
  .mock-copilot-input { margin-top: 16px !important; }

  /* ═══ TAB 3: Metrics — show ALL content, no clipping ═══ */
  .mock-metrics {
    height: auto !important;
    overflow: visible !important;
    padding: 16px !important;
  }
  .mock-metrics-header { margin-bottom: 14px; gap: 8px; }
  .mock-metrics-header h3 { font-size: 16px; }
  .mock-hero-kpi {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    margin-bottom: 12px;
  }
  .mock-hero-kpi-icon { margin: 0 auto; }
  .mock-hero-kpi-value { font-size: 36px; }
  .mock-hero-kpi-label { font-size: 9px; }
  .mock-hero-kpi-sublabel { font-size: 10px; }
  .mock-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
  }
  .mock-kpi-card { padding: 12px; }
  .mock-kpi-card-value { font-size: 20px; }
  .mock-kpi-card-label { font-size: 8px; }
  .mock-charts-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mock-chart-card { padding: 12px; }
  .mock-chart-title { font-size: 11px; margin-bottom: 8px; }
  .mock-donut { width: 80px; height: 80px; }
  .mock-donut-hole { inset: 14px; }
  .mock-donut-hole span:first-child { font-size: 15px; }
  .mock-donut-hole span:last-child { font-size: 7px; }
  .mock-bars { height: 60px; }

  /* ═══ TAB 4: File Manager — everything visible ═══ */
  .mock-files {
    height: auto !important;
  }
  .mock-files-header { padding: 12px 16px; }
  .mock-files-search { margin: 10px 12px; padding: 8px 12px; font-size: 12px; }
  .mock-files-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding: 0 12px;
    margin-bottom: 10px;
  }
  .mock-files-filters::-webkit-scrollbar { display: none; }
  .mock-file-filter {
    flex: 0 0 auto;
    padding: 6px 12px;
    font-size: 10px;
  }
  .mock-file-list {
    padding: 0 10px 10px;
    gap: 6px;
    overflow: visible;
    max-height: none;
  }
  .mock-file-card {
    padding: 10px;
    gap: 10px;
  }
  .mock-file-thumb {
    width: 40px;
    height: 40px;
    font-size: 16px;
    border-radius: 8px;
  }
  .mock-file-name { font-size: 11px; }
  .mock-file-meta { font-size: 9px; }
  .mock-file-tag { font-size: 8px; padding: 2px 6px; }
  .mock-file-action { font-size: 8px; padding: 5px 8px; }
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  padding: 36px 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.pricing-card.featured {
  border-color: transparent;
  background: rgba(124,58,237,0.06);
}
.pricing-card.featured::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(124,58,237,0.5), rgba(6,182,212,0.5), rgba(124,58,237,0.5));
  background-size: 200% 200%; animation: gradientShift 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.pricing-card.featured:hover {
  box-shadow: 0 20px 60px rgba(124,58,237,0.15), 0 0 40px rgba(124,58,237,0.1);
}
.pricing-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; width: fit-content; margin-bottom: 20px;
}
.pricing-name {
  font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 6px;
}
.pricing-desc {
  font-size: 13px; color: #64748b; line-height: 1.5; margin-bottom: 24px; min-height: 40px;
}
.pricing-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px;
}
.pricing-amount {
  font-size: 44px; font-weight: 900; letter-spacing: -0.03em; line-height: 1;
}
.pricing-period {
  font-size: 14px; font-weight: 600; color: #475569;
}
.pricing-note {
  font-size: 11px; color: #475569; margin-bottom: 28px;
}
.pricing-features {
  list-style: none; padding: 0; margin: 0 0 32px 0; display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #94a3b8; font-weight: 500;
}
.pricing-features li i {
  font-size: 12px; width: 18px; text-align: center; flex-shrink: 0;
}
.pricing-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 14px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all 0.3s ease;
  cursor: pointer; border: none; font-family: 'Inter', sans-serif;
}
.pricing-cta-primary {
  background: linear-gradient(135deg, #7C3AED, #6D28D9);
  color: #fff;
  box-shadow: 0 0 20px rgba(124,58,237,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.pricing-cta-primary:hover {
  box-shadow: 0 0 30px rgba(124,58,237,0.6), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-1px);
}
.pricing-cta-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0;
}
.pricing-cta-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

/* ============================================
   Social Proof / Stats Bar
   ============================================ */
.proof-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.proof-stat {
  text-align: center;
}
.proof-stat-value {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.proof-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   Comparison Table
   ============================================ */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(16px);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table thead th {
  padding: 18px 20px;
  text-align: left;
  font-weight: 800;
  font-size: 13px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
}
.compare-table thead th:first-child {
  color: #64748b;
}
.compare-table thead th.highlight {
  color: #a78bfa;
}
.compare-table tbody tr {
  transition: background 0.2s ease;
}
.compare-table tbody tr:hover {
  background: rgba(124,58,237,0.03);
}
.compare-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: #94a3b8;
  font-weight: 500;
}
.compare-table tbody td:first-child {
  font-weight: 700;
  color: #cbd5e1;
}
.compare-table tbody td.highlight {
  color: #fff;
  font-weight: 700;
}
.compare-table .check { color: #22c55e; font-weight: 700; }
.compare-table .cross { color: #475569; }
.compare-table .best { color: #a78bfa; font-weight: 800; }

/* ═══════ Responsive additions ═══════ */
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card { padding: 28px 24px; }
  .pricing-amount { font-size: 36px; }
  .proof-stats { gap: 24px; }
  .proof-stat-value { font-size: 28px; }
  .compare-table { font-size: 12px; }
  .compare-table thead th, .compare-table tbody td { padding: 12px 14px; }
}

/* ═══════ Extra small screens (≤ 400px) ═══════ */
@media (max-width: 400px) {
  .demo-tab { padding: 7px 10px; font-size: 11px; gap: 5px; }
  .demo-tab i { font-size: 12px; }
  .mock-stats { flex-wrap: wrap; }
  .mock-stat { flex: 0 0 auto; }
  .mock-msg { max-width: 95%; font-size: 10px; }
  .mock-charts-row { grid-template-columns: 1fr; }
  .mock-kpi-grid { gap: 6px; }
  .mock-kpi-card { padding: 10px; }
  .mock-kpi-card-value { font-size: 18px; }
}
