/* ===================================
   XDATA DESIGN SYSTEM
   Light & Gradient theme
   Professional, modern, elegant
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - Dark Gray + Cream Theme */
  --color-bg-primary: #1a1a1a;
  --color-bg-secondary: #242424;
  --color-bg-tertiary: #2d2d2d;
  --color-bg-card: #1f1f1f;

  /* Cream/Off-white Colors */
  --color-cream: #f5f0e8;
  --color-cream-light: #faf8f5;
  --color-cream-dark: #e8e0d4;

  /* Light Background Colors */
  --color-bg-white: #ffffff;
  --color-bg-gray-50: #fafafa;
  --color-bg-gray-100: #f5f5f5;
  --color-bg-gray-200: #e5e5e5;

  /* Gradient Colors */
  --color-purple: #8b5cf6;
  --color-purple-light: #a78bfa;
  --color-blue: #3b82f6;
  --color-blue-light: #60a5fa;
  --color-indigo: #6366f1;
  --color-pink: #ec4899;
  --color-pink-light: #f472b6;
  --color-orange: #f97316;
  --color-teal: #14b8a6;
  --color-cyan: #06b6d4;

  /* Borders */
  --color-border-primary: #3a3a3a;
  --color-border-secondary: #2a2a2a;
  --color-border-light: rgba(245, 240, 232, 0.1);
  --color-border-gray: rgba(0, 0, 0, 0.08);

  /* Text Colors */
  --color-text-primary: #f5f0e8;
  --color-text-secondary: #c4bfb6;
  --color-text-tertiary: #8a8580;
  --color-text-dark: #1a1a1a;
  --color-text-gray: #525252;
  --color-text-gray-light: #737373;

  /* Accent Colors */
  --color-accent: #f5f0e8;
  --color-accent-hover: #e8e0d4;
  --color-success: #4ade80;
  --color-error: #f87171;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-mono: "SF Mono", "Consolas", "Liberation Mono", "Courier New", monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Max Width */
  --container-max: 1280px;
  --content-max: 800px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(245, 240, 232, 0.1);
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-cream);
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: var(--text-3xl);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

p {
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-cream);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-cream-dark);
}

strong {
  font-weight: 600;
  color: var(--color-cream);
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}

.section-lg {
  padding: var(--space-3xl) 0;
}

/* Alternate section backgrounds */
.section-alt {
  background-color: var(--color-bg-secondary);
}

/* Light/White section (Surge.ai style contrast) */
.section-light {
  background-color: var(--color-cream);
  color: var(--color-text-dark);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light strong {
  color: var(--color-bg-primary);
}

.section-light p {
  color: #4a4a4a;
}

.section-light .feature-card {
  background-color: #fff;
  border-color: rgba(26, 26, 26, 0.1);
}

.section-light .feature-card h3 {
  color: var(--color-bg-primary);
}

.section-light .feature-card p {
  color: #666;
}

.section-light .btn-primary {
  background-color: var(--color-bg-primary);
  color: var(--color-cream);
  border-color: var(--color-bg-primary);
}

.section-light .btn-primary:hover {
  background-color: var(--color-bg-secondary);
  border-color: var(--color-bg-secondary);
}

.section-light .btn-secondary {
  background-color: transparent;
  color: var(--color-bg-primary);
  border-color: var(--color-bg-primary);
}

.section-light .btn-secondary:hover {
  background-color: var(--color-bg-primary);
  color: var(--color-cream);
}

.section-light .content-visual {
  background-color: var(--color-bg-primary);
  border-color: var(--color-bg-secondary);
}

.section-light .list-styled li {
  color: #4a4a4a;
}

.section-light .list-styled li::before {
  background: var(--color-bg-primary);
}

/* Stats in light section */
.section-light .stat-card {
  background-color: #fff;
  border-color: rgba(26, 26, 26, 0.1);
}

.section-light .stat-number {
  color: var(--color-bg-primary);
}

.section-light .stat-label {
  color: #666;
}

/* ===== GRADIENT SECTIONS ===== */

/* Purple to Blue Gradient */
.section-gradient-purple {
  background: linear-gradient(135deg, #faf5ff 0%, #eff6ff 50%, #f0fdf4 100%);
  color: var(--color-text-dark);
  position: relative;
}

.section-gradient-purple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.section-gradient-purple h1,
.section-gradient-purple h2,
.section-gradient-purple h3,
.section-gradient-purple h4,
.section-gradient-purple strong {
  color: var(--color-text-dark);
}

.section-gradient-purple p {
  color: var(--color-text-gray);
}

.section-gradient-purple .feature-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
}

.section-gradient-purple .feature-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
}

.section-gradient-purple .feature-card h3 {
  color: var(--color-text-dark);
}

.section-gradient-purple .feature-card p {
  color: var(--color-text-gray-light);
}

.section-gradient-purple .feature-card-icon {
  background: linear-gradient(135deg, var(--color-purple), var(--color-blue));
  border: none;
  color: white;
}

.section-gradient-purple .btn-primary {
  background: linear-gradient(135deg, var(--color-purple), var(--color-indigo));
  border: none;
  color: white;
}

.section-gradient-purple .btn-primary:hover {
  background: linear-gradient(135deg, var(--color-purple-light), var(--color-purple));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.section-gradient-purple .btn-secondary {
  background: transparent;
  color: var(--color-purple);
  border-color: var(--color-purple);
}

.section-gradient-purple .btn-secondary:hover {
  background: var(--color-purple);
  color: white;
}

.section-gradient-purple .content-visual {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

/* Pink to Orange Gradient */
.section-gradient-warm {
  background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 50%, #fef2f2 100%);
  color: var(--color-text-dark);
  position: relative;
}

.section-gradient-warm::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(249, 115, 22, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 70%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.section-gradient-warm h1,
.section-gradient-warm h2,
.section-gradient-warm h3,
.section-gradient-warm h4,
.section-gradient-warm strong {
  color: var(--color-text-dark);
}

.section-gradient-warm p {
  color: var(--color-text-gray);
}

.section-gradient-warm .feature-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(249, 115, 22, 0.12);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.06);
}

.section-gradient-warm .feature-card:hover {
  border-color: rgba(236, 72, 153, 0.25);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.12);
}

.section-gradient-warm .feature-card h3 {
  color: var(--color-text-dark);
}

.section-gradient-warm .feature-card p {
  color: var(--color-text-gray-light);
}

.section-gradient-warm .testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(236, 72, 153, 0.15);
}

.section-gradient-warm .testimonial-card blockquote {
  color: var(--color-text-gray);
}

.section-gradient-warm .testimonial-author {
  border-color: rgba(0, 0, 0, 0.08);
}

.section-gradient-warm .testimonial-author-info h4 {
  color: var(--color-text-dark);
}

.section-gradient-warm .testimonial-author-info p {
  color: var(--color-text-gray-light);
}

.section-gradient-warm .badge {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(236, 72, 153, 0.15));
  color: var(--color-pink);
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.section-gradient-warm .btn-primary {
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  border: none;
  color: white;
}

.section-gradient-warm .btn-primary:hover {
  background: linear-gradient(135deg, var(--color-pink), var(--color-orange));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.section-gradient-warm .btn-secondary {
  background: transparent;
  color: var(--color-pink);
  border-color: var(--color-pink);
}

.section-gradient-warm .btn-secondary:hover {
  background: var(--color-pink);
  color: white;
}

/* Case study stats */
.case-stats {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.case-stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.case-stat-row:last-child {
  margin-bottom: 0;
}

.case-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-gray-light);
}

.case-stat-value {
  font-weight: 600;
  color: var(--color-text-dark);
}

/* Teal to Cyan Gradient */
.section-gradient-cool {
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 50%, #f0f9ff 100%);
  color: var(--color-text-dark);
  position: relative;
}

.section-gradient-cool::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 40% at 25% 25%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 75% 75%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.section-gradient-cool h1,
.section-gradient-cool h2,
.section-gradient-cool h3,
.section-gradient-cool h4,
.section-gradient-cool strong {
  color: var(--color-text-dark);
}

.section-gradient-cool p {
  color: var(--color-text-gray);
}

.section-gradient-cool .cert-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(20, 184, 166, 0.15);
}

.section-gradient-cool .cert-card:hover {
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.15);
}

.section-gradient-cool .cert-icon {
  color: var(--color-teal);
}

.section-gradient-cool .cert-card h4 {
  color: var(--color-text-dark);
}

.section-gradient-cool .cert-card p {
  color: var(--color-text-gray-light);
}

/* White section with subtle gradient accent */
.section-white {
  background: var(--color-bg-white);
  color: var(--color-text-dark);
}

.section-white h1,
.section-white h2,
.section-white h3,
.section-white h4,
.section-white strong {
  color: var(--color-text-dark);
}

.section-white p {
  color: var(--color-text-gray);
}

.section-white .feature-card {
  background: var(--color-bg-gray-50);
  border: 1px solid var(--color-border-gray);
}

.section-white .feature-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
}

.section-white .feature-card h3 {
  color: var(--color-text-dark);
}

.section-white .feature-card p {
  color: var(--color-text-gray-light);
}

.section-white .content-visual {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.section-white .btn-primary {
  background: var(--color-bg-primary);
  color: var(--color-cream);
  border-color: var(--color-bg-primary);
}

.section-white .btn-primary:hover {
  background: var(--color-bg-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.section-white .btn-secondary {
  background: transparent;
  color: var(--color-text-dark);
  border-color: var(--color-border-gray);
}

.section-white .btn-secondary:hover {
  background: var(--color-bg-primary);
  color: var(--color-cream);
  border-color: var(--color-bg-primary);
}

.section-white .feature-card-icon {
  background: linear-gradient(135deg, var(--color-purple), var(--color-indigo));
  border: none;
  color: white;
}

/* Light gray section */
.section-gray {
  background: var(--color-bg-gray-50);
  color: var(--color-text-dark);
}

.section-gray h1,
.section-gray h2,
.section-gray h3,
.section-gray h4,
.section-gray strong {
  color: var(--color-text-dark);
}

.section-gray p {
  color: var(--color-text-gray);
}

.section-gray .language-stat-card {
  background: white;
  border: 1px solid var(--color-border-gray);
}

.section-gray .language-stat-number {
  color: var(--color-text-dark);
}

.section-gray .language-stat-label {
  color: var(--color-text-gray-light);
}

.section-gray .feature-card {
  background: white;
  border: 1px solid var(--color-border-gray);
}

.section-gray .feature-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
}

.section-gray .feature-card h3 {
  color: var(--color-text-dark);
}

.section-gray .feature-card p {
  color: var(--color-text-gray-light);
}

/* Gradient text utilities */
.gradient-text-purple {
  background: linear-gradient(135deg, var(--color-purple), var(--color-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-warm {
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-cool {
  background: linear-gradient(135deg, var(--color-teal), var(--color-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient border cards */
.card-gradient-border {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
}

.card-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, var(--color-purple), var(--color-blue), var(--color-teal));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== ANNOUNCEMENT BANNER ===== */
.announcement-banner {
  background: linear-gradient(90deg, var(--color-bg-secondary), var(--color-bg-tertiary));
  border-bottom: 1px solid var(--color-border-primary);
  padding: var(--space-sm) 0;
}

.announcement-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.announcement-link:hover {
  color: var(--color-cream);
}

.announcement-badge {
  background: var(--color-cream);
  color: var(--color-text-dark);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement-text {
  font-weight: 500;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-light);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-cream);
  letter-spacing: -0.01em;
  transition: opacity var(--transition-base);
}

.logo:hover {
  opacity: 0.8;
  color: var(--color-cream);
}

.nav {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-base);
  position: relative;
}

.nav a:hover {
  color: var(--color-cream);
}

.nav a.active {
  color: var(--color-cream);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-cream);
  border-radius: var(--radius-full);
}

.nav-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-left: var(--space-md);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-cream);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: var(--space-3xl) 0 var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Hero with side-by-side layout */
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  text-align: left;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-content .hero-buttons {
  justify-content: flex-start;
}

.hero-content p {
  margin-left: 0;
  margin-right: 0;
}

.hero-cube {
  flex: 0 0 420px;
  height: 420px;
  position: relative;
}

.hero-cube iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 240, 232, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-cream);
  position: relative;
}

.hero p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-xl) auto;
  line-height: 1.6;
  position: relative;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Hero with gradient text */
.hero-gradient-text {
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Visual */
.hero-visual {
  margin-top: var(--space-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-graphic {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  overflow: hidden;
}

.hero-graphic svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-cream);
  color: var(--color-text-dark);
  border-color: var(--color-cream);
}

.btn-primary:hover {
  background-color: var(--color-cream-dark);
  border-color: var(--color-cream-dark);
  color: var(--color-text-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-cream);
  border-color: var(--color-border-primary);
}

.btn-secondary:hover {
  border-color: var(--color-cream);
  color: var(--color-cream);
  background-color: rgba(245, 240, 232, 0.05);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text-secondary);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--color-cream);
  background-color: rgba(245, 240, 232, 0.05);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
}

/* ===== CONTENT SECTIONS ===== */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-2xl) 0;
}

.content-text h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.content-text p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.content-visual {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.content-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 240, 232, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== FEATURE CARDS ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.feature-card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 240, 232, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--color-cream);
}

.feature-card p {
  font-size: var(--text-base);
  color: var(--color-text-tertiary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Feature card with icon */
.feature-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-secondary));
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-cream);
}

/* ===== STATS CARDS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-xl);
}

.stat-number {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== CLIENT LOGOS ===== */
.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  padding: var(--space-xl) 0;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.client-logos:hover {
  opacity: 0.8;
}

.client-logo {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-tertiary);
  letter-spacing: 0.05em;
}

/* ===== LOGO CAROUSEL ===== */
.logo-carousel {
  overflow: hidden;
  position: relative;
  padding: var(--space-lg) 0;
}

.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-primary), transparent);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-primary), transparent);
}

.logo-track {
  display: flex;
  animation: logoScroll 30s linear infinite;
  width: fit-content;
}

.logo-slide {
  flex-shrink: 0;
  padding: 0 var(--space-xl);
  color: var(--color-text-tertiary);
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.logo-slide:hover {
  opacity: 1;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

/* ===== ANIMATED VISUAL CONTAINERS ===== */
.animated-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.animated-visual svg {
  width: 100%;
  height: auto;
  max-width: 400px;
}

/* Data Collection Animation */
@keyframes dataOrbit {
  0% { transform: rotate(0deg) translateX(80px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

@keyframes dataPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

@keyframes dataStream {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

@keyframes nodeGlow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(245, 240, 232, 0.3)); }
  50% { filter: drop-shadow(0 0 8px rgba(245, 240, 232, 0.8)); }
}

.orbit-particle {
  animation: dataOrbit 8s linear infinite;
}

.orbit-particle:nth-child(2) {
  animation-delay: -2s;
}

.orbit-particle:nth-child(3) {
  animation-delay: -4s;
}

.orbit-particle:nth-child(4) {
  animation-delay: -6s;
}

.pulse-node {
  animation: dataPulse 2s ease-in-out infinite;
}

.glow-node {
  animation: nodeGlow 3s ease-in-out infinite;
}

/* Annotation Animation */
@keyframes scanLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

@keyframes boxDraw {
  0% { stroke-dashoffset: 400; opacity: 0; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes labelPop {
  0%, 80% { transform: scale(0); opacity: 0; }
  90% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.scan-line {
  animation: scanLine 3s ease-in-out infinite;
}

.draw-box {
  stroke-dasharray: 400;
  animation: boxDraw 2s ease-out forwards;
}

.draw-box:nth-child(2) {
  animation-delay: 0.5s;
}

.draw-box:nth-child(3) {
  animation-delay: 1s;
}

.label-pop {
  animation: labelPop 2s ease-out forwards;
}

/* Quality Check Animation */
@keyframes checkRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes checkMark {
  0% { stroke-dashoffset: 50; }
  100% { stroke-dashoffset: 0; }
}

@keyframes progressFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

.rotate-ring {
  animation: checkRotate 10s linear infinite;
  transform-origin: center;
}

.check-draw {
  stroke-dasharray: 50;
  animation: checkMark 1s ease-out 0.5s forwards;
}

/* RLHF Animation */
@keyframes brainPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes feedbackLoop {
  0% { stroke-dashoffset: 300; }
  100% { stroke-dashoffset: 0; }
}

@keyframes dataExchange {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.brain-pulse {
  animation: brainPulse 3s ease-in-out infinite;
}

.feedback-path {
  stroke-dasharray: 300;
  animation: feedbackLoop 4s linear infinite;
}

.exchange-dot {
  animation: dataExchange 1.5s ease-in-out infinite;
}

.exchange-dot:nth-child(2) { animation-delay: 0.3s; }
.exchange-dot:nth-child(3) { animation-delay: 0.6s; }

/* ===== 3D ROTATING CUBE (Resend Style) ===== */
.cube-scene {
  width: 200px;
  height: 200px;
  perspective: 600px;
  perspective-origin: 50% 50%;
  margin: 0 auto;
}

.cube-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeRotate 20s infinite linear;
}

.cube-wrapper:hover {
  animation-play-state: paused;
}

.cube-face {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(245, 240, 232, 0.2);
  background: linear-gradient(135deg, rgba(245, 240, 232, 0.05) 0%, rgba(245, 240, 232, 0.02) 100%);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(245, 240, 232, 0.7);
  box-shadow:
    inset 0 0 60px rgba(245, 240, 232, 0.05),
    0 0 20px rgba(245, 240, 232, 0.02);
}

.cube-face-front  { transform: rotateY(0deg) translateZ(100px); }
.cube-face-back   { transform: rotateY(180deg) translateZ(100px); }
.cube-face-right  { transform: rotateY(90deg) translateZ(100px); }
.cube-face-left   { transform: rotateY(-90deg) translateZ(100px); }
.cube-face-top    { transform: rotateX(90deg) translateZ(100px); }
.cube-face-bottom { transform: rotateX(-90deg) translateZ(100px); }

/* Cube face icons/content */
.cube-face svg {
  width: 48px;
  height: 48px;
  stroke: rgba(245, 240, 232, 0.6);
  stroke-width: 1.5;
  fill: none;
}

.cube-face .cube-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cube-face .cube-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

/* Cube rotation animation */
@keyframes cubeRotate {
  0% {
    transform: rotateX(-15deg) rotateY(0deg);
  }
  25% {
    transform: rotateX(15deg) rotateY(90deg);
  }
  50% {
    transform: rotateX(-15deg) rotateY(180deg);
  }
  75% {
    transform: rotateX(15deg) rotateY(270deg);
  }
  100% {
    transform: rotateX(-15deg) rotateY(360deg);
  }
}

/* Glow effect for cube */
.cube-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 240, 232, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Cube container */
.cube-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

/* Light section cube variant */
.section-light .cube-face {
  border-color: rgba(26, 26, 26, 0.15);
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.03) 0%, rgba(26, 26, 26, 0.01) 100%);
  color: rgba(26, 26, 26, 0.7);
  box-shadow:
    inset 0 0 60px rgba(26, 26, 26, 0.03),
    0 0 20px rgba(26, 26, 26, 0.02);
}

.section-light .cube-face svg {
  stroke: rgba(26, 26, 26, 0.6);
}

.section-light .cube-glow {
  background: radial-gradient(circle, rgba(26, 26, 26, 0.08) 0%, transparent 70%);
}

/* Mini cube variant */
.cube-scene.cube-mini {
  width: 120px;
  height: 120px;
  perspective: 400px;
}

.cube-mini .cube-face {
  width: 120px;
  height: 120px;
}

.cube-mini .cube-face-front  { transform: rotateY(0deg) translateZ(60px); }
.cube-mini .cube-face-back   { transform: rotateY(180deg) translateZ(60px); }
.cube-mini .cube-face-right  { transform: rotateY(90deg) translateZ(60px); }
.cube-mini .cube-face-left   { transform: rotateY(-90deg) translateZ(60px); }
.cube-mini .cube-face-top    { transform: rotateX(90deg) translateZ(60px); }
.cube-mini .cube-face-bottom { transform: rotateX(-90deg) translateZ(60px); }

.cube-mini .cube-face svg {
  width: 32px;
  height: 32px;
}

.cube-mini .cube-label {
  font-size: 9px;
}

/* Large cube variant */
.cube-scene.cube-large {
  width: 280px;
  height: 280px;
  perspective: 800px;
}

.cube-large .cube-face {
  width: 280px;
  height: 280px;
}

.cube-large .cube-face-front  { transform: rotateY(0deg) translateZ(140px); }
.cube-large .cube-face-back   { transform: rotateY(180deg) translateZ(140px); }
.cube-large .cube-face-right  { transform: rotateY(90deg) translateZ(140px); }
.cube-large .cube-face-left   { transform: rotateY(-90deg) translateZ(140px); }
.cube-large .cube-face-top    { transform: rotateX(90deg) translateZ(140px); }
.cube-large .cube-face-bottom { transform: rotateX(-90deg) translateZ(140px); }

.cube-large .cube-face svg {
  width: 64px;
  height: 64px;
}

.cube-large .cube-label {
  font-size: 13px;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.testimonial-card blockquote {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-primary);
}

.testimonial-author-info h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: 0.25rem;
}

.testimonial-author-info p {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-bottom: 0;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.pricing-card.featured {
  border-color: var(--color-cream);
  position: relative;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-cream);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-header {
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-primary);
}

.pricing-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-cream);
  color: var(--color-text-dark);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.pricing-price {
  margin-top: var(--space-lg);
}

.pricing-price .amount {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-cream);
}

.pricing-price .period {
  font-size: var(--text-base);
  color: var(--color-text-tertiary);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--color-text-secondary);
  font-size: var(--text-base);
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 600;
  flex-shrink: 0;
}

/* ===== CODE BLOCKS ===== */
.code-block {
  background-color: var(--color-bg-tertiary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  overflow-x: auto;
}

.code-block pre {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: var(--text-base);
  color: #ffffff;
  background-color: #1a1a1a;
  border: 1px solid #444444;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  font-family: var(--font-sans);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #6b9fff;
  box-shadow: 0 0 0 3px rgba(107, 159, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #888888;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23c4bfb6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-cream);
  cursor: pointer;
}

.form-checkbox label {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  cursor: pointer;
  margin: 0;
}

/* Form message */
.form-message {
  padding: var(--space-md);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  text-align: center;
}

.form-message.success {
  color: var(--color-success);
  border-color: var(--color-success);
  background-color: rgba(74, 222, 128, 0.1);
}

.form-message.error {
  color: var(--color-error);
  border-color: var(--color-error);
  background-color: rgba(248, 113, 113, 0.1);
}

/* ===== FOOTER ===== */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl) 0;
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  line-height: 1.6;
}

.footer-column h3 {
  font-size: var(--text-sm);
  color: var(--color-cream);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--space-sm);
}

.footer-column a {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  transition: color var(--transition-base);
}

.footer-column a:hover {
  color: var(--color-cream);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  color: var(--color-text-tertiary);
  transition: color var(--transition-base);
}

.footer-social a:hover {
  color: var(--color-cream);
}

/* ===== BADGE/TAG ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
  background-color: rgba(245, 240, 232, 0.1);
  color: var(--color-cream);
  border: 1px solid var(--color-border-primary);
}

.badge-success {
  background-color: rgba(74, 222, 128, 0.1);
  color: var(--color-success);
  border-color: rgba(74, 222, 128, 0.3);
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-primary), transparent);
  margin: var(--space-2xl) 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
    --space-3xl: 3rem;
  }

  .header-container {
    padding: var(--space-sm) var(--space-md);
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-bg-primary);
    border-left: 1px solid var(--color-border-primary);
    flex-direction: column;
    padding: var(--space-3xl) var(--space-xl);
    gap: var(--space-lg);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
  }

  .nav.mobile-open {
    display: flex;
  }

  .nav a {
    font-size: var(--text-lg);
    padding: var(--space-sm) 0;
  }

  .nav-buttons {
    flex-direction: column;
    margin-left: 0;
    margin-top: var(--space-lg);
    width: 100%;
  }

  .nav-buttons .btn {
    width: 100%;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content .hero-buttons {
    justify-content: center;
  }

  .hero-cube {
    flex: 0 0 320px;
    height: 320px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow {
    padding: 0 var(--space-md);
  }

  .feature-card,
  .pricing-card,
  .testimonial-card {
    padding: var(--space-lg);
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll animation classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.scroll-animate-fade {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.scroll-animate-fade.animate-in {
  opacity: 1;
}

/* Stagger animation for grid items */
.stagger-animation > * {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-animation.animate-in > *:nth-child(1) { animation: fadeInUp 0.5s ease-out 0.1s forwards; }
.stagger-animation.animate-in > *:nth-child(2) { animation: fadeInUp 0.5s ease-out 0.15s forwards; }
.stagger-animation.animate-in > *:nth-child(3) { animation: fadeInUp 0.5s ease-out 0.2s forwards; }
.stagger-animation.animate-in > *:nth-child(4) { animation: fadeInUp 0.5s ease-out 0.25s forwards; }
.stagger-animation.animate-in > *:nth-child(5) { animation: fadeInUp 0.5s ease-out 0.3s forwards; }
.stagger-animation.animate-in > *:nth-child(6) { animation: fadeInUp 0.5s ease-out 0.35s forwards; }
.stagger-animation.animate-in > *:nth-child(7) { animation: fadeInUp 0.5s ease-out 0.4s forwards; }
.stagger-animation.animate-in > *:nth-child(8) { animation: fadeInUp 0.5s ease-out 0.45s forwards; }
.stagger-animation.animate-in > *:nth-child(9) { animation: fadeInUp 0.5s ease-out 0.5s forwards; }

/* Hero animation */
.hero {
  animation: fadeIn 0.8s ease-out;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-animate,
  .scroll-animate-left,
  .scroll-animate-right,
  .scroll-animate-fade {
    opacity: 1;
    transform: none;
  }
}

/* ===== MOBILE NAV OVERLAY ===== */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* ===== PROGRESS BAR STYLES ===== */
.progress-bar {
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--color-cream-dark), var(--color-cream));
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* ===== LISTS ===== */
.list-styled {
  list-style: none;
  padding: 0;
}

.list-styled li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.list-styled li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--color-cream);
  border-radius: 50%;
}

/* ===== SVG ANIMATIONS ===== */

/* Pipeline Animation */
.pipeline-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.pipeline-stage {
  animation: stageAppear 3s ease-in-out infinite;
}

@keyframes stageAppear {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.flow-path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: flowDash 2s linear infinite;
}

@keyframes flowDash {
  to { stroke-dashoffset: 0; }
}

.data-particle {
  opacity: 0.8;
}

/* Multimodal Orbit Animation */
.multimodal-svg {
  max-width: 300px;
  height: auto;
}

.orbit-outer {
  animation: rotateOrbit 20s linear infinite;
  transform-origin: 150px 150px;
}

.orbit-inner {
  animation: rotateOrbit 15s linear infinite reverse;
  transform-origin: 150px 150px;
}

@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-item {
  animation: orbitPulse 4s ease-in-out infinite;
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.orbit-dot {
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.5; r: 4; }
  50% { opacity: 1; r: 6; }
}

.core-pulse {
  animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.core-center {
  animation: coreGlow 2s ease-in-out infinite;
}

@keyframes coreGlow {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* ===== CERTIFICATIONS GRID ===== */
.certifications-grid {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: var(--space-lg);
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-xl);
  flex: 1 1 0;
  min-width: 0;
  transition: var(--transition-base);
}

.cert-card:hover {
  border-color: var(--color-cream);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.cert-icon {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

.cert-card h4 {
  color: var(--color-cream);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.cert-card p {
  color: var(--color-text-tertiary);
  font-size: var(--text-sm);
  margin: 0;
}

/* ===== LANGUAGE COVERAGE MAP ===== */
.language-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.language-stat-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  text-align: center;
}

.language-stat-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
}

.language-stat-label {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .certifications-grid {
    gap: var(--space-md);
  }

  .cert-card {
    min-width: 140px;
    padding: var(--space-md);
  }
}
