/* ========================================
   grobot Labs - Modern Website Styles
   ======================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* grobot Brand System - Dark Navy + Blue/Orange two-color system */
  --primary: #3a9be0;
  --primary-dark: #0e74b7;
  --primary-glow: rgba(14, 116, 183, 0.15);
  --accent: #e87a54;
  --accent-hover: #d96840;
  --accent-light: rgba(232, 122, 84, 0.12);
  --success: #7dc244;
  --bg-dark: #0b1627;
  --bg-section: #0f1f3a;
  --bg-card: #172a48;
  --bg-card-hover: #1c3056;
  --text-primary: #e8edf5;
  --text-secondary: #8ea2bf;
  --text-muted: #7a92b2;
  --border: #1e3456;
  --border-hover: #2d466a;
  --gradient-primary: linear-gradient(135deg, #3a9be0 0%, #e87a54 100%);
  --gradient-text: linear-gradient(135deg, #3a9be0 0%, #7dc244 50%, #e87a54 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-color: var(--border-hover) var(--bg-dark);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

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


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Particle Canvas */
.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gradient-primary);
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
  pointer-events: none;
}

.nav-logo,
.nav-link,
.nav-toggle,
.btn-nav {
  pointer-events: auto;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(1.3);
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
  filter: brightness(1.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-nav {
  background: var(--accent);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-nav::after {
  display: none;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 122, 84, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: none;
}

.btn-primary:hover::before {
  animation: btnShine 0.6s ease forwards;
}

@keyframes btnShine {
  0% { left: -60%; }
  100% { left: 120%; }
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 122, 84, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(58, 155, 224, 0.05);
}

.text-accent {
  color: var(--accent);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -200px;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  will-change: transform;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -10%;
  right: -5%;
  opacity: 0.12;
  animation: float 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -5%;
  left: -5%;
  opacity: 0.1;
  animation: float 15s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 40%;
  left: 30%;
  opacity: 0.06;
  animation: float 10s ease-in-out infinite 3s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 4px;
  background: rgba(58, 155, 224, 0.08);
  border: 1px solid rgba(58, 155, 224, 0.2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -100%;
  width: 60%;
  height: calc(100% + 2px);
  background: linear-gradient(90deg, transparent, rgba(58, 155, 224, 0.3), transparent);
  animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
  0% { left: -60%; }
  50%, 100% { left: 120%; }
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #3a9be0 0%, #7dc244 25%, #e87a54 50%, #3a9be0 75%, #7dc244 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradientFlow 6s ease infinite;
}

@keyframes textGradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-rotating-words {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.0625rem;
  height: 28px;
}

.rotating-label {
  color: var(--text-muted);
  font-weight: 400;
}

.rotating-word-wrapper {
  position: relative;
  display: inline-block;
  width: 140px;
  height: 28px;
  overflow: hidden;
}

.rotating-word {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--primary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
}

.rotating-word.active {
  opacity: 1;
  transform: translateY(0);
}

.rotating-word-wrapper::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 2px;
  width: 2px;
  height: 1.1em;
  background: var(--primary);
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Hero radial rings */
.hero-radial-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(58, 155, 224, 0.04);
}

.hero-ring-1 {
  width: 500px;
  height: 500px;
  animation: heroRingPulse 8s ease-in-out infinite;
}

.hero-ring-2 {
  width: 750px;
  height: 750px;
  animation: heroRingPulse 8s ease-in-out infinite 2s;
}

.hero-ring-3 {
  width: 1000px;
  height: 1000px;
  animation: heroRingPulse 8s ease-in-out infinite 4s;
}

@keyframes heroRingPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.08; transform: translate(-50%, -50%) scale(1.08); }
}

/* Hero button glow */
.hero-btn-glow {
  position: relative;
  overflow: hidden;
}

.hero-btn-glow::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -100%;
  width: 60%;
  height: calc(100% + 4px);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: btnShine 4s ease-in-out infinite;
}

@keyframes btnShine {
  0% { left: -60%; }
  40%, 100% { left: 120%; }
}

/* Hero metrics bar */
.hero-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 0;
  padding: 14px 32px;
  background: rgba(15, 31, 58, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(58, 155, 224, 0.1);
  border-radius: 16px;
}

.hero-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-metric-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gradient-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGradientFlow 4s ease infinite;
}

.hero-metric-lbl {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-tp-stars {
  background: none;
  -webkit-text-fill-color: #00b67a;
  color: #00b67a;
  font-size: 1rem;
  letter-spacing: 2px;
}

.hero-metric-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(58, 155, 224, 0.2), transparent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* (hero-proof removed - consolidated into logo-bar) */

/* ========================================
   Hero Desktop Dashboard Mockup
   ======================================== */
.hero-dashboard-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  perspective: 1200px;
}

.hero-dashboard {
  border-radius: 16px;
  border: 1px solid rgba(58, 155, 224, 0.15);
  overflow: hidden;
  background: rgba(10, 22, 40, 0.95);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(58, 155, 224, 0.08),
    0 0 0 1px rgba(58, 155, 224, 0.06);
  transform-origin: center top;
  transform: rotateX(8deg) translateY(40px);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.hero-dashboard.dash-revealed {
  opacity: 1;
  transform: rotateX(4deg) translateY(0);
}

.hero-dashboard.dash-revealed:hover {
  transform: rotateX(1deg);
}

.hero-dashboard-glow {
  position: absolute;
  bottom: -60px;
  left: 10%;
  right: 10%;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(58, 155, 224, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Browser topbar */
.dash-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(15, 31, 58, 0.8);
  border-bottom: 1px solid rgba(58, 155, 224, 0.08);
}

.dash-dots {
  display: flex;
  gap: 6px;
}

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

.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }

.dash-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(11, 22, 39, 0.6);
  border-radius: 8px;
  font-size: 0.6875rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

.dash-lock { font-size: 0.625rem; }

.dash-topbar-spacer { width: 52px; }

/* App Top Navigation */
.dash-app-nav {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 12px;
  height: 36px;
  background: rgba(11, 22, 39, 0.7);
  border-bottom: 1px solid rgba(58, 155, 224, 0.08);
}

.dash-app-logo {
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.dash-logo-img {
  height: 22px;
  width: auto;
  flex-shrink: 0;
}

.dash-app-menu {
  display: flex;
  align-items: center;
  gap: 1px;
  flex: 1;
  overflow: hidden;
}

.dash-menu-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 10px;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  border-bottom: 2px solid transparent;
}
.dash-menu-item svg { pointer-events: none; }

.dash-menu-item:hover {
  color: var(--text-primary);
  background: rgba(232, 122, 84, 0.06);
}

.dash-menu-item:hover svg { opacity: 0.85; stroke: var(--accent); }

.dash-menu-item svg { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.5; transition: opacity 0.2s, stroke 0.2s; }

/* Active tab uses brand orange to match the actual platform */
.dash-menu-active {
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(232, 122, 84, 0.1);
  border-bottom: 2px solid var(--accent);
}

.dash-menu-active svg { opacity: 1; stroke: var(--accent); }

.dash-app-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.dash-unlimited-badge {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
}

.dash-notif-icon {
  position: relative;
}

.dash-notif-dot {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e87a54;
  font-size: 0.4375rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(58, 155, 224, 0.2);
  border: 1px solid rgba(58, 155, 224, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Full-width Main Content */
.dash-main-full {
  padding: 14px 18px;
  min-height: 380px;
}

.dash-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.dash-welcome {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-date {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.dash-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(30, 52, 86, 0.4);
  border: 1px solid rgba(58, 155, 224, 0.08);
  border-radius: 8px;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* Live indicator */
.dash-live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.625rem;
  color: var(--text-muted);
}

.dash-live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dc244;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Stats bar - 7 metrics */
.dash-stats-bar {
  display: flex;
  gap: 0;
  background: rgba(23, 42, 72, 0.5);
  border: 1px solid rgba(58, 155, 224, 0.06);
  border-radius: 10px;
  padding: 10px 0;
  margin-bottom: 12px;
}

.dash-metric {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(58, 155, 224, 0.06);
}

.dash-metric:last-child { border-right: none; }

.dash-metric-label {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.dash-metric-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.dash-mv-green { color: #7dc244; }
.dash-mv-blue { color: #3a9be0; }
.dash-mv-orange { color: #e87a54; }
.dash-mv-yellow { color: #f5c542; }
.dash-mv-red { color: #ef4444; }

/* Widget panels */
.dash-widgets-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.dash-widgets-4 {
  grid-template-columns: repeat(4, 1fr);
}

.dash-widget {
  background: rgba(23, 42, 72, 0.3);
  border: 1px solid rgba(58, 155, 224, 0.06);
  border-radius: 10px;
  padding: 12px;
}

.dash-widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dash-widget-title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-widget-sub {
  font-size: 0.5rem;
  color: var(--text-muted);
}

.dash-widget-body {
  min-height: 80px;
}

.dash-widget-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pipeline bar chart */
.dash-pipeline-hero {
  font-size: 0.6875rem;
  margin-bottom: 8px;
}

.dash-pipeline-hero .dash-mv-blue {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.dash-pipeline-meta {
  color: var(--text-muted);
  margin-left: 6px;
  font-size: 0.5625rem;
}

.dash-pipeline-won {
  color: #7dc244;
  font-weight: 600;
  font-size: 0.5625rem;
  float: right;
}

.dash-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  padding-top: 4px;
}

.dash-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.dash-bar-col span {
  font-size: 0.4375rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.dash-bar {
  width: 100%;
  background: rgba(58, 155, 224, 0.6);
  border-radius: 3px 3px 0 0;
  animation: barGrow 1.2s ease-out 0.5s both;
}

.dash-bar-2 { background: rgba(58, 155, 224, 0.45); }
.dash-bar-3 { background: rgba(58, 155, 224, 0.35); }
.dash-bar-4 { background: rgba(58, 155, 224, 0.25); }
.dash-bar-5 { background: rgba(125, 194, 68, 0.5); }

/* Funnel stats */
.dash-funnel-stats {
  display: flex;
  gap: 0;
  margin-bottom: 8px;
}

.dash-funnel-stat {
  flex: 1;
  text-align: center;
}

.dash-funnel-stat span:first-child {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
}

.dash-funnel-stat span:last-child {
  display: block;
  font-size: 0.4375rem;
  color: var(--text-muted);
}

.dash-bar-sent { background: rgba(125, 194, 68, 0.5); }
.dash-bar-opened { background: rgba(58, 155, 224, 0.5); }
.dash-bar-clicked { background: rgba(232, 122, 84, 0.5); }
.dash-bar-replied { background: rgba(139, 92, 246, 0.5); }

/* AI Activity Feed */
.dash-ai-feed {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 2px 0;
}

.dash-ai-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 4px;
  background: rgba(58, 155, 224, 0.04);
  border: 1px solid rgba(58, 155, 224, 0.06);
  width: 100%;
  min-width: 0;
}

.dash-ai-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
}

.dash-ai-icon-green { background: rgba(125, 194, 68, 0.15); color: #7dc244; }
.dash-ai-icon-blue { background: rgba(58, 155, 224, 0.15); color: #3a9be0; }
.dash-ai-icon-orange { background: rgba(232, 122, 84, 0.15); color: #e87a54; }
.dash-ai-icon-purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }

.dash-ai-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.dash-ai-action {
  font-size: 0.5625rem;
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.dash-ai-meta {
  font-size: 0.4375rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* Donut chart - value + label stack cleanly inside the ring */
.dash-donut {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-donut svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dash-donut-text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
  z-index: 1;
}

.dash-donut-val {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.dash-donut-label {
  font-size: 0.4375rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.1;
  white-space: nowrap;
}

/* IQ stats */
.dash-iq-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.dash-iq-stat {
  flex: 1;
  text-align: center;
  min-width: 40px;
  padding: 4px 0;
}

.dash-iq-stat span:first-child {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
}

.dash-iq-stat span:last-child {
  display: block;
  font-size: 0.4375rem;
  color: var(--text-muted);
}

/* Content grid: campaigns + AI */
.dash-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dash-panel {
  background: rgba(23, 42, 72, 0.3);
  border: 1px solid rgba(58, 155, 224, 0.06);
  border-radius: 10px;
  padding: 12px;
}

.dash-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.dash-panel-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-panel-badge {
  font-size: 0.5rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(58, 155, 224, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.dash-badge-live {
  background: rgba(125, 194, 68, 0.15);
  color: #7dc244;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Campaign rows */
.dash-campaign-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dash-campaign-row:last-child { border-bottom: none; }

.dash-camp-name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dash-camp-channels {
  display: flex;
  gap: 4px;
}

.dash-ch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.4375rem;
  font-weight: 700;
}

.dash-camp-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 100px;
}

.dash-camp-bar {
  flex: 1;
  height: 4px;
  background: rgba(30, 52, 86, 0.6);
  border-radius: 4px;
  overflow: hidden;
}

.dash-camp-fill {
  height: 100%;
  background: #3a9be0;
  border-radius: 4px;
  animation: barGrow 1.5s ease-out 1s both;
}

.dash-fill-green { background: #7dc244; }
.dash-fill-orange { background: #e87a54; }

@keyframes barGrow {
  from { width: 0 !important; }
}

.dash-camp-pct {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 28px;
  text-align: right;
}

/* AI Insights panel */
.dash-ai-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.625rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.dash-ai-item strong { color: var(--text-primary); }

.dash-ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e87a54;
  flex-shrink: 0;
  margin-top: 5px;
  animation: pulse-dot 2s ease-in-out infinite;
}

.dash-ai-green { background: #7dc244; animation-delay: 0.5s; }
.dash-ai-blue { background: #3a9be0; animation-delay: 1s; }
.dash-ai-orange { background: #e87a54; animation-delay: 1.5s; }

/* barGrow keyframes */

.dash-mini-pipeline {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  padding: 6px 0 10px;
}

.dash-mini-stage {
  flex: 1;
  text-align: center;
}

.dash-mini-stage span {
  display: block;
  font-size: 0.4375rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.dash-mini-stage b {
  display: block;
  font-size: 0.5625rem;
  color: var(--text-primary);
  margin-top: 2px;
}

.dash-mini-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  animation: pipeGrow 1s ease-out 1.2s both;
}

.dash-pipe-1 { background: linear-gradient(to top, #3a9be0, rgba(58, 155, 224, 0.5)); }
.dash-pipe-2 { background: linear-gradient(to top, #7dc244, rgba(125, 194, 68, 0.5)); }
.dash-pipe-3 { background: linear-gradient(to top, #e87a54, rgba(232, 122, 84, 0.5)); }
.dash-pipe-4 { background: linear-gradient(to top, #f5c542, rgba(245, 197, 66, 0.5)); }

@keyframes pipeGrow {
  from { height: 0 !important; }
}

/* Activity feed */
.dash-activity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-activity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dash-act-pop {
  animation: actSlideIn 0.4s ease-out both;
}

.dash-act-pop:nth-child(2) { animation-delay: 1.4s; }
.dash-act-pop:nth-child(3) { animation-delay: 1.6s; }
.dash-act-pop:nth-child(4) { animation-delay: 1.8s; }

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

.dash-act-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  flex-shrink: 0;
}

.dash-act-won { background: rgba(125, 194, 68, 0.15); color: #7dc244; }
.dash-act-meeting { background: rgba(58, 155, 224, 0.15); }
.dash-act-ai { background: rgba(232, 122, 84, 0.15); color: #e87a54; }
.dash-act-link { background: rgba(139, 92, 246, 0.15); }

.dash-act-text {
  font-size: 0.5625rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.dash-act-text strong { color: var(--text-primary); }

.dash-act-time {
  font-size: 0.4375rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Dashboard bottom fade */
.hero-dashboard-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
  pointer-events: none;
  z-index: 3;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
}

/* ========================================
   Section Basics
   ======================================== */
.section {
  padding: 120px 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58, 155, 224, 0.3), transparent);
}

.section-dark {
  background: var(--bg-section);
  position: relative;
}

.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(58, 155, 224, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  position: relative;
}

.section-header .section-label::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(58, 155, 224, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* Brand "gro" highlight - matches the logo's orange */
.gro-brand {
  color: var(--accent);
  font-family: inherit;
  font-weight: inherit;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   Problem Section
   ======================================== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.problem-text .section-label {
  margin-bottom: 16px;
}

.problem-text .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.problem-text .section-desc {
  margin-bottom: 12px;
}

.problem-stats {
  display: grid;
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(8px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  width: 100%;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ========================================
   Process Section
   ======================================== */
.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.process-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
  opacity: 0.3;
}

.process-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -3px;
  width: 8px;
  height: 40%;
  background: linear-gradient(to bottom, rgba(58, 155, 224, 0.4), transparent);
  filter: blur(4px);
  animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
  0%, 100% { top: 0%; opacity: 0.6; }
  50% { top: 60%; opacity: 0; }
}

.process-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(58, 155, 224, 0.1);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.process-step:hover .step-marker {
  box-shadow: 0 0 30px rgba(58, 155, 224, 0.25);
  border-color: var(--accent);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.step-marker::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(58, 155, 224, 0.15);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.8);
}

.process-step:hover .step-marker::after {
  opacity: 1;
  transform: scale(1.1);
}

.step-content {
  flex: 1;
  background: rgba(23, 42, 72, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.step-content::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58, 155, 224, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step-content:hover {
  border-color: rgba(58, 155, 224, 0.2);
  background: rgba(23, 42, 72, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(58, 155, 224, 0.05);
}

.step-content:hover::after {
  opacity: 1;
}

.step-icon {
  color: var(--primary);
  margin-bottom: 16px;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========================================
   Services Grid
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(58, 155, 224, 0.06) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.service-icon {
  color: var(--primary);
  margin-bottom: 20px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(58, 155, 224, 0.06);
  border: 1px solid rgba(58, 155, 224, 0.1);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: rgba(58, 155, 224, 0.1);
  border-color: rgba(58, 155, 224, 0.2);
  box-shadow: 0 0 20px rgba(58, 155, 224, 0.1);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

/* ========================================
   Growth Pillars
   ======================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.pillar-featured {
  background: linear-gradient(135deg, rgba(58, 155, 224, 0.08) 0%, rgba(232, 122, 84, 0.08) 100%);
  border-color: rgba(58, 155, 224, 0.2);
  position: relative;
  overflow: hidden;
}

.pillar-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3a9be0, #7dc244, #e87a54);
  background-size: 200% 100%;
  animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.pillar-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(58, 155, 224, 0.12);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  flex: 1;
}

.pillar-metric {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.metric-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

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

/* ========================================
   Why Us
   ======================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(58, 155, 224, 0.06) 0%, var(--bg-card) 60%);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  opacity: 0.2;
  line-height: 1;
  transition: opacity 0.4s ease;
}

.why-card:hover .why-number {
  opacity: 0.5;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========================================
   Case Studies
   ======================================== */
.case-marquee {
  overflow: hidden;
  padding: 20px 0;
  margin-bottom: 64px;
}

.marquee-track {
  display: flex;
  gap: 16px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.case-chip {
  padding: 10px 24px;
  background: rgba(23, 42, 72, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(58, 155, 224, 0.1);
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
  text-decoration: none;
  display: inline-block;
}

.case-chip::after {
  content: ' →';
  opacity: 0;
  transition: opacity 0.3s ease, margin-left 0.3s ease;
  margin-left: 0;
}

.case-chip:hover {
  border-color: rgba(58, 155, 224, 0.3);
  color: var(--primary);
  background: rgba(58, 155, 224, 0.08);
  box-shadow: 0 0 20px rgba(58, 155, 224, 0.1);
}

.case-chip:hover::after {
  opacity: 1;
  margin-left: 4px;
}

.featured-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featured-case {
  text-align: center;
  padding: 56px 32px;
  background: rgba(15, 31, 58, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.featured-case:hover {
  border-color: rgba(58, 155, 224, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(58, 155, 224, 0.1), 0 24px 64px rgba(0, 0, 0, 0.35);
}

.case-result {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.case-context {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.case-client {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.featured-case:hover .case-link {
  color: #fff;
  transform: translateX(4px);
}

/* ========================================
   Testimonial
   ======================================== */
/* ========================================
   Trustpilot Reviews - Dual Marquee
   ======================================== */
.reviews-section {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.tp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 8px 18px;
  background: rgba(0, 182, 122, 0.08);
  border: 1px solid rgba(0, 182, 122, 0.2);
  border-radius: 4px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.tp-badge-text {
  font-weight: 600;
  color: #00b67a;
}

.tp-badge-label {
  font-weight: 600;
  color: var(--text-primary);
}

.reviews-marquee {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.reviews-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.reviews-track-1 {
  animation: reviewScroll1 80s linear infinite;
}

.reviews-track-2 {
  animation: reviewScroll2 90s linear infinite;
}

@keyframes reviewScroll1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes reviewScroll2 {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}

.review-card {
  flex-shrink: 0;
  width: 340px;
  padding: 28px 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.review-card:hover {
  border-color: rgba(0, 182, 122, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 182, 122, 0.06);
  transform: translateY(-2px);
}

.review-stars {
  color: #00b67a;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-style: italic;
}

.review-card:hover .review-text {
  color: var(--text-primary);
}

.review-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-author::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--primary);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  display: none;
}

.cta-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
}

.cta-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(58, 155, 224, 0.1) 0%, transparent 70%);
  top: -20%;
  left: -10%;
  animation: ctaOrbFloat 10s ease-in-out infinite;
}

.cta-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 122, 84, 0.08) 0%, transparent 70%);
  bottom: -20%;
  right: -10%;
  animation: ctaOrbFloat 12s ease-in-out infinite reverse;
}

.cta-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(125, 194, 68, 0.05) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ctaOrbFloat 8s ease-in-out infinite 2s;
}

@keyframes ctaOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  33% { transform: translate(40px, -30px) scale(1.1); opacity: 0.7; }
  66% { transform: translate(-30px, 20px) scale(0.9); opacity: 1; }
}

.cta-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 155, 224, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 155, 224, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}

.cta-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(58, 155, 224, 0.06);
  animation: ctaRingPulse 6s ease-in-out infinite;
}

.cta-ring::before {
  content: '';
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  border: 1px solid rgba(58, 155, 224, 0.03);
  animation: ctaRingPulse 6s ease-in-out infinite 1s;
}

.cta-ring::after {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(232, 122, 84, 0.05);
  animation: ctaRingPulse 6s ease-in-out infinite 2s;
}

@keyframes ctaRingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.4; }
}

.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-content {
  text-align: left;
  position: relative;
  z-index: 1;
}

.cta-form-wrapper {
  background: rgba(15, 28, 50, 0.6);
  border: 1px solid rgba(58, 155, 224, 0.12);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(20px);
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-form-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cta-input {
  background: rgba(23, 42, 72, 0.5);
  border: 1px solid rgba(58, 155, 224, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.875rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.cta-input::placeholder {
  color: var(--text-muted);
}

.cta-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(58, 155, 224, 0.1);
}

.cta-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7e99' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
  color-scheme: dark;
}

.cta-select option {
  background: #0f1f3a;
  color: #e8edf5;
  padding: 8px;
}

.cta-select option:checked,
.cta-select option:hover {
  background: linear-gradient(135deg, #3a9be0 0%, #1b6a9e 100%);
  color: #fff;
}

.cta-textarea {
  resize: vertical;
  min-height: 70px;
}

.cta-form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.cta-form-note a {
  color: var(--primary);
  text-decoration: none;
}

.cta-form-note a:hover {
  text-decoration: underline;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.cta-line-1 {
  display: block;
  text-shadow:
    0 0 30px rgba(58, 155, 224, 0.3),
    0 0 60px rgba(58, 155, 224, 0.1);
}

.cta-line-2 {
  display: block;
  font-size: 1.15em;
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cta-btn-glow {
  box-shadow: 0 0 30px rgba(232, 122, 84, 0.3), 0 8px 32px rgba(232, 122, 84, 0.2);
  animation: ctaBtnPulse 3s ease-in-out infinite;
}

@keyframes ctaBtnPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(232, 122, 84, 0.3), 0 8px 32px rgba(232, 122, 84, 0.2); }
  50% { box-shadow: 0 0 50px rgba(232, 122, 84, 0.4), 0 12px 48px rgba(232, 122, 84, 0.3); }
}

.cta-spinner {
  animation: ctaSpin 1s linear infinite;
}

@keyframes ctaSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#ctaSubmitBtn:disabled {
  opacity: 0.85;
  cursor: not-allowed;
  animation: none;
}

#ctaSubmitBtn {
  transition: background 0.3s ease, opacity 0.3s ease;
}

.cta-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-section);
  border-top: none;
  padding: 64px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58, 155, 224, 0.3), rgba(232, 122, 84, 0.2), transparent);
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.footer-social a:hover {
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(58, 155, 224, 0.15);
  transform: translateY(-2px);
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ========================================
   Platform Section + Phone Mockup
   ======================================== */
.platform-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.platform-text .section-label { margin-bottom: 16px; }
.platform-text .section-title { text-align: left; margin-bottom: 20px; }
.platform-text .section-desc { margin-bottom: 24px; }

.platform-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.highlight svg {
  flex-shrink: 0;
  margin-top: 2px; /* visual baseline alignment with the first text line */
}

/* ========================================
   Platform Desktop Dashboard
   ======================================== */
.platform-dashboard-wrapper {
  position: relative;
  perspective: 1000px;
}

.platform-dashboard {
  border-radius: 14px;
  border: 1px solid rgba(58, 155, 224, 0.15);
  overflow: hidden;
  background: rgba(10, 22, 40, 0.95);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(58, 155, 224, 0.06),
    0 0 0 1px rgba(58, 155, 224, 0.05);
  transform: rotateY(-2deg) rotateX(2deg);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pdReveal 0.8s ease-out both;
}

@keyframes pdReveal {
  from { opacity: 0; transform: rotateY(-4deg) rotateX(4deg) translateY(30px); }
  to { opacity: 1; transform: rotateY(-2deg) rotateX(2deg) translateY(0); }
}

.platform-dashboard:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.platform-dashboard-glow {
  position: absolute;
  bottom: -40px;
  left: 15%;
  right: 15%;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(58, 155, 224, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Topbar */
.pd-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(15, 31, 58, 0.8);
  border-bottom: 1px solid rgba(58, 155, 224, 0.08);
}

.pd-dots {
  display: flex;
  gap: 5px;
}

.pd-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.pd-dots span:nth-child(1) { background: #ff5f57; }
.pd-dots span:nth-child(2) { background: #febc2e; }
.pd-dots span:nth-child(3) { background: #28c840; }

.pd-url {
  flex: 1;
  text-align: center;
  font-size: 0.625rem;
  color: var(--text-muted);
}

.pd-topbar-end {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pd-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dc244;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(125, 194, 68, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(125, 194, 68, 0); }
}

.pd-live-text {
  font-size: 0.5625rem;
  font-weight: 600;
  color: #7dc244;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Body */
.pd-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.pd-body-flow {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  padding: 14px 18px;
}

.pd-flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(58, 155, 224, 0.08);
}

.pd-flow-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-flow-stats {
  display: flex;
  gap: 16px;
}

.pd-flow-stat {
  font-size: 0.5625rem;
  color: var(--text-muted);
}

.pd-flow-stat strong {
  font-weight: 700;
  display: block;
  font-size: 0.6875rem;
}

.pd-sequence {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pd-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(23, 42, 72, 0.4);
  border: 1px solid rgba(58, 155, 224, 0.08);
  border-radius: 8px;
}

.pd-step-pending {
  opacity: 0.5;
}

.pd-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pd-step-li { background: rgba(10, 102, 194, 0.2); color: #0a66c2; }
.pd-step-em { background: rgba(58, 155, 224, 0.15); color: #3a9be0; }
.pd-step-sms { background: rgba(125, 194, 68, 0.15); color: #7dc244; }
.pd-step-call { background: rgba(232, 122, 84, 0.15); color: #e87a54; }

.pd-step-info { flex: 1; min-width: 0; }

.pd-step-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pd-step-meta {
  font-size: 0.4375rem;
  color: var(--text-muted);
}

.pd-step-status {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  flex-shrink: 0;
}

.pd-step-done { background: rgba(125, 194, 68, 0.15); color: #7dc244; }
.pd-step-active { background: rgba(58, 155, 224, 0.15); color: #3a9be0; animation: livePulse 2s ease-in-out infinite; }
.pd-step-waiting { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); }

.pd-step-connector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 0 24px;
  height: 24px;
}

.pd-step-line {
  width: 2px;
  height: 100%;
  background: rgba(58, 155, 224, 0.2);
  margin-left: 12px;
}

.pd-step-line-pending {
  background: rgba(58, 155, 224, 0.08);
  border-left: 2px dashed rgba(58, 155, 224, 0.12);
  width: 0;
}

.pd-wait-badge {
  font-size: 0.4375rem;
  color: var(--text-muted);
  background: rgba(23, 42, 72, 0.5);
  padding: 1px 8px;
  border-radius: 4px;
  border: 1px solid rgba(58, 155, 224, 0.06);
}

.pd-panel-left {
  padding: 16px;
  border-right: 1px solid rgba(58, 155, 224, 0.06);
}

.pd-panel-right {
  padding: 16px;
}

.pd-panel-title {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-badge {
  font-size: 0.5rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(58, 155, 224, 0.1);
  color: var(--primary);
}

.pd-badge-live {
  background: rgba(125, 194, 68, 0.1);
  color: #7dc244;
  animation: livePulse 2s ease-in-out infinite;
}

/* Prospects */
.pd-prospect {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(23, 42, 72, 0.5);
  border: 1px solid rgba(58, 155, 224, 0.06);
  border-radius: 10px;
  margin-bottom: 6px;
  animation: pdSlideIn 0.5s ease-out both;
}

.pd-prospect:nth-child(5) { animation-delay: 0.15s; }
.pd-prospect:nth-child(8) { animation-delay: 0.3s; }

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

.pd-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7dc244 0%, #5fa033 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.pd-avatar-blue { background: linear-gradient(135deg, #3a9be0 0%, #0e74b7 100%); }
.pd-avatar-orange { background: linear-gradient(135deg, #e87a54 0%, #d96840 100%); }

.pd-prospect-info { flex: 1; min-width: 0; }

.pd-prospect-name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pd-prospect-role {
  font-size: 0.5625rem;
  color: var(--text-muted);
}

.pd-score {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pd-score-green {
  background: rgba(125, 194, 68, 0.15);
  color: #7dc244;
  border: 2px solid rgba(125, 194, 68, 0.3);
}

.pd-score-blue {
  background: rgba(58, 155, 224, 0.15);
  color: #3a9be0;
  border: 2px solid rgba(58, 155, 224, 0.3);
}

.pd-score-orange {
  background: rgba(232, 122, 84, 0.15);
  color: #e87a54;
  border: 2px solid rgba(232, 122, 84, 0.3);
}

.pd-signals {
  display: flex;
  gap: 6px;
  padding: 0 10px;
  margin-bottom: 10px;
}

.pd-signal {
  font-size: 0.5rem;
  color: #7dc244;
  background: rgba(125, 194, 68, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.pd-enrich-bar {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(58, 155, 224, 0.06);
}

.pd-enrich-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.5rem;
  color: var(--text-muted);
}

.pd-enrich-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e87a54;
}

.pd-dot-green { background: #7dc244; }
.pd-dot-blue { background: #3a9be0; }

/* Campaigns */
.pd-campaign-row {
  display: grid;
  grid-template-columns: 1fr auto auto 32px;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: rgba(23, 42, 72, 0.5);
  border: 1px solid rgba(58, 155, 224, 0.06);
  border-radius: 8px;
  margin-bottom: 6px;
  animation: pdSlideIn 0.5s ease-out both;
}

.pd-campaign-row:nth-child(3) { animation-delay: 0.1s; }
.pd-campaign-row:nth-child(4) { animation-delay: 0.2s; }

.pd-camp-name {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-camp-channels {
  display: flex;
  gap: 3px;
}

.pd-ch {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
}

.pd-ch-li { background: rgba(58, 155, 224, 0.15); color: #3a9be0; }
.pd-ch-em { background: rgba(232, 122, 84, 0.15); color: #e87a54; font-size: 0.5rem; }
.pd-ch-ph { background: rgba(125, 194, 68, 0.15); color: #7dc244; font-size: 0.5rem; }
.pd-ch-sm { background: rgba(245, 197, 66, 0.15); color: #f5c542; font-size: 0.5rem; }

.pd-camp-bar {
  width: 60px;
  height: 4px;
  background: rgba(30, 52, 86, 0.6);
  border-radius: 4px;
  overflow: hidden;
}

.pd-camp-fill {
  height: 100%;
  background: #3a9be0;
  border-radius: 4px;
  animation: barGrow 1.2s ease-out both;
}

.pd-fill-green { background: #7dc244; }
.pd-fill-orange { background: #e87a54; }

.pd-camp-pct {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
}

/* AI Feed */
.pd-ai-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.pd-ai-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.5625rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 6px 8px;
  background: rgba(23, 42, 72, 0.3);
  border-radius: 4px;
  animation: pdSlideIn 0.5s ease-out both;
}

.pd-ai-row:nth-child(2) { animation-delay: 0.15s; }
.pd-ai-row:nth-child(3) { animation-delay: 0.3s; }

.pd-ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e87a54;
  flex-shrink: 0;
  margin-top: 4px;
}

.pd-ai-dot-green { background: #7dc244; }
.pd-ai-dot-orange { background: #3a9be0; }

/* Deal Strip */
.pd-deal-strip {
  display: flex;
  gap: 8px;
}

.pd-deal-won,
.pd-deal-hot {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.5625rem;
  color: var(--text-secondary);
}

.pd-deal-won {
  background: rgba(125, 194, 68, 0.08);
  border: 1px solid rgba(125, 194, 68, 0.15);
}

.pd-deal-hot {
  background: rgba(232, 122, 84, 0.08);
  border: 1px solid rgba(232, 122, 84, 0.15);
}

.pd-deal-badge {
  font-size: 0.4375rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #7dc244;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pd-badge-hot {
  background: #e87a54;
}

.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-glow {
  position: absolute;
  width: 300px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(58, 155, 224, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: 280px;
  background: #0a1628;
  border-radius: 36px;
  border: 3px solid #2d466a;
  padding: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(58, 155, 224, 0.1);
  animation: phoneFloat 6s ease-in-out infinite;
}

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

.phone-notch {
  width: 100px;
  height: 6px;
  background: #1e3456;
  border-radius: 4px;
  margin: 0 auto 12px;
}

.phone-screen {
  background: #0f1f3a;
  border-radius: 24px;
  padding: 16px;
  min-height: 460px;
  overflow: hidden;
}

.cc-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1e3456;
}

.cc-logo {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cc-gro { color: var(--primary); }

.cc-greeting {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.cc-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.cc-stat {
  background: #172a48;
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
}

.cc-stat-val {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}

.cc-blue { color: #3a9be0; }
.cc-green { color: #7dc244; }
.cc-orange { color: #e87a54; }

.cc-stat-lbl {
  font-size: 0.5rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.cc-section-label {
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
  margin-top: 12px;
}

.cc-campaign {
  background: #172a48;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
}

.cc-campaign-name {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.cc-campaign-bar {
  height: 4px;
  background: #1e3456;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}

.cc-bar-fill {
  height: 100%;
  background: #3a9be0;
  border-radius: 4px;
  transition: width 1.5s ease;
}

.cc-bar-green { background: #7dc244; }

.cc-campaign-meta {
  font-size: 0.5rem;
  color: var(--text-muted);
}

.cc-insight {
  background: rgba(232, 122, 84, 0.08);
  border: 1px solid rgba(232, 122, 84, 0.2);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.cc-insight-icon {
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.cc-insight-text {
  font-size: 0.5625rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cc-pipeline {
  display: flex;
  gap: 6px;
  align-items: flex-end;
}

.cc-pipe-stage { flex: 1; text-align: center; }
.cc-pipe-stage span {
  font-size: 0.4375rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.cc-pipe-bar { border-radius: 4px 4px 0 0; width: 100%; }

/* ========================================
   Features Grid - Interactive Spotlight
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  position: relative;
  padding: 1px;
}

.feature-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1px;
  background: var(--border);
  transition: background 0.4s ease;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  filter: blur(4px);
}

.feature-card.fc-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              z-index 0s;
}

.feature-card-border {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    500px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(58, 155, 224, 0.55),
    rgba(232, 122, 84, 0.08) 30%,
    transparent 50%
  );
  z-index: 0;
  pointer-events: none;
}

.features-grid:hover .feature-card-border {
  opacity: 1;
}

.feature-card:hover {
  box-shadow: 0 0 30px rgba(58, 155, 224, 0.08), 0 20px 60px rgba(0, 0, 0, 0.25);
}

.feature-card-content {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border-radius: calc(var(--radius) - 1px);
  padding: 32px;
  height: 100%;
  overflow: hidden;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.feature-card-content::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    400px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(58, 155, 224, 0.08),
    transparent 50%
  );
  pointer-events: none;
}

.feature-card:hover .feature-card-content::before {
  opacity: 1;
}

.feature-card:hover .feature-card-content {
  background: rgba(13, 23, 38, 0.98);
}

.feature-icon {
  color: var(--primary);
  margin-bottom: 20px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(58, 155, 224, 0.06);
  border: 1px solid rgba(58, 155, 224, 0.1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.feature-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(58, 155, 224, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.8);
}

.feature-card:hover .feature-icon {
  background: rgba(58, 155, 224, 0.12);
  border-color: rgba(58, 155, 224, 0.3);
  box-shadow: 0 0 24px rgba(58, 155, 224, 0.15), 0 0 48px rgba(58, 155, 224, 0.05);
  transform: translateY(-2px);
}

.feature-card:hover .feature-icon::after {
  opacity: 1;
  transform: scale(1);
}

.feature-card:hover .feature-icon svg {
  filter: drop-shadow(0 0 6px rgba(58, 155, 224, 0.4));
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.feature-card:hover h3 {
  color: var(--primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.feature-card:hover p {
  color: var(--text-primary);
}

/* ========================================
   Blog Grid
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: rgba(15, 31, 58, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card-art {
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-section);
}

.blog-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-art img {
  transform: scale(1.05);
}

.blog-card-inner {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card h3 {
  margin-top: 8px;
  margin-bottom: 12px;
}

.blog-card .blog-read {
  margin-top: auto;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(58, 155, 224, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.blog-card:hover {
  border-color: rgba(58, 155, 224, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(58, 155, 224, 0.06);
}

.blog-card:hover::before {
  transform: scaleX(1);
}

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

.blog-img-placeholder {
  height: 120px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(58, 155, 224, 0.12) 0%, rgba(58, 155, 224, 0.04) 100%);
  border: 1px solid rgba(58, 155, 224, 0.1);
}

.blog-img-placeholder svg {
  opacity: 0.5;
}

.blog-img-placeholder.blog-img-orange {
  background: linear-gradient(135deg, rgba(232, 122, 84, 0.12) 0%, rgba(232, 122, 84, 0.04) 100%);
  border-color: rgba(232, 122, 84, 0.1);
}

.blog-img-placeholder.blog-img-green {
  background: linear-gradient(135deg, rgba(125, 194, 68, 0.12) 0%, rgba(125, 194, 68, 0.04) 100%);
  border-color: rgba(125, 194, 68, 0.1);
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.blog-category {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(58, 155, 224, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-read {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card:hover .blog-read {
  color: var(--accent-hover);
  gap: 8px;
}

/* ========================================
   Logo Bar
   ======================================== */
.logo-bar {
  padding: 48px 0;
  border-top: 1px solid rgba(58, 155, 224, 0.08);
  border-bottom: 1px solid rgba(58, 155, 224, 0.08);
  overflow: hidden;
  position: relative;
}

.logo-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58, 155, 224, 0.15), rgba(232, 122, 84, 0.1), transparent);
}

.logo-bar-label {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.logo-bar-track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-bar-slide {
  display: flex;
  gap: 48px;
  animation: logoSlide 25s linear infinite;
  width: max-content;
}

@keyframes logoSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.4;
  transition: opacity var(--transition);
}

.logo-item:hover {
  opacity: 0.8;
}

.logo-svg {
  display: block;
  height: 22px;
  width: auto;
}

/* ========================================
   Outbound Harmonization
   ======================================== */
.harmonization-visual {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 600px;
  margin: 0 auto;
}

.harm-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.harm-hub-inner {
  width: 120px;
  height: 120px;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  box-shadow: 0 0 60px rgba(58, 155, 224, 0.15), 0 0 120px rgba(58, 155, 224, 0.05);
  animation: heartbeat 2.4s ease-in-out infinite;
}

@keyframes heartbeat {
  0%   { transform: scale(1);    box-shadow: 0 0 60px rgba(58,155,224,0.15), 0 0 120px rgba(58,155,224,0.05); }
  12%  { transform: scale(1.10); box-shadow: 0 0 80px rgba(58,155,224,0.25), 0 0 140px rgba(58,155,224,0.10); }
  24%  { transform: scale(0.97); box-shadow: 0 0 50px rgba(58,155,224,0.12), 0 0 100px rgba(58,155,224,0.04); }
  36%  { transform: scale(1.06); box-shadow: 0 0 70px rgba(58,155,224,0.20), 0 0 130px rgba(58,155,224,0.08); }
  48%  { transform: scale(1);    box-shadow: 0 0 60px rgba(58,155,224,0.15), 0 0 120px rgba(58,155,224,0.05); }
  100% { transform: scale(1);    box-shadow: 0 0 60px rgba(58,155,224,0.15), 0 0 120px rgba(58,155,224,0.05); }
}

.harm-hub-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(58, 155, 224, 0.15);
  animation: hubPulse 3s ease-in-out infinite;
}

.harm-hub-ring-2 {
  inset: -24px;
  border-color: rgba(58, 155, 224, 0.08);
  animation-delay: 1.5s;
}

.harm-hub-ring-3 {
  inset: -40px;
  border-color: rgba(58, 155, 224, 0.04);
  animation-delay: 0.8s;
}

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

.harm-hub-icon {
  color: var(--primary);
}

.harm-hub-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.harm-channel {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: channelFloat 4s ease-in-out infinite;
}

.harm-ch-1 { top: 4%; left: 5%; --tx: 0; animation-delay: 0s; }
.harm-ch-2 { top: 4%; right: 5%; --tx: 0; animation-delay: 1s; }
.harm-ch-3 { bottom: 6%; left: 5%; --tx: 0; animation-delay: 0.5s; }
.harm-ch-4 { bottom: 6%; right: 5%; --tx: 0; animation-delay: 1.5s; }
.harm-ch-5 { top: 0%; left: 50%; --tx: -50%; animation-delay: 0.8s; }
.harm-ch-6 { bottom: 0%; left: 50%; --tx: -50%; animation-delay: 1.2s; }

/* channelFloat preserves translateX so Retarget + Content stay centered */
@keyframes channelFloat {
  0%, 100% { transform: translateX(var(--tx, 0)) translateY(0); }
  50% { transform: translateX(var(--tx, 0)) translateY(-6px); }
}

.harm-ch-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.harm-ch-1 .harm-ch-icon { color: #3a9be0; border-color: rgba(58, 155, 224, 0.3); box-shadow: 0 8px 32px rgba(58, 155, 224, 0.1); }
.harm-ch-2 .harm-ch-icon { color: #e87a54; border-color: rgba(232, 122, 84, 0.3); box-shadow: 0 8px 32px rgba(232, 122, 84, 0.1); }
.harm-ch-3 .harm-ch-icon { color: #7dc244; border-color: rgba(125, 194, 68, 0.3); box-shadow: 0 8px 32px rgba(125, 194, 68, 0.1); }
.harm-ch-4 .harm-ch-icon { color: #f5c542; border-color: rgba(245, 197, 66, 0.3); box-shadow: 0 8px 32px rgba(245, 197, 66, 0.1); }
.harm-ch-5 .harm-ch-icon { color: #c084fc; border-color: rgba(192, 132, 252, 0.3); box-shadow: 0 8px 32px rgba(192, 132, 252, 0.1); }
.harm-ch-6 .harm-ch-icon { color: #38bdf8; border-color: rgba(56, 189, 248, 0.3); box-shadow: 0 8px 32px rgba(56, 189, 248, 0.1); }

.harm-ch-name {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.harm-ch-stat {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

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

.harm-path {
  animation: dashFlow 2s linear infinite;
}

@keyframes dashFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -20; }
}

.harm-dot {
  filter: drop-shadow(0 0 6px currentColor);
}

.harm-timing {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 4px;
}

/* Each badge sits at the bezier midpoint of its line. Computed at t=0.5 of each path. */
.harm-timing-1 { top: 28%; left: 26%; transform: translate(-50%, -50%); } /* Day 1 → LinkedIn */
.harm-timing-2 { top: 28%; left: 74%; transform: translate(-50%, -50%); } /* Day 3 → Email */
.harm-timing-3 { top: 67%; left: 26%; bottom: auto; transform: translate(-50%, -50%); } /* Day 5 → SMS */
.harm-timing-4 { top: 67%; left: 74%; bottom: auto; right: auto; transform: translate(-50%, -50%); } /* Day 10 → Voice AI */
.harm-timing-5 { top: 32%; left: 50%; transform: translate(-50%, -50%); } /* Day 4 → Retarget (extra clearance from "Display Ads" subtitle) */
.harm-timing-6 { top: 68%; left: 50%; bottom: auto; right: auto; transform: translate(-50%, -50%); } /* Day 7 → Content (extra clearance from icon) */

.harm-timing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a9be0;
}

.harm-timing-dot-orange { background: #e87a54; }
.harm-timing-dot-green { background: #7dc244; }
.harm-timing-dot-yellow { background: #f5c542; }
.harm-timing-dot-purple { background: #c084fc; }
.harm-timing-dot-sky { background: #38bdf8; }

.harm-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.harm-stat-item {
  text-align: center;
}

.harm-stat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.harm-stat-lbl {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.harm-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ========================================
   Neon Glow Text (mokn.io inspired)
   ======================================== */
.glow-heading {
  text-shadow:
    0 0 20px rgba(58, 155, 224, 0.3),
    0 0 40px rgba(58, 155, 224, 0.15),
    0 0 80px rgba(58, 155, 224, 0.05);
  transition: text-shadow 0.6s ease;
}

.glow-heading:hover {
  text-shadow:
    0 0 30px rgba(58, 155, 224, 0.5),
    0 0 60px rgba(58, 155, 224, 0.25),
    0 0 120px rgba(58, 155, 224, 0.1);
}

.glow-accent {
  text-shadow:
    0 0 20px rgba(232, 122, 84, 0.3),
    0 0 40px rgba(232, 122, 84, 0.15);
}

/* ========================================
   Scroll Reveal Text (mokn.io inspired)
   ======================================== */
[data-reveal] {
  color: var(--text-muted);
  opacity: 0.3;
  transition: color 1s ease, opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(20px);
}

[data-reveal].revealed {
  color: var(--text-primary);
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Bento Grid (mokn.io / orbitaix inspired)
   ======================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-grid .feature-card:nth-child(1) {
  grid-column: span 2;
}

.bento-grid .feature-card:nth-child(5) {
  grid-column: span 2;
}

.bento-grid .feature-card {
  min-height: 200px;
}

.bento-grid .feature-card .feature-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ========================================
   Phone Mockup Animations (enhanced)
   ======================================== */
.phone-mockup-wrapper .phone-mockup {
  animation: phoneFloat 6s ease-in-out infinite, phonePulseGlow 4s ease-in-out infinite alternate;
}

@keyframes phonePulseGlow {
  0% { box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(58, 155, 224, 0.1); }
  100% { box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6), 0 0 40px rgba(58, 155, 224, 0.15), 0 0 0 1px rgba(58, 155, 224, 0.2); }
}

.phone-glow {
  position: absolute;
  width: 340px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(58, 155, 224, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: phoneGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes phoneGlowPulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Phone orbital rings */
.phone-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(58, 155, 224, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.phone-ring-1 {
  width: 360px;
  height: 520px;
  animation: ringPulse 6s ease-in-out infinite;
}

.phone-ring-2 {
  width: 440px;
  height: 600px;
  animation: ringPulse 6s ease-in-out infinite 2s;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.08; transform: translate(-50%, -50%) scale(1.05); }
}

/* Floating feature labels around phone */
.phone-float-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.phone-float-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(15, 31, 58, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(58, 155, 224, 0.15);
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  animation: floatLabel 8s ease-in-out infinite;
  opacity: 0;
}

.pfl-icon { font-size: 0.75rem; }

.pfl-1 { top: 8%; left: -60px; animation-delay: 0s; }
.pfl-2 { top: 25%; right: -55px; animation-delay: 1.2s; }
.pfl-3 { top: 45%; left: -65px; animation-delay: 2.4s; }
.pfl-4 { top: 62%; right: -50px; animation-delay: 3.6s; }
.pfl-5 { bottom: 22%; left: -50px; animation-delay: 4.8s; }
.pfl-6 { bottom: 8%; right: -60px; animation-delay: 6s; }

@keyframes floatLabel {
  0%, 100% { opacity: 0; transform: translateY(8px); }
  8%, 42% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0; transform: translateY(-8px); }
}

/* Screen Carousel */
.cc-screen-carousel {
  position: relative;
  overflow: hidden;
}

.cc-screen {
  display: none;
  animation: screenFadeIn 0.6s ease-out;
}

.cc-screen-active {
  display: block;
}

@keyframes screenFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Screen indicator dots */
.cc-screen-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 4px;
}

.cc-dot-ind {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1e3456;
  transition: all 0.3s ease;
}

.cc-dot-ind-active {
  background: var(--primary);
  box-shadow: 0 0 8px rgba(58, 155, 224, 0.4);
  width: 16px;
  border-radius: 4px;
}

/* Tab row in phone */
.cc-tab-row {
  display: flex;
  gap: 4px;
}

.cc-tab {
  font-size: 0.4375rem;
  padding: 3px 6px;
  border-radius: 4px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.cc-tab-active {
  background: rgba(58, 155, 224, 0.15);
  color: var(--primary);
  font-weight: 600;
}

/* Stat trends */
.cc-stat-trend {
  font-size: 0.4375rem;
  font-weight: 600;
  margin-top: 2px;
}

.cc-trend-up { color: #7dc244; }
.cc-trend-down { color: #e87a54; }

/* Stat animation */
.cc-stat-animate {
  animation: statPulse 3s ease-in-out infinite;
}

.cc-stat-animate:nth-child(2) { animation-delay: 1s; }
.cc-stat-animate:nth-child(3) { animation-delay: 2s; }

@keyframes statPulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 12px rgba(58, 155, 224, 0.1); }
}

/* Channel badges on campaigns */
.cc-campaign-channels {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.cc-channel-badge {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.4375rem;
  font-weight: 700;
}

.cc-ch-li { background: rgba(0, 119, 181, 0.2); color: #0077b5; }
.cc-ch-em { background: rgba(58, 155, 224, 0.15); color: #3a9be0; font-size: 0.375rem; }
.cc-ch-ph { background: rgba(125, 194, 68, 0.15); font-size: 0.375rem; }
.cc-ch-sm { background: rgba(232, 122, 84, 0.15); font-size: 0.375rem; }

/* Insight typing animation */
.cc-insight-typing .cc-insight-text {
  overflow: hidden;
  white-space: nowrap;
  animation: typeText 3s steps(60) 2s both;
  width: 0;
}

@keyframes typeText {
  to { width: 100%; white-space: normal; }
}

/* ── Screen 2: ProspectIQ / ICP ── */
.cc-icp-card {
  background: #172a48;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  animation: cardSlideUp 0.5s ease-out both;
}

.cc-icp-card:nth-child(2) { animation-delay: 0.2s; }

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

.cc-icp-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-icp-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7dc244, #3a9be0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.cc-avatar-blue {
  background: linear-gradient(135deg, #3a9be0, #e87a54);
}

.cc-icp-info { flex: 1; min-width: 0; }

.cc-icp-name {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cc-icp-role {
  font-size: 0.5rem;
  color: var(--text-muted);
}

.cc-icp-score {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

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

.cc-score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cc-score-fill {
  animation: scoreGrow 1.5s ease-out both;
  stroke-dasharray: 0 100;
}

@keyframes scoreGrow {
  to { stroke-dasharray: inherit; }
}

.cc-score-val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  color: #7dc244;
}

.cc-icp-signals {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.cc-signal {
  font-size: 0.4375rem;
  padding: 2px 6px;
  background: rgba(125, 194, 68, 0.1);
  border-radius: 4px;
  color: #7dc244;
}

/* groLink preview card */
.cc-grolink-preview {
  background: #172a48;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  animation: cardSlideUp 0.5s ease-out 0.4s both;
}

.cc-grolink-img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(58, 155, 224, 0.3), rgba(232, 122, 84, 0.3));
  flex-shrink: 0;
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.cc-grolink-title {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cc-grolink-stat {
  font-size: 0.4375rem;
  color: var(--text-muted);
}

/* Enrichment row */
.cc-enrich-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc-enrich-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.5rem;
  color: var(--text-secondary);
  animation: enrichReveal 0.4s ease-out both;
}

.cc-enrich-item:nth-child(1) { animation-delay: 0.6s; }
.cc-enrich-item:nth-child(2) { animation-delay: 0.8s; }
.cc-enrich-item:nth-child(3) { animation-delay: 1s; }

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

.cc-enrich-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e87a54;
  animation: pulse-dot 2s ease-in-out infinite;
}

.cc-dot-green { background: #7dc244; animation-delay: 0.5s; }
.cc-dot-blue { background: #3a9be0; animation-delay: 1s; }

/* ── Screen 3: Pipeline & Deals ── */
.cc-pipeline-visual {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  padding: 8px 0;
}

.cc-pipe-stage-v {
  flex: 1;
  text-align: center;
}

.cc-pipe-stage-v span {
  font-size: 0.4375rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.cc-pipe-count {
  font-weight: 700;
  color: var(--text-primary) !important;
  font-size: 0.5625rem !important;
}

.cc-pipe-bar-v {
  border-radius: 4px 4px 0 0;
  width: 100%;
  animation: pipeGrow 1s ease-out both;
}

.cc-pipe-stage-v:nth-child(2) .cc-pipe-bar-v { animation-delay: 0.2s; }
.cc-pipe-stage-v:nth-child(3) .cc-pipe-bar-v { animation-delay: 0.4s; }
.cc-pipe-stage-v:nth-child(4) .cc-pipe-bar-v { animation-delay: 0.6s; }

@keyframes pipeGrow {
  from { height: 0 !important; }
}

.cc-pipe-1 { background: linear-gradient(to top, #3a9be0, rgba(58, 155, 224, 0.6)); }
.cc-pipe-2 { background: linear-gradient(to top, #7dc244, rgba(125, 194, 68, 0.6)); }
.cc-pipe-3 { background: linear-gradient(to top, #e87a54, rgba(232, 122, 84, 0.6)); }
.cc-pipe-4 { background: linear-gradient(to top, #f5c542, rgba(245, 197, 66, 0.6)); }

/* Deal cards */
.cc-deal-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #172a48;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
  animation: dealSlide 0.5s ease-out both;
}

.cc-deal-card:nth-child(2) { animation-delay: 0.3s; }

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

.cc-deal-badge {
  font-size: 0.375rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(125, 194, 68, 0.2);
  color: #7dc244;
  letter-spacing: 0.05em;
}

.cc-badge-hot {
  background: rgba(232, 122, 84, 0.2);
  color: #e87a54;
  animation: hotPulse 1.5s ease-in-out infinite;
}

@keyframes hotPulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 8px rgba(232, 122, 84, 0.3); }
}

.cc-deal-name {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cc-deal-val {
  font-size: 0.4375rem;
  color: var(--text-muted);
}

/* Voice AI card with waveform */
.cc-voice-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(58, 155, 224, 0.08);
  border: 1px solid rgba(58, 155, 224, 0.15);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
  animation: cardSlideUp 0.5s ease-out 0.5s both;
}

.cc-voice-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}

.cc-voice-wave span {
  width: 3px;
  border-radius: 4px;
  background: var(--primary);
  animation: waveBar 1.2s ease-in-out infinite;
}

.cc-voice-wave span:nth-child(1) { height: 8px; animation-delay: 0s; }
.cc-voice-wave span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.cc-voice-wave span:nth-child(3) { height: 20px; animation-delay: 0.3s; }
.cc-voice-wave span:nth-child(4) { height: 12px; animation-delay: 0.45s; }
.cc-voice-wave span:nth-child(5) { height: 6px; animation-delay: 0.6s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.cc-voice-status {
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--primary);
}

.cc-voice-detail {
  font-size: 0.4375rem;
  color: var(--text-muted);
}

/* AI action bar */
.cc-ai-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(232, 122, 84, 0.08);
  border: 1px solid rgba(232, 122, 84, 0.15);
  border-radius: 8px;
  animation: aiPulse 3s ease-in-out infinite;
}

.cc-ai-sparkle {
  color: var(--accent);
  font-size: 0.75rem;
  animation: sparkleRotate 2s ease-in-out infinite;
}

@keyframes sparkleRotate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
}

.cc-ai-text {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--accent);
}

@keyframes aiPulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 12px rgba(232, 122, 84, 0.1); }
}

/* Notification stack - three cycling notifications */
.phone-notification {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: rgba(15, 31, 58, 0.85);
  border: 1px solid rgba(58, 155, 224, 0.3);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
  width: 88%;
  pointer-events: none;
  opacity: 0;
}

.notif-1 { animation: notifCycle1 18s ease-in-out infinite; }
.notif-2 { animation: notifCycle2 18s ease-in-out infinite; }
.notif-3 { animation: notifCycle3 18s ease-in-out infinite; }

@keyframes notifCycle1 {
  0%, 100% { transform: translateX(-50%) translateY(-100%); opacity: 0; }
  3%, 28% { transform: translateX(-50%) translateY(0); opacity: 1; }
  33% { transform: translateX(-50%) translateY(-100%); opacity: 0; }
}

@keyframes notifCycle2 {
  0%, 33% { transform: translateX(-50%) translateY(-100%); opacity: 0; }
  36%, 61% { transform: translateX(-50%) translateY(0); opacity: 1; }
  66% { transform: translateX(-50%) translateY(-100%); opacity: 0; }
}

@keyframes notifCycle3 {
  0%, 66% { transform: translateX(-50%) translateY(-100%); opacity: 0; }
  69%, 94% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(-100%); opacity: 0; }
}

.phone-notification-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.notif-dot-green { background: #7dc244; }
.notif-dot-blue { background: #3a9be0; }

.phone-notification-text {
  font-size: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

/* Scan line across phone screen */
.phone-scanline {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(58, 155, 224, 0.4), transparent);
  z-index: 15;
  animation: scanline 4s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.6;
}

@keyframes scanline {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

/* ========================================
   Cinematic Section Spacing
   ======================================== */
.section-cinematic {
  padding: 160px 0;
}

/* ========================================
   Section Gradient Dividers
   ======================================== */
#platform-features::before,
#harmonization::before,
#process::before,
#results::before,
#case-studies::before,
#blog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58, 155, 224, 0.12), rgba(232, 122, 84, 0.08), transparent);
  pointer-events: none;
}

#platform-features,
#harmonization,
#process,
#results,
#case-studies,
#blog {
  position: relative;
}

/* ========================================
   Glassmorphism Cards (orbitaix inspired)
   ======================================== */
.glass-card {
  background: rgba(23, 42, 72, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(58, 155, 224, 0.12);
}

.glass-card:hover {
  border-color: rgba(58, 155, 224, 0.25);
  background: rgba(23, 42, 72, 0.6);
}

/* ========================================
   Floating Accent Orbs (mokn.io inspired)
   ======================================== */
.section-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.section-orb-blue {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(58, 155, 224, 0.08) 0%, transparent 70%);
  animation: orbDrift 12s ease-in-out infinite;
}

.section-orb-orange {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(232, 122, 84, 0.06) 0%, transparent 70%);
  animation: orbDrift 15s ease-in-out infinite reverse;
}

.section-orb-green {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(125, 194, 68, 0.05) 0%, transparent 70%);
  animation: orbDrift 10s ease-in-out infinite 3s;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -20px); }
  50% { transform: translate(-20px, 30px); }
  75% { transform: translate(15px, 15px); }
}

/* ========================================
   Enhanced Featured Cases with Glow
   ======================================== */
.featured-case {
  position: relative;
  overflow: hidden;
}

.featured-case::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(58, 155, 224, 0.06) 60deg, transparent 120deg);
  animation: rotateBorder 8s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.featured-case:hover::before {
  opacity: 1;
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
   Animated Gradient Border
   ======================================== */
.gradient-border-animated {
  position: relative;
}

.gradient-border-animated::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3a9be0, #7dc244, #e87a54, #3a9be0);
  background-size: 300% 100%;
  animation: gradientShift 3s linear infinite;
}

/* ========================================
   Large Stats Reveal
   ======================================== */
.stat-number,
.case-result,
.metric-number,
.harm-stat-val {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

/* ========================================
   Animations - entrance reveals via @keyframes
   Animations can't get stuck mid-flight like transitions can.
   Content is visible by default if JS doesn't load (.js-anim gate).
   ======================================== */
.js-anim [data-animate]:not(.visible) {
  opacity: 0;
}

[data-animate].visible {
  animation: revealFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

[data-animate="fade-up"].visible { animation-name: revealFadeUp; }
[data-animate="fade-down"].visible { animation-name: revealFadeDown; }
[data-animate="fade-left"].visible { animation-name: revealFadeLeft; }
[data-animate="fade-right"].visible { animation-name: revealFadeRight; }
[data-animate="fade-scale"].visible { animation-name: revealFadeScale; }

@keyframes revealFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes revealFadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes revealFadeLeft {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes revealFadeRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes revealFadeScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Stagger grid: cascade child reveals */
.js-anim [data-stagger] > *:not(.visible) {
  opacity: 0;
}
[data-stagger].visible > * {
  animation: revealFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
[data-stagger].visible > *:nth-child(1) { animation-delay: 0s; }
[data-stagger].visible > *:nth-child(2) { animation-delay: 0.08s; }
[data-stagger].visible > *:nth-child(3) { animation-delay: 0.16s; }
[data-stagger].visible > *:nth-child(4) { animation-delay: 0.24s; }
[data-stagger].visible > *:nth-child(5) { animation-delay: 0.32s; }
[data-stagger].visible > *:nth-child(6) { animation-delay: 0.40s; }
[data-stagger].visible > *:nth-child(7) { animation-delay: 0.48s; }
[data-stagger].visible > *:nth-child(8) { animation-delay: 0.56s; }

/* ── Dashboard Load Animation ── */
.dash-load-el {
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-load-el.dash-el-metric {
  transform: translateY(8px);
}

.dash-load-el.dash-el-widget {
  transform: translateY(12px);
}

.dash-load-el.dash-el-feed {
  transform: translateX(-10px);
}

.dash-load-el.dash-el-visible {
  opacity: 1;
  transform: none;
}

.dash-load-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border: 3px solid rgba(58, 155, 224, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: dash-spin 0.8s linear infinite;
  z-index: 10;
  transition: opacity 0.3s ease;
}

@keyframes dash-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.section-title {
  background-size: 100%;
  animation: none;
}

.section-header .section-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.section-header.visible .section-title {
  opacity: 1;
  transform: translateY(0);
}

/* (Stagger animation now defined at top using @keyframes) */

/* ========================================
   Parallax Floating Geometric Shapes
   ======================================== */
.parallax-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.p-shape {
  position: absolute;
  will-change: transform;
}

.p-shape-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(58, 155, 224, 0.15);
  box-shadow: 0 0 8px rgba(58, 155, 224, 0.08);
}

.p-shape-dot.p-shape-accent {
  background: rgba(232, 122, 84, 0.12);
  box-shadow: 0 0 8px rgba(232, 122, 84, 0.06);
}

.p-shape-dot.p-shape-green {
  background: rgba(125, 194, 68, 0.12);
  box-shadow: 0 0 8px rgba(125, 194, 68, 0.06);
}

.p-shape-cross {
  width: 12px;
  height: 12px;
  position: relative;
}

.p-shape-cross::before,
.p-shape-cross::after {
  content: '';
  position: absolute;
  background: rgba(58, 155, 224, 0.1);
}

.p-shape-cross::before {
  width: 12px;
  height: 1px;
  top: 50%;
  left: 0;
}

.p-shape-cross::after {
  width: 1px;
  height: 12px;
  left: 50%;
  top: 0;
}

.p-shape-cross.p-shape-accent::before,
.p-shape-cross.p-shape-accent::after {
  background: rgba(232, 122, 84, 0.1);
}

.p-shape-ring {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(58, 155, 224, 0.08);
}

.p-shape-ring.p-shape-accent {
  border-color: rgba(232, 122, 84, 0.08);
}

.p-shape-line {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58, 155, 224, 0.12), transparent);
}

.p-shape-line.p-shape-accent {
  background: linear-gradient(90deg, transparent, rgba(232, 122, 84, 0.1), transparent);
}

/* Parallax utility - ensure will-change on parallax items */
[data-parallax] {
  will-change: transform;
}

/* ========================================
   Performance - lazy render below-fold
   ======================================== */
#problem,
#services,
#harmonization,
#platform,
#platform-features,
#why-grobot,
#case-studies,
#reviews,
#blog,
#cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.marquee-track,
.review-marquee-track,
.review-marquee-track-reverse {
  will-change: transform;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid,
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-grid .feature-card:nth-child(1),
  .bento-grid .feature-card:nth-child(5) {
    grid-column: span 1;
  }

  .section-cinematic {
    padding: 120px 0;
  }

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

  .platform-hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .platform-text .section-title,
  .platform-text .section-desc,
  .platform-text .section-label {
    text-align: center;
  }

  /* On centered platform-text, keep highlights as a tight left-aligned
     block instead of full-width center so the checkmarks stay visually
     locked together. */
  .platform-highlights {
    align-items: flex-start;
    align-self: center;
    max-width: 360px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .problem-text .section-title {
    text-align: center;
  }

  .problem-text .section-desc {
    text-align: center;
  }

  .problem-text .section-label {
    text-align: center;
    display: block;
  }
}

@media (max-width: 768px) {
  .cta-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-content {
    text-align: center;
  }

  .cta-trust {
    justify-content: center;
  }

  .cta-form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }

  .section-cinematic {
    padding: 100px 0;
  }

  .features-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid .feature-card:nth-child(1),
  .bento-grid .feature-card:nth-child(5) {
    grid-column: span 1;
  }

  .section-orb {
    display: none;
  }

  .parallax-shapes {
    display: none;
  }

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

  .platform-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .platform-text .section-title { text-align: center; }

  .platform-dashboard {
    transform: none;
  }

  .platform-dashboard:hover {
    transform: none;
  }

  .pd-body {
    grid-template-columns: 1fr;
  }

  .pd-panel-left {
    border-right: none;
    border-bottom: 1px solid rgba(58, 155, 224, 0.06);
  }

  .phone-mockup {
    width: 240px;
  }

  .phone-screen {
    min-height: 380px;
    padding: 12px;
  }

  .phone-float-labels {
    display: none;
  }

  .phone-ring {
    display: none;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px;
  }

  .hero-metric-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(58, 155, 224, 0.2), transparent);
  }

  .hero-radial-rings {
    display: none;
  }

  .hero-dashboard-wrapper {
    margin-top: 40px;
  }

  .dash-app-menu {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .dash-app-menu::-webkit-scrollbar { display: none; }

  .dash-menu-item svg { display: none; }

  .dash-logo-img { height: 16px; }

  .dash-stats-bar {
    flex-wrap: wrap;
  }

  .dash-metric {
    flex: 0 0 33.333%;
  }

  .dash-widgets-row {
    grid-template-columns: 1fr;
  }

  .dash-widgets-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .harmonization-visual {
    height: 400px;
  }

  .harm-hub-inner {
    width: 90px;
    height: 90px;
  }

  .harm-hub-icon { width: 28px; height: 28px; }

  .harm-ch-icon {
    width: 44px;
    height: 44px;
  }

  .harm-ch-icon svg { width: 18px; height: 18px; }

  .harm-ch-1 { top: 4%; left: 2%; }
  .harm-ch-2 { top: 4%; right: 2%; }
  .harm-ch-3 { bottom: 4%; left: 2%; }
  .harm-ch-4 { bottom: 4%; right: 2%; }
  .harm-ch-5 { top: 0%; left: 50%; transform: translateX(-50%); }
  .harm-ch-6 { bottom: 0%; left: 50%; transform: translateX(-50%); }

  .harm-timing { display: none; }

  .harm-stats {
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px;
  }

  .harm-stat-divider { display: none; }

  .harm-stat-item { width: 40%; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-section);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

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

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

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

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

  .featured-cases {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding: 100px 24px 60px;
  }

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

  .process-step {
    flex-direction: column;
    gap: 16px;
  }

  .process-line {
    display: none;
  }

  .step-marker {
    align-self: flex-start;
  }

  .case-result {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-lg {
    padding: 16px 28px;
  }

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

  .dash-app-right { display: none; }

  .dash-menu-item { font-size: 0.5rem; padding: 4px 5px; }

  .dash-metric { flex: 0 0 50%; }

  .dash-widgets-4 { grid-template-columns: 1fr; }

  .dash-ai-item { padding: 4px 6px; }
  .dash-ai-icon { width: 18px; height: 18px; font-size: 0.5rem; }
  .dash-ai-action { font-size: 0.5rem; }

  .pd-flow-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .pd-flow-stats { gap: 10px; flex-wrap: wrap; }

  .pd-step { padding: 6px 8px; gap: 6px; }
  .pd-step-icon { width: 22px; height: 22px; font-size: 0.55rem; }
  .pd-step-label { font-size: 0.5625rem; }
  .pd-step-connector { height: 18px; padding-left: 18px; }
}

/* ========================================
   ANIMATED PLATFORM WALKTHROUGH
   Multi-scene auto-cycling demo with
   cursor, live data, toasts, AI typing
   ======================================== */

.platform-dashboard {
  position: relative;
}

/* Scene Container */
.pd-scenes {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.pd-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.985);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0s linear 0.55s;
}

.pd-scene.pd-scene-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

/* Flowing connector lines (workflow scene) */
.pd-flow-line {
  position: relative;
  overflow: hidden;
}

.pd-flow-line::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, transparent, rgba(58, 155, 224, 0.9), transparent);
  opacity: 0;
  animation: pdFlowDown 2.4s ease-in-out infinite;
}

.pd-flow-line.pd-flow-on::after {
  opacity: 1;
}

@keyframes pdFlowDown {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

.pd-step-line {
  transition: background 0.6s ease;
}

.pd-step-line.pd-line-completed {
  background: linear-gradient(to bottom, rgba(125, 194, 68, 0.6), rgba(58, 155, 224, 0.4)) !important;
  border-left: none !important;
  width: 2px !important;
}

/* Step state transitions */
.pd-step {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.pd-step-pending {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-step.pd-step-activating {
  opacity: 1 !important;
  transform: scale(1.015);
  box-shadow: 0 0 0 1px rgba(58, 155, 224, 0.4), 0 8px 24px rgba(58, 155, 224, 0.18);
}

.pd-step.pd-step-completing .pd-step-status {
  animation: pdStepComplete 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pdStepComplete {
  0% { transform: scale(1); background: rgba(58, 155, 224, 0.15); color: #3a9be0; }
  40% { transform: scale(1.5); background: rgba(125, 194, 68, 0.3); color: #7dc244; }
  100% { transform: scale(1); background: rgba(125, 194, 68, 0.15); color: #7dc244; }
}

.pd-step-status.pd-status-flipping::before {
  content: '\2713';
  animation: pdCheckIn 0.5s ease-out;
}

@keyframes pdCheckIn {
  from { transform: scale(0) rotate(-90deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

/* Tickering Numbers */
.pd-tick {
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.pd-tick.pd-tick-flash {
  color: #7dc244 !important;
  animation: pdTickFlash 0.6s ease-out;
}

@keyframes pdTickFlash {
  0% { transform: scale(1); text-shadow: 0 0 0 rgba(125, 194, 68, 0); }
  50% { transform: scale(1.12); text-shadow: 0 0 12px rgba(125, 194, 68, 0.7); }
  100% { transform: scale(1); text-shadow: 0 0 0 rgba(125, 194, 68, 0); }
}

/* Animated Cursor */
.pd-cursor {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 20px;
  height: 22px;
  pointer-events: none;
  z-index: 50;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  transition: left 0.9s cubic-bezier(0.65, 0, 0.35, 1),
              top 0.9s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.4s ease;
  opacity: 0;
}

.pd-cursor.pd-cursor-active {
  opacity: 1;
}

.pd-cursor-click {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
}

.pd-cursor.pd-cursor-clicking .pd-cursor-click {
  animation: pdClickRipple 0.6s ease-out;
}

@keyframes pdClickRipple {
  0% { width: 0; height: 0; opacity: 1; border-width: 2px; }
  100% { width: 48px; height: 48px; opacity: 0; border-width: 0.5px; }
}

/* Toast Notifications */
.pd-toasts {
  position: absolute;
  top: 90px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 40;
  pointer-events: none;
}

.pd-toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(15, 31, 58, 0.96) 0%, rgba(23, 42, 72, 0.96) 100%);
  border: 1px solid rgba(58, 155, 224, 0.25);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(58, 155, 224, 0.1);
  font-size: 0.625rem;
  color: var(--text-primary);
  min-width: 180px;
  animation: pdToastIn 0.5s cubic-bezier(0.16, 1, 0.3, 1), pdToastOut 0.4s ease-in forwards 3.6s;
  backdrop-filter: blur(8px);
}

.pd-toast-success {
  border-color: rgba(125, 194, 68, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(125, 194, 68, 0.15);
}

.pd-toast-accent {
  border-color: rgba(232, 122, 84, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 122, 84, 0.15);
}

.pd-toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.pd-toast-success .pd-toast-icon { background: rgba(125, 194, 68, 0.2); color: #7dc244; }
.pd-toast-accent .pd-toast-icon { background: rgba(232, 122, 84, 0.2); color: #e87a54; }
.pd-toast-info .pd-toast-icon { background: rgba(58, 155, 224, 0.2); color: #3a9be0; }

.pd-toast-body { flex: 1; min-width: 0; }
.pd-toast-title { font-size: 0.625rem; font-weight: 700; color: var(--text-primary); }
.pd-toast-msg { font-size: 0.5625rem; color: var(--text-muted); margin-top: 2px; }

@keyframes pdToastIn {
  from { transform: translateX(40px) scale(0.9); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes pdToastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(40px); opacity: 0; }
}

/* Live Activity Ticker (bottom strip) */
.pd-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 14px;
  background: linear-gradient(90deg, rgba(15, 31, 58, 0.85) 0%, rgba(23, 42, 72, 0.85) 100%);
  border-top: 1px solid rgba(58, 155, 224, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.5625rem;
  color: var(--text-muted);
  backdrop-filter: blur(6px);
  z-index: 30;
}

.pd-ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dc244;
  animation: livePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.pd-ticker-text {
  font-size: 0.5625rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: pdTickerFade 0.4s ease-out;
}

@keyframes pdTickerFade {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Nav active state transition */
.dash-menu-item {
  position: relative;
  transition: color 0.3s ease, background 0.3s ease;
}

.dash-menu-item.dash-menu-hover {
  color: var(--primary);
  background: rgba(58, 155, 224, 0.06);
}

/* === SCENE 2: UNIBOX === */
.pd-body-inbox {
  display: grid;
  grid-template-columns: 32% 1fr;
  min-height: 340px;
}

.pd-inbox-list {
  border-right: 1px solid rgba(58, 155, 224, 0.08);
  padding: 12px 0;
  overflow: hidden;
}

.pd-inbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 10px;
  border-bottom: 1px solid rgba(58, 155, 224, 0.06);
}

.pd-inbox-title {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pd-inbox-badge {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(232, 122, 84, 0.18);
  color: #e87a54;
}

.pd-inbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
}

.pd-inbox-item-active {
  background: rgba(58, 155, 224, 0.08);
  border-left: 2px solid var(--primary);
}

.pd-inbox-item:hover {
  background: rgba(58, 155, 224, 0.04);
}

.pd-inbox-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.pd-avatar-1 { background: linear-gradient(135deg, #e87a54 0%, #c25837 100%); }
.pd-avatar-2 { background: linear-gradient(135deg, #3a9be0 0%, #1b6a9e 100%); }
.pd-avatar-3 { background: linear-gradient(135deg, #7dc244 0%, #4f8a26 100%); }

.pd-inbox-content { flex: 1; min-width: 0; overflow: hidden; }
.pd-inbox-name { font-size: 0.5625rem; font-weight: 700; color: var(--text-primary); }
.pd-inbox-preview {
  font-size: 0.5rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-inbox-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.pd-inbox-new {
  animation: livePulse 1.5s ease-in-out infinite;
}

.pd-inbox-thread {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.pd-thread-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(58, 155, 224, 0.06);
}

.pd-thread-from {
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pd-thread-tag {
  font-size: 0.4375rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(232, 122, 84, 0.18);
  color: #e87a54;
}

.pd-thread-msg {
  padding: 8px 10px;
  border-radius: 10px;
  position: relative;
}

.pd-thread-msg p {
  font-size: 0.5625rem;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0;
}

.pd-thread-msg-in {
  background: rgba(15, 31, 58, 0.6);
  border: 1px solid rgba(58, 155, 224, 0.08);
  align-self: flex-start;
  max-width: 90%;
}

.pd-thread-time {
  display: block;
  font-size: 0.4375rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* AI Suggestion Box */
.pd-ai-suggest {
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(58, 155, 224, 0.08) 0%, rgba(232, 122, 84, 0.05) 100%);
  border: 1px solid rgba(58, 155, 224, 0.25);
  position: relative;
  box-shadow: 0 0 24px rgba(58, 155, 224, 0.08);
}

.pd-ai-suggest::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 11px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(58, 155, 224, 0.4), rgba(232, 122, 84, 0.3), rgba(125, 194, 68, 0.3), rgba(58, 155, 224, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: pdAiGlow 4s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}

@keyframes pdAiGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.pd-ai-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.pd-ai-icon { font-size: 0.75rem; }

.pd-ai-label {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pd-ai-confidence {
  margin-left: auto;
  font-size: 0.4375rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(125, 194, 68, 0.18);
  color: #7dc244;
}

.pd-ai-typing {
  min-height: 48px;
  font-size: 0.5625rem;
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
}

.pd-ai-typing::after {
  content: '|';
  animation: pdCaret 1s steps(2) infinite;
  color: var(--primary);
  font-weight: 700;
  margin-left: 1px;
}

.pd-ai-typing.pd-ai-done::after {
  display: none;
}

@keyframes pdCaret {
  50% { opacity: 0; }
}

.pd-ai-actions {
  display: flex;
  gap: 6px;
}

.pd-ai-btn {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(58, 155, 224, 0.2);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.pd-ai-btn:hover {
  background: rgba(58, 155, 224, 0.08);
  color: var(--text-primary);
}

.pd-ai-btn-primary {
  background: linear-gradient(135deg, #3a9be0 0%, #1b6a9e 100%);
  border-color: transparent;
  color: #fff;
}

/* === SCENE 3: DEALS PIPELINE === */
.pd-body-deals {
  padding: 14px 16px;
  min-height: 340px;
}

.pd-deals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(58, 155, 224, 0.08);
}

.pd-deals-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pd-deals-stats { display: flex; gap: 14px; }

.pd-deal-stat { font-size: 0.5625rem; color: var(--text-muted); }
.pd-deal-stat strong { font-weight: 700; display: block; font-size: 0.6875rem; }

.pd-kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pd-kanban-col {
  background: rgba(15, 31, 58, 0.5);
  border: 1px solid rgba(58, 155, 224, 0.06);
  border-radius: 8px;
  padding: 8px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.pd-kanban-col-won {
  border-color: rgba(125, 194, 68, 0.25);
  background: rgba(125, 194, 68, 0.04);
}

.pd-kanban-col.pd-col-pulse {
  background: rgba(125, 194, 68, 0.08);
  border-color: rgba(125, 194, 68, 0.4);
}

.pd-kanban-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 6px;
  border-bottom: 1px solid rgba(58, 155, 224, 0.06);
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.pd-kanban-count {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(58, 155, 224, 0.12);
  color: var(--primary);
}

.pd-kanban-card {
  padding: 8px;
  background: rgba(23, 42, 72, 0.7);
  border: 1px solid rgba(58, 155, 224, 0.1);
  border-radius: 4px;
  cursor: grab;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s ease,
              box-shadow 0.3s ease;
}

.pd-kanban-card.pd-card-moving {
  transform: translateX(120%) scale(0.9);
  opacity: 0;
}

.pd-kanban-card.pd-card-arriving {
  animation: pdCardArrive 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 0 1px rgba(125, 194, 68, 0.4), 0 6px 18px rgba(125, 194, 68, 0.15);
}

@keyframes pdCardArrive {
  from { transform: translateX(-30%) scale(0.85); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

.pd-card-name {
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pd-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.5rem;
}

.pd-card-val { color: var(--primary); font-weight: 700; }
.pd-card-temp { font-size: 0.6875rem; }

.pd-card-won { border-color: rgba(125, 194, 68, 0.3); }
.pd-card-won .pd-card-val { color: #7dc244; }

/* === SCENE 4: REPORTS === */
.pd-body-reports {
  padding: 14px 16px;
  min-height: 340px;
}

.pd-reports-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(58, 155, 224, 0.08);
}

.pd-reports-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pd-reports-period {
  font-size: 0.5625rem;
  font-weight: 700;
  color: #7dc244;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(125, 194, 68, 0.12);
}

.pd-report-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.pd-metric-card {
  padding: 10px;
  background: rgba(15, 31, 58, 0.5);
  border: 1px solid rgba(58, 155, 224, 0.06);
  border-radius: 8px;
}

.pd-metric-label {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pd-metric-value {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1.1;
}

.pd-metric-trend {
  font-size: 0.5rem;
  color: #7dc244;
  margin-top: 4px;
  font-weight: 600;
}

.pd-chart {
  padding: 10px 12px;
  background: rgba(15, 31, 58, 0.4);
  border: 1px solid rgba(58, 155, 224, 0.06);
  border-radius: 8px;
}

.pd-chart-title {
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.pd-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100px;
  padding-bottom: 16px;
  position: relative;
}

.pd-bar {
  flex: 1;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pd-bar-fill {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(58, 155, 224, 0.85), rgba(58, 155, 224, 0.3));
  border-radius: 4px 4px 0 0;
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-bar.pd-bar-grown .pd-bar-fill {
  height: var(--h);
}

.pd-bar-highlight {
  background: linear-gradient(to top, rgba(232, 122, 84, 0.95), rgba(232, 122, 84, 0.4)) !important;
  box-shadow: 0 0 18px rgba(232, 122, 84, 0.35);
}

.pd-bar-label {
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.4375rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Confetti sparkles */
.pd-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 45;
  animation: pdSparkle 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pdSparkle {
  0% { transform: translate(0, 0) scale(0); opacity: 1; }
  20% { transform: translate(var(--x, 0), var(--y, 0)) scale(1.2); opacity: 1; }
  100% { transform: translate(calc(var(--x, 0) * 1.5), calc(var(--y, 0) * 1.5 + 30px)) scale(0); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
  .pd-body-inbox { grid-template-columns: 1fr; }
  .pd-inbox-list { display: none; }
  .pd-kanban { grid-template-columns: 1fr 1fr; }
  .pd-kanban-col:nth-child(n+3) { display: none; }
  .pd-report-metrics { grid-template-columns: 1fr; gap: 6px; }
  .pd-cursor { display: none; }
}

/* ========================================
   HERO DASHBOARD - Scene Switching
   Tabs at top swap which scene is shown in-place.
   ======================================== */
.dash-scene-container {
  position: relative;
  /* Hold a fixed height across all scenes so clicking tabs never resizes
     the dashboard chrome. Matches the tallest scene (Dashboard) with a
     little breathing room. Shorter scenes leave space below but the
     chrome never shifts. */
  min-height: 660px;
}

.dash-scene {
  display: none;
  animation: heroSceneIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dash-scene.dash-scene-active {
  display: block;
}

/* Each scene already gets its padding from .dash-main-full but the
   default min-height there fights the container's lock - override. */
.dash-scene-container .dash-main-full {
  min-height: 0;
}

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

/* Branded pill (matches Command Center's actual orange treatment) */
.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
.dash-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}
.dash-pill-success { background: rgba(125, 194, 68, 0.15); color: #7dc244; }
.dash-pill-success::before { background: #7dc244; box-shadow: 0 0 6px rgba(125, 194, 68, 0.6); }
.dash-pill-warm { background: rgba(232, 122, 84, 0.15); color: var(--accent); }
.dash-pill-warm::before { background: var(--accent); box-shadow: 0 0 6px rgba(232, 122, 84, 0.6); }

/* === HERO WORKFLOW SCENE === */
.hero-flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-flow-card {
  background: rgba(15, 31, 58, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.hero-flow-head {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(58, 155, 224, 0.08);
}
.hero-flow-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.hero-flow-stats {
  display: flex;
  gap: 14px;
  font-size: 0.5625rem;
  color: var(--text-muted);
}
.hero-flow-stats strong {
  font-weight: 700;
  font-size: 0.6875rem;
  display: block;
}
.hero-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  background: rgba(23, 42, 72, 0.5);
  border: 1px solid rgba(58, 155, 224, 0.08);
  border-radius: 4px;
}
.hero-flow-step.pending { opacity: 0.5; }
.hero-flow-step.active {
  border-color: rgba(232, 122, 84, 0.35);
  background: rgba(232, 122, 84, 0.06);
}
.hero-flow-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}
.hero-flow-li { background: rgba(10, 102, 194, 0.2); color: #0a66c2; }
.hero-flow-em { background: rgba(58, 155, 224, 0.15); color: #3a9be0; }
.hero-flow-sms { background: rgba(125, 194, 68, 0.15); color: #7dc244; }
.hero-flow-call { background: rgba(232, 122, 84, 0.15); color: var(--accent); }
.hero-flow-label {
  flex: 1;
  font-size: 0.625rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-flow-status {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
  background: rgba(125, 194, 68, 0.15);
  color: #7dc244;
}
.hero-flow-step.active .hero-flow-status {
  background: rgba(232, 122, 84, 0.18);
  color: var(--accent);
  animation: livePulse 2s ease-in-out infinite;
}
.hero-flow-step.pending .hero-flow-status {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* === HERO UNIBOX SCENE === */
.hero-inbox-grid {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 14px;
  min-height: 320px;
}
.hero-inbox-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(58, 155, 224, 0.08);
  padding-right: 10px;
}
.hero-inbox-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.hero-inbox-item:hover { background: rgba(58, 155, 224, 0.04); }
.hero-inbox-item.active {
  background: rgba(232, 122, 84, 0.06);
  border-left: 2px solid var(--accent);
  padding-left: 8px;
}
.hero-inbox-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.avatar-orange { background: linear-gradient(135deg, var(--accent), #c25837); }
.avatar-blue { background: linear-gradient(135deg, #3a9be0, #1b6a9e); }
.avatar-green { background: linear-gradient(135deg, #7dc244, #4f8a26); }
.avatar-purple { background: linear-gradient(135deg, #8b5cf6, #6d3fc4); }

.hero-inbox-info { flex: 1; min-width: 0; }
.hero-inbox-name {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}
.hero-inbox-time {
  font-size: 0.5rem;
  font-weight: 400;
  color: var(--text-muted);
}
.hero-inbox-preview {
  font-size: 0.5625rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.hero-inbox-tags { display: flex; gap: 4px; }
.hero-inbox-tag {
  font-size: 0.4375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 4px;
}
.tag-warm { background: rgba(232, 122, 84, 0.15); color: var(--accent); }
.tag-channel { background: rgba(58, 155, 224, 0.12); color: #3a9be0; }
.hero-inbox-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: livePulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
  margin-top: 4px;
}

.hero-inbox-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(58, 155, 224, 0.08);
}
.hero-thread-from {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-primary);
}
.hero-thread-role {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.5625rem;
  margin-left: 6px;
}
.hero-thread-msg {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 31, 58, 0.6);
  border: 1px solid rgba(58, 155, 224, 0.08);
  max-width: 90%;
}
.hero-thread-msg p {
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--text-primary);
  margin: 0;
}
.hero-thread-time {
  display: block;
  font-size: 0.5rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-ai-suggest {
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(58, 155, 224, 0.08) 0%, rgba(232, 122, 84, 0.06) 100%);
  border: 1px solid rgba(232, 122, 84, 0.25);
  position: relative;
}
.hero-ai-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 8px;
}
.hero-ai-confidence {
  font-size: 0.5rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(125, 194, 68, 0.18);
  color: #7dc244;
}
.hero-ai-body {
  font-size: 0.625rem;
  line-height: 1.55;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.hero-ai-actions { display: flex; gap: 6px; }
.hero-ai-btn {
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid rgba(58, 155, 224, 0.2);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.hero-ai-btn:hover { background: rgba(58, 155, 224, 0.08); color: var(--text-primary); }
.hero-ai-btn.primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}
.hero-ai-btn.primary:hover { background: #d96840; color: #fff; }

/* === HERO DEALS SCENE === */
.hero-kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.hero-kan-col {
  background: rgba(15, 31, 58, 0.5);
  border: 1px solid rgba(58, 155, 224, 0.08);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 280px;
}
.hero-kan-col.hero-kan-won {
  border-color: rgba(125, 194, 68, 0.3);
  background: rgba(125, 194, 68, 0.04);
}
.hero-kan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(58, 155, 224, 0.08);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.hero-kan-count {
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(232, 122, 84, 0.15);
  color: var(--accent);
}
.hero-kan-card {
  background: rgba(23, 42, 72, 0.7);
  border: 1px solid rgba(58, 155, 224, 0.12);
  border-radius: 4px;
  padding: 9px;
  cursor: grab;
  transition: transform 0.2s, border-color 0.2s;
}
.hero-kan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 122, 84, 0.3);
}
.hero-kan-card-won { border-color: rgba(125, 194, 68, 0.3); }
.hero-kan-name {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.hero-kan-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.5625rem;
}
.hero-kan-val { color: var(--accent); font-weight: 700; }
.hero-kan-card-won .hero-kan-val { color: #7dc244; }

/* === HERO REPORTS SCENE === */
.hero-reports-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.hero-metric-card {
  padding: 14px;
  background: rgba(15, 31, 58, 0.5);
  border: 1px solid rgba(58, 155, 224, 0.08);
  border-radius: 8px;
}
.hero-metric-label {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.hero-metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
}
.hero-metric-trend {
  font-size: 0.5625rem;
  color: #7dc244;
  margin-top: 6px;
  font-weight: 600;
}
.hero-chart {
  padding: 14px 16px;
  background: rgba(15, 31, 58, 0.4);
  border: 1px solid rgba(58, 155, 224, 0.08);
  border-radius: 8px;
}
.hero-chart-title {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  padding-bottom: 18px;
  position: relative;
}
.hero-chart-bar {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.hero-chart-fill {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(58, 155, 224, 0.85), rgba(58, 155, 224, 0.3));
  border-radius: 4px 4px 0 0;
  animation: heroChartGrow 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.dash-scene-active .hero-chart-bar:nth-child(1) .hero-chart-fill { animation-delay: 0s; --target-h: 40%; }
.dash-scene-active .hero-chart-bar:nth-child(2) .hero-chart-fill { animation-delay: 0.1s; --target-h: 55%; }
.dash-scene-active .hero-chart-bar:nth-child(3) .hero-chart-fill { animation-delay: 0.2s; --target-h: 70%; }
.dash-scene-active .hero-chart-bar:nth-child(4) .hero-chart-fill { animation-delay: 0.3s; --target-h: 62%; }
.dash-scene-active .hero-chart-bar:nth-child(5) .hero-chart-fill { animation-delay: 0.4s; --target-h: 88%; }
.dash-scene-active .hero-chart-bar:nth-child(6) .hero-chart-fill { animation-delay: 0.5s; --target-h: 96%; }
@keyframes heroChartGrow {
  from { height: 0; }
  to { height: var(--target-h, 50%); }
}
.hero-chart-fill.highlight {
  background: linear-gradient(to top, rgba(232, 122, 84, 0.95), rgba(232, 122, 84, 0.4));
  box-shadow: 0 0 20px rgba(232, 122, 84, 0.35);
}
.hero-chart-label {
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* === Interactivity hint - sits to the right of the dashboard with breathing room ===
   Positioned absolute outside the dashboard chrome so it never overlaps the
   stats bar above or the dashboard tabs below. Collapses to inline-block on
   smaller viewports where there isn't side room. */
/* Centered pill above the dashboard tabs, arrow pointing DOWN.
   Always within the wrapper so it never clips on any viewport width. */
.hero-interactive-hint {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent) 0%, #c25837 100%);
  color: #fff;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 12px 32px rgba(232, 122, 84, 0.4), 0 0 0 1px rgba(232, 122, 84, 0.25);
  animation: hintBob 2.6s ease-in-out infinite;
  pointer-events: none;
}

.hero-interactive-hint .hint-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  flex-shrink: 0;
}
.hero-interactive-hint .hint-pulse::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  animation: hintPulse 1.6s ease-out infinite;
}

.hero-interactive-hint .hint-text { flex: 0 1 auto; }

/* Arrow points DOWN toward the tabs */
.hero-interactive-hint .hint-arrow {
  transform: none;
  animation: hintArrow 1.6s ease-in-out infinite;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.hero-interactive-hint.dismissed {
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

@keyframes hintBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

/* On narrow screens, swap the long copy for a punchy short version */
@media (max-width: 560px) {
  .hero-interactive-hint {
    font-size: 0.625rem;
    padding: 6px 12px;
    gap: 6px;
    top: -14px;
  }
  .hero-interactive-hint .hint-arrow { width: 12px; height: 12px; }
  .hero-interactive-hint .hint-text { font-size: 0.625rem; }
  /* Use shorter text on small screens */
  .hero-interactive-hint .hint-text::before {
    content: 'Live demo - tap any tab';
  }
  .hero-interactive-hint .hint-text-full { display: none; }
}

@keyframes hintPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}

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

/* Subtle attention-grabbing pulse on the tabs themselves until first interaction */
.hero-dashboard:not(.user-engaged) .dash-menu-item:not(.dash-menu-active) {
  animation: tabAttention 3s ease-in-out infinite;
}

.hero-dashboard:not(.user-engaged) .dash-menu-item:nth-child(1) { animation-delay: 0s; }
.hero-dashboard:not(.user-engaged) .dash-menu-item:nth-child(2) { animation-delay: 0.3s; }
.hero-dashboard:not(.user-engaged) .dash-menu-item:nth-child(3) { animation-delay: 0.6s; }
.hero-dashboard:not(.user-engaged) .dash-menu-item:nth-child(4) { animation-delay: 0.9s; }
.hero-dashboard:not(.user-engaged) .dash-menu-item:nth-child(5) { animation-delay: 1.2s; }

@keyframes tabAttention {
  0%, 90%, 100% { background: transparent; }
  45% { background: rgba(232, 122, 84, 0.12); }
}

/* Once user engages, all attention animations stop */
.hero-dashboard.user-engaged .dash-menu-item {
  animation: none;
}

/* === SHARED: stat strip across rich scenes === */
.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.hero-stat-block {
  padding: 12px 14px;
  background: rgba(15, 31, 58, 0.55);
  border: 1px solid rgba(58, 155, 224, 0.08);
  border-radius: 8px;
}
.hero-stat-val {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 0.5625rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* === AGENCIES SCENE === */
.hero-agency-view { display: block; }
.hero-agency-view[hidden] { display: none; }

.hero-agency-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.hero-agency-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px 32px;
  background: rgba(23, 42, 72, 0.6);
  border: 1px solid rgba(58, 155, 224, 0.1);
  border-radius: 8px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.hero-agency-card:hover,
.hero-agency-card:focus-visible {
  border-color: rgba(232, 122, 84, 0.6);
  background: rgba(23, 42, 72, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 122, 84, 0.15);
  outline: none;
}
.hero-agency-card-featured {
  border-color: rgba(99, 102, 241, 0.35);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(99, 102, 241, 0.08));
}
.hero-agency-cta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.hero-agency-card:hover .hero-agency-cta,
.hero-agency-card:focus-visible .hero-agency-cta {
  opacity: 1;
  transform: translateY(0);
}

/* === AGENCY DETAIL (Login-as-X) === */
.hero-agency-view-detail {
  --agency-tint: #38bdf8;
  --agency-tint-2: #6366f1;
  animation: heroSceneIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-agency-detail-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 8px;
}
.hero-agency-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(58, 155, 224, 0.08);
  border: 1px solid rgba(58, 155, 224, 0.2);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.625rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hero-agency-back:hover,
.hero-agency-back:focus-visible {
  background: rgba(58, 155, 224, 0.18);
  border-color: rgba(58, 155, 224, 0.4);
  outline: none;
}
.hero-agency-detail-domain {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 0.625rem;
  color: var(--text-secondary);
  background: rgba(15, 31, 58, 0.6);
  border: 1px solid rgba(58, 155, 224, 0.1);
  border-radius: 6px;
  font-family: var(--font-heading);
}
.hero-agency-impersonation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--agency-tint);
  background: color-mix(in srgb, var(--agency-tint) 12%, transparent);
  border-radius: 100px;
}
.hero-impersonation-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--agency-tint);
  box-shadow: 0 0 8px var(--agency-tint);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.hero-agency-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.hero-agency-detail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-agency-detail-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--agency-tint), var(--agency-tint-2));
  box-shadow: 0 6px 16px color-mix(in srgb, var(--agency-tint) 30%, transparent);
}
.hero-agency-detail-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.hero-agency-detail-meta {
  font-size: 0.625rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.hero-agency-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.hero-agency-detail-panel {
  padding: 14px;
  background: rgba(15, 31, 58, 0.55);
  border: 1px solid rgba(58, 155, 224, 0.08);
  border-radius: 8px;
}
.hero-agency-clients {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-agency-client-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.6fr 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(23, 42, 72, 0.4);
  border-radius: 6px;
  font-size: 0.625rem;
}
.hero-agency-client-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-primary);
}
.hero-agency-client-avatar {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.hero-agency-client-meta {
  color: var(--text-secondary);
  font-weight: 600;
}
.hero-panel-sub {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  margin-left: 6px;
}
.hero-agency-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hero-agency-head > div:nth-child(2) { flex: 1; min-width: 0; }
.hero-agency-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.hero-agency-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}
.hero-agency-domain {
  font-size: 0.5625rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}
.hero-agency-stats {
  display: flex;
  gap: 14px;
  font-size: 0.625rem;
  color: var(--text-secondary);
}
.hero-agency-stats strong {
  color: var(--text-primary);
  font-weight: 700;
}
.hero-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(58, 155, 224, 0.06);
}
.hero-feature-pill {
  font-size: 0.5625rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(232, 122, 84, 0.08);
  border: 1px solid rgba(232, 122, 84, 0.2);
  color: var(--accent);
}

/* === CLIENTS SCENE === */
.hero-clients-table {
  background: rgba(15, 31, 58, 0.45);
  border: 1px solid rgba(58, 155, 224, 0.08);
  border-radius: 8px;
  overflow: hidden;
}
.hero-clients-head,
.hero-client-row {
  display: grid;
  grid-template-columns: 22% 14% 12% 14% 22% 16%;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.625rem;
}
.hero-clients-head {
  background: rgba(58, 155, 224, 0.05);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-size: 0.5rem;
  border-bottom: 1px solid rgba(58, 155, 224, 0.08);
}
.hero-client-row {
  border-bottom: 1px solid rgba(58, 155, 224, 0.06);
  transition: background 0.2s;
}
.hero-client-row:last-child { border-bottom: none; }
.hero-client-row:hover { background: rgba(58, 155, 224, 0.04); }
.hero-client-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-primary);
}
.hero-client-avatar {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff;
}
.hero-client-meta {
  color: var(--text-secondary);
  font-weight: 600;
}
.hero-health-bar {
  display: block;
  height: 5px;
  background: rgba(58, 155, 224, 0.08);
  border-radius: 3px;
  overflow: hidden;
}
.hero-health-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
}

/* === CONTACTS SCENE === */
.hero-contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-icp-panel,
.hero-feed-panel {
  padding: 14px;
  background: rgba(15, 31, 58, 0.55);
  border: 1px solid rgba(58, 155, 224, 0.08);
  border-radius: 8px;
}
.hero-panel-title {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.hero-icp-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-icp-bar {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  align-items: center;
  gap: 10px;
  font-size: 0.5625rem;
}
.hero-icp-label { color: var(--text-secondary); font-weight: 600; }
.hero-icp-track {
  height: 8px;
  background: rgba(58, 155, 224, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.hero-icp-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
}
.hero-icp-num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
  font-size: 0.625rem;
}
.hero-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(58, 155, 224, 0.04);
}
.hero-feed-item:last-child { border-bottom: none; }
.hero-feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}
.hero-feed-text {
  font-size: 0.625rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.hero-feed-text strong { color: var(--text-primary); font-weight: 700; }
.hero-feed-time {
  display: block;
  font-size: 0.5rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* === COMPANIES SCENE === */
.hero-companies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.hero-company-card {
  padding: 12px 14px;
  background: rgba(23, 42, 72, 0.6);
  border: 1px solid rgba(58, 155, 224, 0.1);
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.hero-company-card:hover {
  border-color: rgba(232, 122, 84, 0.3);
  transform: translateY(-2px);
}
.hero-company-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hero-company-head > div:nth-child(2) { flex: 1; min-width: 0; }
.hero-company-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.hero-company-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}
.hero-company-meta {
  font-size: 0.5625rem;
  color: var(--text-muted);
}
.hero-intent-score {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 6px 10px;
  border-radius: 8px;
  flex-shrink: 0;
  line-height: 1;
}
.hero-intent-score.hot {
  background: rgba(232, 122, 84, 0.15);
  color: var(--accent);
  box-shadow: 0 0 14px rgba(232, 122, 84, 0.2);
}
.hero-intent-score.warm {
  background: rgba(245, 197, 66, 0.15);
  color: #f5c542;
}
.hero-intent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hero-intent-tag {
  font-size: 0.5625rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(58, 155, 224, 0.08);
  border: 1px solid rgba(58, 155, 224, 0.15);
  color: var(--text-secondary);
}

/* === TOOLS SCENE === */
.hero-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.hero-tool-card {
  padding: 14px;
  background: rgba(23, 42, 72, 0.6);
  border: 1px solid rgba(58, 155, 224, 0.1);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.hero-tool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 122, 84, 0.35);
  background: rgba(232, 122, 84, 0.05);
}
.hero-tool-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border-radius: 8px;
  background: rgba(58, 155, 224, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-tool-card:hover .hero-tool-icon {
  background: rgba(232, 122, 84, 0.1);
}
.hero-tool-title {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.hero-tool-desc {
  font-size: 0.5625rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-stat-strip { grid-template-columns: 1fr 1fr; }
  .hero-agency-grid,
  .hero-companies-grid,
  .hero-contacts-grid { grid-template-columns: 1fr; }
  .hero-agency-detail-grid { grid-template-columns: 1fr; }
  .hero-agency-detail-bar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-agency-detail-domain { order: 3; width: 100%; flex: none; }
  .hero-agency-detail-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-agency-client-row {
    grid-template-columns: 1.3fr 0.7fr 0.6fr 1fr;
    gap: 6px;
    padding: 6px 8px;
  }
  .hero-tools-grid { grid-template-columns: 1fr 1fr; }
  .hero-clients-head { display: none; }
  .hero-client-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 14px;
  }
}

/* Make sure the Unlimited badge in the hero dashboard nav is on-brand orange */
.dash-unlimited-badge {
  background: linear-gradient(135deg, var(--accent) 0%, #c25837 100%) !important;
  color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-flow-grid { grid-template-columns: 1fr; }
  .hero-inbox-grid { grid-template-columns: 1fr; }
  .hero-inbox-list { display: none; }
  .hero-kanban { grid-template-columns: 1fr 1fr; }
  .hero-kan-col:nth-child(n+3) { display: none; }
  .hero-reports-metrics { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   MOBILE: comprehensive polish for the
   hero dashboard + agency drill-in + cards
   ======================================== */
@media (max-width: 768px) {
  /* Kill the 3D tilt on touch devices - it looks awkward and the
     parallax mousemove never fires on touch anyway. */
  .hero-dashboard,
  .hero-dashboard.dash-revealed,
  .hero-dashboard.dash-revealed:hover {
    transform: none !important;
  }
  .hero-dashboard-wrapper { perspective: none; }

  /* Drop the tall fixed scene container - on mobile, scenes are
     1-column and shorter, so a 660px lock leaves a huge empty gap. */
  .dash-scene-container { min-height: 0; }

  /* Tighter dashboard chrome on small screens */
  .dash-topbar { padding: 8px 12px; gap: 8px; }
  .dash-url { font-size: 0.5625rem; padding: 4px 10px; max-width: none; }
  .dash-app-nav { padding: 6px 10px; gap: 8px; flex-wrap: nowrap; }
  .dash-app-logo .dash-logo-img { height: 14px; }

  /* The dashboard's right-side area (notifications, theme, avatar) eats
     horizontal space we'd rather give to the menu tabs */
  .dash-app-right { gap: 6px; }

  /* Tighter padding inside each scene's main panel */
  .dash-main-full { padding: 12px 12px 16px; }
  .dash-header-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .dash-welcome { font-size: 1.125rem; }
  .dash-date { font-size: 0.625rem; }
  .dash-live-indicator { font-size: 0.625rem; }

  /* The 7-metric stats bar - wrap to two rows with bigger touch targets */
  .dash-stats-bar { padding: 8px 0; gap: 4px; }
  .dash-metric { padding: 4px 8px; }
  .dash-metric-label { font-size: 0.5rem; }
  .dash-metric-value { font-size: 1rem; }

  /* Dashboard widgets stack and tighten */
  .dash-widgets-row { gap: 10px; margin-bottom: 10px; }
  .dash-widget { padding: 12px; }
  .dash-widget-head { margin-bottom: 8px; }
  .dash-widget-title { font-size: 0.6875rem; }
  .dash-widget-sub { font-size: 0.5rem; }
  .dash-pipeline-hero { font-size: 0.875rem; }
  .dash-bar-chart { height: 80px; }

  /* AI feed inside the widget - smaller text, more compact */
  .dash-ai-item { padding: 6px 8px; gap: 8px; }
  .dash-ai-icon { width: 22px; height: 22px; font-size: 0.625rem; }
  .dash-ai-action { font-size: 0.6875rem; }
  .dash-ai-meta { font-size: 0.5625rem; }

  /* Hero feature pills wrap onto multiple lines */
  .hero-feature-row { gap: 6px; padding-top: 8px; }
  .hero-feature-pill { font-size: 0.5rem; padding: 3px 8px; }

  /* Stat strip cards (shared across scenes) — keep 2 columns on mobile
     since 4 stat blocks look cramped at 4 columns < 600px */
  .hero-stat-block { padding: 10px 12px; }
  .hero-stat-val { font-size: 1.125rem; }
  .hero-stat-lbl { font-size: 0.5rem; }

  /* Agency cards on mobile - more breathing room, ensure CTA visible */
  .hero-agency-card { padding: 12px 14px 30px; }
  .hero-agency-head { gap: 8px; }
  .hero-agency-avatar { width: 32px; height: 32px; font-size: 0.625rem; }
  .hero-agency-name { font-size: 0.75rem; }
  .hero-agency-domain { font-size: 0.5rem; }
  .hero-agency-stats { gap: 10px; flex-wrap: wrap; font-size: 0.5625rem; }
  /* On touch, the hover-revealed CTA never appears - make it always visible */
  .hero-agency-cta { opacity: 1; transform: none; }

  /* Drill-in detail view - already stacked, just tighten */
  .hero-agency-detail-avatar { width: 36px; height: 36px; font-size: 0.75rem; }
  .hero-agency-detail-name { font-size: 0.9375rem; }
  .hero-agency-detail-meta { font-size: 0.5625rem; }
  .hero-agency-back { padding: 6px 10px; font-size: 0.5625rem; }
  .hero-agency-detail-panel { padding: 10px 12px; }
  .hero-agency-client-row { font-size: 0.5625rem; padding: 6px 8px; gap: 6px; }
  .hero-agency-client-avatar { width: 18px; height: 18px; font-size: 0.4375rem; }
}

/* Very narrow phones - tighten further */
@media (max-width: 480px) {
  /* Performance: kill expensive background animations on small screens */
  .particle-canvas { display: none; }
  .grid-overlay { opacity: 0.3; }
  .hero-orb { display: none; }
  .hero-radial-rings { display: none; }
  .hero-dashboard-glow { display: none; }
  .hero-dashboard:not(.user-engaged) .dash-menu-item:not(.dash-menu-active) {
    animation: none;
  }

  .hero-stat-strip { grid-template-columns: 1fr 1fr; gap: 6px; }
  .hero-stat-val { font-size: 1rem; }
  .hero-stat-lbl { font-size: 0.4375rem; }

  .dash-metric-value { font-size: 0.875rem; }
  .dash-metric-label { font-size: 0.4375rem; }

  /* Hide the dashboard's right-side area entirely on very small screens
     (Unlimited badge, theme toggle, notification bell, avatar) - the
     menu tabs need every pixel */
  .dash-app-right { display: none; }

  /* Detail bar wraps onto 2 lines: back+badge, then domain below */
  .hero-agency-detail-bar { padding: 6px 10px; }
  .hero-agency-impersonation { font-size: 0.4375rem; padding: 3px 8px; }

  /* Agency client row drops MRR column, keeps name + industry + health */
  .hero-agency-client-row { grid-template-columns: 1.5fr 0.7fr 1fr; }
  .hero-agency-client-row > :nth-child(3) { display: none; }
}

/* ========================================
   MOBILE COMMAND CENTER (phone-frame preview)
   Shown only on viewports <=768px. Hides the
   desktop dashboard at the same breakpoint.
   ======================================== */
.hero-mobile-cc { display: none; }

@media (max-width: 768px) {
  /* Swap: hide desktop dashboard, show mobile phone-frame preview */
  .hero-dashboard-wrapper { display: none !important; }
  .hero-mobile-cc {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 32px auto 0;
    padding: 0 16px;
    position: relative;
  }

  .hmcc-hint {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--accent) 0%, #c25837 100%);
    color: #fff;
    border-radius: 100px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(232, 122, 84, 0.45);
    animation: hmccHintBob 2.6s ease-in-out infinite;
    pointer-events: none;
  }
  .hmcc-hint-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    position: relative;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  }
  .hmcc-hint-pulse::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: hintPulse 1.6s ease-out infinite;
  }
  @keyframes hmccHintBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
  }
  .hmcc-hint.dismissed {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .hmcc-phone {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 19;
    background: #0a1628;
    border-radius: 38px;
    padding: 12px;
    box-shadow:
      0 30px 60px rgba(0, 0, 0, 0.55),
      0 0 0 2px rgba(58, 155, 224, 0.18),
      0 0 60px rgba(58, 155, 224, 0.12);
    margin-top: 30px;
  }
  .hmcc-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 3;
  }
  .hmcc-phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a1730 0%, #0a1424 100%);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .hmcc-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 22px 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
  }
  .hmcc-status-right {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
  }

  .hmcc-appbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px 8px;
    border-bottom: 1px solid rgba(58, 155, 224, 0.1);
    flex-shrink: 0;
  }
  .hmcc-appbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-primary);
  }
  .hmcc-appbar-logo { height: 14px; }
  .hmcc-appbar-bell {
    position: relative;
    color: var(--text-muted);
    display: inline-flex;
  }
  .hmcc-bell-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--accent);
    color: #fff;
    font-size: 0.5rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 1px 4px;
    min-width: 12px;
    text-align: center;
    line-height: 1;
  }

  .hmcc-scene {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px;
    animation: hmccSceneIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: none;
  }
  .hmcc-scene::-webkit-scrollbar { display: none; }
  .hmcc-scene.hmcc-scene-active { display: flex; }

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

  .hmcc-scene-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
  }
  .hmcc-scene-sub {
    font-size: 0.625rem;
    color: var(--text-muted);
    margin-top: 2px;
    margin-bottom: 12px;
  }

  .hmcc-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }
  .hmcc-stat {
    padding: 10px 12px;
    background: rgba(23, 42, 72, 0.6);
    border: 1px solid rgba(58, 155, 224, 0.1);
    border-radius: 10px;
  }
  .hmcc-stat-val {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
  }
  .hmcc-stat-green .hmcc-stat-val { color: #7dc244; }
  .hmcc-stat-orange .hmcc-stat-val { color: var(--accent); }
  .hmcc-stat-blue .hmcc-stat-val { color: #3a9be0; }
  .hmcc-stat-yellow .hmcc-stat-val { color: #f5c542; }
  .hmcc-stat-lbl {
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-top: 4px;
  }

  .hmcc-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-primary);
  }
  .hmcc-live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #7dc244;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .hmcc-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7dc244;
    box-shadow: 0 0 6px #7dc244;
    animation: pulse-dot 2s ease-in-out infinite;
  }

  .hmcc-feed {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .hmcc-feed-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(23, 42, 72, 0.55);
    border: 1px solid rgba(58, 155, 224, 0.08);
    border-radius: 8px;
  }
  .hmcc-feed-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    flex-shrink: 0;
  }
  .hmcc-feed-icon-green { background: rgba(125, 194, 68, 0.15); color: #7dc244; }
  .hmcc-feed-icon-blue { background: rgba(58, 155, 224, 0.15); color: #3a9be0; }
  .hmcc-feed-icon-orange { background: rgba(232, 122, 84, 0.15); color: var(--accent); }
  .hmcc-feed-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
  }
  .hmcc-feed-text strong {
    font-size: 0.625rem;
    color: var(--text-primary);
    font-weight: 700;
  }
  .hmcc-feed-text span {
    font-size: 0.5rem;
    color: var(--text-muted);
  }

  .hmcc-agency-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .hmcc-agency-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(23, 42, 72, 0.6);
    border: 1px solid rgba(58, 155, 224, 0.1);
    border-radius: 8px;
  }
  .hmcc-agency-avatar {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
  }
  .hmcc-agency-info {
    flex: 1;
    min-width: 0;
  }
  .hmcc-agency-name {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-primary);
  }
  .hmcc-agency-meta {
    font-size: 0.5rem;
    color: var(--text-muted);
    margin-top: 1px;
  }
  .hmcc-agency-growth {
    font-size: 0.625rem;
    font-weight: 700;
    color: #7dc244;
  }

  .hmcc-flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hmcc-flow-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(23, 42, 72, 0.55);
    border: 1px solid rgba(58, 155, 224, 0.08);
    border-radius: 8px;
  }
  .hmcc-flow-step-active {
    border-color: rgba(232, 122, 84, 0.35);
    background: rgba(232, 122, 84, 0.06);
  }
  .hmcc-flow-step-pending { opacity: 0.55; }
  .hmcc-flow-status {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    flex-shrink: 0;
    background: rgba(125, 194, 68, 0.15);
    color: #7dc244;
  }
  .hmcc-flow-step-active .hmcc-flow-status {
    background: rgba(232, 122, 84, 0.18);
    color: var(--accent);
    animation: pulse-dot 1.4s ease-in-out infinite;
  }
  .hmcc-flow-step-pending .hmcc-flow-status {
    background: rgba(58, 155, 224, 0.08);
    color: var(--text-muted);
  }
  .hmcc-flow-name {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-primary);
  }
  .hmcc-flow-meta {
    font-size: 0.5rem;
    color: var(--text-muted);
    margin-top: 1px;
  }
  .hmcc-flow-line {
    width: 2px;
    height: 14px;
    background: rgba(125, 194, 68, 0.5);
    margin-left: 21px;
  }
  .hmcc-flow-line-pending { background: rgba(58, 155, 224, 0.15); }

  .hmcc-tabbar {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 8px 6px 14px;
    border-top: 1px solid rgba(58, 155, 224, 0.1);
    background: rgba(10, 22, 40, 0.95);
    flex-shrink: 0;
  }
  .hmcc-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 12px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
  }
  .hmcc-tab svg { opacity: 0.6; transition: opacity 0.2s, stroke 0.2s; }
  .hmcc-tab-active {
    color: var(--accent);
    background: rgba(232, 122, 84, 0.1);
  }
  .hmcc-tab-active svg {
    opacity: 1;
    stroke: var(--accent);
  }
}

/* ========================================
   "Shiny Tool" stat cards - align consistently
   on mobile so all three look identical
   ======================================== */
@media (max-width: 768px) {
  .problem-stats { width: 100%; }
  .stat-card {
    padding: 18px 20px;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    text-align: left;
    min-height: 100px;
  }
  .stat-card:hover { transform: none; }
  .stat-number { font-size: 2rem; line-height: 1; }
  .stat-suffix { font-size: 1.5rem; line-height: 1; }
  .stat-label {
    width: 100%;
    font-size: 0.875rem;
    line-height: 1.35;
    margin-top: 8px;
  }
}

/* ========================================
   "The Platform" dashboard - prevent the wide
   chrome from bleeding off the right on mobile
   ======================================== */
@media (max-width: 768px) {
  .platform-dashboard-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
  }
  .platform-dashboard {
    max-width: 100%;
    transform: none !important;
    border-radius: 12px;
  }
  .platform-dashboard .dash-app-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px 10px;
  }
  .platform-dashboard .dash-app-nav::-webkit-scrollbar { display: none; }
  .platform-dashboard .dash-app-menu {
    flex-wrap: nowrap;
    overflow: visible;
  }
  .platform-dashboard .dash-menu-item {
    flex-shrink: 0;
    padding: 6px 8px;
    font-size: 0.5625rem;
  }
  .platform-dashboard .dash-menu-item svg { display: none; }
  .platform-dashboard .dash-app-right { display: none; }
  .platform-dashboard .pd-url {
    font-size: 0.5625rem;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .platform-dashboard .pd-body,
  .platform-dashboard .pd-scene {
    max-width: 100%;
    overflow-x: hidden;
  }
  .platform-dashboard .pd-toasts,
  .platform-dashboard .pd-cursor { display: none; }
  .platform-dashboard .pd-scene { padding: 12px; }
}
