/* ============================================
   METALINK VISION — Premium SaaS CRM Website
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #2563EB;
  --primary-light: #3B82F6;
  --secondary: #06B6D4;
  --secondary-light: #14B8A6;
  --accent: #8B5CF6;
  --accent-light: #A855F7;
  --dark: #0F172A;
  --dark-alt: #111827;
  --bg: #F1F5F9;
  --bg-soft-blue: #EEF4FF;
  --bg-soft-purple: #F3F0FF;
  --bg-soft-cyan: #ECFEFF;
  --white: #FFFFFF;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(37, 99, 235, 0.08);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 24px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 12px 40px rgba(37, 99, 235, 0.12);
  --shadow-glow: 0 0 60px rgba(37, 99, 235, 0.18);
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #7C3AED 55%, #06B6D4 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  --gradient-hero: linear-gradient(135deg, #2563EB 0%, #7C3AED 45%, #06B6D4 100%);
  --gradient-surface: linear-gradient(135deg, #EEF4FF 0%, #F3F0FF 50%, #ECFEFF 100%);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 88px;
  --container-max: 1380px;
  --container-gutter: 20px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

.gradient-text {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #0891B2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--sm { padding: 8px 18px; font-size: 0.875rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn--secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
}

.btn--ghost:hover { color: var(--primary); }

.btn--white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--ghost-white {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
}

.btn--ghost-white:hover { color: var(--white); }

/* Ripple effect */
.ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.4) 10%, transparent 10%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10);
  opacity: 0;
  transition: transform 0.5s, opacity 0.8s;
}

.ripple:active::after {
  transform: scale(0);
  opacity: 0.4;
  transition: 0s;
}

/* --- Section Shared --- */
.section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.12);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Explanatory Animated Storyboards --- */
.explain-visual {
  max-width: 880px;
  margin: 0 auto 36px;
  background: linear-gradient(145deg, var(--white), var(--bg-soft-blue));
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.explain-visual--dark {
  background: linear-gradient(145deg, #0F172A, #1E293B);
  border-color: rgba(59, 130, 246, 0.2);
}

.explain-visual--dark .explain-visual__title { color: var(--white); }
.explain-visual--dark .explain-visual__text { color: rgba(255, 255, 255, 0.65); }
.explain-visual--dark .explain-visual__step-num { color: rgba(255, 255, 255, 0.5); }
.explain-visual--dark .explain-visual__step-num em { color: var(--primary-light); }

.explain-visual--compact {
  max-width: 720px;
}

.explain-visual__top {
  margin-bottom: 20px;
}

.explain-visual__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 12px;
}

.explain-visual__live i {
  font-size: 0.5rem;
  color: #22C55E;
  animation: dynBlink 1.5s ease-in-out infinite;
}

.explain-visual--dark .explain-visual__live { color: var(--secondary-light); }

.explain-visual__step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.explain-visual__step-num em {
  font-style: normal;
  color: var(--primary);
  font-size: 1rem;
}

.explain-visual__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  transition: opacity 0.3s ease;
}

.explain-visual__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  transition: opacity 0.3s ease;
}

.explain-visual__stage {
  position: relative;
  min-height: 200px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  overflow: hidden;
}

.explain-visual--dark .explain-visual__stage {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.08);
}

.explain-visual__stage--eco {
  min-height: 100px;
  padding: 20px;
}

.explain-scene {
  position: absolute;
  inset: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: visibility 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.explain-scene--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 2;
}

.explain-visual__track {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.explain-track__step {
  flex: 1;
  min-width: 70px;
  padding: 8px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.explain-track__step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  font-size: 0.625rem;
  color: var(--text-muted);
}

.explain-track__step.is-active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.explain-track__step.is-active span {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.explain-track__step.is-done {
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--primary);
}

.explain-visual--dark .explain-track__step {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

.explain-visual--dark .explain-track__step.is-active {
  background: var(--gradient-primary);
  color: var(--white);
}

.explain-visual__progress {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.explain-visual--dark .explain-visual__progress {
  background: rgba(255, 255, 255, 0.1);
}

.explain-visual__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

.explain-visual--pulse {
  animation: explainPulse 0.55s ease-out;
}

@keyframes explainPulse {
  0% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(59, 130, 246, 0.35); }
  50% { box-shadow: var(--shadow-lg), 0 0 0 6px rgba(59, 130, 246, 0); }
  100% { box-shadow: var(--shadow-md); }
}

/* Scene: Capture */
.scene-capture {
  width: 100%;
  text-align: center;
}

.scene-capture__sources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.scene-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--dark);
  animation: scenePopIn 0.5s ease backwards;
}

.scene-chip:nth-child(2) { animation-delay: 0.1s; }
.scene-chip:nth-child(3) { animation-delay: 0.2s; }
.scene-chip:nth-child(4) { animation-delay: 0.3s; }

.scene-chip i { color: var(--primary); }

.scene-capture__flow {
  height: 40px;
  position: relative;
  margin-bottom: 12px;
}

.scene-packet {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  left: 50%;
  top: 0;
  animation: scenePacketDrop 1.5s ease-in-out infinite;
}

.scene-packet:nth-child(2) { animation-delay: 0.4s; background: var(--accent); }
.scene-packet:nth-child(3) { animation-delay: 0.8s; background: var(--secondary); }

.scene-capture__inbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  animation: scenePulse 2s ease-in-out infinite;
}

/* Scene: Qualify */
.scene-qualify {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.scene-lead-card, .scene-lead-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.scene-lead-card > span, .scene-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.scene-lead-card strong, .scene-lead-profile strong {
  display: block;
  font-size: 0.875rem;
  color: var(--dark);
}

.scene-lead-card small, .scene-lead-profile small {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.scene-lead-profile em {
  display: block;
  font-size: 0.625rem;
  color: var(--primary);
  font-style: normal;
  margin-top: 2px;
}

.scene-ai-engine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-md);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  animation: scenePulse 1.5s ease-in-out infinite;
}

.scene-ai-engine i { font-size: 1.5rem; }

.scene-score-ring {
  position: relative;
  width: 80px;
  height: 80px;
}

.scene-score-ring strong {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.scene-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(34, 197, 94, 0.1);
  color: #16A34A;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
}

.scene-tag--hot { background: rgba(239, 68, 68, 0.1); color: #DC2626; }
.scene-tag--win { background: rgba(37, 99, 235, 0.15); color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }

/* Scene: Automate */
.scene-automate, .scene-crm-auto {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scene-auto-item, .scene-auto-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  color: var(--dark);
  animation: sceneSlideIn 0.5s ease backwards;
}

.scene-auto-item:nth-child(2), .scene-auto-row:nth-child(3) { animation-delay: 0.2s; }
.scene-auto-item:nth-child(3), .scene-auto-row:nth-child(4) { animation-delay: 0.4s; }

.scene-auto-item i, .scene-auto-row i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.scene-check {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22C55E;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  opacity: 0;
  animation: sceneCheckPop 0.4s ease forwards 0.6s;
}

.scene-auto-item:nth-child(2) .scene-check { animation-delay: 0.8s; }
.scene-auto-item:nth-child(3) .scene-check { animation-delay: 1s; }

/* Scene: Pipeline */
.scene-pipeline, .scene-crm-pipe, .scene-pipe {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.scene-pipe-col {
  flex: 1;
  max-width: 100px;
  padding: 12px 8px;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  min-height: 100px;
}

.scene-pipe-col > span {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.scene-pipe-col--active {
  background: rgba(37, 99, 235, 0.06);
  border: 2px solid var(--primary);
  border-style: solid;
}

.scene-deal-card {
  padding: 10px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.scene-deal-card--moving {
  animation: sceneDealMove 2s ease-in-out infinite;
}

.scene-deal-card--ghost {
  background: var(--border);
  color: var(--text-muted);
}

/* Scene: Analyze */
.scene-analyze {
  width: 100%;
  text-align: center;
}

.scene-analyze .scene-stat {
  display: inline-block;
  margin: 0 12px 16px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 90px;
}

.scene-stat span {
  display: block;
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.scene-stat-val {
  font-size: 1.25rem;
  color: var(--primary);
}

.scene-analyze__chart, .scene-forecast-svg {
  width: 100%;
  max-width: 280px;
  height: 60px;
  margin: 0 auto;
  display: block;
}

.scene-chart-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawForecastLine 2s ease forwards 0.3s;
}

/* Scene: Optimize */
.scene-optimize {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.scene-insight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  color: var(--dark);
  width: 100%;
  max-width: 360px;
  animation: sceneSlideIn 0.5s ease backwards;
}

.scene-insight:nth-child(2) { animation-delay: 0.2s; }
.scene-insight i { color: var(--accent); }

.scene-growth-badge {
  margin-top: 8px;
  padding: 12px 24px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: scenePulse 2s ease-in-out infinite;
}

/* CRM scenes */
.scene-crm-lead { width: 100%; text-align: center; }
.scene-lead-in {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: scenePulse 1.5s ease-in-out infinite;
}

.explain-visual--dark .scene-lead-profile,
.explain-visual--dark .scene-auto-row,
.explain-visual--dark .scene-auto-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.explain-visual--dark .scene-lead-profile strong { color: var(--white); }
.explain-visual--dark .scene-lead-profile small { color: rgba(255, 255, 255, 0.5); }

.scene-lead-profile--compact { margin-bottom: 12px; }

.scene-score-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  animation: scenePulse 1.5s ease-in-out infinite;
}

.scene-score-result {
  text-align: center;
  padding: 16px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-md);
}

.scene-score-result span { font-size: 0.6875rem; color: rgba(255, 255, 255, 0.5); }
.scene-score-result strong { display: block; font-size: 2.5rem; color: var(--primary-light); }
.scene-score-result small { font-size: 0.6875rem; color: #22C55E; }

.scene-crm-forecast {
  width: 100%;
  text-align: center;
}

.scene-forecast-kpi {
  display: inline-block;
  margin: 0 16px 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.scene-forecast-kpi small { display: block; font-size: 0.625rem; color: rgba(255, 255, 255, 0.5); }
.scene-forecast-kpi strong { font-size: 1.125rem; color: var(--white); }

/* Ecosystem flow */
.eco-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.eco-flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.4s ease;
  min-width: 64px;
}

.eco-flow__node i { font-size: 1.125rem; color: var(--primary); transition: color 0.3s; }

.eco-flow__node.is-active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.eco-flow__node.is-active i { color: var(--white); }

.eco-flow__node.is-done {
  border-color: var(--primary);
  color: var(--primary);
}

.eco-flow__connector {
  width: 24px;
  height: 2px;
  background: var(--border);
  position: relative;
  flex-shrink: 0;
}

.eco-flow__pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  top: -3px;
  left: 0;
  animation: ecoPulseMove 1.2s ease-in-out infinite;
}

/* Marketing funnel */
.scene-mkt-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.scene-funnel-step {
  width: 100%;
  max-width: 280px;
  padding: 14px 20px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s ease;
}

.scene-funnel-step--dim {
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transform: scale(0.95);
  opacity: 0.6;
}

.scene-funnel-arrow {
  color: var(--primary);
  font-size: 0.75rem;
  animation: sceneBounce 1s ease-in-out infinite;
}

.scene-mkt-roi {
  text-align: center;
}

.scene-roi-ring {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: scenePulse 2s ease-in-out infinite;
}

.scene-roi-ring strong { font-size: 2rem; line-height: 1; }
.scene-roi-ring span { font-size: 0.75rem; opacity: 0.8; }

.scene-mkt-roi p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@keyframes scenePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(37, 99, 235, 0); }
  50% { transform: scale(1.02); box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2); }
}

@keyframes scenePopIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes scenePacketDrop {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 36px); opacity: 0; }
}

@keyframes sceneSlideIn {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes sceneCheckPop {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes sceneDealMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@keyframes sceneBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes ecoPulseMove {
  0% { left: 0; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@media (max-width: 768px) {
  .explain-visual { padding: 16px; }
  .explain-visual__stage { min-height: 180px; padding: 16px; }
  .explain-track__step { min-width: 56px; font-size: 0.5625rem; }
  .scene-qualify { flex-direction: column; }
  .eco-flow__connector { width: 16px; }
  .eco-flow__node { min-width: 52px; padding: 8px 10px; }
}

/* --- Dynamic Section Visuals (no static images) --- */
.dyn-visual {
  max-width: 520px;
  margin: 0 auto 28px;
}

.dyn-visual__frame {
  background: linear-gradient(145deg, var(--white), var(--bg-soft-blue));
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}

.dyn-visual__frame--dark {
  background: linear-gradient(145deg, #0F172A, #1E293B);
  border-color: rgba(59, 130, 246, 0.2);
}

/* Hub - Why Choose */
.dyn-hub {
  position: relative;
  height: 200px;
}

.dyn-hub__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
  z-index: 2;
  animation: dynPulse 3s ease-in-out infinite;
}

.dyn-hub__core i { font-size: 1.25rem; margin-bottom: 2px; }

.dyn-hub__node {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.dyn-hub__node small {
  font-size: 0.5625rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.dyn-hub__node--1 { top: 8px; left: 50%; transform: translateX(-50%); }
.dyn-hub__node--2 { top: 50%; right: 8px; transform: translateY(-50%); }
.dyn-hub__node--3 { bottom: 8px; right: 20%; }
.dyn-hub__node--4 { bottom: 8px; left: 20%; }
.dyn-hub__node--5 { top: 50%; left: 8px; transform: translateY(-50%); }

.dyn-hub__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.dyn-hub__lines path {
  fill: none;
  stroke: rgba(37, 99, 235, 0.2);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: dynDash 20s linear infinite;
}

/* Cycle - Ecosystem */
.dyn-cycle {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dyn-cycle__center {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  box-shadow: var(--shadow-glow);
}

.dyn-cycle__center strong { font-size: 0.75rem; }

.dyn-cycle__ring {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 2px dashed rgba(37, 99, 235, 0.25);
  border-radius: 50%;
  animation: dynSpin 30s linear infinite;
}

.dyn-cycle__step {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.dyn-cycle__step span { font-size: 0.5rem; color: var(--text-muted); margin-top: 1px; }
.dyn-cycle__step--1 { top: 0; left: 50%; transform: translateX(-50%); }
.dyn-cycle__step--2 { top: 28%; right: 12%; }
.dyn-cycle__step--3 { bottom: 12%; right: 18%; }
.dyn-cycle__step--4 { bottom: 12%; left: 18%; }
.dyn-cycle__step--5 { top: 28%; left: 12%; }

/* Pipeline - How It Works */
.dyn-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.dyn-pipeline__stage {
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--dark);
  min-width: 64px;
}

.dyn-pipeline__stage i {
  display: block;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 4px;
}

.dyn-pipeline__stage--ai {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
}

.dyn-pipeline__stage--ai i { color: var(--white); }

.dyn-pipeline__arrow {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  position: relative;
}

.dyn-pipeline__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  top: -2px;
  animation: dynFlowDot 2s ease-in-out infinite;
}

.dyn-pipeline__chart { width: 100%; height: 50px; }

/* CRM Dashboard */
.dyn-crm__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dyn-crm__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dyn-crm__bar span:nth-child(1) { background: #EF4444; }
.dyn-crm__bar span:nth-child(2) { background: #F59E0B; }
.dyn-crm__bar span:nth-child(3) { background: #22C55E; }

.dyn-crm__bar em {
  margin-left: auto;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: normal;
}

.dyn-crm__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.dyn-crm__kpi {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 8px;
  text-align: center;
}

.dyn-crm__kpi small {
  display: block;
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.5);
}

.dyn-crm__kpi strong {
  display: block;
  font-size: 0.875rem;
  color: var(--white);
}

.dyn-crm__up {
  font-size: 0.5625rem;
  color: #22C55E;
  font-weight: 600;
}

.dyn-crm__chart { width: 100%; height: 60px; }

/* Marketing AI */
.dyn-mkt__header {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dyn-mkt__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.dyn-mkt__metric {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
}

.dyn-mkt__metric span {
  display: block;
  font-size: 0.5625rem;
  color: var(--text-muted);
}

.dyn-mkt__metric strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--dark);
  margin: 2px 0 6px;
}

.dyn-mkt__spark {
  height: 4px;
  border-radius: 2px;
  background: var(--gradient-primary);
}

.dyn-mkt__spark--1 { width: 75%; margin: 0 auto; }
.dyn-mkt__spark--2 { width: 88%; margin: 0 auto; }
.dyn-mkt__spark--3 { width: 92%; margin: 0 auto; }

.dyn-mkt__flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: var(--radius-sm);
}

.dyn-mkt__flow i { color: var(--primary); font-size: 0.625rem; }

/* AI Intelligence Panel */
.dyn-ai-panel {
  position: relative;
  min-height: 280px;
}

.dyn-ai-panel__brain {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
  animation: dynPulse 2.5s ease-in-out infinite;
}

.dyn-ai-panel__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.dyn-ai-panel__metric {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px;
  text-align: center;
}

.dyn-ai-panel__metric span {
  display: block;
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.5);
}

.dyn-ai-panel__metric strong {
  font-size: 1rem;
  color: var(--white);
}

/* AI Intelligence Chart */
.ai-intel-chart {
  margin-top: 4px;
}

.ai-intel-chart__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.ai-intel-chart__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-intel-chart__live i {
  font-size: 0.4375rem;
  color: #22C55E;
  animation: dynBlink 1.5s ease-in-out infinite;
}

.ai-intel-chart__legend {
  display: flex;
  gap: 14px;
}

.ai-intel-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.55);
}

.ai-intel-chart__legend-item i {
  width: 14px;
  height: 3px;
  border-radius: 2px;
  display: inline-block;
}

.ai-intel-chart__legend-item--win i {
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
}

.ai-intel-chart__legend-item--lead i {
  background: linear-gradient(90deg, #A855F7, #C084FC);
  opacity: 0.85;
}

.ai-intel-chart__wrap {
  position: relative;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 4px 4px;
  cursor: crosshair;
}

.ai-intel-chart__svg {
  width: 100%;
  height: auto;
  display: block;
}

.ai-intel-chart__grid line {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.ai-intel-chart__axis-label {
  fill: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  font-family: Inter, system-ui, sans-serif;
  text-anchor: end;
}

.ai-intel-chart__axis-label--x {
  text-anchor: middle;
}

.ai-intel-chart__band {
  fill: url(#aiBandFill);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.ai-intel-chart__area {
  fill: url(#aiWinFill);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.ai-intel-chart.is-chart-active .ai-intel-chart__area,
.ai-intel-chart.is-chart-active .ai-intel-chart__band {
  opacity: 1;
}

.ai-intel-chart__line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-intel-chart__line--win {
  stroke: #3B82F6;
  stroke-width: 2.5;
}

.ai-intel-chart__line--lead {
  stroke: #A855F7;
  stroke-width: 2;
  stroke-dasharray: 6 5;
}

.ai-intel-chart__crosshair {
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.ai-intel-chart.is-chart-hover .ai-intel-chart__crosshair {
  opacity: 1;
}

.ai-intel-chart__dot {
  opacity: 0;
  transition: opacity 0.3s ease, r 0.25s ease;
  pointer-events: none;
}

.ai-intel-chart.is-chart-active .ai-intel-chart__dot {
  opacity: 1;
}

.ai-intel-chart__dot--win {
  fill: #3B82F6;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1;
}

.ai-intel-chart__dot--lead {
  fill: #A855F7;
  stroke: none;
}

.ai-intel-chart__dot--active,
.ai-intel-chart__dot.is-dot-highlight {
  fill: #fff;
  stroke: #3B82F6;
  stroke-width: 2.5;
  filter: url(#aiDotGlow);
}

.ai-intel-chart__dot--lead.is-dot-highlight {
  fill: #C084FC;
  stroke: #fff;
  stroke-width: 1.5;
}

.ai-intel-chart__tooltip {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 140px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
  z-index: 3;
}

.ai-intel-chart.is-chart-hover .ai-intel-chart__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.ai-intel-chart__tooltip-month {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.ai-intel-chart__tooltip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

.ai-intel-chart__tooltip-row strong {
  margin-left: auto;
  color: #fff;
  font-weight: 700;
}

.ai-intel-chart__tooltip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ai-intel-chart__tooltip-dot--win {
  background: #3B82F6;
}

.ai-intel-chart__tooltip-dot--lead {
  background: #A855F7;
}

.dyn-ai-panel__pulse {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: dynBlink 1.5s ease-in-out infinite;
}

/* Results Viz */
.dyn-results-viz__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  height: 120px;
  padding-top: 10px;
}

.dyn-results-viz__bar {
  width: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.dyn-results-viz__bar::before {
  content: '';
  width: 100%;
  height: var(--h, 50%);
  background: var(--gradient-primary);
  border-radius: 6px 6px 0 0;
  animation: dynBarGrow 1.2s ease forwards;
  transform-origin: bottom;
}

.dyn-results-viz__bar span {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.dyn-results-viz__badge {
  margin-top: 12px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Author Avatars */
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.author-avatar--blue { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.author-avatar--purple { background: linear-gradient(135deg, #7C3AED, #8B5CF6); }
.author-avatar--cyan { background: linear-gradient(135deg, #06B6D4, #14B8A6); }
.author-avatar--teal { background: linear-gradient(135deg, #14B8A6, #06B6D4); }
.author-avatar--violet { background: linear-gradient(135deg, #8B5CF6, #A855F7); }

@keyframes dynPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.3); }
  50% { box-shadow: 0 0 40px rgba(37, 99, 235, 0.5); }
}

@keyframes dynDash {
  to { stroke-dashoffset: -100; }
}

@keyframes dynSpin {
  to { transform: rotate(360deg); }
}

@keyframes dynFlowDot {
  0% { left: 0; }
  100% { left: 100%; }
}

@keyframes dynBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes dynBarGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* --- Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
}

.header.scrolled,
.header.header--over-dark {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 20px;
  height: var(--header-height);
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
  flex-shrink: 0;
}

/* --- Brand Logo (METALINK VISION) --- */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand-logo--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.brand-logo--footer:hover {
  opacity: 1;
}

.brand-logo:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

.brand-logo__mark {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.nav__logo.brand-logo {
  gap: 16px;
}

.brand-logo__mark--footer {
  width: 96px;
  height: auto;
  filter: drop-shadow(0 4px 18px rgba(34, 211, 238, 0.35));
}

.brand-logo__wordmark--footer {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  white-space: nowrap;
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.3));
}

.brand-logo__wordmark--footer strong {
  font-weight: 900;
  background: linear-gradient(90deg, #38bdf8 0%, #22d3ee 55%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.5));
}

.brand-logo__mark--core {
  width: 60px;
  height: auto;
  margin: 0 auto 4px;
  filter: drop-shadow(0 2px 12px rgba(6, 182, 212, 0.35));
}

.brand-logo__wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--dark);
  white-space: nowrap;
}

.brand-logo__wordmark--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  white-space: normal;
}

.brand-logo__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.95);
}

.brand-logo__tag {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #22d3ee;
}

.brand-logo__img {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-logo__img--nav {
  height: 68px;
  width: auto;
  max-height: calc(var(--header-height) - 20px);
  object-fit: contain;
  filter: contrast(1.06) brightness(1.03);
}

.header.header--over-dark .brand-logo__img--nav,
.header.scrolled .brand-logo__img--nav {
  filter: contrast(1.08) brightness(1.05);
}

.brand-logo__img--hub {
  width: 72px;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-logo__img--modal {
  width: 56px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

.brand-logo__img--footer {
  width: 168px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(30, 136, 255, 0.2));
}

@media (max-width: 768px) {
  .brand-logo__img--nav {
    height: 56px;
  }

  .brand-logo__mark--footer {
    width: 84px;
  }

  .brand-logo__wordmark--footer {
    font-size: 1.05rem;
    letter-spacing: 0.1em;
  }
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__menu > li:not(.nav__mobile-actions) {
  display: flex;
  align-items: center;
}

.nav__menu .nav__mobile-actions {
  display: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  line-height: 1;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: all var(--transition);
  transform: translateX(-50%);
  pointer-events: none;
}

.nav__link:hover,
.nav__link.active {
  color: var(--dark);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 60%;
}

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.nav__actions .btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1100px) {
  .nav__link {
    padding: 0 10px;
    font-size: 0.8125rem;
  }

  .brand-logo__img--nav {
    height: 62px;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 40px) 0 80px;
  overflow: hidden;
  background: var(--white);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.65;
  pointer-events: none;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__eclipse {
  position: absolute;
  z-index: 1;
  width: clamp(380px, 40vw, 540px);
  height: clamp(380px, 40vw, 540px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.5);
  background: radial-gradient(
    circle,
    transparent 50%,
    rgba(168, 85, 247, 0.08) 55%,
    rgba(139, 92, 246, 0.16) 62%,
    rgba(168, 85, 247, 0.1) 66%,
    transparent 72%
  );
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.1),
    0 0 160px rgba(168, 85, 247, 0.22),
    inset 0 0 100px rgba(139, 92, 246, 0.08);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero__glow--1 {
  width: clamp(440px, 44vw, 620px);
  height: clamp(440px, 44vw, 620px);
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.28) 0%,
    rgba(139, 92, 246, 0.16) 38%,
    rgba(37, 99, 235, 0.1) 58%,
    transparent 74%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: rgba(139, 92, 246, 0.1);
  bottom: 10%;
  left: -5%;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero__title .text-reveal {
  display: block;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero__stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Dashboard Visual */
.hero__visual {
  perspective: 1000px;
  position: relative;
}

.dashboard {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.dashboard__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
}

.dashboard__dots {
  display: flex;
  gap: 6px;
}

.dashboard__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard__dots span:nth-child(1) { background: #EF4444; }
.dashboard__dots span:nth-child(2) { background: #F59E0B; }
.dashboard__dots span:nth-child(3) { background: #22C55E; }

.dashboard__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  flex: 1;
}

.dashboard__ai-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dashboard__body {
  padding: 20px;
  position: relative;
}

.dashboard__chart {
  margin-bottom: 16px;
}

.chart-svg {
  width: 100%;
  height: auto;
}

.chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 2s ease forwards 0.5s;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.dashboard__metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.dashboard__metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.dashboard__metric-value small {
  font-size: 0.875rem;
  color: #22C55E;
  font-weight: 600;
}

.dashboard__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.float-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.float-card i {
  font-size: 1rem;
  color: var(--primary);
}

.float-card__value {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dark);
}

.float-card__label {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.float-card--1 { animation: float 4s ease-in-out infinite; }
.float-card--2 { animation: float 4s ease-in-out infinite 1s; }
.float-card--3 { animation: float 4s ease-in-out infinite 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ai-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 20px 20px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(139, 92, 246, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
}

.ai-widget__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.875rem;
}

.ai-widget__title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark);
}

.ai-widget__msg {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.ai-widget__btn {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.ai-widget__btn:hover {
  background: rgba(37, 99, 235, 0.15);
}

/* --- Trusted --- */
.trusted {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trusted__label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}

.trusted__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity var(--transition);
}

.trusted__logo svg {
  height: 28px;
  color: var(--dark);
}

.trusted__logo:hover { opacity: 0.8; }

/* --- Why Choose --- */
.why {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft-blue) 100%);
}

.why::before {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

/* --- Glass Cards (Why Choose) --- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(238, 244, 255, 0.6));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(37, 99, 235, 0.2), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.glass-card:hover::before { opacity: 1; }

.glass-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.glass-card:hover .glass-card__icon {
  transform: scale(1.1) rotate(-5deg);
}

.glass-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.glass-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.why__card--wide {
  grid-column: span 1;
}

/* --- Ecosystem --- */
.ecosystem {
  background: linear-gradient(180deg, var(--bg-soft-blue) 0%, var(--white) 100%);
}

.ecosystem::before {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
}

.ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.ecosystem__card {
  text-align: center;
  padding: 28px 18px;
  background: linear-gradient(160deg, var(--white), var(--bg-soft-cyan));
  border: 1px solid rgba(6, 182, 212, 0.12);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.ecosystem__card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.ecosystem__illustration {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}

.ecosystem__illustration svg {
  width: 100%;
  height: 100%;
}

.ecosystem__step {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.ecosystem__card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.ecosystem__card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Timeline --- */
.timeline-section {
  background: linear-gradient(180deg, var(--bg-soft-cyan) 0%, var(--white) 100%);
}

.timeline-section::before {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  top: 20%;
  right: -120px;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline__progress {
  position: absolute;
  left: 15px;
  top: 0;
  width: 3px;
  height: 0%;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: height 0.3s ease;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border);
  border-radius: 3px;
}

.timeline__item {
  position: relative;
  padding-bottom: 40px;
}

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

.timeline__dot {
  position: absolute;
  left: -40px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all var(--transition);
}

.timeline__dot span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.timeline__item.active .timeline__dot {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.timeline__item.active .timeline__dot span {
  color: var(--white);
}

.timeline__content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.timeline__content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Feature Tabs --- */
.crm-features {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft-blue) 100%);
}

.feature-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.feature-tabs__btn {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}

.feature-tabs__btn:hover {
  color: var(--primary);
  border-color: var(--primary-light);
}

.feature-tabs__btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.feature-tabs__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

.feature-tabs__panel.active { display: grid; }

/* All features visible — premium grid in feature-grid.css */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-tabs__info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-tabs__info p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text);
  padding: 6px 0;
}

.feature-list i {
  color: var(--secondary);
  font-size: 0.875rem;
}

.preview-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.preview-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  transition: transform var(--transition);
}

.preview-card__row:hover { transform: translateX(4px); }

.preview-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.preview-card__row strong {
  display: block;
  font-size: 0.875rem;
  color: var(--dark);
}

.preview-card__row small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.preview-card__score {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Preview variants */
.pipeline-stage { margin-bottom: 12px; }
.pipeline-stage span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
.pipeline-bar {
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 1s ease;
}

.flow-node {
  text-align: center;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
}

.flow-node--ai {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
}

.flow-arrow {
  text-align: center;
  color: var(--text-muted);
  padding: 4px 0;
}

.preview-card--calendar {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.cal-day {
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  flex: 1;
}

.cal-day span {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.cal-day strong {
  font-size: 1.125rem;
  color: var(--dark);
}

.cal-day.active {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
}

.cal-day.active span,
.cal-day.active strong { color: var(--white); }

.cal-day.booked {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.preview-card--kanban {
  display: flex;
  gap: 12px;
}

.kanban-col {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px;
}

.kanban-col > span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.kanban-card {
  background: var(--bg);
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 6px;
  border-left: 3px solid var(--primary);
}

.preview-card--score {
  display: flex;
  justify-content: center;
  padding: 32px;
}

.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
}

.score-ring svg { width: 100%; height: 100%; }

.score-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.intel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 0.8125rem;
}

.intel-item i { color: var(--accent); }

.preview-card--forecast {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  min-height: 160px;
  padding: 20px 24px 16px;
}

.forecast-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 130px;
}

.forecast-bar span {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.forecast-bar__fill {
  width: 100%;
  min-height: 24px;
  background: var(--gradient-primary);
  border-radius: 6px 6px 0 0;
  transition: height 0.8s ease;
}

/* --- Bento Grid --- */
.marketing {
  background: linear-gradient(135deg, var(--bg-soft-purple) 0%, var(--bg-soft-blue) 50%, var(--bg-soft-cyan) 100%);
}

.marketing::before {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 20px;
  align-items: stretch;
}

.bento-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 240, 255, 0.5));
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 168px;
  height: 100%;
}

.bento-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; min-height: 200px; }
.bento-card:nth-child(2) { grid-column: 3; grid-row: 1; }
.bento-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.bento-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.bento-card:nth-child(5) { grid-column: 3; grid-row: 2; }
.bento-card:nth-child(6) { grid-column: 1 / 3; grid-row: 3; }
.bento-card:nth-child(7) { grid-column: 3; grid-row: 3; }

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.2);
}

.bento-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.125rem;
  margin-bottom: 14px;
  flex-shrink: 0;
  transition: all var(--transition);
}

.bento-card:hover .bento-card__icon {
  background: var(--gradient-primary);
  color: var(--white);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.bento-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.bento-card__visual {
  margin-top: auto;
  padding-top: 16px;
}

.seo-bar {
  margin-bottom: 12px;
}

.seo-bar span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.seo-progress {
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 1.5s ease;
}

/* --- AI Intelligence --- */
.ai-intelligence {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.ai-intelligence .section__title { color: var(--white); }
.ai-intelligence .section__subtitle { color: rgba(255, 255, 255, 0.6); }
.ai-intelligence .section__badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-light);
}

.ai-intelligence__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: 0;
}

.ai-intelligence .container { position: relative; z-index: 1; }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 20px;
  align-items: stretch;
}

.ai-grid__stack {
  grid-column: 1 / 3;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

.ai-grid__stack .ai-card {
  flex: 1;
  min-height: 0;
}

.ai-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 140px;
}

.ai-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.ai-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.ai-card:nth-child(3) { grid-column: 3; grid-row: 1; }
.ai-card:nth-child(4) { grid-column: 4; grid-row: 1; }

.ai-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.15);
}

.ai-card > i {
  font-size: 1.375rem;
  color: var(--primary-light);
  margin-bottom: 14px;
  display: block;
  flex-shrink: 0;
}

.ai-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.ai-card p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  flex: 1;
}

.ai-card--highlight {
  grid-column: 3 / 5;
  grid-row: 2;
  min-height: 0;
  align-self: stretch;
}

.ai-card__chart {
  margin-top: auto;
  padding-top: 14px;
}

.ai-card__chart .forecast-chart {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 12px 8px;
}

/* --- Forecast Chart (shared) --- */
.forecast-chart__legend {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.forecast-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.forecast-chart__legend-item i {
  display: inline-block;
  width: 16px;
  height: 3px;
  border-radius: 2px;
}

.forecast-chart__legend-item--forecast i {
  background: #3B82F6;
}

.forecast-chart__legend-item--confidence i {
  background: repeating-linear-gradient(90deg, #A855F7 0 4px, transparent 4px 7px);
}

.forecast-chart__svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 100px;
}

.forecast-chart__line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawForecastLine 2s ease forwards 0.3s;
}

.forecast-chart__confidence {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawForecastLine 2.2s ease forwards 0.6s;
}

.forecast-chart__area {
  opacity: 0;
  animation: fadeChartArea 1s ease forwards 1s;
}

.forecast-chart__dot {
  opacity: 0;
  animation: fadeChartDot 0.5s ease forwards 1.4s;
}

@keyframes drawForecastLine {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeChartArea {
  to { opacity: 1; }
}

@keyframes fadeChartDot {
  to { opacity: 1; }
}

/* Light theme variant (CRM tab) */
.forecast-chart--light {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.forecast-chart--light .forecast-chart__legend-item {
  color: var(--text-muted);
}

.preview-card--forecast-chart {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.preview-card--forecast-chart .forecast-chart__svg {
  min-height: 130px;
}

/* --- Industries --- */
.industries {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft-purple) 80%, var(--white) 100%);
}

.industries::before {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  top: -60px;
  left: 30%;
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.industry-card {
  text-align: center;
  padding: 28px 18px;
  background: linear-gradient(160deg, var(--white), rgba(243, 240, 255, 0.6));
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--accent)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.industry-card:hover::after { opacity: 1; }

.industry-card > i {
  font-size: 2rem;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  display: block;
  transition: transform var(--transition);
}

.industry-card:hover > i { transform: scale(1.15); }

.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Results --- */
.results {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft-blue) 100%);
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.result-card {
  text-align: center;
  padding: 32px 18px;
  background: linear-gradient(160deg, var(--white), var(--bg-soft-blue));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: all var(--transition);
}

.result-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.result-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.result-card__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Testimonials --- */
.testimonials { background: var(--bg); }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-card__video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
}

.testimonial-card__stars {
  color: #F59E0B;
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}

.testimonial-card blockquote {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
  margin-bottom: 24px;
  font-style: normal;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--dark);
}

.testimonial-card__author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.testimonials__slider .swiper-pagination {
  position: relative;
  margin-top: 32px;
}

.testimonials__slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--border);
  opacity: 1;
  transition: all var(--transition);
}

.testimonials__slider .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* --- Pricing --- */
.pricing { background: var(--white); }

.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.pricing__toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.pricing__toggle-label.active { color: var(--dark); font-weight: 600; }

.pricing__save {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 4px;
}

.pricing__switch {
  width: 52px;
  height: 28px;
  background: var(--border);
  border-radius: 100px;
  position: relative;
  transition: background var(--transition);
}

.pricing__switch.active { background: var(--primary); }

.pricing__switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.pricing__switch.active .pricing__switch-thumb {
  transform: translateX(24px);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card--popular {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(37, 99, 235, 0.1);
  transform: scale(1.03);
}

.pricing-card--popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gradient-primary);
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card__price {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
}

.pricing-card__currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-card__features {
  margin-bottom: 28px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.pricing-card__features li:last-child { border-bottom: none; }

.pricing-card__features i {
  color: var(--secondary);
  font-size: 0.8125rem;
}

.pricing__comparison h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: var(--dark);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--dark);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.02);
}

/* --- FAQ --- */
.faq { background: var(--bg); }

.faq__list {
  max-width: 750px;
  margin: 0 auto;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq__item.active {
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.2);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: color var(--transition);
}

.faq__question:hover { color: var(--primary); }

.faq__question i {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq__item.active .faq__question i {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--gradient-hero);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(80px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section__content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-section__content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.cta-section__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__links h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__links li { margin-bottom: 10px; }

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--white); }

.footer__newsletter {
  min-width: 0;
}

.footer__newsletter h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer__newsletter p {
  font-size: 0.8125rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.newsletter-form input {
  flex: 1 1 auto;
  min-width: 0;
  width: 0;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  border-color: var(--primary-light);
}

.newsletter-form .btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 44px;
  padding: 0 14px;
  align-self: stretch;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer__legal a:hover { color: var(--white); }

@media (min-width: 1440px) {
  :root {
    --container-max: 1440px;
    --container-gutter: 24px;
  }
}

@media (min-width: 1600px) {
  :root {
    --container-max: 1520px;
    --container-gutter: 28px;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    perspective: none;
  }

  .hero__eclipse {
    left: 50%;
    width: clamp(300px, 60vw, 460px);
    height: clamp(300px, 60vw, 460px);
  }

  .hero__glow--1 {
    left: 50%;
    width: clamp(360px, 66vw, 540px);
    height: clamp(360px, 66vw, 540px);
  }

  .dashboard {
    transform: none !important;
    width: 100%;
    max-width: 100%;
  }

  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .ecosystem__grid { grid-template-columns: repeat(3, 1fr); }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .bento-card:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .bento-card:nth-child(2) { grid-column: 1; grid-row: auto; }
  .bento-card:nth-child(3) { grid-column: 2; grid-row: auto; }
  .bento-card:nth-child(4) { grid-column: 1; grid-row: auto; }
  .bento-card:nth-child(5) { grid-column: 2; grid-row: auto; }
  .bento-card:nth-child(6) { grid-column: 1 / 3; grid-row: auto; }
  .bento-card:nth-child(7) { grid-column: 1 / 3; grid-row: auto; }

  .ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .ai-card:nth-child(1),
  .ai-card:nth-child(2),
  .ai-card:nth-child(3),
  .ai-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .ai-grid__stack {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .ai-card--highlight {
    grid-column: 1 / 3;
    grid-row: auto;
  }
  .industries__grid { grid-template-columns: repeat(3, 1fr); }
  .results__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: span 3; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .dyn-visual {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .dyn-hub, .dyn-cycle { height: 180px; }
  .dyn-pipeline__stage { min-width: 56px; padding: 8px 10px; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex: none;
    padding: calc(var(--header-height) + 24px) 32px 32px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 1000;
  }

  .nav__menu.open { right: 0; }

  .nav__menu > li {
    height: auto;
    width: 100%;
  }

  .nav__link {
    font-size: 1rem;
    padding: 12px 0;
    width: 100%;
    height: auto;
    justify-content: flex-start;
  }

  .nav__link::after {
    bottom: 8px;
    left: 0;
    transform: none;
  }

  .nav__link:hover::after,
  .nav__link.active::after {
    width: 40px;
  }

  .nav__actions { display: none; }

  .nav__toggle { display: flex; }

  .nav__menu .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }

  .why__grid { grid-template-columns: 1fr; }
  .ecosystem__grid { grid-template-columns: 1fr 1fr; }
  .feature-tabs__panel { grid-template-columns: 1fr; }
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
    min-height: auto;
  }

  .ai-grid { grid-template-columns: 1fr; }

  .ai-card:nth-child(n) { grid-column: 1; }

  .ai-grid__stack {
    grid-column: 1;
    flex-direction: column;
  }

  .ai-card--highlight { grid-column: 1; }
  .industries__grid { grid-template-columns: 1fr 1fr; }
  .results__grid { grid-template-columns: 1fr 1fr; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-card--popular { transform: none; }
  .pricing-card--popular:hover { transform: translateY(-4px); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .footer__newsletter { grid-column: span 2; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__cta .btn { width: 100%; max-width: 280px; }
  .dashboard__cards { grid-template-columns: 1fr; }
  .cta-section__buttons { flex-direction: column; align-items: center; }
  .cta-section__buttons .btn { width: 100%; max-width: 280px; }
}

@media (max-width: 768px) {
  .hero__container {
    gap: 40px;
  }

  .hero__eclipse {
    opacity: 0.9;
    width: min(300px, 86vw);
    height: min(300px, 86vw);
  }

  .hero__visual {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    transform: none !important;
  }

  .hero__visual[data-aos] {
    transform: none !important;
    opacity: 1 !important;
  }

  .dashboard {
    transform: none !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .dashboard__header {
    flex-wrap: wrap;
    row-gap: 8px;
    padding: 12px 16px;
  }

  .dashboard__title {
    flex: 1 1 auto;
    min-width: 0;
  }

  .dashboard__ai-badge {
    flex-shrink: 0;
    font-size: 0.6875rem;
    padding: 3px 8px;
  }

  .dashboard__body {
    padding: 16px;
  }

  .ai-widget {
    margin: 12px 16px 16px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  :root {
    --container-gutter: 16px;
  }

  .container { padding: 0 16px; }
  .ecosystem__grid { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: 1fr; }
  .results__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand,
  .footer__newsletter { grid-column: span 1; }
  .hero__stats { flex-direction: column; gap: 12px; }
  .hero__stat-divider { width: 40px; height: 1px; }
  .feature-tabs__nav { gap: 6px; }
  .feature-tabs__btn { font-size: 0.75rem; padding: 8px 12px; }
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .forecast-chart__line,
  .forecast-chart__confidence {
    stroke-dashoffset: 0;
  }

  .forecast-chart__area,
  .forecast-chart__dot {
    opacity: 1;
  }

  .dyn-hub__core,
  .dyn-hub__lines path,
  .dyn-cycle__ring,
  .dyn-pipeline__dot,
  .ai-intel-chart__line--win,
  .ai-intel-chart__line--lead {
    stroke-dashoffset: 0;
  }

  .ai-intel-chart__area,
  .ai-intel-chart__band,
  .ai-intel-chart__dot {
    opacity: 1;
  }

  .dyn-ai-panel__brain,
  .dyn-ai-panel__pulse,
  .scene-growth-badge,
  .scene-packet,
  .scene-check,
  .eco-flow__pulse,
  .scene-funnel-arrow,
  .scene-deal-card--moving,
  .scene-roi-ring,
  .scene-lead-in,
  .scene-score-flow,
  .scene-ai-engine,
  .scene-capture__inbox {
    animation: none;
  }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
