/* ==================== CSS VARIABLES ==================== */
:root {
  /* Colors - Dark Blue Mode */
  --black: #0a1628;
  --white: #ffffff;
  --primary: #84c1fa;
  --primary-hover: #6ab0f0;
  --primary-light: rgba(132, 193, 250, 0.15);
  --button-color: #84c1fa;
  --button-hover: #6ab0f0;

  --gray-900: #0d1a2d;
  --gray-800: #111f36;
  --gray-700: #1a2d4a;
  --gray-600: #2a4060;
  --gray-500: #5a7a9a;
  --gray-400: #8aa4bd;
  --gray-300: #b0c4d8;

  /* Text Colors for Dark Mode */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.5);

  /* Background Colors */
  --bg-secondary: var(--gray-900);
  --bg-tertiary: var(--gray-800);
  --border-color: rgba(255, 255, 255, 0.1);

  /* Additional Radius */
  --radius-sm: 4px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --success: #00a884;
  --success-light: rgba(0, 168, 132, 0.12);
  --warning: #e69500;
  --warning-light: rgba(230, 149, 0, 0.12);
  --error: #e64646;
  --error-light: rgba(230, 70, 70, 0.12);
  --purple: #7c4dff;
  --purple-light: rgba(124, 77, 255, 0.12);
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  
  /* Transitions */
  --transition: 200ms ease-out;
  --transition-slow: 400ms ease-out;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ==================== NAVIGATION ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #0a1628;
}

.nav-logo .logo-icon {
  flex-shrink: 0;
}

/* Make logo visible on white navbar */
.nav-logo .logo-icon line {
  stroke: #0541ad;
}

.nav-logo .logo-icon circle {
  fill: #0541ad;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(10, 22, 40, 0.7);
  padding: 8px 0;
  transition: color var(--transition);
}

.nav-link:hover {
  color: #0a1628;
}

.nav-link svg {
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-link svg {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Navbar Button Overrides for White Navbar */
.nav-actions .btn-primary {
  background: #0541ad;
  color: #ffffff;
}

.nav-actions .btn-primary:hover {
  background: #043590;
  box-shadow: 0 4px 12px rgba(5, 65, 173, 0.3);
}

.nav-actions .btn-secondary {
  color: #0541ad;
  border-color: #0541ad;
  font-weight: 600;
}

.nav-actions .btn-secondary:hover {
  border-color: #0541ad;
  color: #ffffff;
  background: #0541ad;
}

/* Sign-in button style */
.nav-actions .btn-ghost {
  color: #0541ad;
  font-weight: 600;
  border: 1.5px solid transparent;
  padding: 9px 18px;
}

.nav-actions .btn-ghost:hover {
  color: #0541ad;
  background: rgba(5, 65, 173, 0.08);
  border-color: rgba(5, 65, 173, 0.2);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  margin-left: var(--space-sm);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(10, 22, 40, 0.6);
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--border-radius);
  padding: 8px 12px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn:hover {
  color: #0a1628;
  border-color: rgba(0, 0, 0, 0.3);
}

.lang-btn .globe-icon {
  opacity: 0.7;
}

.lang-btn .chevron-icon {
  transition: transform var(--transition);
  margin-left: 2px;
}

.lang-switcher:hover .lang-btn .chevron-icon {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: rgba(10, 22, 40, 0.7);
  transition: all var(--transition);
}

.lang-option:hover {
  color: #0a1628;
  background: rgba(0, 0, 0, 0.05);
}

.lang-option.active {
  color: #0541ad;
}

.lang-option .flag-icon {
  font-size: 16px;
  line-height: 1;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  transition: var(--transition);
}

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

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

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

/* ==================== SHORTCUTS BAR (Mobile Only) ==================== */
.shortcuts-bar {
  display: none;
}

@media (max-width: 1024px) {
  .shortcuts-bar {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 900;
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .shortcuts-links {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .shortcuts-links::-webkit-scrollbar {
    display: none;
  }

  .shortcuts-links a {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(10, 22, 40, 0.6);
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    white-space: nowrap;
    transition: all var(--transition);
  }

  .shortcuts-links a:hover {
    color: #0a1628;
    background: rgba(0, 0, 0, 0.08);
  }

  .shortcuts-links a.active {
    color: #ffffff;
    background: #0541ad;
  }

  /* Adjust hero padding for shortcuts bar on mobile */
  .hero {
    padding-top: 200px;
  }

  .page-hero {
    padding-top: 200px;
  }
}

@media (max-width: 768px) {
  .shortcuts-bar {
    padding: 8px 0;
  }

  .shortcuts-links a {
    padding: 5px 10px;
    font-size: 12px;
  }

  .hero {
    padding-top: 180px;
  }

  .page-hero {
    padding-top: 180px;
  }
}

/* Mobile Menu */
.nav-mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-actions,
  .lang-switcher {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-mobile-menu {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 9999;
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-mobile-menu.open {
    pointer-events: auto;
    opacity: 1;
  }
}

.nav-mobile-content {
  padding: var(--space-md);
}

.nav-mobile-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-mobile-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  font-size: 16px;
  font-weight: 500;
  color: #0a1628;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.nav-mobile-dropdown-btn svg {
  transition: transform var(--transition);
}

.nav-mobile-dropdown-btn.open svg {
  transform: rotate(180deg);
}

.nav-mobile-dropdown {
  display: none;
  padding-bottom: var(--space-md);
}

.nav-mobile-dropdown.open {
  display: block;
}

.nav-mobile-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--space-sm);
  font-size: 15px;
  color: rgba(10, 22, 40, 0.7);
  transition: color var(--transition);
}

.nav-mobile-dropdown a svg {
  width: 18px;
  height: 18px;
  stroke: rgba(10, 22, 40, 0.5);
  flex-shrink: 0;
}

.nav-mobile-dropdown a:hover {
  color: #0a1628;
}

.nav-mobile-dropdown a:hover svg {
  stroke: #0541ad;
}

.nav-mobile-link {
  display: block;
  padding: var(--space-md) 0;
  font-size: 16px;
  font-weight: 500;
  color: #0a1628;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-mobile-dropdown a.active {
  color: #0541ad;
}

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
}

/* Mobile Nav Button Overrides */
.nav-mobile-actions .btn-primary {
  background: #0541ad;
  color: #ffffff;
}

.nav-mobile-actions .btn-primary:hover {
  background: #043590;
}

.nav-mobile-actions .btn-secondary {
  color: #0541ad;
  border-color: #0541ad;
  font-weight: 600;
}

.nav-mobile-actions .btn-secondary:hover {
  border-color: #0541ad;
  color: #ffffff;
  background: #0541ad;
}

.btn-block {
  width: 100%;
  text-align: center;
}

body.menu-open {
  overflow: hidden;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 960px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 3-Column Product Menu */
.nav-mega-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.nav-mega-column {
  padding: var(--space-lg) var(--space-md);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-mega-column:last-child {
  border-right: none;
}

.nav-mega-column .nav-mega-product-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-radius: var(--border-radius);
  transition: background var(--transition);
}

.nav-mega-column .nav-mega-product-header:hover {
  background: rgba(5, 65, 173, 0.04);
}

.nav-mega-product-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  flex-shrink: 0;
  background: rgba(5, 65, 173, 0.08);
}

.nav-mega-product-icon svg {
  width: 26px;
  height: 26px;
  stroke: #0541ad;
}

.nav-mega-product-info {
  flex: 1;
}

.nav-mega-product-title {
  font-size: 15px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 4px;
}

.nav-mega-product-desc {
  font-size: 13px;
  color: rgba(10, 22, 40, 0.6);
  line-height: 1.4;
  margin: 0;
}

.nav-mega-column-features {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-mega-column-features .nav-mega-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--border-radius);
  transition: background var(--transition);
}

.nav-mega-column-features .nav-mega-feature:hover {
  background: rgba(5, 65, 173, 0.04);
}

.nav-mega-column-features .nav-mega-feature-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(5, 65, 173, 0.06);
  flex-shrink: 0;
}

.nav-mega-column-features .nav-mega-feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: #0541ad;
}

.nav-mega-column-features .nav-mega-feature:hover .nav-mega-feature-icon {
  background: rgba(5, 65, 173, 0.1);
}

.nav-mega-column-features .nav-mega-feature span {
  font-size: 14px;
  font-weight: 500;
  color: #0a1628;
}

/* Legacy: Product Groups Header (keep for backwards compatibility) */
.nav-mega-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-mega-product {
  padding: var(--space-lg) var(--space-md);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  transition: background var(--transition);
}

.nav-mega-product:last-child {
  border-right: none;
}

.nav-mega-product:hover {
  background: rgba(5, 65, 173, 0.04);
}

.nav-mega-product-title {
  font-size: 15px;
  font-weight: 600;
  color: #0a1628;
}

.nav-mega-product-desc {
  font-size: 13px;
  color: rgba(10, 22, 40, 0.6);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.nav-mega-product-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #0541ad;
  transition: gap var(--transition);
}

.nav-mega-product-link:hover {
  gap: 8px;
}

/* Sub-features Grid */
.nav-mega-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: var(--space-md);
  gap: 6px;
}

.nav-mega-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--border-radius);
  transition: background var(--transition);
}

.nav-mega-feature:hover {
  background: rgba(5, 65, 173, 0.04);
}

.nav-mega-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(5, 65, 173, 0.08);
  flex-shrink: 0;
}

.nav-mega-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: #0541ad;
}

.nav-mega-feature:hover .nav-mega-feature-icon {
  background: rgba(5, 65, 173, 0.12);
}

.nav-mega-feature:hover .nav-mega-feature-icon svg {
  stroke: #0541ad;
}

.nav-mega-feature-text {
  font-size: 14px;
  color: rgba(10, 22, 40, 0.7);
}

.nav-mega-feature-text strong {
  display: block;
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 2px;
}

.nav-mega-feature-text span {
  font-size: 12px;
  color: rgba(10, 22, 40, 0.5);
}

/* Solutions Dropdown */
.nav-dropdown-menu.solutions-menu {
  min-width: 680px;
}

/* Featured Enterprise Solution */
.nav-solution-featured {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: var(--space-lg) var(--space-md);
  background: linear-gradient(135deg, rgba(5, 65, 173, 0.06) 0%, rgba(5, 65, 173, 0.02) 100%);
  border-bottom: 1px solid rgba(5, 65, 173, 0.1);
  transition: background var(--transition);
}

.nav-solution-featured:hover {
  background: linear-gradient(135deg, rgba(5, 65, 173, 0.1) 0%, rgba(5, 65, 173, 0.04) 100%);
}

.nav-solution-featured-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #0541ad;
  flex-shrink: 0;
}

.nav-solution-featured-icon svg {
  stroke: #ffffff;
}

.nav-solution-featured-content {
  flex: 1;
}

.nav-solution-featured-title {
  font-size: 18px;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 6px;
}

.nav-solution-featured-desc {
  font-size: 14px;
  color: rgba(10, 22, 40, 0.7);
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.nav-solution-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #0541ad;
}

.nav-solution-featured:hover .nav-solution-featured-link {
  gap: 10px;
}

.nav-solution-featured-link svg {
  transition: transform var(--transition);
}

.nav-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: var(--space-md);
  gap: 6px;
}

.nav-solutions-header {
  grid-column: 1 / -1;
  padding: var(--space-xs) var(--space-sm);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(10, 22, 40, 0.5);
}

.nav-solution-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--border-radius);
  transition: background var(--transition);
}

.nav-solution-item:hover {
  background: rgba(5, 65, 173, 0.04);
}

.nav-solution-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  background: rgba(5, 65, 173, 0.08);
  flex-shrink: 0;
}

.nav-solution-icon svg {
  width: 22px;
  height: 22px;
  stroke: #0541ad;
}

.nav-solution-item:hover .nav-solution-icon {
  background: rgba(5, 65, 173, 0.12);
}

.nav-solution-item:hover .nav-solution-icon svg {
  stroke: #0541ad;
}

.nav-solution-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 2px;
}

.nav-solution-text span {
  font-size: 12px;
  color: rgba(10, 22, 40, 0.6);
}

/* Legacy dropdown support */
.nav-dropdown-section {
  padding: var(--space-md);
}

.nav-dropdown-title {
  font-size: 14px;
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 4px;
}

.nav-dropdown-desc {
  font-size: 12px;
  color: rgba(10, 22, 40, 0.6);
  margin-bottom: var(--space-sm);
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: var(--border-radius);
  transition: background var(--transition);
}

.nav-dropdown-item:hover {
  background: rgba(5, 65, 173, 0.04);
}

.nav-dropdown-icon {
  font-size: 20px;
  line-height: 1;
}

.nav-dropdown-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0a1628;
  margin-bottom: 2px;
}

.nav-dropdown-item span {
  font-size: 12px;
  color: rgba(10, 22, 40, 0.6);
  line-height: 1.4;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--gray-400);
  padding: 10px 16px;
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* ==================== TAGS ==================== */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: none;
}

.tag-primary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.tag-success {
  background: rgba(0, 168, 132, 0.15);
  color: #00d9a5;
}

.tag-warning {
  background: rgba(230, 149, 0, 0.15);
  color: #ffb830;
}

.tag-error {
  background: rgba(230, 70, 70, 0.15);
  color: #ff6b6b;
}

.tag-purple {
  background: rgba(124, 77, 255, 0.15);
  color: #a78bfa;
}

.tag-pill {
  border-radius: 100px;
}

/* ==================== SECTIONS ==================== */
.section {
  padding: var(--space-lg) 0;
}

.section-dark {
  background: var(--black);
}

.section-light {
  background: var(--black);
}

.section-blue {
  background: var(--black);
}

/* Challenge/Problem Section */
.section-challenge {
  background: var(--black);
  padding: var(--space-xl) 0;
}

.section-challenge .container {
  padding: 0 var(--space-md);
}

.section-challenge .section-title {
  color: #ffffff;
  font-size: 28px;
}

.section-challenge .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}


.section-challenge .problem-grid {
  gap: var(--space-sm);
}

.section-challenge .problem-card {
  background: var(--gray-900);
  border-radius: 12px;
  padding: var(--space-md) var(--space-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

.section-challenge .problem-card:hover {
  transform: translateY(-4px);
  background: var(--gray-800);
  box-shadow: 0 8px 24px rgba(132, 193, 250, 0.1);
}

.section-challenge .problem-card:hover .problem-icon {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.section-challenge .problem-icon {
  transition: all 0.3s ease;
}

.section-challenge .problem-card h3 {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 4px;
}

.section-challenge .problem-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.4;
}

.section-challenge .problem-icon {
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.section-challenge .problem-icon svg {
  width: 20px;
  height: 20px;
}

.section-header {
  margin-bottom: var(--space-md);
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .tag {
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  color: #ffffff;
}

.section-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-lg);
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  padding: 140px 0 var(--space-lg);
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg-gradient {
  display: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-content .tag {
  margin-bottom: var(--space-md);
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: #ffffff;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.hero-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.hero-cta .btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(132, 193, 250, 0.1);
}

.hero-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.hero-image {
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
}

/* AI Effects Overlay */
.ai-effects-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Main AI Icon */
.ai-icon-main {
  position: absolute;
  top: 10%;
  right: 10%;
  animation: aiIconFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 15px rgba(5, 65, 173, 0.25)) drop-shadow(0 8px 30px rgba(132, 193, 250, 0.35));
}

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

/* Hide other effects */
.ai-light-ray,
.ai-particle,
.ai-glow-ring {
  display: none;
}

/* ==================== LOGOS SECTION ==================== */
.logos-section-split {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(132, 193, 250, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(5, 65, 173, 0.2) 0%, transparent 40%),
    linear-gradient(135deg, #1a3a6e 0%, #18295b 35%, #0d1a3d 65%, #152a52 100%);
}

.logos-section-split .section-title {
  color: #ffffff;
}

.logos-section-split .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.logos-section-split .tag {
  background: rgba(132, 193, 250, 0.2);
  color: #84c1fa;
  border: 1px solid rgba(132, 193, 250, 0.3);
}

.logos-section-split .logos-features li {
  color: #ffffff;
}

.logos-section-split .logos-features svg {
  stroke: #84c1fa;
}

.logos-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.logos-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logos-orbit {
  position: relative;
  width: 400px;
  height: 400px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #e8f4fd 0%, #d4ebfc 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(5, 65, 173, 0.15);
  z-index: 2;
}

.orbit-center svg {
  width: 64px;
  height: 64px;
}

.orbit-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.orbit-item {
  position: absolute;
  width: 56px;
  height: 56px;
  z-index: 1;
  transition: transform 0.3s ease;
}

.orbit-item:hover {
  transform: scale(1.15);
}

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

.logos-content {
  padding-right: var(--space-lg);
}

.logos-content .section-title {
  margin-bottom: var(--space-sm);
}

.logos-content .section-subtitle {
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.7);
}

.logos-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs) var(--space-md);
}

.logos-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

@media (max-width: 992px) {
  .logos-split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .logos-visual {
    order: -1;
  }

  .logos-orbit {
    width: 320px;
    height: 320px;
  }

  .logos-content {
    padding-right: 0;
    text-align: center;
  }

  .logos-features {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logos-orbit {
    width: 280px;
    height: 280px;
  }

  .orbit-center {
    width: 70px;
    height: 70px;
  }

  .orbit-center svg {
    width: 48px;
    height: 48px;
  }

  .orbit-item {
    width: 44px;
    height: 44px;
  }

  .orbit-item svg {
    width: 44px;
    height: 44px;
  }

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

/* ==================== PROBLEM SECTION ==================== */
/* Problem Desktop Grid */
.problem-desktop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.problem-mobile {
  display: none;
}

/* Problem Mobile Flow */
.problem-flow {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-left: calc(-1 * var(--space-md));
  margin-right: calc(-1 * var(--space-md));
  width: calc(100% + var(--space-md) * 2);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.problem-track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  animation: problem-scroll 35s linear infinite;
  padding: var(--space-xs) 0;
}

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

.problem-track .problem-card {
  flex-shrink: 0;
  width: 260px;
}

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

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

.problem-card {
  text-align: left;
  padding: 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.problem-icon {
  display: none;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0a1628;
}

.problem-card p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

/* Problem Cards in Dark Section - Optimized */
.section-dark .problem-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: none;
}

.section-dark .problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  background: var(--gray-800);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}

.section-dark .problem-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.section-dark .problem-card:hover .problem-icon {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.section-dark .problem-icon svg {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.section-dark .problem-card h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-dark .problem-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ==================== PRODUCTS GRID ==================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.product-card {
  display: block;
  background: var(--gray-900);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.product-card:hover {
  background: var(--gray-800);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: var(--space-md);
}

.product-content .tag {
  margin-bottom: var(--space-sm);
}

.product-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
}

.product-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-sm);
}

.product-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  transition: all var(--transition);
}

.product-card:hover .product-link {
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
}

/* ==================== FEATURE SPLIT ==================== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.feature-split-reverse {
  direction: rtl;
}

.feature-split-reverse > * {
  direction: ltr;
}

.feature-content .tag {
  margin-bottom: var(--space-sm);
}

.feature-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.feature-list {
  margin-bottom: var(--space-md);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}

.feature-list svg {
  flex-shrink: 0;
  stroke: var(--success);
  margin-top: 2px;
}

.feature-list span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.feature-list strong {
  color: var(--white);
  font-weight: 500;
}

/* ==================== BENEFITS GRID ==================== */
/* Benefits Desktop Grid */
.benefits-desktop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.benefits-mobile {
  display: none;
}

/* Benefits Mobile Flow */
.benefits-flow {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  margin-left: calc(-1 * var(--space-md));
  margin-right: calc(-1 * var(--space-md));
  width: calc(100% + var(--space-md) * 2);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.benefits-track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  animation: benefits-scroll 40s linear infinite;
  padding: var(--space-xs) 0;
}

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

.benefits-track .benefit-card {
  flex-shrink: 0;
  width: 280px;
}

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

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.benefit-card {
  padding: var(--space-md);
  background: var(--gray-900);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  background: var(--gray-800);
  box-shadow: 0 8px 24px rgba(132, 193, 250, 0.1);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.benefit-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ==================== STATS ==================== */
.stats-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-lg);
  background: var(--gray-800);
  border-radius: var(--border-radius-lg);
}

.stat-value {
  font-size: 48px;
  font-weight: 700;
  color: #84c1fa;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ==================== TOOLS GRID ==================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.tool-card {
  padding: var(--space-md);
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: all var(--transition);
}

/* More contrast for tool cards in dark sections */
.section-dark .tool-card {
  background: var(--gray-700);
  border: 1px solid var(--gray-500);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.section-dark .tool-card:hover {
  background: var(--gray-600);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(132, 193, 250, 0.15);
}

.tool-card:hover {
  border-color: var(--primary);
  background: var(--gray-800);
}

.tool-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.tool-icon svg {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.tool-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.tool-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==================== CTA SECTION ==================== */
/* Pricing Feature Groups */
.pricing-feature-group {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.pricing-feature-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pricing-feature-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.pricing-feature em {
  font-style: normal;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-left: 4px;
}

.pricing-feature em.highlight {
  color: var(--primary);
}

.pricing-feature.disabled span {
  color: var(--text-tertiary);
}

.pricing-limit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  padding: 6px 0;
}

.pricing-limit span {
  color: var(--text-secondary);
}

.pricing-limit strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* 2-Column Pricing Grid - Centered */
.pricing-grid-centered {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-grid-centered .pricing-card {
  flex: 0 1 420px;
  max-width: 420px;
}

@media (max-width: 900px) {
  .pricing-grid-centered {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-grid-centered .pricing-card {
    max-width: 100%;
    width: 100%;
  }
}

/* Pricing Feature with right-aligned tag */
.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.pricing-feature em {
  margin-left: auto;
  font-style: normal;
  font-size: var(--text-xs);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
}

.pricing-feature em.highlight {
  background: rgba(5, 65, 173, 0.1);
  color: var(--primary);
}

/* Product Sub-features */
.pricing-sub-features {
  margin-left: 24px;
  padding-left: var(--space-sm);
  border-left: 1px solid var(--border-color);
}

.pricing-sub-features .pricing-feature {
  font-size: var(--text-xs);
  padding: 4px 0;
}

.pricing-sub-features .pricing-feature svg {
  width: 14px;
  height: 14px;
}

/* Pricing Groups (for switch) */
.pricing-group {
  display: none;
}

.pricing-group.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Comparison Table Price Row */
.comparison-table .price-row td {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 2px solid var(--border-color);
}

/* Professional Pricing Cards */
.pricing-pro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-pro-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-pro-card:hover {
  border-color: var(--gray-600);
}

.pricing-pro-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.pricing-pro-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-pro-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
}

.pricing-pro-name {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.pricing-pro-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--space-md) 0;
}

.pricing-pro-price {
  margin-bottom: var(--space-md);
}

.pricing-pro-price .price-value {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-pro-price .price-period {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-pro-body {
  padding: var(--space-lg);
}

.pricing-pro-section {
  margin-bottom: var(--space-lg);
}

.pricing-pro-section:last-child {
  margin-bottom: 0;
}

.pricing-pro-section-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 var(--space-sm) 0;
}

.pricing-pro-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-pro-list li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-primary);
  padding: 6px 0;
}

.pricing-pro-list li svg {
  flex-shrink: 0;
}

.pricing-pro-list li.disabled {
  color: var(--text-tertiary);
}

.pro-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  margin-left: auto;
}

.pro-tag.primary {
  background: rgba(5, 65, 173, 0.1);
  color: var(--primary);
}

.pricing-pro-limits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-pro-limits li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.pricing-pro-limits li span {
  color: var(--text-secondary);
}

.pricing-pro-limits li strong {
  color: var(--text-primary);
  font-weight: 600;
}

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

.btn-outline:hover {
  background: var(--bg-tertiary);
  border-color: var(--gray-600);
}

/* Comparison Table Price Row */
.comparison-table .price-row td {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 2px solid var(--border-color);
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .pricing-pro-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing Switch */
.pricing-switch-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.pricing-switch {
  display: inline-flex;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px;
}

.pricing-switch-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.pricing-switch-btn:hover {
  color: var(--text-primary);
}

.pricing-switch-btn.active {
  background: var(--primary);
  color: white;
}

.pricing-switch-btn svg {
  flex-shrink: 0;
}

/* Pricing Groups */
.pricing-group {
  display: none;
}

.pricing-group.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Pricing Cards Duo */
.pricing-cards-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card-duo {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card-duo:hover {
  border-color: var(--gray-600);
  transform: translateY(-4px);
}

.pricing-card-duo.featured {
  border-color: var(--button-color);
  box-shadow: 0 0 0 1px var(--button-color), 0 12px 32px rgba(5, 65, 173, 0.15);
}

.pricing-card-duo-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--button-color);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card-duo-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.pricing-card-duo-icon {
  font-size: 40px;
  display: block;
  margin-bottom: var(--space-sm);
}

.pricing-card-duo-name {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-xs) 0;
}

.pricing-card-duo-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

.pricing-card-duo-price {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.pricing-card-duo-price .price-amount {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-card-duo-price .price-period {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-left: 4px;
}

.pricing-card-duo .btn {
  margin-bottom: var(--space-lg);
}

.pricing-card-duo-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card-duo-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-primary);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-card-duo-features li:last-child {
  border-bottom: none;
}

.pricing-card-duo-features li svg {
  flex-shrink: 0;
}

.pricing-card-duo-features li.disabled {
  color: var(--text-tertiary);
}

.btn-block {
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .pricing-cards-duo {
    grid-template-columns: 1fr;
  }
  
  .pricing-switch-btn {
    padding: var(--space-sm) var(--space-md);
  }
}

/* Pricing Cards Row */
.pricing-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.pricing-card-compact {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card-compact:hover {
  border-color: var(--gray-600);
  transform: translateY(-4px);
}

.pricing-card-compact.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 8px 24px rgba(5, 65, 173, 0.1);
}

.pricing-card-compact-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 14px;
  border-radius: 16px;
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card-compact-header {
  text-align: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-md);
}

.pricing-card-compact-name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-xs) 0;
}

.pricing-card-compact-price {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-card-compact-price span {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-card-compact-period {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: var(--space-xs) 0 0 0;
}

.pricing-card-compact-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
  flex: 1;
}

.pricing-card-compact-features li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-primary);
  padding: var(--space-xs) 0;
}

.pricing-card-compact-features li svg {
  flex-shrink: 0;
}

.pricing-card-compact-features li .muted {
  color: var(--text-tertiary);
}

.btn-block {
  width: 100%;
  text-align: center;
}

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

@media (max-width: 640px) {
  .pricing-cards-row {
    grid-template-columns: 1fr;
  }
}

/* Pricing Flow */
.pricing-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: var(--space-xl) 0;
}

.pricing-flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  max-width: 200px;
}

.pricing-flow-item.featured {
  transform: scale(1.05);
  z-index: 2;
}

.pricing-flow-item.featured .pricing-flow-node {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(5, 65, 173, 0.15);
}

.pricing-flow-badge {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-flow-node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: all 0.3s ease;
}

.pricing-flow-item:hover .pricing-flow-node {
  border-color: var(--primary);
  transform: scale(1.1);
}

.pricing-flow-icon {
  font-size: 28px;
}

.pricing-flow-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.pricing-flow-name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.pricing-flow-price {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary);
}

.pricing-flow-price span {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-flow-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--space-sm) 0;
}

.pricing-flow-connector {
  flex: 0 0 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--border-color) 0%, var(--primary) 50%, var(--border-color) 100%);
  margin-top: 36px;
  position: relative;
}

.pricing-flow-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid var(--primary);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

@media (max-width: 900px) {
  .pricing-flow {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }
  
  .pricing-flow-item {
    max-width: 280px;
    width: 100%;
  }
  
  .pricing-flow-item.featured {
    transform: none;
  }
  
  .pricing-flow-connector {
    width: 3px;
    height: 40px;
    flex: 0 0 40px;
    background: linear-gradient(180deg, var(--border-color) 0%, var(--primary) 50%, var(--border-color) 100%);
    margin-top: 0;
  }
  
  .pricing-flow-connector::after {
    right: 50%;
    top: auto;
    bottom: -4px;
    transform: translateX(50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--primary);
  }
}

/* 4-Column Pricing Grid */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1200px) {
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Pricing Card Badge */
.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card.featured {
  position: relative;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 8px 24px rgba(5, 65, 173, 0.1);
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 0 calc(-1 * var(--space-md));
  padding: 0 var(--space-md);
}

.comparison-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-table thead {
  background: var(--bg-primary);
}

.comparison-table th {
  padding: var(--space-md);
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th.feature-col {
  text-align: left;
  width: 35%;
}

.comparison-table th.highlight {
  background: rgba(5, 65, 173, 0.08);
  color: var(--primary);
}

.comparison-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.comparison-table td.feature-col {
  text-align: left;
  color: var(--text-primary);
}

.comparison-table td.highlight {
  background: rgba(5, 65, 173, 0.04);
}

.comparison-table tr.section-row td {
  background: var(--bg-primary);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table svg {
  display: inline-block;
  vertical-align: middle;
}

/* Feature Benefits */
.feature-benefits {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.feature-benefit-item {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

.feature-benefit-item strong {
  color: var(--text-primary);
}

/* Tool Card Link */
.tool-card-link {
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(5, 65, 173, 0.1);
}

/* Example Queries Grid */
.example-queries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.example-query {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-style: italic;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.example-query:hover {
  border-color: var(--primary);
  background: rgba(5, 65, 173, 0.04);
}

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

@media (max-width: 480px) {
  .example-queries {
    grid-template-columns: 1fr;
  }
}

/* Simple Check List */
/* Features Desktop/Mobile Toggle */
.features-desktop {
  display: block;
}

.features-mobile {
  display: none;
}

/* Feature Sections Slider (Mobile) */
.feature-sections-slider {
  position: relative;
}

.feature-sections-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
}

.feature-sections-track::-webkit-scrollbar {
  display: none;
}

.feature-section-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 0 var(--space-xs);
}

.feature-image-mobile {
  margin: var(--space-md) 0;
}

.feature-sections-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-lg);
}

.slider-bars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-bar {
  height: 4px;
  width: 32px;
  background: var(--gray-600);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
}

.slider-bar:hover {
  background: var(--gray-500);
}

.slider-bar.active {
  width: 48px;
  background: var(--primary);
}

@media (max-width: 768px) {
  .features-desktop {
    display: none;
  }

  .features-mobile {
    display: block;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.check-list li svg {
  flex-shrink: 0;
  color: #ffffff;
  margin-top: 3px;
}

/* Stats Banner - Inside Benefits Section */
.stats-banner-content {
  margin-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  background: var(--gray-900);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--border-radius-lg);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.stat-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 120px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-banner-content {
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-text {
    max-width: 200px;
  }
}

.cta-section {
  padding: var(--space-lg) 0;
  background: linear-gradient(135deg, #0d1a2d 0%, #142742 50%, #1a3a5c 100%);
  border-top: 1px solid rgba(132, 193, 250, 0.2);
  border-bottom: 1px solid rgba(132, 193, 250, 0.2);
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: center;
}

.cta-text {
  text-align: left;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: #ffffff;
}

.cta-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.cta-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cta-section .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.cta-section .btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(132, 193, 250, 0.1);
}

/* ==================== FINAL CTA ==================== */
.final-cta {
  text-align: center;
  padding: var(--space-lg) 0;
}

.final-cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.final-cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.final-cta-note {
  font-size: 13px;
  color: var(--gray-500);
}

/* ==================== SUBSCRIBE SECTION ==================== */
.subscribe-section {
  padding: var(--space-2xl) 0 var(--space-md);
  background: var(--gray-900);
  border-bottom: none;
}

.subscribe-section .container {
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-700);
}

.subscribe-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: center;
}

.subscribe-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.subscribe-input-wrap {
  display: flex;
  gap: var(--space-sm);
}

.subscribe-input {
  flex: 1;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--white);
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--border-radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.subscribe-input::placeholder {
  color: var(--gray-500);
}

.subscribe-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.subscribe-btn {
  padding: 14px 28px;
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--gray-600);
  color: var(--white);
}

.subscribe-btn:hover {
  background: var(--gray-800);
  border-color: var(--gray-500);
}

.subscribe-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.subscribe-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.subscribe-checkbox .checkmark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--gray-800);
  border: 1px solid var(--gray-600);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.subscribe-checkbox input:checked + .checkmark {
  background: var(--button-color);
  border-color: var(--button-color);
}

.subscribe-checkbox .checkmark::after {
  content: '';
  display: none;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.subscribe-checkbox input:checked + .checkmark::after {
  display: block;
}

.subscribe-checkbox .checkbox-text {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.5;
}

.subscribe-privacy-col {
  padding-left: var(--space-lg);
  border-left: 1px solid var(--gray-700);
}

.subscribe-privacy-text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

.subscribe-privacy-text a {
  color: var(--primary);
  text-decoration: underline;
  transition: color var(--transition);
}

.subscribe-privacy-text a:hover {
  color: var(--white);
}

.subscribe-message {
  margin-top: var(--space-sm);
  font-size: 14px;
}

.subscribe-message .success {
  color: #22C55E;
}

.subscribe-message .error {
  color: #EF4444;
}

.subscribe-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Subscribe Section Responsive */
@media (max-width: 768px) {
  .subscribe-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .subscribe-input-wrap {
    flex-direction: column;
  }

  .subscribe-btn {
    width: 100%;
  }

  .subscribe-privacy-col {
    padding-left: 0;
    padding-top: var(--space-md);
    border-left: none;
    border-top: 1px solid var(--gray-700);
  }
}

/* ==================== FOOTER ==================== */
.footer {
  padding: var(--space-md) 0 0 0;
  background: var(--gray-900);
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.footer-logo .logo-icon {
  flex-shrink: 0;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.footer-links-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.footer-links-col ul li {
  margin-bottom: 8px;
}

.footer-links-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==================== PLACEHOLDERS ==================== */
.placeholder-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border: 2px dashed var(--gray-600);
  border-radius: var(--border-radius-lg);
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  gap: 8px;
}

.placeholder-size {
  font-size: 12px;
  color: var(--gray-600);
}

.placeholder-hero {
  width: 100%;
  height: 500px;
}

.placeholder-product {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.placeholder-feature {
  width: 100%;
  height: 400px;
}

.placeholder-logo {
  width: 120px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: var(--border-radius);
  color: var(--gray-600);
  font-size: 12px;
}

.ai-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.ai-logo:hover {
  opacity: 1;
}

.ai-logo svg {
  flex-shrink: 0;
}

/* ==================== SOLUTIONS GRID ==================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solutions-grid-5 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.solutions-grid-5 .solution-card {
  grid-column: span 2;
}

.solutions-grid-5 .solution-card:nth-child(4),
.solutions-grid-5 .solution-card:nth-child(5) {
  grid-column: span 3;
}

.solution-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--gray-900);
  border: 1px solid var(--gray-800);
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--transition);
}

.solution-card:hover {
  border-color: var(--gray-600);
  background: var(--gray-850);
  transform: translateY(-2px);
}

.solution-card-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(5, 65, 173, 0.08) 0%, transparent 50%);
}

.solution-card-featured .solution-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.solution-card-featured:hover {
  border-color: var(--primary);
}

.solution-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 12px;
  color: var(--primary);
}

.solution-icon svg {
  stroke: #84c1fa;
}

.solution-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.solution-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 16px;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #84c1fa;
}

.solution-link svg {
  transition: transform var(--transition);
}

.solution-card:hover .solution-link svg {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solutions-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solutions-grid-5 .solution-card,
  .solutions-grid-5 .solution-card:nth-child(4),
  .solutions-grid-5 .solution-card:nth-child(5) {
    grid-column: span 1;
  }
  
  .solution-card-featured {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .solutions-grid,
  .solutions-grid-5 {
    grid-template-columns: 1fr;
  }
  
  .solution-card-featured {
    grid-column: span 1;
  }
}

/* Page Hero Center Variant */
.page-hero-center .container {
  display: block;
  text-align: center;
}

.page-hero-center .page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-center .page-hero-subtitle {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== PAGE HERO (Product Pages) ==================== */
.page-hero {
  padding: 140px 0 var(--space-lg);
  background: var(--black);
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.page-hero-content {
  max-width: 520px;
}

.page-hero-content .tag {
  margin-bottom: var(--space-sm);
}

.page-hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  color: #ffffff;
}

.page-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.page-hero-cta {
  display: flex;
  gap: var(--space-sm);
}

.page-hero-image {
  position: relative;
}

.placeholder-page-hero {
  width: 100%;
  height: 420px;
}

/* ==================== FEATURES SECTION (Product Pages) ==================== */
.features-section {
  padding: var(--space-lg) 0;
}

.feature-block {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-block:last-child {
  border-bottom: none;
}

.feature-block .tag {
  margin-bottom: var(--space-sm);
}

.feature-block-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: #ffffff;
}

.feature-block-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  max-width: 560px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-900);
  border-radius: var(--border-radius);
}

.capability-item svg {
  flex-shrink: 0;
  stroke: #ffffff;
}

.capability-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.placeholder-feature-block {
  width: 100%;
  height: 360px;
}

/* ==================== BENEFITS LIST (Product Pages) ==================== */
.benefits-section {
  padding: var(--space-lg) 0;
  background: var(--gray-900);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.benefits-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: var(--space-md);
  background: var(--gray-800);
  border-radius: var(--border-radius-lg);
}

.benefits-list-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-700);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefits-list-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
}

.benefits-list-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==================== PRICING PAGE ==================== */
.pricing-hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: 4px;
  background: var(--gray-800);
  border-radius: 50px;
}

.pricing-toggle-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.pricing-toggle-btn.active {
  background: var(--primary);
  color: var(--white);
}

.pricing-toggle-badge {
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.pricing-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}

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

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(5, 65, 173, 0.08) 0%, var(--gray-900) 100%);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.pricing-card-header {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-700);
}

.pricing-card-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.pricing-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.pricing-card-price {
  margin-bottom: var(--space-lg);
}

.pricing-amount {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.pricing-currency {
  font-size: 24px;
  font-weight: 600;
  vertical-align: top;
  color: #ffffff;
}

.pricing-period {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.pricing-card-features {
  flex-grow: 1;
  margin-bottom: var(--space-md);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-800);
}

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

.pricing-feature svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card-cta {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.pricing-card-cta .btn {
  width: 100%;
}

/* Partner Program Page */
.partner-page {
  padding: var(--space-3xl) 0;
  margin-top: var(--space-3xl);
  padding-bottom: 120px;
}

.partner-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.partner-content {
  padding-top: var(--space-lg);
}

.partner-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-md) 0 var(--space-md);
  line-height: 1.3;
}

.partner-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.partner-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-lg);
}

.partner-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.partner-benefit svg {
  stroke: var(--success);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.partner-contact {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.partner-contact a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

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

.partner-form-card {
  background: transparent;
  padding: 0;
}

.partner-form-heading {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

/* Partner Form Styling */
.partner-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

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

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.form-group label .required {
  color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: var(--text-base);
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 65, 173, 0.1);
}

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

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

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

.partner-form .btn-block {
  margin-top: var(--space-sm);
  padding: 14px 24px;
  font-size: var(--text-base);
}

.partner-form .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.partner-form .spinner {
  animation: spin 1s linear infinite;
}

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

.form-message {
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

@media (max-width: 992px) {
  .partner-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .partner-content {
    padding-top: 0;
    text-align: center;
  }

  .partner-benefits {
    align-items: center;
  }

  .partner-form-card {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .partner-title {
    font-size: var(--text-2xl);
  }
}

/* Legal Pages */
.legal-hero {
  background: var(--bg-secondary);
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.legal-hero h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
}

.legal-updated {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

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

.legal-section {
  margin-bottom: var(--space-2xl);
}

.legal-section h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-md) 0;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-color);
}

.legal-section h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--space-lg) 0 var(--space-sm) 0;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.legal-section ul {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 var(--space-md) var(--space-lg);
  padding: 0;
}

.legal-section ul li {
  margin-bottom: var(--space-xs);
}

/* Security Badges */
.security-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
}

.security-badge-icon {
  font-size: 28px;
}

.security-badge-text strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
}

.security-badge-text span {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* Refund Summary */
.refund-summary {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.refund-summary-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
}

.refund-summary-icon {
  font-size: 28px;
}

.refund-summary-text strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
}

.refund-summary-text span {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* Newsletter Section (above footer) */
.newsletter-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.newsletter-content {
  text-align: left;
}

.newsletter-content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-md) 0;
}

.newsletter-form {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-tertiary);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-form .btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
}

.newsletter-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  cursor: pointer;
}

.newsletter-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary);
}

.newsletter-checkbox span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

.newsletter-message {
  padding-left: var(--space-xl);
  border-left: 1px solid var(--border-color);
}

.newsletter-legal {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.newsletter-legal a {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .security-badges,
  .refund-summary {
    flex-direction: column;
    align-items: center;
  }
  
  .newsletter-section {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .newsletter-content {
    text-align: center;
  }
  
  .newsletter-checkbox {
    justify-content: center;
  }
  
  .newsletter-message {
    padding-left: 0;
    border-left: none;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

/* Footer */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-bottom: var(--space-md);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info {
  padding-right: var(--space-lg);
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: #ffffff;
}

.contact-info p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--border-radius-lg);
  transition: border-color var(--transition);
}

.contact-method:hover {
  border-color: var(--gray-600);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  stroke: #84c1fa;
}

.contact-method h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
}

.contact-method p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

.contact-method a {
  color: #84c1fa;
  font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

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

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.form-group label .required {
  color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--white);
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--border-radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-500);
}

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

.form-select option {
  background: #ffffff;
  color: #1a1a1a;
}

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

.form-submit {
  margin-top: var(--space-sm);
}

.form-submit .btn {
  width: 100%;
  padding: 16px;
}

.form-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: var(--space-sm);
}

.form-message {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  text-align: center;
  font-size: 14px;
}

.form-message-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-message-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* HubSpot Form Custom Styling */
.hubspot-custom-form .hs-form-field {
  margin-bottom: var(--space-md);
}

.hubspot-custom-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.hubspot-custom-form .hs-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--white);
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--border-radius);
  transition: all var(--transition);
}

.hubspot-custom-form .hs-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--gray-900);
}

.hubspot-custom-form .hs-input::placeholder {
  color: var(--gray-500);
}

.hubspot-custom-form select.hs-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.hubspot-custom-form textarea.hs-input {
  min-height: 140px;
  resize: vertical;
}

.hubspot-custom-form .hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
}

.hubspot-custom-form .hs-button:hover {
  background: var(--primary-hover);
}

.hubspot-custom-form .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.hubspot-custom-form .hs-error-msgs li {
  font-size: 13px;
  color: #ef4444;
}

.hubspot-custom-form .hs-form-required {
  color: #ef4444;
  margin-left: 2px;
}

.hubspot-custom-form .legal-consent-container {
  margin-top: var(--space-md);
  font-size: 13px;
  color: var(--gray-400);
}

.hubspot-custom-form .legal-consent-container a {
  color: var(--primary);
}

.hubspot-custom-form .hs-richtext {
  font-size: 13px;
  color: var(--gray-400);
}

.hubspot-custom-form .submitted-message {
  text-align: center;
  padding: var(--space-lg);
  color: var(--white);
}

.hubspot-custom-form .submitted-message p {
  font-size: 16px;
  color: var(--gray-300);
}

/* ==================== SMART LIBRARY THEME ==================== */
.smart-library-theme .section-title,
.smart-library-theme .feature-block-title {
  color: #ffffff;
}

.smart-library-theme .capability-item svg {
  stroke: #ffffff;
}

.smart-library-theme .tag-primary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.smart-library-theme .benefits-list-icon,
.smart-library-theme .tool-icon {
  background: rgba(132, 193, 250, 0.15);
}

/* ==================== SMART WORKSPACE THEME ==================== */
.smart-workspace-theme .section-title,
.smart-workspace-theme .feature-block-title {
  color: #ffffff;
}

.smart-workspace-theme .capability-item svg {
  stroke: #ffffff;
}

.smart-workspace-theme .tag-purple {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.smart-workspace-theme .benefits-list-icon,
.smart-workspace-theme .tool-icon {
  background: rgba(132, 193, 250, 0.15);
}

/* ==================== AI TOOLS THEME ==================== */
.ai-tools-theme .section-title,
.ai-tools-theme .feature-block-title {
  color: #ffffff;
}

.ai-tools-theme .capability-item svg {
  stroke: #ffffff;
}

.ai-tools-theme .tag-success {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.ai-tools-theme .benefits-list-icon,
.ai-tools-theme .tool-icon {
  background: rgba(132, 193, 250, 0.15);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero .container,
  .page-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content,
  .page-hero-content {
    max-width: 100%;
  }
  
  .hero-cta,
  .page-hero-cta {
    justify-content: center;
  }
  
  .hero-image,
  .page-hero-image {
    order: -1;
  }
  
  .placeholder-hero,
  .placeholder-page-hero {
    height: 300px;
  }
  
  .feature-split,
  .feature-split-reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .feature-split-reverse {
    direction: ltr;
  }
  
  .products-grid,
  .tools-grid,
  .benefits-desktop {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .stats-section {
    padding: var(--space-md);
    gap: var(--space-sm);
  }

  .stat-value {
    font-size: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nav-dropdown-menu {
    min-width: 600px;
  }
  
  .nav-mega-header {
    grid-template-columns: 1fr;
  }
  
  .nav-mega-product {
    border-right: none;
    border-bottom: 1px solid var(--gray-700);
  }
  
  .nav-mega-features {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-info {
    padding-right: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }

  .hero-title {
    font-size: 36px;
  }

  .page-hero-title {
    font-size: 34px;
  }

  .feature-title {
    font-size: 28px;
  }

  .benefits-desktop {
    display: none;
  }

  .products-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .benefits-mobile {
    display: block;
  }

  .problem-desktop {
    display: none;
  }

  .problem-mobile {
    display: block;
  }

  .benefits-grid,
  .problem-grid,
  .benefits-list {
    grid-template-columns: 1fr;
  }

  /* Mobile optimizations for dark section problem cards */
  .section-dark .problem-card {
    padding: 20px;
  }

  .section-dark .problem-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .section-dark .problem-icon svg {
    width: 20px;
    height: 20px;
  }

  .section-dark .problem-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .section-dark .problem-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .stats-banner-content {
    flex-direction: column;
    gap: var(--space-md);
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
  }

  .stat-number {
    font-size: 36px;
  }

  .stats-section {
    grid-template-columns: 1fr;
    padding: var(--space-md);
    gap: var(--space-md);
  }

  .stat-value {
    font-size: 36px;
  }

  .stat-label {
    font-size: 13px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .footer-brand-col {
    text-align: center;
  }
  
  .footer-desc {
    max-width: 100%;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-links-col {
    text-align: center;
  }
  
  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }

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

  .cta-buttons,
  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .pricing-amount {
    font-size: 40px;
  }
}

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

  .hero-cta,
  .page-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg {
    padding: 14px 24px;
  }
}

/* ==================== AI REPORT DEMO ==================== */
.ai-report-demo {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 8px 40px rgba(0, 0, 0, 0.04);
  height: 100%;
  min-height: 380px;
  max-height: 420px;
  display: flex;
  flex-direction: column;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  flex-shrink: 0;
}

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

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

.demo-dots span:first-child { background: #EF4444; }
.demo-dots span:nth-child(2) { background: #F59E0B; }
.demo-dots span:last-child { background: #22C55E; }

.demo-title {
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
}

/* Viewport and Scroller */
.demo-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.demo-scroller {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: scrollSteps 16s ease-in-out infinite;
}

@keyframes scrollSteps {
  0%, 5% { transform: translateY(0); }
  20%, 25% { transform: translateY(-90px); }
  45%, 50% { transform: translateY(-180px); }
  70%, 75% { transform: translateY(-270px); }
  90%, 95% { transform: translateY(-270px); }
  100% { transform: translateY(0); }
}

/* Step Styles */
.demo-step {
  opacity: 0;
  min-height: 78px;
}

.demo-step-1 { animation: step1Anim 16s ease-in-out infinite; }
.demo-step-2 { animation: step2Anim 16s ease-in-out infinite; }
.demo-step-3 { animation: step3Anim 16s ease-in-out infinite; }
.demo-step-4 { animation: step4Anim 16s ease-in-out infinite; }

@keyframes step1Anim {
  0% { opacity: 0; }
  2% { opacity: 1; }
  22% { opacity: 1; }
  25% { opacity: 0.4; }
  95% { opacity: 0.4; }
  100% { opacity: 0; }
}

@keyframes step2Anim {
  0%, 18% { opacity: 0; }
  22% { opacity: 1; }
  47% { opacity: 1; }
  50% { opacity: 0.4; }
  95% { opacity: 0.4; }
  100% { opacity: 0; }
}

@keyframes step3Anim {
  0%, 43% { opacity: 0; }
  47% { opacity: 1; }
  72% { opacity: 1; }
  75% { opacity: 0.4; }
  95% { opacity: 0.4; }
  100% { opacity: 0; }
}

@keyframes step4Anim {
  0%, 68% { opacity: 0; }
  72% { opacity: 1; }
  92% { opacity: 1; }
  95% { opacity: 0.4; }
  100% { opacity: 0; }
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* Spinner with Number */
.step-spinner-wrap {
  width: 26px;
  height: 26px;
  position: relative;
  flex-shrink: 0;
}

.step-spinner {
  width: 26px;
  height: 26px;
  position: absolute;
  top: 0;
  left: 0;
}

.step-spinner circle:last-child {
  transform-origin: center;
}

.demo-step-1 .step-spinner circle:last-child { animation: spinnerRotate 1.2s linear infinite 0s; }
.demo-step-2 .step-spinner circle:last-child { animation: spinnerRotate 1.2s linear infinite 0s; }
.demo-step-3 .step-spinner circle:last-child { animation: spinnerRotate 1.2s linear infinite 0s; }
.demo-step-4 .step-spinner circle:last-child { animation: spinnerRotate 1.2s linear infinite 0s; }

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

.step-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--button-color);
}

/* Typing Animation */
.step-label {
  font-size: 12px;
  color: #1E293B;
  font-weight: 500;
  flex: 1;
  overflow: hidden;
}

.typing-wrapper {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--button-color);
  animation: cursorBlink 0.7s step-end infinite;
}

.demo-step-1 .step-label .typing-wrapper {
  width: 0;
  animation: typing1 1.5s steps(38) 0.5s forwards, cursorBlink 0.7s step-end infinite;
}

.demo-step-2 .step-label .typing-wrapper {
  width: 0;
  animation: typing2 1.5s steps(40) 4s forwards, cursorBlink 0.7s step-end infinite;
}

.demo-step-3 .step-label .typing-wrapper {
  width: 0;
  animation: typing3 1.2s steps(30) 7.5s forwards, cursorBlink 0.7s step-end infinite;
}

.demo-step-4 .step-label .typing-wrapper {
  width: 0;
  animation: typing4 1.2s steps(32) 11.5s forwards, cursorBlink 0.7s step-end infinite;
}

@keyframes typing1 { to { width: 100%; } }
@keyframes typing2 { to { width: 100%; } }
@keyframes typing3 { to { width: 100%; } }
@keyframes typing4 { to { width: 100%; } }

@keyframes cursorBlink {
  50% { border-color: transparent; }
}

.typing-content {
  display: inline-block;
}

/* Step Previews */
.step-preview {
  padding: 10px 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  margin-left: 36px;
}

/* Outline Preview */
.outline-preview {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.outline-item {
  font-size: 11px;
  color: #475569;
  padding: 2px 0;
  opacity: 0;
  transform: translateX(-8px);
}

.demo-step-1 .outline-item:nth-child(1) { animation: textSlideIn 0.3s ease 1.8s forwards; }
.demo-step-1 .outline-item:nth-child(2) { animation: textSlideIn 0.3s ease 2.1s forwards; }
.demo-step-1 .outline-item:nth-child(3) { animation: textSlideIn 0.3s ease 2.4s forwards; }
.demo-step-1 .outline-item:nth-child(4) { animation: textSlideIn 0.3s ease 2.7s forwards; }
.demo-step-1 .outline-item:nth-child(5) { animation: textSlideIn 0.3s ease 3s forwards; }

.outline-item.indent {
  margin-left: 14px;
  color: #64748B;
}

.outline-item.indent::before {
  content: '•';
  margin-right: 6px;
  color: var(--button-color);
}

@keyframes textSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Search Preview */
.search-preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: #F1F5F9;
  border-radius: 4px;
  opacity: 0;
  transform: translateX(-10px);
}

.demo-step-2 .search-item:nth-child(1) { animation: textSlideIn 0.3s ease 5.3s forwards; }
.demo-step-2 .search-item:nth-child(2) { animation: textSlideIn 0.3s ease 5.7s forwards; }
.demo-step-2 .search-item:nth-child(3) { animation: textSlideIn 0.3s ease 6.1s forwards; }

.search-icon {
  font-size: 12px;
}

.search-text-content {
  font-size: 11px;
  color: #334155;
  flex: 1;
}

/* Generate Preview */
.generate-preview {
  min-height: 40px;
}

.generate-text {
  font-size: 11px;
  color: #475569;
  line-height: 1.5;
}

.typing-long {
  display: inline-block;
  overflow: hidden;
  white-space: normal;
  border-right: 2px solid var(--button-color);
  width: 0;
  animation: typingLong 2.5s steps(100) 8.5s forwards, cursorBlink 0.7s step-end infinite;
}

@keyframes typingLong {
  to { width: 100%; }
}

/* Optimize Preview */
.optimize-preview {
  display: flex;
  align-items: center;
  gap: 10px;
}

.optimize-bar {
  flex: 1;
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  overflow: hidden;
}

.optimize-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--button-color), var(--primary));
  border-radius: 3px;
}

.demo-step-4 .optimize-fill { animation: optimizeFill 2s ease 12.5s forwards; }

@keyframes optimizeFill {
  to { width: 100%; }
}

.optimize-status {
  font-size: 10px;
  font-weight: 600;
  color: var(--button-color);
  min-width: 32px;
  opacity: 0;
}

.demo-step-4 .optimize-status { animation: fadeIn 0.3s ease 14.3s forwards; }

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

/* Complete State */
.demo-complete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 6px;
  opacity: 0;
  transform: scale(0.95);
  animation: completeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 14.5s forwards;
}

@keyframes completeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.demo-complete svg {
  stroke: #22C55E;
  width: 18px;
  height: 18px;
}

.demo-complete span {
  font-size: 13px;
  font-weight: 600;
  color: #16A34A;
}

@media (max-width: 768px) {
  .ai-report-demo {
    margin-top: var(--space-md);
    min-height: 340px;
    max-height: none;
  }

  .demo-scroller {
    padding: 14px;
    gap: 10px;
  }

  .step-label {
    font-size: 11px;
  }

  .step-preview {
    margin-left: 36px;
    padding: 8px 10px;
  }

  .generate-text,
  .outline-item,
  .search-text-content {
    font-size: 10px;
  }

  @keyframes scrollSteps {
    0%, 5% { transform: translateY(0); }
    20%, 25% { transform: translateY(-80px); }
    45%, 50% { transform: translateY(-160px); }
    70%, 75% { transform: translateY(-240px); }
    90%, 95% { transform: translateY(-240px); }
    100% { transform: translateY(0); }
  }
}

/* ==================== INSIGHT FINDER DEMO ==================== */
.insight-finder-demo {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 8px 40px rgba(0, 0, 0, 0.04);
  height: 100%;
  min-height: 380px;
  max-height: 420px;
  display: flex;
  flex-direction: column;
}

.insight-demo-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.insight-demo-scroller {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: insightScrollSteps 20s ease-in-out infinite;
}

@keyframes insightScrollSteps {
  0%, 4% { transform: translateY(0); }
  15%, 19% { transform: translateY(-70px); }
  34%, 38% { transform: translateY(-150px); }
  53%, 57% { transform: translateY(-230px); }
  72%, 76% { transform: translateY(-310px); }
  90%, 94% { transform: translateY(-310px); }
  100% { transform: translateY(0); }
}

/* Insight Step Styles */
.insight-step {
  opacity: 0;
  min-height: 70px;
}

.insight-step-1 { animation: insightStep1 20s ease-in-out infinite; }
.insight-step-2 { animation: insightStep2 20s ease-in-out infinite; }
.insight-step-3 { animation: insightStep3 20s ease-in-out infinite; }
.insight-step-4 { animation: insightStep4 20s ease-in-out infinite; }
.insight-step-5 { animation: insightStep5 20s ease-in-out infinite; }

@keyframes insightStep1 {
  0% { opacity: 0; }
  2% { opacity: 1; }
  17% { opacity: 1; }
  20% { opacity: 0.3; }
  94% { opacity: 0.3; }
  100% { opacity: 0; }
}

@keyframes insightStep2 {
  0%, 13% { opacity: 0; }
  17% { opacity: 1; }
  36% { opacity: 1; }
  39% { opacity: 0.3; }
  94% { opacity: 0.3; }
  100% { opacity: 0; }
}

@keyframes insightStep3 {
  0%, 32% { opacity: 0; }
  36% { opacity: 1; }
  55% { opacity: 1; }
  58% { opacity: 0.3; }
  94% { opacity: 0.3; }
  100% { opacity: 0; }
}

@keyframes insightStep4 {
  0%, 51% { opacity: 0; }
  55% { opacity: 1; }
  74% { opacity: 1; }
  77% { opacity: 0.3; }
  94% { opacity: 0.3; }
  100% { opacity: 0; }
}

@keyframes insightStep5 {
  0%, 70% { opacity: 0; }
  74% { opacity: 1; }
  92% { opacity: 1; }
  95% { opacity: 0.3; }
  100% { opacity: 0; }
}

/* Chat Input Area - Step 1 */
.chat-input-area {
  padding: 8px;
}

.chat-input-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.chat-input-text {
  flex: 1;
  font-size: 11px;
  color: #1E293B;
  overflow: hidden;
}

.insight-typing-wrapper {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--button-color);
  width: 0;
  animation: insightTyping1 2s steps(48) 0.5s forwards, cursorBlink 0.7s step-end infinite;
}

@keyframes insightTyping1 {
  to { width: 100%; }
}

.chat-send-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--button-color);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0;
  animation: sendBtnAppear 0.3s ease 2.5s forwards;
}

.chat-send-btn svg {
  stroke: white;
}

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

/* AI Response Area - Step 2 */
.ai-response-area {
  display: flex;
  gap: 10px;
  padding: 8px;
}

.ai-avatar {
  width: 28px;
  height: 28px;
  background: #EFF6FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-response-content {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 10px 12px;
}

.ai-response-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.response-line {
  font-size: 11px;
  color: #334155;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(5px);
}

.insight-step-2 .response-line-1 { animation: responseLineIn 0.4s ease 3.5s forwards; }
.insight-step-2 .response-line-2 { animation: responseLineIn 0.4s ease 4s forwards; }
.insight-step-2 .response-line-3 { animation: responseLineIn 0.4s ease 4.5s forwards; }
.insight-step-2 .response-line-4 { animation: responseLineIn 0.4s ease 5s forwards; }

@keyframes responseLineIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Citations */
.citation {
  display: inline-block;
  background: rgba(5, 65, 173, 0.1);
  color: var(--button-color);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.insight-step-2 .citation-1 {
  animation: citationPulse 0.5s ease 5.5s;
}

@keyframes citationPulse {
  0%, 100% { transform: scale(1); background: rgba(5, 65, 173, 0.1); }
  50% { transform: scale(1.15); background: var(--button-color); color: white; }
}

/* Citation Preview - Step 3 */
.citation-preview {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0.95);
}

.insight-step-3 .citation-preview {
  animation: citationPreviewIn 0.4s ease 7s forwards;
}

@keyframes citationPreviewIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.citation-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.citation-badge {
  background: var(--button-color);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.citation-source {
  flex: 1;
  font-size: 11px;
  color: #475569;
  font-weight: 500;
}

.citation-close {
  font-size: 14px;
  color: #94A3B8;
  cursor: pointer;
}

.citation-preview-content {
  padding: 12px;
}

.pdf-page-preview {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 6px;
  padding: 10px;
}

.pdf-highlight-text {
  font-size: 11px;
  color: #1E293B;
  line-height: 1.6;
}

.pdf-highlight-text mark {
  background: #FEF08A;
  padding: 0 2px;
  border-radius: 2px;
}

.pdf-page-number {
  margin-top: 8px;
  font-size: 10px;
  color: #94A3B8;
  text-align: right;
}

/* Related Documents - Step 4 */
.related-docs-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}

.related-docs-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  font-size: 11px;
  color: #475569;
  font-weight: 500;
}

.related-docs-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-doc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #F8FAFC;
  border-radius: 6px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s ease;
}

.insight-step-4 .related-doc-1 { animation: docItemIn 0.3s ease 11s forwards; }
.insight-step-4 .related-doc-2 { animation: docItemIn 0.3s ease 11.4s forwards; }
.insight-step-4 .related-doc-3 { animation: docItemIn 0.3s ease 11.8s forwards, docItemClick 0.3s ease 12.5s; }

@keyframes docItemIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes docItemClick {
  0%, 100% { background: #F8FAFC; }
  50% { background: #DBEAFE; }
}

.doc-icon {
  font-size: 14px;
}

.doc-name {
  flex: 1;
  font-size: 11px;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-match {
  font-size: 10px;
  color: #22C55E;
  font-weight: 600;
  background: #DCFCE7;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Document Viewer - Step 5 */
.doc-viewer {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(10px);
}

.insight-step-5 .doc-viewer {
  animation: docViewerIn 0.4s ease 14.5s forwards;
}

@keyframes docViewerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.doc-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.doc-viewer-title {
  font-size: 11px;
  color: #334155;
  font-weight: 500;
}

.doc-viewer-actions {
  display: flex;
  gap: 6px;
}

.viewer-btn {
  width: 16px;
  height: 16px;
  background: #E2E8F0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #64748B;
  cursor: pointer;
}

.doc-viewer-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-paragraph {
  font-size: 10px;
  color: #475569;
  line-height: 1.5;
  opacity: 0;
}

.insight-step-5 .doc-title-para { animation: docParaIn 0.3s ease 15s forwards; }
.insight-step-5 .doc-paragraph:nth-child(2) { animation: docParaIn 0.3s ease 15.3s forwards; }
.insight-step-5 .doc-highlight { animation: docParaIn 0.3s ease 15.6s forwards; }

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

.doc-highlight {
  background: #FEF3C7;
  padding: 8px;
  border-radius: 4px;
  border-left: 3px solid #F59E0B;
}

/* Complete State */
.insight-demo-complete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 6px;
  opacity: 0;
  transform: scale(0.95);
  animation: insightCompleteIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 17s forwards;
}

@keyframes insightCompleteIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.insight-demo-complete svg {
  stroke: #22C55E;
  width: 18px;
  height: 18px;
}

.insight-demo-complete span {
  font-size: 13px;
  font-weight: 600;
  color: #16A34A;
}

/* Tablet Responsive (1024px and below) */
@media (max-width: 1024px) {
  .insight-finder-demo {
    min-height: 360px;
    max-height: 400px;
  }

  .insight-demo-scroller {
    padding: 14px;
    gap: 10px;
  }

  .chat-input-text,
  .response-line,
  .citation-source,
  .pdf-highlight-text,
  .doc-name {
    font-size: 11px;
  }

  .insight-step {
    min-height: 65px;
  }

  @keyframes insightScrollSteps {
    0%, 4% { transform: translateY(0); }
    15%, 19% { transform: translateY(-65px); }
    34%, 38% { transform: translateY(-140px); }
    53%, 57% { transform: translateY(-215px); }
    72%, 76% { transform: translateY(-290px); }
    90%, 94% { transform: translateY(-290px); }
    100% { transform: translateY(0); }
  }
}

/* Mobile Responsive (768px and below) */
@media (max-width: 768px) {
  .insight-finder-demo {
    margin-top: var(--space-md);
    min-height: 220px;
    max-height: 260px;
    border-radius: 10px;
  }

  .insight-demo-viewport {
    min-height: 180px;
    max-height: 220px;
  }

  .insight-demo-scroller {
    padding: 10px;
    gap: 6px;
    animation: insightScrollStepsMobile 12s ease-in-out infinite;
  }

  .insight-step {
    min-height: 50px;
  }

  /* Hide steps 3 and 5 on mobile for shorter demo */
  .insight-step-3,
  .insight-step-5 {
    display: none;
  }

  /* Adjust animations for 3-step mobile flow */
  .insight-step-1 { animation: insightStep1Mobile 12s ease-in-out infinite; }
  .insight-step-2 { animation: insightStep2Mobile 12s ease-in-out infinite; }
  .insight-step-4 { animation: insightStep4Mobile 12s ease-in-out infinite; }

  @keyframes insightStep1Mobile {
    0% { opacity: 0; }
    3% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0.3; }
    92% { opacity: 0.3; }
    100% { opacity: 0; }
  }

  @keyframes insightStep2Mobile {
    0%, 22% { opacity: 0; }
    28% { opacity: 1; }
    55% { opacity: 1; }
    60% { opacity: 0.3; }
    92% { opacity: 0.3; }
    100% { opacity: 0; }
  }

  @keyframes insightStep4Mobile {
    0%, 52% { opacity: 0; }
    58% { opacity: 1; }
    88% { opacity: 1; }
    92% { opacity: 0.3; }
    100% { opacity: 0; }
  }

  /* Faster typing animation for mobile */
  .insight-typing-wrapper {
    animation: insightTyping1 1.5s steps(48) 0.3s forwards, cursorBlink 0.7s step-end infinite;
  }

  .chat-send-btn {
    animation: sendBtnAppear 0.3s ease 1.8s forwards;
  }

  /* Faster response lines for mobile */
  .insight-step-2 .response-line-1 { animation: responseLineIn 0.3s ease 2.5s forwards; }
  .insight-step-2 .response-line-2 { animation: responseLineIn 0.3s ease 2.9s forwards; }
  .insight-step-2 .response-line-3 { animation: responseLineIn 0.3s ease 3.3s forwards; }
  .insight-step-2 .response-line-4 { animation: responseLineIn 0.3s ease 3.7s forwards; }

  .insight-step-2 .citation-1 {
    animation: citationPulse 0.5s ease 4s;
  }

  /* Faster doc items for mobile */
  .insight-step-4 .related-doc-1 { animation: docItemIn 0.3s ease 7s forwards; }
  .insight-step-4 .related-doc-2 { animation: docItemIn 0.3s ease 7.3s forwards; }
  .insight-step-4 .related-doc-3 { animation: docItemIn 0.3s ease 7.6s forwards, docItemClick 0.3s ease 8s; }

  /* Faster complete for mobile */
  .insight-demo-complete {
    animation: insightCompleteIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 10s forwards;
  }

  @keyframes insightScrollStepsMobile {
    0%, 8% { transform: translateY(0); }
    28%, 35% { transform: translateY(-56px); }
    58%, 65% { transform: translateY(-112px); }
    88%, 92% { transform: translateY(-112px); }
    100% { transform: translateY(0); }
  }

  /* Chat Input */
  .chat-input-area {
    padding: 4px;
  }

  .chat-input-box {
    padding: 6px 8px;
    border-radius: 6px;
    gap: 6px;
  }

  .chat-input-text {
    font-size: 9px;
  }

  .chat-send-btn {
    width: 22px;
    height: 22px;
    border-radius: 4px;
  }

  .chat-send-btn svg {
    width: 10px;
    height: 10px;
  }

  /* AI Response */
  .ai-response-area {
    gap: 6px;
    padding: 4px;
  }

  .ai-avatar {
    width: 20px;
    height: 20px;
  }

  .ai-avatar svg {
    width: 12px;
    height: 12px;
  }

  .ai-response-content {
    padding: 6px 8px;
    border-radius: 6px;
  }

  .ai-response-text {
    gap: 2px;
  }

  .response-line {
    font-size: 9px;
    line-height: 1.3;
  }

  .citation {
    font-size: 8px;
    padding: 0px 3px;
  }

  /* Related Documents */
  .related-docs-section {
    border-radius: 6px;
  }

  .related-docs-header {
    padding: 6px 8px;
    gap: 5px;
    font-size: 9px;
  }

  .related-docs-header svg {
    width: 10px;
    height: 10px;
  }

  .related-docs-list {
    padding: 5px;
    gap: 2px;
  }

  .related-doc-item {
    padding: 5px 6px;
    gap: 5px;
    border-radius: 4px;
  }

  .doc-icon {
    font-size: 10px;
  }

  .doc-name {
    font-size: 9px;
  }

  .doc-match {
    font-size: 8px;
    padding: 1px 4px;
  }

  /* Complete State */
  .insight-demo-complete {
    padding: 8px;
    gap: 5px;
    border-radius: 5px;
  }

  .insight-demo-complete svg {
    width: 14px;
    height: 14px;
  }

  .insight-demo-complete span {
    font-size: 11px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .insight-finder-demo {
    min-height: 200px;
    max-height: 240px;
    border-radius: 8px;
  }

  .demo-header {
    padding: 6px 10px;
    gap: 8px;
  }

  .demo-dots span {
    width: 7px;
    height: 7px;
  }

  .demo-title {
    font-size: 10px;
  }

  .insight-demo-scroller {
    padding: 8px;
    gap: 5px;
  }

  .insight-step {
    min-height: 45px;
  }

  .chat-input-text {
    font-size: 8px;
  }

  .chat-send-btn {
    width: 20px;
    height: 20px;
  }

  .chat-send-btn svg {
    width: 9px;
    height: 9px;
  }

  .ai-avatar {
    width: 18px;
    height: 18px;
  }

  .ai-avatar svg {
    width: 10px;
    height: 10px;
  }

  .response-line {
    font-size: 8px;
  }

  .citation {
    font-size: 7px;
    padding: 0px 2px;
  }

  .related-docs-header {
    padding: 5px 6px;
    font-size: 8px;
  }

  .related-doc-item {
    padding: 4px 5px;
    gap: 4px;
  }

  .doc-icon {
    font-size: 9px;
  }

  .doc-name {
    font-size: 8px;
  }

  .doc-match {
    font-size: 7px;
    padding: 1px 3px;
  }

  .insight-demo-complete span {
    font-size: 10px;
  }

  @keyframes insightScrollStepsMobile {
    0%, 8% { transform: translateY(0); }
    28%, 35% { transform: translateY(-50px); }
    58%, 65% { transform: translateY(-100px); }
    88%, 92% { transform: translateY(-100px); }
    100% { transform: translateY(0); }
  }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
  .insight-finder-demo {
    min-height: 180px;
    max-height: 220px;
  }

  .insight-demo-scroller {
    padding: 6px;
    gap: 4px;
  }

  .insight-step {
    min-height: 40px;
  }

  .chat-input-text,
  .response-line,
  .doc-name {
    font-size: 7px;
  }

  .doc-match {
    display: none;
  }

  .insight-demo-complete span {
    font-size: 9px;
  }

  @keyframes insightScrollStepsMobile {
    0%, 8% { transform: translateY(0); }
    28%, 35% { transform: translateY(-44px); }
    58%, 65% { transform: translateY(-88px); }
    88%, 92% { transform: translateY(-88px); }
    100% { transform: translateY(0); }
  }
}

/* ==================== MOBILE DEMOS GRID ==================== */
.mobile-demos-grid {
  display: none;
}

@media (max-width: 768px) {
  .mobile-demos-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-demo-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-demo-label {
    text-align: center;
  }

  .tag-small {
    font-size: 10px;
    padding: 4px 10px;
  }

  /* Override demo heights for mobile grid */
  .mobile-demos-grid .insight-finder-demo,
  .mobile-demos-grid .ai-report-demo {
    min-height: 200px;
    max-height: 240px;
    margin-top: 0;
  }

  .mobile-demos-grid .demo-viewport,
  .mobile-demos-grid .insight-demo-viewport {
    min-height: 160px;
    max-height: 200px;
  }

  /* Compact the AI Report Demo for mobile grid */
  .mobile-demos-grid .demo-scroller {
    padding: 10px;
    gap: 8px;
  }

  .mobile-demos-grid .demo-step {
    min-height: 55px;
  }

  .mobile-demos-grid .step-label {
    font-size: 9px;
  }

  .mobile-demos-grid .step-preview {
    margin-left: 30px;
    padding: 6px 8px;
  }

  .mobile-demos-grid .outline-item,
  .mobile-demos-grid .search-text-content,
  .mobile-demos-grid .generate-text {
    font-size: 8px;
  }

  .mobile-demos-grid .step-spinner-wrap {
    width: 22px;
    height: 22px;
  }

  .mobile-demos-grid .step-spinner {
    width: 22px;
    height: 22px;
  }

  .mobile-demos-grid .step-num {
    font-size: 9px;
  }

  .mobile-demos-grid .demo-complete {
    padding: 8px;
    gap: 6px;
  }

  .mobile-demos-grid .demo-complete span {
    font-size: 11px;
  }

  .mobile-demos-grid .demo-complete svg {
    width: 14px;
    height: 14px;
  }

  /* Hide steps 3 and 4 from AI Report Demo on mobile */
  .mobile-demos-grid .demo-step-3,
  .mobile-demos-grid .demo-step-4 {
    display: none;
  }

  /* Adjust AI Report Demo animation for 2 visible steps */
  .mobile-demos-grid .demo-scroller {
    animation: mobileReportScroll 10s ease-in-out infinite;
  }

  .mobile-demos-grid .demo-step-1 {
    animation: mobileReportStep1 10s ease-in-out infinite;
  }

  .mobile-demos-grid .demo-step-2 {
    animation: mobileReportStep2 10s ease-in-out infinite;
  }

  .mobile-demos-grid .demo-complete {
    animation: mobileReportComplete 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 7s forwards;
  }

  @keyframes mobileReportScroll {
    0%, 10% { transform: translateY(0); }
    40%, 50% { transform: translateY(-63px); }
    85%, 90% { transform: translateY(-63px); }
    100% { transform: translateY(0); }
  }

  @keyframes mobileReportStep1 {
    0% { opacity: 0; }
    5% { opacity: 1; }
    45% { opacity: 1; }
    50% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { opacity: 0; }
  }

  @keyframes mobileReportStep2 {
    0%, 35% { opacity: 0; }
    42% { opacity: 1; }
    85% { opacity: 1; }
    90% { opacity: 0.3; }
    100% { opacity: 0; }
  }

  /* Faster typing for mobile report demo */
  .mobile-demos-grid .demo-step-1 .step-label .typing-wrapper {
    animation: typing1 1.2s steps(38) 0.3s forwards, cursorBlink 0.7s step-end infinite;
  }

  .mobile-demos-grid .demo-step-2 .step-label .typing-wrapper {
    animation: typing2 1.2s steps(40) 3s forwards, cursorBlink 0.7s step-end infinite;
  }

  .mobile-demos-grid .demo-step-1 .outline-item:nth-child(1) { animation: textSlideIn 0.3s ease 1.3s forwards; }
  .mobile-demos-grid .demo-step-1 .outline-item:nth-child(2) { animation: textSlideIn 0.3s ease 1.5s forwards; }
  .mobile-demos-grid .demo-step-1 .outline-item:nth-child(3) { animation: textSlideIn 0.3s ease 1.7s forwards; }
  .mobile-demos-grid .demo-step-1 .outline-item:nth-child(4) { animation: textSlideIn 0.3s ease 1.9s forwards; }
  .mobile-demos-grid .demo-step-1 .outline-item:nth-child(5) { animation: textSlideIn 0.3s ease 2.1s forwards; }

  .mobile-demos-grid .demo-step-2 .search-item:nth-child(1) { animation: textSlideIn 0.3s ease 4s forwards; }
  .mobile-demos-grid .demo-step-2 .search-item:nth-child(2) { animation: textSlideIn 0.3s ease 4.3s forwards; }
  .mobile-demos-grid .demo-step-2 .search-item:nth-child(3) { animation: textSlideIn 0.3s ease 4.6s forwards; }
}

@media (max-width: 480px) {
  .mobile-demos-grid {
    gap: 16px;
  }

  .mobile-demo-card {
    gap: 8px;
  }

  .tag-small {
    font-size: 9px;
    padding: 3px 8px;
  }

  .mobile-demos-grid .insight-finder-demo,
  .mobile-demos-grid .ai-report-demo {
    min-height: 180px;
    max-height: 220px;
  }

  .mobile-demos-grid .demo-viewport,
  .mobile-demos-grid .insight-demo-viewport {
    min-height: 140px;
    max-height: 180px;
  }

  .mobile-demos-grid .demo-step {
    min-height: 50px;
  }

  .mobile-demos-grid .step-label {
    font-size: 8px;
  }

  .mobile-demos-grid .outline-item,
  .mobile-demos-grid .search-text-content {
    font-size: 7px;
  }

  @keyframes mobileReportScroll {
    0%, 10% { transform: translateY(0); }
    40%, 50% { transform: translateY(-55px); }
    85%, 90% { transform: translateY(-55px); }
    100% { transform: translateY(0); }
  }
}

@media (max-width: 360px) {
  .mobile-demos-grid {
    gap: 12px;
  }

  .tag-small {
    font-size: 8px;
    padding: 2px 6px;
  }

  .mobile-demos-grid .insight-finder-demo,
  .mobile-demos-grid .ai-report-demo {
    min-height: 160px;
    max-height: 200px;
  }

  .mobile-demos-grid .demo-viewport,
  .mobile-demos-grid .insight-demo-viewport {
    min-height: 120px;
    max-height: 160px;
  }

  .mobile-demos-grid .demo-step {
    min-height: 45px;
  }

  @keyframes mobileReportScroll {
    0%, 10% { transform: translateY(0); }
    40%, 50% { transform: translateY(-48px); }
    85%, 90% { transform: translateY(-48px); }
    100% { transform: translateY(0); }
  }
}