/* ============================================
   MANAGER OS — OperatorOS-Inspired Design System
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

/* --- Design Tokens --- */
:root {
  /* Core Palette */
  --white: #ffffff;
  --off-white: #f7f7f8;
  --light-grey: #f0f0f2;
  --border-grey: #e5e5e7;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --text-primary: #000000;
  --black: #000000;
  --dark-bg: #111111;
  --dark-bg-light: #1a1a1a;

  /* Accent */
  --red: #c2031f;
  --cherry-red: #c2031f;
  --red-hover: #a00219;
  --red-light: rgba(194, 3, 31, 0.08);
  --red-glow: rgba(194, 3, 31, 0.15);
  --green: #10b981;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-padding: 7rem 0;
  --container-max: 1200px;
  --container-padding: 0 2rem;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* --- Base Styles --- */
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 72px;
}

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

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--red);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

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

/* --- Section --- */
section {
  padding: var(--section-padding);
  position: relative;
}

/* Section badges — OperatorOS pill style */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.section-badge i,
.section-badge svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-title .highlight {
  color: var(--red);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Flow Line (Vertical connector between sections) --- */
.flow-line-section {
  position: relative;
}

.flow-line-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: var(--border-grey);
  z-index: 0;
}

/* Diamond divider */
.diamond-divider {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  position: relative;
}

.diamond-divider::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--white);
  border: 1px solid var(--border-grey);
  transform: rotate(45deg);
  z-index: 1;
}

/* Scroll cue (mouse icon) */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.scroll-cue-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-primary);
  border-radius: 12px;
  position: relative;
}

.scroll-cue-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--text-primary);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(6px); }
}

.scroll-cue-arrow {
  font-size: 0.75rem;
  color: var(--text-primary);
  line-height: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--red-glow);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: #222;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  border: 1px solid var(--border-grey);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-grey);
  height: 72px;
  transition: all var(--duration) var(--ease);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

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

.nav-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: var(--text-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.8125rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
  position: relative;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 5rem 0 3rem;
  background: var(--off-white);
  overflow: hidden;
  text-align: center;
}

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

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

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--red);
}

.hero-description {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Hero Dashboard Mockup */
.hero-visual {
  width: 100%;
  max-width: 900px;
  margin-top: 2rem;
  position: relative;
}

.hero-visual-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 0;
  border: 1px solid var(--border-grey);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero-dashboard-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-grey);
}

.hero-dashboard-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-dashboard-dot.red { background: #ef4444; }
.hero-dashboard-dot.yellow { background: #f59e0b; }
.hero-dashboard-dot.green { background: #10b981; }

.hero-dashboard-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-left: 0.5rem;
}

.hero-dashboard-body {
  padding: 2rem;
}

.hero-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.hero-metric-card {
  text-align: left;
}

.hero-metric-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.hero-metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-metric-value.green { color: var(--green); }
.hero-metric-value.red-accent { color: var(--red); }

.hero-status-bar {
  margin-top: 1.5rem;
  padding: 0.875rem 1.25rem;
  background: rgba(16, 185, 129, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--green);
  font-weight: 500;
}

.hero-status-bar .status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Floating badge */
.hero-floating-badge {
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-grey);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

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

.hero-floating-badge .badge-icon {
  width: 30px;
  height: 30px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

/* ============================================
   STATS CARDS (Pain Points)
   ============================================ */
.stats-section {
  background: var(--off-white);
  padding: 0 0 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-grey);
  transition: all var(--duration) var(--ease);
}

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

.stat-card-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.stat-card-icon {
  width: 32px;
  height: 32px;
  background: var(--light-grey);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.stat-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.stat-card-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-card-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Mini chart decoration */
.stat-card-visual {
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}

.stat-bar {
  flex: 1;
  border-radius: 2px;
  background: var(--red-light);
  min-height: 6px;
}

.stat-bar.filled {
  background: var(--red);
  opacity: 0.6;
}

.stat-bar.dark {
  background: var(--text-tertiary);
  opacity: 0.3;
}

/* ============================================
   PLATFORM SECTION (Features)
   ============================================ */
.platform-section {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-grey);
  transition: all var(--duration) var(--ease);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--text-tertiary);
}

/* Feature card with taller content area */
.feature-card.tall {
  grid-row: span 2;
}

.feature-card-category {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  padding: 0.25rem 0.625rem;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 1rem;
}

.feature-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.feature-card-title-left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.feature-card-icon {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  border: 1px solid var(--border-grey);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.feature-card-stat {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  padding: 0.25rem 0.625rem;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* Tags within feature cards */
.feature-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.375rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-full);
}

/* Feature visual — for mockup-style cards */
.feature-card-visual {
  margin-top: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border-grey);
}

/* ===== CARD GRAPHICS (OperatorOS-style) ===== */
.card-graphic {
  margin: 1.25rem 0 1rem;
  border-radius: var(--radius-md);
  background: var(--light-grey);
  border: 1px solid var(--border-grey);
  padding: 1rem;
  overflow: hidden;
}

/* --- Chat Mockup --- */
.chat-mockup {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.chat-bubble {
  padding: 0.625rem 0.875rem;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 92%;
  animation: fadeSlideUp 0.6s ease both;
}

.chat-bubble.user {
  background: var(--white);
  border: 1px solid var(--border-grey);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: var(--text-primary);
  animation-delay: 0.1s;
}

.chat-bubble.ai {
  background: var(--cherry-red);
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  animation-delay: 0.4s;
}

.chat-bubble.ai i {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.8;
}

.chat-typing {
  display: flex;
  gap: 4px;
  align-self: flex-start;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: 12px;
  animation: fadeSlideUp 0.6s ease 0.7s both;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingPulse 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1); }
}

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

/* --- Horizontal Bar Chart --- */
.bar-chart-graphic {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.bar-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
  font-weight: 500;
}

.bar-track {
  flex: 1;
  height: 8px;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-grey);
}

.bar-fill {
  height: 100%;
  background: var(--charcoal);
  border-radius: 4px;
  animation: barGrow 1s ease both;
  transition: width 0.6s ease;
}

.bar-fill.accent {
  background: var(--cherry-red);
}

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

.bar-chart-footer {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-grey);
}

.chart-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chart-count {
  margin-left: auto;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Icon Grid (Document Vault) --- */
.icon-grid-graphic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 0.75rem;
}

.icon-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.25rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border-grey);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.icon-grid-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.icon-grid-item i {
  color: var(--text-secondary);
}

.icon-grid-item span {
  font-size: 0.625rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

/* --- Integration Grid --- */
.integration-grid-graphic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.625rem;
  padding: 0.75rem;
}

.integration-icon-item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-grey);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.integration-icon-item i {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.integration-icon-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: var(--cherry-red);
}

.integration-icon-item:hover i {
  color: var(--cherry-red);
}

/* More badge for integrations */
.integration-icon-item.more-badge {
  background: var(--cherry-red);
  border-color: var(--cherry-red);
}

.integration-icon-item.more-badge span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.integration-icon-item.more-badge:hover {
  border-color: var(--cherry-red);
  transform: translateY(-2px);
}

/* Animated cursor for checklist */
.animated-cursor {
  filter: drop-shadow(0 0 6px rgba(220, 40, 40, 0.35))
          drop-shadow(0 0 14px rgba(220, 40, 40, 0.15))
          drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* AI typewriter span */
.ai-typewriter {
  display: inline;
}

/* --- Vertical Bar Chart --- */
.vbar-chart-graphic {
  padding: 0.75rem 0.75rem 0.5rem;
}

.vbar-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.375rem;
  height: 100px;
}

.vbar-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 0.375rem;
}

.vbar {
  width: 100%;
  background: var(--charcoal);
  border-radius: 4px 4px 0 0;
  animation: vbarGrow 0.8s ease both;
  transition: height 0.4s ease;
  min-height: 4px;
}

.vbar.accent {
  background: var(--cherry-red);
}

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

.vbar-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Checklist --- */
.checklist-graphic {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-grey);
  background: var(--white);
  transition: background 0.2s ease;
}

.checklist-item:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.checklist-item:last-child {
  border-bottom: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.checklist-item.checked {
  color: var(--text-muted);
}

.checklist-item.checked .check-box {
  background: var(--cherry-red);
  border-color: var(--cherry-red);
}

.checklist-item.checked .check-box i {
  color: #fff;
}

.check-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1.5px solid var(--border-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.check-box.empty {
  background: var(--white);
}

.new-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  background: var(--cherry-red);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.checklist-item.new-item {
  background: #fff5f5;
}

/* Platform summary text */
.platform-summary {
  text-align: center;
  padding-top: 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ============================================
   PLATFORM DEMO (Autopilot Showcase)
   ============================================ */
.platform-demo-section {
  padding: 80px 0 60px;
}

.platform-demo-wrapper {
  margin-top: 48px;
}

.platform-demo-ui {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  min-height: 520px;
}

/* --- Chat Panel (Left) --- */
.demo-chat-panel {
  position: relative;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

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

.demo-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--cherry-red);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
}

.demo-greeting {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin: 0;
}

.demo-greeting-name {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cherry-red);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Input Area */
.demo-input-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px 10px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.demo-input-area.focused {
  border-color: var(--cherry-red);
  box-shadow: 0 0 0 3px rgba(194,3,31,0.08);
}

.demo-input-box {
  display: flex;
  align-items: center;
  min-height: 24px;
  font-size: 14px;
  color: var(--text-primary);
  position: relative;
}

.demo-input-placeholder {
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
  transition: opacity 0.2s;
}

.demo-input-text {
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
}

.demo-input-caret {
  display: none;
  width: 2px;
  height: 18px;
  background: var(--cherry-red);
  border-radius: 1px;
  margin-left: 1px;
  animation: caretBlink 0.8s steps(2) infinite;
}

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

.demo-input-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-input-icon {
  color: var(--text-muted);
  font-size: 16px;
  display: flex;
  align-items: center;
  opacity: 0.5;
}

.demo-send-btn {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--cherry-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.demo-send-btn.active {
  opacity: 1;
}

/* Category Pills */
.demo-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.demo-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg);
  font-weight: 500;
}

/* Suggestions */
.demo-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.demo-suggestion-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.demo-suggestion-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-suggestion {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: default;
  transition: border-color 0.2s;
}

/* Results Popup */
.demo-results-popup {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 36px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  padding: 0;
  overflow: hidden;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.demo-results-popup.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* popupSlideIn keyframes no longer needed — using CSS transitions instead */

.demo-results-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #2a2a2a;
  background: #141414;
}

.demo-results-icon {
  color: var(--cherry-red);
  display: flex;
}

.demo-results-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.demo-results-body {
  padding: 6px 0;
}

.demo-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  border-bottom: 1px solid #2a2a2a;
}

.demo-result-row:last-child {
  border-bottom: none;
}

.demo-result-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.demo-result-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}

.demo-result-highlight {
  color: var(--cherry-red);
}

.demo-results-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  border-top: 1px solid #2a2a2a;
  background: #141414;
  font-size: 11px;
  color: var(--text-muted);
}

.demo-results-badge {
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 11px;
}

/* --- Agent Tasks Panel (Right) --- */
.demo-tasks-panel {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
  overflow-y: auto;
  max-height: 540px;
}

.demo-tasks-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px;
}

.demo-tasks-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.demo-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-task-item {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.demo-task-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-task-check {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.demo-task-check.completed { color: #22c55e; }
.demo-task-check.in-progress { color: #3b82f6; }
.demo-task-check.pending { color: var(--text-muted); opacity: 0.4; }

.demo-task-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.demo-task-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.badge-completed {
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.2);
}

.badge-progress {
  background: rgba(59,130,246,0.1);
  color: #3b82f6;
  border: 1px solid rgba(59,130,246,0.2);
}

.badge-pending {
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.demo-task-subtasks {
  margin-top: 8px;
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-subtask {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.demo-subtask.done {
  color: #22c55e;
}

.demo-subtask.done i { color: #22c55e; }

/* --- Animated Cursor --- */
.demo-cursor {
  position: absolute;
  top: 50%;
  left: 30%;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .platform-demo-ui {
    grid-template-columns: 1fr;
  }
  .demo-chat-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .demo-tasks-panel {
    max-height: 400px;
  }
}

@media (max-width: 600px) {
  .demo-chat-panel {
    padding: 24px 20px;
  }
  .demo-greeting {
    font-size: 22px;
  }
  .demo-suggestion-row {
    flex-direction: column;
  }
  .demo-tasks-panel {
    padding: 20px 16px;
  }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.howitworks-section {
  background: var(--off-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 2px solid var(--border-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 auto 1.5rem;
  transition: all var(--duration) var(--ease);
}

.step-card:hover .step-number {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================
   SOLUTIONS SECTION (What We Build)
   ============================================ */
.solutions-section {
  background: var(--white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.solution-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-grey);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

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

.solution-card-preview {
  height: 200px;
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-grey);
  overflow: hidden;
}

.solution-anim-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-svg {
  width: 100%;
  height: 100%;
}

/* ===== AGENT CARDS SECTION (What We Build - OperatorOS Style) ===== */
.agent-cards-section {
  padding: 6rem 0;
  background: #f8f9fa;
  position: relative;
}

.agent-cards-section .section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.agent-badge {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #1a1a2e;
}

.agent-title {
  color: #1a1a2e !important;
}

.agent-subtitle {
  color: #64748b !important;
}

.agent-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.agent-cards-section .solution-card {
  background: #ffffff !important;
  border-radius: 1.25rem !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.agent-cards-section .solution-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08) !important;
  transform: translateY(-4px);
}

.agent-cards-section .solution-card-preview {
  height: 200px;
  background: #f1f5f9 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.04) !important;
  overflow: hidden;
}

.agent-cards-section .solution-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff !important;
}

.agent-cards-section .solution-card-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.agent-cards-section .solution-card-tag {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
  padding: 0.25rem 0.75rem;
  border-radius: 6px !important;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.agent-cards-section .solution-card h3 {
  color: #1a1a2e !important;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.agent-cards-section .solution-card p {
  color: #64748b !important;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.agent-cards-section .solution-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}

.agent-cards-section .solution-card-features li {
  padding: 0.2rem 0;
  color: #475569 !important;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.agent-cards-section .solution-card-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cherry-red, #dc2626);
  flex-shrink: 0;
}

.agent-cards-section .solution-card-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  margin-top: auto;
}

.agent-cards-section .tech-badge {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  padding: 0.3rem 0.75rem;
  border-radius: 6px !important;
  font-size: 0.75rem;
  font-weight: 500;
}

.agent-cards-section .btn-dark.btn-full {
  display: block !important;
  width: 100% !important;
  text-align: center;
  background: #1a1a2e !important;
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem !important;
  font-weight: 600;
  font-size: 0.9rem;
  border: none !important;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}

.agent-cards-section .btn-dark.btn-full:hover {
  background: #2d2d4e;
}

.agent-cards-footer {
  text-align: center;
  margin-top: 2.5rem;
}

.view-all-link {
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.view-all-link:hover {
  color: var(--cherry-red, #dc2626);
}

/* Voice Agent wave animation */
.voice-wave-bars .wave-bar {
  animation: waveBarPulse 1.6s ease-in-out infinite alternate;
}
.voice-wave-bars .wave-bar[data-delay="0"] { animation-delay: 0s; }
.voice-wave-bars .wave-bar[data-delay="1"] { animation-delay: 0.12s; }
.voice-wave-bars .wave-bar[data-delay="2"] { animation-delay: 0.24s; }
.voice-wave-bars .wave-bar[data-delay="3"] { animation-delay: 0.36s; }
.voice-wave-bars .wave-bar[data-delay="4"] { animation-delay: 0.48s; }
.voice-wave-bars .wave-bar[data-delay="5"] { animation-delay: 0.6s; }
.voice-wave-bars .wave-bar[data-delay="6"] { animation-delay: 0.72s; }
.voice-wave-bars .wave-bar[data-delay="7"] { animation-delay: 0.84s; }
.voice-wave-bars .wave-bar[data-delay="8"] { animation-delay: 0.96s; }
.voice-wave-bars .wave-bar[data-delay="9"] { animation-delay: 1.08s; }

@keyframes waveBarPulse {
  0% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 0.8; }
  100% { transform: scaleY(0.5); opacity: 0.35; }
}

@keyframes centralPulse {
  0%, 100% { r: 22; opacity: 0.10; }
  50% { r: 26; opacity: 0.20; }
}

.central-pulse {
  animation: centralPulse 2s ease-in-out infinite;
}

@keyframes clientPulse {
  0%, 100% { r: 14; opacity: 0.10; }
  50% { r: 17; opacity: 0.22; }
}

.client-pulse {
  animation: clientPulse 2s ease-in-out infinite;
}

@keyframes fileBgPulse {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.18; }
}

.central-file-bg {
  animation: fileBgPulse 2s ease-in-out infinite;
}

.solution-card-preview-inner {
  width: 85%;
  height: 80%;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-grey);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.preview-line {
  height: 8px;
  background: var(--light-grey);
  border-radius: 4px;
}

.preview-line.short { width: 60%; }
.preview-line.medium { width: 80%; }
.preview-line.accent { background: var(--red-light); width: 40%; }

.solution-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solution-card-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.solution-card-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.solution-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.solution-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.solution-card-features {
  list-style: none;
  margin-bottom: 1.25rem;
}

.solution-card-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solution-card-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cherry-red, #c2031f);
  flex-shrink: 0;
}

.solution-card-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.tech-badge-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
}

.solution-card .btn {
  margin-top: auto;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.proof-section {
  background: var(--off-white);
}

.proof-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--border-grey);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.proof-quote {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.proof-author {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.proof-stat {
  text-align: center;
}

.proof-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.proof-stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-section {
  background: var(--white);
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid var(--border-grey);
  display: inline-flex;
}

.pricing-tabs-wrapper {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-tab {
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.pricing-tab.active {
  background: var(--white);
  color: var(--red);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-grey);
  position: relative;
  transition: all var(--duration) var(--ease);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border-color: var(--red);
  border-width: 2px;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  padding: 0.375rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.pricing-card-price {
  margin-bottom: 0.375rem;
}

.pricing-card-price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.pricing-card-price .period {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-card-setup {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
}

.pricing-card-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-card-features li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
}

.pricing-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 0.875rem;
}

.pricing-card.popular .pricing-card-features li::before {
  color: var(--red);
}

.pricing-card-best {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9375rem;
}

.pricing-note a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-note a:hover {
  color: var(--red);
}

/* All Plans Include */
.all-plans-section {
  background: var(--off-white);
}

.all-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.all-plans-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-grey);
}

.all-plans-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--red);
}

.all-plans-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.all-plans-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-grey);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-grey);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--duration) var(--ease);
}

.faq-question:hover {
  color: var(--red);
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-primary);
  transition: all var(--duration) var(--ease);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer-content {
  padding-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  background: var(--off-white);
  text-align: center;
  padding: 6rem 0;
}

.final-cta h2 {
  margin-bottom: 1.25rem;
}

.final-cta p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.final-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER (Dark — OperatorOS Style)
   ============================================ */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand .nav-logo .logo-icon {
  background: var(--white);
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 360px;
}

.footer-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: var(--dark-bg-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.footer-column h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color var(--duration) var(--ease);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--duration) var(--ease);
}

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

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  background: var(--off-white);
  text-align: center;
  padding: 5rem 0;
}

.about-hero h1 {
  margin-bottom: 1.25rem;
}

.about-hero p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.values-section {
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-grey);
  transition: all var(--duration) var(--ease);
}

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

.value-card-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.story-section {
  background: var(--off-white);
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-content h2 {
  margin-bottom: 1.5rem;
}

.story-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.hardware-section {
  background: var(--white);
}

.hardware-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hardware-content h2 {
  margin-bottom: 1rem;
}

.hardware-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.hardware-visual {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--border-grey);
  text-align: center;
}

.hardware-features {
  list-style: none;
  margin-top: 1.5rem;
}

.hardware-features li {
  padding: 0.625rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.hardware-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
  background: var(--off-white);
  text-align: center;
  padding: 5rem 0 3rem;
}

.contact-section {
  background: var(--white);
  padding: 4rem 0 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-grey);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--duration) var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-light);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-submit {
  margin-top: 0.5rem;
}

.contact-info {
  padding: 1rem 0;
}

.contact-info-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-grey);
  margin-bottom: 1.5rem;
}

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.contact-info-card a {
  color: var(--red);
  font-weight: 500;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--green);
  font-size: 1.5rem;
}

.form-success h3 {
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--text-secondary);
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--border-grey);
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

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

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero-metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .agent-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hardware-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

/* ============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================ */
@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .navbar {
    height: 64px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border-grey);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.0625rem;
  }

  .nav-cta {
    flex-direction: column;
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    gap: 0.75rem;
  }

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

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 3rem 0 2rem;
  }

  h1 {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.625rem, 5vw, 2.25rem);
  }

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

  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-floating-badge {
    display: none;
  }

  .hero-metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Sections */
  section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .proof-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .proof-stat-number {
    font-size: 1.75rem;
  }

  .proof-card {
    padding: 2rem;
  }

  .proof-quote {
    font-size: 1.125rem;
  }

  .all-plans-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Mobile CTA */
  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }

  /* Final CTA */
  .final-cta {
    padding: 4rem 0;
  }

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

  .final-cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Flow lines hide on mobile */
  .flow-line-section::before {
    display: none;
  }

  .scroll-cue {
    display: none;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================ */
@media (max-width: 480px) {
  :root {
    --container-padding: 0 1.25rem;
  }

  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card-number {
    font-size: 2rem;
  }

  .proof-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
/* ===== THEME TOGGLE SWITCH ===== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  margin-left: 0.75rem;
  flex-shrink: 0;
}

.toggle-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 56px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e8e8ed;
  border: 1.5px solid rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.toggle-track:hover {
  border-color: rgba(0,0,0,0.15);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18), 0 0 0 0.5px rgba(0,0,0,0.04);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.toggle-icon {
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease, color 0.3s ease;
}

/* Light mode: moon is active (shows what you'll switch TO) */
.toggle-icon.sun-icon {
  color: #999;
  opacity: 0.5;
}

.toggle-icon.moon-icon {
  color: #555;
  opacity: 1;
}

/* Dark mode */
[data-theme="dark"] .toggle-track {
  background: #2a2a2e;
  border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .toggle-track:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}

[data-theme="dark"] .toggle-thumb {
  transform: translateX(28px);
  background: #444;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

[data-theme="dark"] .toggle-icon.sun-icon {
  color: #fbbf24;
  opacity: 1;
}

[data-theme="dark"] .toggle-icon.moon-icon {
  color: #666;
  opacity: 0.5;
}

/* ===== NAV CTA BUTTON UPGRADES ===== */
.nav-cta .btn-dark {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-grey);
  position: relative;
  font-weight: 500;
}

.nav-cta .btn-dark:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--red-glow);
}

.nav-cta .btn-primary {
  position: relative;
  background: linear-gradient(135deg, var(--red), #e41030);
  box-shadow: 0 2px 12px var(--red-glow);
  animation: nav-cta-glow 3s ease-in-out infinite;
}

.nav-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--red-glow);
}

@keyframes nav-cta-glow {
  0%, 100% { box-shadow: 0 2px 12px var(--red-glow); }
  50% { box-shadow: 0 4px 20px var(--red-glow); }
}

[data-theme="dark"] .nav-cta .btn-dark {
  color: #e5e5e5;
  border-color: #444;
  background: transparent;
}

[data-theme="dark"] .nav-cta .btn-dark:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(194, 3, 31, 0.1);
}

/* ============================================
   DARK MODE OVERRIDES
   ============================================ */
[data-theme="dark"] {
  --white: #0f0f0f;
  --off-white: #141414;
  --light-grey: #1a1a1a;
  --border-grey: #2a2a2a;
  --text-secondary: #9ca3af;
  --text-tertiary: #6b7280;
  --text-primary: #f0f0f0;
  --black: #f0f0f0;
  --cherry-red: #ff6b7a;
  --dark-bg: #0a0a0a;
  --dark-bg-light: #111111;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] body {
  background: #0f0f0f;
  color: #f0f0f0;
}

/* Navbar */
[data-theme="dark"] .navbar {
  background: rgba(15, 15, 15, 0.95);
  border-bottom-color: #222;
}

[data-theme="dark"] .nav-logo {
  color: #f0f0f0;
}

[data-theme="dark"] .logo-icon {
  background: var(--red);
  color: #fff;
}

[data-theme="dark"] .nav-links a {
  color: #ccc;
}

[data-theme="dark"] .nav-links a:hover {
  color: var(--red);
}

[data-theme="dark"] .btn-dark {
  background: #f0f0f0;
  color: #0f0f0f;
}

[data-theme="dark"] .btn-dark:hover {
  background: #ddd;
}

[data-theme="dark"] .btn-secondary {
  border-color: #333;
  color: #ccc;
}

[data-theme="dark"] .btn-secondary:hover {
  border-color: #555;
  background: rgba(255, 255, 255, 0.05);
}

/* Section badges */
[data-theme="dark"] .section-badge {
  background: #1a1a1a;
  border-color: #333;
  color: #aaa;
}

/* Hero */
[data-theme="dark"] .hero {
  background: #0f0f0f;
}

[data-theme="dark"] .hero-subtitle {
  color: #999;
}

/* Dashboard mockup */
[data-theme="dark"] .hero-mockup-window {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .mockup-titlebar {
  background: #1f1f1f;
  border-bottom-color: #2a2a2a;
  color: #777;
}

[data-theme="dark"] .mockup-body {
  background: #1a1a1a;
}

[data-theme="dark"] .hero-metric-grid .metric-card {
  background: #222;
  border-color: #333;
}

[data-theme="dark"] .metric-label {
  color: #888;
}

[data-theme="dark"] .hero-mockup-badge {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

/* Stats cards */
[data-theme="dark"] .stat-card {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .stat-card-icon {
  background: #222;
}

[data-theme="dark"] .stat-card-label {
  color: #999;
}

[data-theme="dark"] .stat-card-desc {
  color: #888;
}

/* Features */
[data-theme="dark"] .feature-card {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .feature-card:hover {
  border-color: #444;
}

[data-theme="dark"] .feature-category {
  background: #222;
  border-color: #333;
  color: #aaa;
}

[data-theme="dark"] .feature-icon {
  background: #222;
}

[data-theme="dark"] .feature-stat {
  background: #222;
  border-color: #333;
  color: #aaa;
}

[data-theme="dark"] .feature-tag {
  background: #222;
  border-color: #333;
  color: #aaa;
}

/* Dark mode card graphics */
[data-theme="dark"] .card-graphic {
  background: #111;
  border-color: #2a2a2a;
}

[data-theme="dark"] .chat-bubble.user {
  background: #222;
  border-color: #333;
  color: #ddd;
}

[data-theme="dark"] .chat-typing {
  background: #222;
  border-color: #333;
}

[data-theme="dark"] .bar-track {
  background: #222;
  border-color: #333;
}

[data-theme="dark"] .bar-fill {
  background: #ddd;
}

[data-theme="dark"] .bar-chart-footer {
  border-color: #2a2a2a;
}

[data-theme="dark"] .icon-grid-item {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .icon-grid-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

[data-theme="dark"] .icon-grid-item i {
  color: #aaa;
}

[data-theme="dark"] .integration-icon-item {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .integration-icon-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

[data-theme="dark"] .integration-icon-item i {
  color: #aaa;
}

[data-theme="dark"] .vbar {
  background: #ddd;
}

[data-theme="dark"] .checklist-item {
  background: #1a1a1a;
  border-color: #2a2a2a;
  color: #bbb;
}

[data-theme="dark"] .check-box {
  border-color: #444;
}

[data-theme="dark"] .check-box.empty {
  background: #222;
}

[data-theme="dark"] .checklist-item.new-item {
  background: #1f1212;
}

/* Flow lines */
[data-theme="dark"] .flow-line-section::before {
  background: #2a2a2a;
}

[data-theme="dark"] .diamond-divider::after {
  border-color: #333;
}

/* How it works */
[data-theme="dark"] .how-section {
  background: #141414;
}

[data-theme="dark"] .step-number {
  background: #1a1a1a;
  border-color: #333;
  color: #f0f0f0;
}

/* Solutions */
[data-theme="dark"] .solution-card {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .solution-card:hover {
  border-color: #444;
}

[data-theme="dark"] .solution-preview {
  background: #222;
  border-color: #333;
}

[data-theme="dark"] .solution-tag {
  background: #222;
  border-color: #333;
  color: #aaa;
}

/* Social proof */
[data-theme="dark"] .proof-section {
  background: #141414;
}

[data-theme="dark"] .proof-quote-card {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

/* Pricing */
[data-theme="dark"] .pricing-card {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .pricing-card.popular {
  border-color: var(--red);
}

[data-theme="dark"] .pricing-card-desc,
[data-theme="dark"] .pricing-card-setup {
  color: #888;
}

[data-theme="dark"] .pricing-card-features li::before {
  color: var(--red);
}

[data-theme="dark"] .pricing-card-best {
  color: #888;
}

/* FAQ */
[data-theme="dark"] .faq-item {
  border-color: #2a2a2a;
}

[data-theme="dark"] .faq-question {
  color: #f0f0f0;
}

[data-theme="dark"] .faq-answer-content {
  color: #999;
}

/* Final CTA */
[data-theme="dark"] .final-cta {
  background: #141414;
}

/* Footer stays dark in both modes */

/* About page */
[data-theme="dark"] .about-hero {
  background: #0f0f0f;
}

[data-theme="dark"] .story-section p {
  color: #bbb;
}

[data-theme="dark"] .hardware-features li {
  color: #ccc;
}

[data-theme="dark"] .hardware-visual {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .value-card {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .value-card-icon {
  background: #222;
}

/* Contact page */
[data-theme="dark"] .contact-hero {
  background: #0f0f0f;
}

[data-theme="dark"] .contact-form {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background: #222;
  border-color: #333;
  color: #f0f0f0;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  border-color: var(--red);
}

[data-theme="dark"] .form-group label {
  color: #ccc;
}

[data-theme="dark"] .contact-info-card {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .contact-info-card a {
  color: var(--red);
}

/* All plans */
[data-theme="dark"] .all-plans-item {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

[data-theme="dark"] .all-plans-icon {
  background: #222;
}

/* Mobile nav */
[data-theme="dark"] .nav-toggle span {
  background: #f0f0f0;
}

@media (max-width: 768px) {
  [data-theme="dark"] .nav-links {
    background: #0f0f0f;
  }

  [data-theme="dark"] .nav-links li {
    border-bottom-color: #222;
  }
  
  [data-theme="dark"] .mobile-cta {
    background: rgba(15, 15, 15, 0.95);
    border-top-color: #222;
  }
}

/* Scroll cue */
[data-theme="dark"] .scroll-cue-dot {
  border-color: #555;
}

/* Mini charts */
[data-theme="dark"] .mini-chart .bar {
  background: #555;
}

[data-theme="dark"] .mini-chart .bar.filled {
  background: var(--red);
}
