/* ========================================
   Symphony — Ultra Modern Dark Theme
   Inspired by Linear, Vercel, Stripe
   ======================================== */

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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #161616;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --bg-glass: rgba(20, 20, 20, 0.7);

  --text-primary: #f5f5f5;
  --text-secondary: #d4d4d8;
  --text-tertiary: #a1a1aa;
  --text-quaternary: #8a8a96;

  --accent: #00d4aa;
  --accent-hover: #00e6b8;
  --accent-dim: rgba(0, 212, 170, 0.1);
  --accent-glow: rgba(0, 212, 170, 0.15);
  --accent-secondary: #0ea5e9;
  --accent-purple: #a78bfa;

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(0, 212, 170, 0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

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

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Subtle dot grid overlay — Linear-style */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

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

/* --- Ambient Background --- */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.15), transparent 70%);
  top: -200px;
  left: -100px;
  animation: float1 20s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent 70%);
  top: 40%;
  right: -150px;
  animation: float2 25s ease-in-out infinite;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08), transparent 70%);
  bottom: -100px;
  left: 30%;
  animation: float3 22s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(80px, 60px); }
  66% { transform: translate(-40px, 30px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-60px, -40px); }
  66% { transform: translate(30px, -60px); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(50px, -30px); }
  66% { transform: translate(-30px, 50px); }
}

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

/* --- Typography --- */
.gradient-text {
  background: linear-gradient(135deg, #00d4aa, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mono-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.3);
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.btn-sm { padding: 8px 16px; font-size: 0.825rem; }
.btn-lg { padding: 14px 28px; font-size: 0.95rem; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: all 0.3s var(--ease-out);
}

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

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-right: 40px;
}

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  transition: color 0.2s;
  font-weight: 400;
}

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

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

.nav-link-cta {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  transition: color 0.2s;
}

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

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

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 8px 0;
}

.mobile-menu.active {
  display: flex;
}

/* --- Hero --- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 40px;
  text-align: center;
}

/* Radial glow behind the hero title */
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0, 212, 170, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-dim);
  margin-bottom: 32px;
  font-weight: 500;
}

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

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

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 40px;
}

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

.hero-proof {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.proof-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.proof-unit {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

.proof-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 4px;
  font-weight: 400;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  align-self: center;
}

/* Hero Visual */
.hero-visual {
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
  position: relative;
}

.orchestration-canvas {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  padding: 20px;
}

.orchestration-svg {
  width: 100%;
  height: auto;
}

.center-node {
  animation: center-pulse 3s ease-in-out infinite;
}

@keyframes center-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.3)); }
  50% { filter: drop-shadow(0 0 20px rgba(0, 212, 170, 0.5)); }
}

.outer-node {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.outer-node:hover {
  opacity: 1;
}

.conn-line {
  stroke-dasharray: 4 4;
  animation: dash-flow 2s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -8; }
}

/* --- Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* --- Logos Strip --- */
.logos-section {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-quaternary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  font-weight: 500;
}

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

.logos-slide {
  display: flex;
  gap: 60px;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-quaternary);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

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

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

/* --- Category Section --- */
.category-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s var(--ease-out);
}

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

.category-icon {
  margin-bottom: 16px;
}

.category-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.category-names {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

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

.category-limitation {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  display: flex;
  gap: 8px;
  align-items: center;
}

.category-symphony {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.05), rgba(14, 165, 233, 0.05));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.category-symphony::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4aa, #0ea5e9, transparent);
}

.symphony-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-symphony h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.category-symphony p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Modalities Section --- */
.modalities-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-secondary);
}

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

.modality-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.modality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

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

.modality-card.featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(0, 212, 170, 0.03), var(--bg-card));
}

.modality-card.featured::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.modality-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-quaternary);
  margin-bottom: 20px;
}

.modality-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modality-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.rpa-indicator { background: var(--text-quaternary); }
.conv-indicator { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.ambient-indicator { background: var(--accent-secondary); }

.modality-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.modality-desc {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.85;
}

.modality-list {
  list-style: none;
  margin-bottom: 24px;
}

.modality-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.modality-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
  transform: translateY(-50%);
}

.modality-card.featured .modality-list li::before {
  background: var(--accent);
}

.modality-tag {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  display: flex;
  gap: 8px;
  align-items: center;
}

/* --- Capabilities Section --- */
.capabilities-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

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

.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s var(--ease-out);
}

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

.capability-icon-wrap {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 16px;
}

.capability-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.capability-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- AI Section --- */
.ai-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-secondary);
}

.ai-architecture {
  max-width: 800px;
  margin: 0 auto 64px;
}

.arch-layer {
  margin-bottom: 8px;
}

.arch-layer-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-quaternary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-align: center;
}

.arch-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.arch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s var(--ease-out);
}

.arch-card:hover {
  border-color: var(--border-hover);
}

.arch-card.full-width {
  grid-column: 1 / -1;
}

.arch-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.arch-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.arch-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 12px;
}

.arch-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.arch-features span {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.arch-connector {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

.arch-systems {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.arch-systems span {
  font-size: 0.8rem;
  color: var(--text-quaternary);
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-weight: 500;
}

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

.principle {
  text-align: center;
}

.principle-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
}

.principle h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.principle p {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- SAP Section --- */
.sap-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.sap-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sap-text .section-title {
  text-align: left;
}

.sap-text .section-desc {
  margin-bottom: 40px;
}

.sap-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sap-stat {
  display: flex;
  flex-direction: column;
}

.sap-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sap-stat-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.layer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.layer::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.layer:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
}

.layer:hover::before {
  opacity: 1;
}

.layer-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.layer-items {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* --- Impact Section --- */
.impact-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-secondary);
}

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

.impact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.impact-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.impact-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #00d4aa, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.impact-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.impact-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* --- Customers Section --- */
.customers-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

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

.customer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s var(--ease-out);
}

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

.customer-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

.customer-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-quaternary);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* --- Products Section --- */
.products-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-secondary);
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--ease-out);
}

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

.product-icon {
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

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

.product-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 100px;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

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

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

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

.cta-assurance {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-quaternary);
  flex-wrap: wrap;
}

.cta-dot {
  width: 3px;
  height: 3px;
  background: var(--text-quaternary);
  border-radius: 50%;
  align-self: center;
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 1;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

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

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.footer-company {
  font-size: 0.8rem;
  color: var(--text-quaternary);
}

.footer-company a {
  color: var(--accent);
  transition: color 0.2s;
}

.footer-company a:hover {
  color: var(--accent-hover);
}

.footer-links-group h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.footer-links-group a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-quaternary);
  padding: 4px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-quaternary);
}

.footer-dot {
  width: 3px;
  height: 3px;
  background: var(--text-quaternary);
  border-radius: 50%;
}

/* --- Nav Logo Image --- */
.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* --- Agents in Action Section --- */
.agents-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-secondary);
}

.agent-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 120px;
}

.flow-step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.3s;
}

.flow-step-icon.ambient-glow { background: rgba(0, 212, 170, 0.08); border-color: rgba(0, 212, 170, 0.2); color: #00d4aa; }
.flow-step-icon.teams-glow { background: rgba(88, 101, 242, 0.08); border-color: rgba(88, 101, 242, 0.2); color: #5865f2; }
.flow-step-icon.agentic-glow { background: rgba(14, 165, 233, 0.08); border-color: rgba(14, 165, 233, 0.2); color: #0ea5e9; }
.flow-step-icon.enterprise-glow { background: rgba(167, 139, 250, 0.08); border-color: rgba(167, 139, 250, 0.2); color: #a78bfa; }

.flow-step-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.flow-step-desc {
  font-size: 0.7rem;
  color: var(--text-quaternary);
}

.flow-arrow-svg {
  margin-top: -20px;
}

/* Demo Tabs */
.demo-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
  justify-content: center;
}

.demo-tab {
  padding: 8px 20px;
  font-size: 0.825rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-tertiary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.demo-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.demo-tab.active {
  color: #0a0a0a;
  background: var(--accent);
  border-color: var(--accent);
}

/* Demo Panels */
.demo-panels {
  max-width: 700px;
  margin: 0 auto;
}

.demo-panel {
  display: none;
}

.demo-panel.active {
  display: block;
}

/* Teams Window Mock */
.teams-window {
  background: #1e1e2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.teams-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #181825;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.teams-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.teams-channel-dot {
  width: 8px;
  height: 8px;
  background: #5865f2;
  border-radius: 50%;
}

.teams-channel-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.teams-header-dots {
  display: flex;
  gap: 4px;
}

.teams-header-dots span {
  width: 4px;
  height: 4px;
  background: var(--text-quaternary);
  border-radius: 50%;
}

.teams-chat {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 480px;
  overflow-y: auto;
}

/* Chat Messages */
.chat-msg {
  display: flex;
  gap: 10px;
}

.chat-msg.user-msg {
  justify-content: flex-end;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #00d4aa, #0ea5e9);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.msg-body {
  max-width: 85%;
}

.msg-sender {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}

.msg-bubble {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  line-height: 1.6;
}

.msg-bubble.agent-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.msg-bubble.user-bubble {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.2);
  color: var(--text-primary);
}

.agent-check {
  padding: 4px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.check-icon {
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.check-icon.pass { color: #22c55e; }
.check-icon.warn { color: #f59e0b; }
.check-icon.fail { color: #ef4444; }

.msg-alert {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.msg-status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

.status-dot.green { background: #22c55e; }
.status-dot.red { background: #ef4444; }

/* --- Animated Hero Word Rotation --- */
.hero-words {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: baseline;
  height: 1.15em;
  min-width: 5ch;
}

.hero-words .word {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s var(--ease-out);
}

.hero-words .word.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.hero-words .word.exit {
  opacity: 0;
  transform: translateY(-100%);
}

/* --- Animated Counters --- */
.counter-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* --- Card 3D Tilt --- */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card .tilt-inner {
  transform: translateZ(20px);
}

/* --- Animated Gradient Border --- */
.glow-border {
  position: relative;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 40%, #00d4aa 50%, #0ea5e9 60%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.glow-border:hover::after {
  opacity: 1;
  animation: rotate-border 3s linear infinite;
}

@keyframes rotate-border {
  to { --angle: 360deg; }
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* --- Section Dividers --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.3), rgba(14, 165, 233, 0.3), transparent);
  border: none;
  margin: 0;
}

/* --- Shimmer Effect on Hero Badge --- */
.hero-badge {
  position: relative;
  overflow: hidden;
}

.hero-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

/* --- Typing Indicator --- */
.typing-indicator {
  display: inline-flex;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: typing-bounce 1.4s ease-in-out infinite;
}

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

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* --- Insights / Blog Section --- */
.insights-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-primary);
}

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

.insight-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.insight-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.insight-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  padding: 40px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.04) 0%, rgba(14, 165, 233, 0.04) 100%);
  border-color: rgba(0, 212, 170, 0.15);
}

.insight-featured .insight-title {
  font-size: 1.5rem;
}

.insight-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(0, 212, 170, 0.1);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 16px;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.insight-date {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

.insight-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  background: rgba(0, 212, 170, 0.08);
  border-radius: 4px;
}

.insight-title {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.insight-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

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

.insight-card:hover .insight-read {
  gap: 8px;
}

.insights-more {
  text-align: center;
}

/* --- Events & Stories Section --- */
.events-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-secondary);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.events-column-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}

.events-column-title svg {
  color: var(--accent);
}

.event-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  margin-bottom: 12px;
}

.event-card:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
  background: var(--bg-card-hover);
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 8px 10px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.event-month {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-day {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.event-info {
  flex: 1;
}

.event-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.event-title {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 4px;
}

.event-location {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.story-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  margin-bottom: 12px;
}

.story-card:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
  background: var(--bg-card-hover);
}

.story-logo {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-secondary);
  min-width: 70px;
  text-align: center;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.story-info {
  flex: 1;
}

.story-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 4px;
}

.story-stat {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
}

.stories-more {
  margin-top: 8px;
  text-align: right;
}

/* --- Global Presence / Locations Section --- */
.locations-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.locations-map {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  background: linear-gradient(180deg, rgba(20, 20, 24, 1) 0%, rgba(14, 14, 18, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow: hidden;
}

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

.map-dot {
  animation: map-pulse 2s ease-in-out infinite;
}

.map-dot:nth-child(2) { animation-delay: 0.3s; }
.map-dot:nth-child(3) { animation-delay: 0.6s; }
.map-dot:nth-child(4) { animation-delay: 0.9s; }
.map-dot:nth-child(5) { animation-delay: 1.2s; }
.map-dot:nth-child(6) { animation-delay: 1.5s; }

@keyframes map-pulse {
  0%, 100% { r: 4; opacity: 0.8; }
  50% { r: 6; opacity: 1; }
}

.map-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0;
  animation: map-ring-pulse 2.5s ease-out infinite;
}

.map-ring:nth-child(2) { animation-delay: 0.3s; }
.map-ring:nth-child(3) { animation-delay: 0.6s; }
.map-ring:nth-child(4) { animation-delay: 0.9s; }
.map-ring:nth-child(5) { animation-delay: 1.2s; }
.map-ring:nth-child(6) { animation-delay: 1.5s; }

@keyframes map-ring-pulse {
  0% { r: 4; opacity: 0.6; }
  100% { r: 20; opacity: 0; }
}

.map-connection {
  stroke-dasharray: 6 8;
  animation: dash-flow 3s linear infinite;
  opacity: 0.6;
}

.location-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
}

.location-card:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
  background: var(--bg-card-hover);
}

.location-flag {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 170, 0.06);
  border-radius: var(--radius-sm);
}

.location-info {
  flex: 1;
}

.location-city {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.location-country {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.location-role {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

.locations-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.loc-stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.loc-stat-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* --- Enhanced Card Hover Glow --- */
.capability-card:hover,
.product-card:hover,
.customer-card:hover {
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.05), 0 8px 32px rgba(0, 0, 0, 0.2);
}

.modality-card.featured {
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.06);
}

/* --- Improved Card Backgrounds --- */
.category-card,
.modality-card,
.capability-card,
.customer-card,
.product-card,
.arch-card {
  background: linear-gradient(180deg, rgba(25, 25, 28, 1), rgba(18, 18, 20, 1));
}

/* --- Better Demo Panel Visibility --- */
.msg-bubble.agent-bubble {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.msg-bubble.user-bubble {
  background: rgba(88, 101, 242, 0.18);
  border-color: rgba(88, 101, 242, 0.25);
}

.agent-check {
  color: var(--text-secondary);
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4aa, #0ea5e9);
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
}

/* --- Enhanced Impact Cards --- */
.impact-card {
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00d4aa, #0ea5e9);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
  transform-origin: left;
}

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

/* --- Cursor Glow Effect for Hero --- */
.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.3s ease-out, opacity 0.3s;
  opacity: 0;
  z-index: 0;
}

.hero:hover .hero-glow {
  opacity: 1;
}

/* ========================================
   Responsive
   ======================================== */

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

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

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

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

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

  .insight-featured {
    grid-column: 1 / -1;
  }

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

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

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 100px 24px 40px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-proof {
    gap: 20px;
  }

  .proof-divider {
    display: none;
  }

  .hero-visual {
    display: none;
  }

  .agent-flow {
    gap: 8px;
  }

  .flow-arrow-svg {
    display: none;
  }

  .agent-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .flow-step {
    min-width: auto;
  }

  .demo-tabs {
    justify-content: flex-start;
  }

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

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

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

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

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

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

  .ai-principles {
    grid-template-columns: 1fr;
  }

  .arch-cards {
    grid-template-columns: 1fr;
  }

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

  .layer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

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

  .insight-featured {
    padding: 24px;
  }

  .insight-featured .insight-title {
    font-size: 1.15rem;
  }

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

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

  .locations-stats {
    gap: 20px;
  }

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

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

  section {
    padding: 80px 0 !important;
  }
}

@media (max-width: 480px) {
  .hero-proof {
    flex-direction: column;
    gap: 16px;
  }

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

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

  .cta-assurance {
    flex-direction: column;
    gap: 8px;
  }

  .cta-dot {
    display: none;
  }
}

/* ========================================
   Language Switcher
   ======================================== */
.lang-switcher {
  position: relative;
}
.lang-switcher-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: border-color 0.2s;
  font-family: inherit;
}
.lang-switcher-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--text-primary);
}
.lang-switcher-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px;
  min-width: 120px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.lang-switcher.active .lang-switcher-dropdown {
  display: block;
}
.lang-option {
  display: block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.15s;
}
.lang-option:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}
.lang-option.active {
  color: var(--accent);
}
