/* ==========================================================================
   Omnikhor Enterprise Commerce — Landing Page Design System
   Vanilla CSS • Rich Obsidian Dark Theme • Glassmorphism • Micro-Animations
   ========================================================================== */

:root {
  --bg-dark: #060913;
  --bg-surface: #0c1222;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.35);
  --border-glow: rgba(59, 130, 246, 0.5);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --primary: #4f46e5;
  --primary-light: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-purple: #a855f7;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-card: 0 16px 36px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.25);
  --shadow-btn: 0 6px 20px rgba(79, 70, 229, 0.35);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Background grid mesh */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

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

button, input, textarea, select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 clamp(16px, 2.5vw, 40px);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 9, 19, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.navbar-scrolled {
  background: rgba(6, 9, 19, 0.94);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.navbar-scrolled .nav-container {
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-svg-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.brand:hover .brand-svg-logo {
  transform: scale(1.05);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 1px;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.5);
  background: linear-gradient(135deg, #60a5fa 0%, #6366f1 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

.btn-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  transform: rotate(25deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { transform: translateX(-150%) rotate(25deg); }
  35%, 100% { transform: translateX(150%) rotate(25deg); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.3);
  font-size: 13px;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa 20%, #a855f7 60%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-muted);
  max-width: 1200px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-subtle);
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Video Showcase Section
   ========================================================================== */
.showcase-section {
  padding: 40px 0 80px;
}

.video-frame-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 10px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(6, 182, 212, 0.2) 50%, rgba(168, 85, 247, 0.3));
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-container {
  position: relative;
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Integrated Video Bookmarks Dock */
.video-bookmarks-dock {
  background: rgba(10, 15, 30, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius-xl) - 6px);
  padding: 14px 16px;
}

.video-bookmarks-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dock-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dock-hint {
  font-size: 11.5px;
  color: var(--text-muted);
}

.video-bookmarks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 0;
}

@media (max-width: 991px) {
  .video-bookmarks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .video-bookmarks {
    grid-template-columns: 1fr;
  }
}

.bookmark-btn {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: left;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bookmark-btn:hover, .bookmark-btn.active {
  background: rgba(79, 70, 229, 0.2);
  border-color: #6366f1;
  color: #ffffff;
  transform: translateY(-1px);
}

.bookmark-btn.active {
  border-left: 3px solid #6366f1;
}

.bookmark-time {
  font-size: 11px;
  font-weight: 700;
  color: #818cf8;
  display: block;
  margin-bottom: 2px;
}

.bookmark-title {
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   Product Pillars
   ========================================================================== */
.section {
  padding: 80px 0;
}

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

.section-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border-highlight), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 24px rgba(99, 102, 241, 0.15);
}

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

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  margin-bottom: 6px;
}

.pillar-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pillar-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.pillar-features {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-features li {
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-features li span.check {
  color: var(--accent-emerald);
  font-weight: 700;
}

/* ==========================================================================
   Core Features (Standard on Every Store)
   ========================================================================== */
.core-features-section {
  background: rgba(15, 23, 42, 0.35);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

@media (max-width: 1024px) {
  .core-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .core-features-grid {
    grid-template-columns: 1fr;
  }
}

.core-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.core-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.core-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.12);
}

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

.core-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.core-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.core-standard-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.core-feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.core-feature-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.core-feature-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.core-feature-highlights li {
  font-size: 12.5px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.core-feature-highlights li span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  display: inline-block;
  flex-shrink: 0;
}

/* ==========================================================================
   Modular Add-On Architecture Catalog (Expandable)
   ========================================================================== */
.modules-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-light);
  color: #ffffff;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(14px);
}

.module-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

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

.module-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.module-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
}

.module-title {
  font-size: 15px;
  font-weight: 700;
}

.module-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.module-addon-tag {
  font-size: 11px;
  font-weight: 700;
  color: #818cf8;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  width: fit-content;
}

/* ==========================================================================
   Pricing & Commercial Model
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.7) 0%, rgba(15, 23, 42, 0.7) 100%);
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 20px 50px -10px rgba(99, 102, 241, 0.35);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.pricing-header h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.pricing-header p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.pricing-cost {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.price-setup {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
}

.price-setup span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-monthly {
  font-size: 14px;
  color: #818cf8;
  font-weight: 600;
}

.price-model-tag {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.price-model-desc {
  font-size: 13px;
  color: #38bdf8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-features li {
  font-size: 13.5px;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li span.check {
  color: var(--accent-emerald);
  font-weight: bold;
}

/* Modular Add-Ons A La Carte Section */
.addons-pricing-box {
  margin-top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.addons-pricing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.addons-pricing-title h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.addons-pricing-title p {
  font-size: 13.5px;
  color: var(--text-muted);
}

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

.addon-tier-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-normal);
}

.addon-tier-card:hover {
  border-color: var(--border-highlight);
  background: rgba(30, 41, 59, 0.7);
  transform: translateY(-2px);
}

.addon-tier-card.featured-addon {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(30, 27, 75, 0.4);
}

.addon-tier-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.addon-price {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
}

.addon-price span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.addon-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .addons-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Interactive Live Demo Banner
   ========================================================================== */
.live-demo-banner {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(129, 140, 248, 0.4);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 60px 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.live-demo-text h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.live-demo-text p {
  font-size: 14px;
  color: #c7d2fe;
}

.live-demo-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Contact / Onboarding Form
   ========================================================================== */
.contact-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 48px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-col h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
}

.contact-info-col p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.onboarding-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.onboarding-deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #cbd5e1;
}

.onboarding-deliverables li span.icon {
  font-size: 18px;
  line-height: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

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

/* ==========================================================================
   FAQ Accordion — 2-Column Full-Width Grid
   ========================================================================== */
.faq-list {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .faq-list {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 18px;
  transition: transform var(--transition-normal);
  color: var(--text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 18px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 36px;
  background: rgba(6, 9, 19, 0.95);
  margin-top: 60px;
}

html.light .footer {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

html.light .footer-desc {
  color: #475569;
}

.footer-cta-col {
  display: flex;
  align-items: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--text-subtle);
}

html.light .footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: #64748b;
}

.footer-copy {
  color: inherit;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-sep {
  color: var(--border-subtle);
  font-size: 11px;
}

html.light .footer-sep {
  color: rgba(15, 23, 42, 0.2);
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  padding: 0;
  text-decoration: none;
}

.footer-link-btn:hover {
  color: var(--text-main);
  text-decoration: underline;
}

html.light .footer-link-btn {
  color: #475569;
}

html.light .footer-link-btn:hover {
  color: #0f172a;
}

/* Module Price Tag */
.module-price-tag {
  font-size: 11px;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

/* ==========================================================================
   Interactive Module Pricing Calculator
   ========================================================================== */
.calc-wrapper {
  margin-top: 48px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.65));
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 44px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(20px);
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.calc-title h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 40%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-title p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 640px;
}

.calc-preset-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.calc-preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-preset-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-light);
  color: #ffffff;
}

.calc-body {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1080px) {
  .calc-body {
    grid-template-columns: 1fr;
  }
}

.calc-modules-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.calc-module-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.calc-module-item:hover {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(99, 102, 241, 0.4);
}

.calc-module-item.selected {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary-light);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.2);
}

.calc-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: transparent;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.calc-module-item.selected .calc-checkbox {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #ffffff;
}

.calc-module-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.calc-module-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calc-module-rate {
  font-size: 11.5px;
  color: #94a3b8;
}

.calc-summary-panel {
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 96px;
}

.calc-summary-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.calc-line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #cbd5e1;
}

.calc-val {
  color: var(--text-muted);
  font-weight: 600;
}

.calc-subtext {
  font-size: 12px;
  color: var(--text-subtle);
  font-weight: 500;
  margin-top: 2px;
}

.calc-line-item.discount {
  color: #34d399;
  font-weight: 600;
}

.calc-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}

.calc-total-box {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
}

.calc-total-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.calc-total-amount {
  font-size: 26px;
  font-weight: 900;
  color: #60a5fa;
  font-family: var(--font-display);
}

.calc-total-amount span {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
}

.calc-savings-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  text-align: center;
}

/* ==========================================================================
   Responsive & Mobile Navigation System
   ========================================================================== */
.mobile-hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: all var(--transition-fast);
}

html.light .mobile-hamburger-btn {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
}

.hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(6, 9, 19, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 99;
}

html.light .mobile-nav-drawer {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.mobile-nav-drawer.active {
  display: block;
  max-height: 520px;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-inner {
  padding: 20px clamp(16px, 3vw, 24px) 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-link:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-main);
}

html.light .mobile-nav-link:hover {
  background: rgba(37, 99, 235, 0.08);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.mobile-cta-btn {
  width: 100%;
  padding: 12px 18px;
  font-size: 14px;
  justify-content: center;
}

/* Tablet & Mid-Size Screens (<= 960px) */
@media (max-width: 960px) {
  .nav-links {
    display: none !important;
  }
  .desktop-only {
    display: none !important;
  }
  .mobile-hamburger-btn {
    display: flex;
  }
  .pillars-grid, .pricing-grid, .addons-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .live-demo-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .faq-list {
    grid-template-columns: 1fr;
  }
  .calc-body {
    grid-template-columns: 1fr;
  }
}

/* Small Screens & Phones (<= 640px) */
@media (max-width: 640px) {
  .nav-container {
    height: 64px;
  }
  .brand-tagline {
    display: none;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-svg-logo {
    width: 36px;
    height: 36px;
  }
  .hero {
    padding: 44px 0 24px;
  }
  .hero-pill {
    font-size: 11px;
    padding: 4px 12px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hero-title {
    font-size: clamp(26px, 7vw, 38px);
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 14.5px;
    margin-bottom: 24px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
    max-width: 100%;
  }
  .hero-badges {
    gap: 10px 16px;
    font-size: 12px;
  }
  .core-features-grid {
    grid-template-columns: 1fr;
  }
  .modules-grid {
    grid-template-columns: 1fr;
  }
  .calc-wrapper {
    padding: 20px 16px;
  }
  .calc-modules-list {
    grid-template-columns: 1fr;
  }
  .calc-total-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .calc-total-amount {
    font-size: 24px;
  }
  .contact-wrapper {
    padding: 20px 16px;
  }
  .contact-form {
    padding: 20px 16px;
  }
  .form-input, .form-textarea, .form-select {
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }
  .modal-dialog {
    max-width: 95%;
    max-height: 92vh;
    border-radius: var(--radius-lg);
  }
  .modal-header, .modal-body, .modal-footer {
    padding: 16px 18px;
  }
  .modal-footer {
    flex-direction: column-reverse;
    gap: 8px;
    align-items: stretch;
  }
  .modal-footer .btn, .modal-footer .footer-link-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    max-width: 100%;
  }
  .cookie-consent-card {
    padding: 16px 14px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .cookie-banner-actions .btn {
    width: 100%;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-cta-col {
    width: 100%;
  }
  .footer-cta-col .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 14px;
  }
}

/* Extra Compact Phones (<= 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 12px !important;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-svg-logo {
    width: 32px;
    height: 32px;
  }
  .theme-toggle-btn, .mobile-hamburger-btn {
    width: 36px;
    height: 36px;
  }
  .pillar-card, .core-feature-card, .pricing-card {
    padding: 20px 14px;
  }
}

/* ==========================================================================
   Theme Switcher & Light Mode Support
   ========================================================================== */
.brand-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-dark {
  display: block;
}

.logo-light {
  display: none;
}

html.light .logo-dark {
  display: none !important;
}

html.light .logo-light {
  display: block !important;
}

.theme-menu-container {
  position: relative;
  display: inline-block;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-color: var(--border-highlight);
}

.theme-sun-icon {
  display: none;
  color: #f59e0b;
}

.theme-moon-icon {
  display: block;
  color: #818cf8;
}

.theme-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 154px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.theme-menu.active {
  display: flex;
  animation: themeMenuFadeIn 0.15s ease-out;
}

@keyframes themeMenuFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.theme-menu-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  padding: 6px 10px 4px;
}

.theme-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
  text-align: left;
}

.theme-menu-item:hover {
  background: rgba(99, 102, 241, 0.12);
  color: var(--text-main);
}

.theme-menu-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-check {
  font-size: 12px;
  font-weight: 700;
  color: #6366f1;
  display: none;
}

.theme-menu-item.active .theme-check {
  display: inline-block;
}

/* Light Mode Overrides */
html.light {
  color-scheme: light;
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.35);
  --border-glow: rgba(99, 102, 241, 0.2);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;

  --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.12);
}

html.light body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(6, 182, 212, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
}

html.light body::before {
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
}

html.light .navbar {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

html.light .navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

html.light .brand-name {
  color: #0f172a;
}

html.light .brand-tagline {
  color: #64748b;
}

html.light .nav-link {
  color: #475569;
}

html.light .nav-link:hover {
  color: #0f172a;
}

/* Light Mode Typography & Headings */
html.light h1,
html.light h2,
html.light h3,
html.light h4,
html.light h5,
html.light h6 {
  color: #0f172a;
}

html.light .hero-title {
  background: linear-gradient(180deg, #0f172a 35%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.light .hero-title .gradient-text {
  background: linear-gradient(135deg, #2563eb 15%, #7c3aed 55%, #db2777 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.light .hero-subtitle {
  color: #334155;
}

html.light .section-title {
  color: #0f172a;
}

html.light .section-desc {
  color: #475569;
}

html.light .stat-value {
  color: #0f172a;
}

html.light .stat-label {
  color: #64748b;
}

html.light .pillar-title,
html.light .core-feature-title,
html.light .module-title,
html.light .pricing-plan,
html.light .pricing-price {
  color: #0f172a;
}

html.light .pillar-desc,
html.light .core-feature-desc,
html.light .module-desc {
  color: #475569;
}

html.light .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
  color: #475569;
}

html.light .theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

html.light .theme-sun-icon {
  display: block;
}

html.light .theme-moon-icon {
  display: none;
}

html.light .theme-menu {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.15);
}

html.light .btn-secondary {
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

html.light .btn-secondary:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.2);
}

html.light .core-features-section {
  background: rgba(241, 245, 249, 0.7) !important;
}

html.light .hero-pill {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #4338ca;
}

html.light .hero-badge-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  color: #334155;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

html.light .showcase-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
}

html.light .showcase-topbar {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
}

html.light .showcase-url-bar {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

html.light .video-timeline-controls {
  background: #f8fafc;
}

/* Light Mode Video Showcase Frame & Integrated Dock */
html.light .video-frame-wrapper {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.15) 50%, rgba(168, 85, 247, 0.2));
  box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.15), 0 0 30px rgba(99, 102, 241, 0.1);
}

html.light .video-bookmarks-dock {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

html.light .video-bookmarks-header {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

html.light .dock-hint {
  color: #64748b;
}

html.light .bookmark-btn {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  color: #334155;
}

html.light .bookmark-btn:hover,
html.light .bookmark-btn.active {
  background: rgba(99, 102, 241, 0.08);
  border-color: #4f46e5;
  color: #1e1b4b;
}

html.light .bookmark-btn.active {
  border-left: 3px solid #4f46e5;
}

html.light .bookmark-time {
  color: #4338ca;
}

html.light .pillar-card,
html.light .core-feature-card,
html.light .module-card,
html.light .pricing-card,
html.light .faq-item,
html.light .calc-wrapper,
html.light .contact-form,
html.light .live-demo-banner {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

html.light .pricing-card.featured {
  border-color: #6366f1;
  box-shadow: 0 16px 36px -10px rgba(99, 102, 241, 0.18);
}

html.light .pillar-features li,
html.light .core-feature-highlights li,
html.light .onboarding-deliverables li,
html.light .pricing-features li {
  color: #334155;
}

html.light .filter-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

html.light .filter-btn.active, html.light .filter-btn:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: #4f46e5;
  color: #4338ca;
}

html.light .form-label,
html.light .contact-info-col h3 {
  color: #0f172a;
}

html.light .form-input,
html.light .form-select,
html.light .form-textarea {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

/* Light Mode Overrides for Add-Ons Architecture */
html.light .addons-pricing-box {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.06);
}

html.light .addons-pricing-title h4 {
  color: #0f172a;
}

html.light .addons-pricing-title p {
  color: #475569;
}

html.light .addon-tier-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

html.light .addon-tier-card:hover {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.08);
}

html.light .addon-tier-card.featured-addon {
  background: rgba(99, 102, 241, 0.04);
  border-color: #6366f1;
  box-shadow: 0 8px 24px -6px rgba(99, 102, 241, 0.12);
}

html.light .addon-tier-title {
  color: #0f172a;
}

html.light .addon-desc {
  color: #475569;
}

/* Light Mode Overrides for Configurator & Configured Deployment Scope */
html.light .calc-wrapper {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.06);
}

html.light .calc-title h3 {
  color: #0f172a;
}

html.light .calc-title p {
  color: #475569;
}

html.light .calc-preset-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

html.light .calc-preset-btn:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: #6366f1;
  color: #4338ca;
}

html.light .calc-module-item {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

html.light .calc-module-item:hover {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.06);
}

html.light .calc-module-item.selected {
  background: rgba(99, 102, 241, 0.06);
  border-color: #6366f1;
  box-shadow: 0 6px 16px -4px rgba(99, 102, 241, 0.15);
}

html.light .calc-checkbox {
  border-color: rgba(15, 23, 42, 0.3);
}

html.light .calc-module-name {
  color: #0f172a;
}

html.light .calc-module-rate {
  color: #64748b;
}

html.light .calc-summary-panel {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.08);
}

html.light .calc-summary-title {
  color: #0f172a;
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

html.light .calc-line-item {
  color: #334155;
}

html.light .calc-val {
  color: #475569;
}

html.light .calc-divider {
  background: rgba(15, 23, 42, 0.1);
}

html.light .calc-total-box {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
}

html.light .calc-total-label {
  color: #1e1b4b;
}

html.light #calcTierName {
  color: #1e1b4b !important;
}

html.light .calc-subtext {
  color: #64748b;
}

html.light .price-model-tag {
  color: #0f172a;
}

html.light .faq-question {
  color: #0f172a;
}

html.light .faq-answer {
  color: #475569;
}


.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  display: inline-block;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Modal Overlay & Card */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.2s ease;
  overflow: hidden;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-group h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.modal-subtitle {
  font-size: 12px;
  color: var(--text-subtle);
  margin-top: 2px;
}

.modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-body p {
  margin-bottom: 8px;
}

.modal-body ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-body li {
  color: var(--text-muted);
}

.modal-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.08);
}

/* Cookie Consent & Preferences Styling */
.badge-always-active {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cookie-pref-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s ease, border-color 0.2s ease;
}

html.light .cookie-pref-card {
  background: #f8fafc;
}

.cookie-pref-header {
  display: flex;
  flex-direction: column;
}

.cookie-pref-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-pref-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.cookie-pref-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 6px 0 0 0;
}

/* Custom Toggle Switch */
.cookie-toggle-label {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle-label input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(150, 150, 150, 0.3);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cookie-toggle-label input:checked + .cookie-toggle-slider {
  background-color: var(--primary);
  border-color: var(--primary);
}

.cookie-toggle-label input:checked + .cookie-toggle-slider:before {
  transform: translateX(20px);
}

/* Floating Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  max-width: 490px;
  width: calc(100% - 40px);
  animation: cookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cookie-consent-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
}

html.light .cookie-consent-card {
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.cookie-banner-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(150, 150, 150, 0.12);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background 0.2s, color 0.2s;
}

.cookie-banner-close-btn:hover {
  background: rgba(150, 150, 150, 0.25);
  color: var(--text-main);
}

.cookie-banner-content {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-right: 20px;
}

.cookie-banner-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-title {
  font-size: 14px;
  font-weight: 750;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cookie-banner-shield {
  font-size: 13px;
}

.cookie-banner-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 5px 0 8px 0;
}

.cookie-banner-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.cookie-inline-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 11.5px;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.cookie-inline-link:hover {
  color: var(--text-main);
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.cookie-banner-actions .btn {
  font-size: 12px;
  padding: 8px 14px;
}

/* ==========================================================================
   Comprehensive Light Mode Refinements & Contrast Boosters
   ========================================================================== */
html.light .price-model-desc {
  color: #2563eb;
}

html.light .pillar-features li span.check,
html.light .pricing-features li span.check {
  color: #059669;
}

/* Modals Light Mode */
html.light .modal-dialog {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.22);
}

html.light .modal-header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

html.light .modal-title-group h3,
html.light .modal-body h4 {
  color: #0f172a;
}

html.light .modal-subtitle {
  color: #64748b;
}

html.light .modal-body p,
html.light .modal-body li {
  color: #475569;
}

html.light .modal-close-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
}

html.light .modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.3);
}

html.light .modal-footer {
  background: #f8fafc;
  border-top-color: rgba(15, 23, 42, 0.08);
}

/* Cookie Preferences Card & Floating Banner Light Mode */
html.light .cookie-pref-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

html.light .cookie-pref-name {
  color: #0f172a;
}

html.light .cookie-pref-desc {
  color: #475569;
}

html.light .cookie-consent-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

html.light .cookie-banner-title {
  color: #0f172a;
}

html.light .cookie-banner-desc {
  color: #475569;
}

html.light .cookie-inline-link {
  color: #4338ca;
}

html.light .cookie-inline-link:hover {
  color: #1e1b4b;
}

html.light .cookie-banner-close-btn {
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}

html.light .cookie-banner-close-btn:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

/* Form Controls & Options */
.form-select option {
  background: #0f172a;
  color: #f8fafc;
}

html.light .form-select option {
  background: #ffffff;
  color: #0f172a;
}

/* Onboarding Deliverables */
.deliverable-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

html.light .deliverable-desc {
  color: #475569;
}

html.light .onboarding-deliverables li strong {
  color: #0f172a;
}

/* Addon Catalog Badges */
.addon-tag-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.addon-tag-sky {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}

html.light .addon-tag-sky {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.12);
}

.addon-tag-indigo {
  color: #818cf8;
  background: rgba(99, 102, 241, 0.2);
}

html.light .addon-tag-indigo {
  color: #4338ca;
  background: rgba(99, 102, 241, 0.12);
}

.addon-tag-emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.2);
}

html.light .addon-tag-emerald {
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
}

.license-badge-pill {
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
}

html.light .license-badge-pill {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
}

/* Configurator Highlights */
.calc-highlight {
  color: #38bdf8;
  font-weight: 700;
}

html.light .calc-highlight {
  color: #2563eb;
}

.calc-base-tag {
  color: #34d399;
  font-weight: 700;
}

html.light .calc-base-tag {
  color: #059669;
}

/* Live Demo Banner Light Mode Overrides */
html.light .live-demo-banner {
  background: linear-gradient(135deg, rgba(238, 242, 255, 0.95), rgba(240, 253, 250, 0.95));
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 16px 36px -10px rgba(99, 102, 241, 0.12);
}

html.light .live-demo-text h3 {
  color: #0f172a;
}

html.light .live-demo-text p {
  color: #475569;
}

html.light .module-badge {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
}

html.light .module-addon-tag {
  color: #4338ca;
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
}

