/* ============================================================
   COMCEPT GmbH – Haupt-Stylesheet
   Design: Light Theme (Default) · Dark Theme Toggle · Cyan Accent
   ============================================================ */

/* Google Fonts – Inter (modern Arial-Alternative, professionell) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES – LIGHT THEME (DEFAULT)
   ============================================================ */
:root {
  /* Accent Colors (same in both themes) */
  --cyan:          #00a8be;
  --cyan-light:    #00c8dc;
  --cyan-dark:     #007d90;
  --cyan-glow:     rgba(0, 168, 190, 0.1);
  --cyan-glow-strong: rgba(0, 168, 190, 0.25);

  /* Light Theme Surfaces */
  --bg:            #f2f5fa;
  --surface-1:     #ffffff;
  --surface-2:     #edf0f8;
  --surface-3:     #e4e8f2;
  --border:        #d0d5e8;
  --border-light:  rgba(0, 168, 190, 0.3);

  /* Light Theme Text */
  --text-primary:  #0d0d2a;
  --text-secondary: #3d3d60;
  --text-muted:    #8080a0;
  --white:         #ffffff;

  /* Status Colors */
  --green:         #00a86b;
  --orange:        #e08000;
  --red:           #d43050;

  /* Gradients */
  --grad-cyan:     linear-gradient(135deg, #00a8be, #006e82);
  --grad-dark:     linear-gradient(180deg, #ffffff 0%, #f2f5fa 100%);
  --grad-card:     linear-gradient(145deg, #ffffff 0%, #f5f7fc 100%);
  --grad-hero:     linear-gradient(135deg, #f2f5fa 0%, #edf2fa 50%, #e8f0fc 100%);

  /* Shadows – subtle for light */
  --shadow-sm:     0 2px 8px rgba(0,0,30,0.07);
  --shadow-md:     0 8px 32px rgba(0,0,30,0.1);
  --shadow-lg:     0 16px 64px rgba(0,0,30,0.13);
  --shadow-cyan:   0 0 24px rgba(0, 168, 190, 0.18);
  --shadow-cyan-strong: 0 0 48px rgba(0, 168, 190, 0.3);

  /* Transitions */
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --section-py:    6rem;
  --section-py-sm: 4rem;

  /* Border Radius */
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
}

/* ============================================================
   DARK THEME OVERRIDES
   ============================================================ */
[data-theme="dark"] {
  --cyan:          #00c8dc;
  --cyan-light:    #40e0f0;
  --cyan-dark:     #00a0b4;
  --cyan-glow:     rgba(0, 200, 220, 0.15);
  --cyan-glow-strong: rgba(0, 200, 220, 0.35);

  --bg:            #080812;
  --surface-1:     #0e0e1c;
  --surface-2:     #14142a;
  --surface-3:     #1c1c36;
  --border:        #2a2a48;
  --border-light:  rgba(0, 200, 220, 0.2);

  --text-primary:  #e8e8f8;
  --text-secondary: #9090b8;
  --text-muted:    #606088;

  --green:         #00d48c;
  --orange:        #ff9500;
  --red:           #ff4060;

  --grad-cyan:     linear-gradient(135deg, #00c8dc, #0080a0);
  --grad-dark:     linear-gradient(180deg, #0e0e1c 0%, #080812 100%);
  --grad-card:     linear-gradient(145deg, #14142a 0%, #0e0e1c 100%);
  --grad-hero:     linear-gradient(135deg, #080812 0%, #0a0a1a 50%, #0c0c20 100%);

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:     0 16px 64px rgba(0,0,0,0.6);
  --shadow-cyan:   0 0 32px rgba(0, 200, 220, 0.2);
  --shadow-cyan-strong: 0 0 60px rgba(0, 200, 220, 0.35);
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
}

/* Light mode: show moon (to switch to dark) */
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }

/* Dark mode: show sun (to switch to light) */
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--cyan-light);
}

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

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-dark);
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.text-cyan { color: var(--cyan) !important; }
.text-gradient {
  background: linear-gradient(135deg, var(--cyan-light) 0%, var(--cyan) 50%, #0080a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-muted-custom { color: var(--text-muted) !important; }
.text-secondary-custom { color: var(--text-secondary) !important; }

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
}

/* ============================================================
   BACKGROUND ELEMENTS
   ============================================================ */
.bg-grid {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0, 168, 190, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 190, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .bg-grid {
  background-image:
    linear-gradient(rgba(0, 200, 220, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 220, 0.03) 1px, transparent 1px);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-comcept {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(242, 245, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar-comcept.scrolled {
  background: rgba(242, 245, 250, 0.97);
  border-bottom-color: var(--border);
  padding: 0.75rem 0;
  box-shadow: 0 4px 24px rgba(0,0,30,0.08);
}

[data-theme="dark"] .navbar-comcept {
  background: rgba(8, 8, 18, 0.85);
}

[data-theme="dark"] .navbar-comcept.scrolled {
  background: rgba(8, 8, 18, 0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.navbar-comcept .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary) !important;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .navbar-comcept .navbar-brand {
  color: #ffffff !important;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-cyan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--bg);
  font-weight: 800;
  box-shadow: 0 0 20px rgba(0, 200, 220, 0.4);
}

.navbar-logo {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

/* Wrapper span for the logo image */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

/* Dark mode: white pill behind the logo so the dark text stays readable */
[data-theme="dark"] .logo-wrap {
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 10px;
}

.nav-link-custom {
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--text-primary) !important;
  background: rgba(255,255,255,0.05);
}

.dropdown-menu-dark-custom {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 240px;
}

.dropdown-item-custom {
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
}

.dropdown-item-custom:hover {
  background: var(--surface-3);
  color: var(--cyan);
}

.dropdown-item-custom i {
  width: 16px;
  color: var(--cyan);
  font-size: 0.8rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom {
  background: var(--grad-cyan);
  color: var(--bg) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(0, 200, 220, 0.25);
  text-decoration: none;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 200, 220, 0.45);
  color: var(--bg) !important;
}

.btn-outline-custom {
  background: transparent;
  color: var(--cyan) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  border: 1.5px solid var(--cyan);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
}

.btn-outline-custom:hover {
  background: var(--cyan-glow);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 200, 220, 0.25);
  color: var(--cyan) !important;
}

.btn-ghost-custom {
  background: transparent;
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-ghost-custom:hover {
  border-color: var(--cyan);
  color: var(--cyan) !important;
  background: var(--cyan-glow);
}

.btn-lg-custom {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: 14px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 168, 190, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0, 100, 140, 0.04) 0%, transparent 50%),
              var(--bg);
}

[data-theme="dark"] .hero-bg {
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 200, 220, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0, 128, 160, 0.06) 0%, transparent 50%),
              var(--bg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cyan-glow);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s 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, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* 3D Floating Elements */
.hero-visual {
  position: relative;
  height: 500px;
  padding-top: 1.5rem;
}

.hero-card-3d {
  position: absolute;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.hero-card-main {
  width: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) perspective(1000px) rotateY(-8deg) rotateX(4deg);
  z-index: 3;
  box-shadow: var(--shadow-cyan);
  border-color: var(--border-light);
}

.hero-card-main:hover {
  transform: translate(-50%, -50%) perspective(1000px) rotateY(-4deg) rotateX(2deg) scale(1.02);
  box-shadow: var(--shadow-cyan-strong);
}

.hero-card-float-1 {
  width: 200px;
  top: 10%;
  right: 5%;
  transform: perspective(800px) rotateY(-15deg) rotateX(8deg);
  z-index: 2;
  animation: float-card-1 6s ease-in-out infinite;
}

.hero-card-float-2 {
  width: 180px;
  bottom: 10%;
  left: 0;
  transform: perspective(800px) rotateY(10deg) rotateX(-5deg);
  z-index: 2;
  animation: float-card-2 7s ease-in-out infinite;
}

.hero-card-float-3 {
  width: 160px;
  top: 10%;
  left: 10%;
  transform: perspective(800px) rotateY(15deg) rotateX(10deg);
  z-index: 1;
  animation: float-card-3 8s ease-in-out infinite;
}

@keyframes float-card-1 {
  0%, 100% { transform: perspective(800px) rotateY(-15deg) rotateX(8deg) translateY(0px); }
  50% { transform: perspective(800px) rotateY(-15deg) rotateX(8deg) translateY(-15px); }
}

@keyframes float-card-2 {
  0%, 100% { transform: perspective(800px) rotateY(10deg) rotateX(-5deg) translateY(0px); }
  50% { transform: perspective(800px) rotateY(10deg) rotateX(-5deg) translateY(-10px); }
}

@keyframes float-card-3 {
  0%, 100% { transform: perspective(800px) rotateY(15deg) rotateX(10deg) translateY(0px); }
  50% { transform: perspective(800px) rotateY(15deg) rotateX(10deg) translateY(-10px); }
}

.card-icon-big {
  width: 48px;
  height: 48px;
  background: var(--cyan-glow);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.card-mini-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.card-mini-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  margin-right: 0.3rem;
  box-shadow: 0 0 8px rgba(0, 212, 140, 0.5);
}

/* ============================================================
   SECTION GENERAL
   ============================================================ */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-sm {
  padding: var(--section-py-sm) 0;
}

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

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

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

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--cyan-glow);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--cyan);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(0, 200, 220, 0.25);
  box-shadow: 0 0 20px rgba(0, 200, 220, 0.3);
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  margin-top: 1rem;
  transition: var(--transition);
}

.feature-link:hover {
  gap: 0.7rem;
  color: var(--cyan-light);
}

/* ============================================================
   HIGHLIGHT / FEATURE SHOWCASE
   ============================================================ */
.feature-showcase {
  background: var(--surface-1);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.feature-showcase::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,200,220,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.showcase-content {
  padding: 3.5rem;
}

.showcase-visual {
  background: var(--surface-2);
  border-left: 1px solid var(--border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Ensure the right column in a feature-showcase stretches full height */
.feature-showcase .row {
  align-items: stretch;
}

.feature-showcase > .row > [class*="col"]:last-child {
  display: flex;
  flex-direction: column;
}

.showcase-screen {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
  width: 100%;
  max-width: 420px;
}

/* Visualization disclaimer – subtle caption below visualization */
.viz-note {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0.45rem 0 0 0;
  padding: 0;
  opacity: 0.45;
  letter-spacing: 0.01em;
  font-style: normal;
}
.viz-note i {
  font-size: 0.5rem;
  margin-right: 0.2rem;
}

.screen-bar {
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.screen-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.screen-content {
  padding: 1.25rem;
}

.screen-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  transition: var(--transition);
}

.screen-row:hover {
  background: var(--surface-2);
}

.screen-row.active {
  background: var(--cyan-glow);
  border: 1px solid var(--border-light);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

.stat-divider {
  width: 1px;
  background: var(--border);
  margin: 0 auto;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--surface-1);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,200,220,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-4px);
}

.service-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: var(--cyan-glow);
  border: 2px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--cyan);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: rgba(0, 200, 220, 0.2);
  box-shadow: 0 0 30px rgba(0, 200, 220, 0.3);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  position: relative;
}

.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--border-light);
  box-shadow: var(--shadow-cyan);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition);
  user-select: none;
}

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

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--cyan-glow);
  border-color: var(--border-light);
  color: var(--cyan);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

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

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(135deg, rgba(0,168,190,0.06) 0%, rgba(0,168,190,0.02) 100%);
  border-bottom: 1px solid var(--border);
  z-index: 0;
}

.team-card > * {
  position: relative;
  z-index: 1;
}

.team-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan);
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border: 3px solid var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 168, 190, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.team-card:hover .team-avatar {
  border-color: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 168, 190, 0.2), 0 8px 24px rgba(0, 168, 190, 0.25);
  transform: translateY(-2px);
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb-custom a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumb-custom a:hover {
  color: var(--cyan);
}

.breadcrumb-custom .sep {
  color: var(--border);
}

/* ============================================================
   PAGE HERO (Subpages)
   ============================================================ */
.page-hero {
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(0, 168, 190, 0.07) 0%, transparent 60%),
              var(--bg);
}

[data-theme="dark"] .page-hero-bg {
  background: radial-gradient(ellipse at 60% 40%, rgba(0, 200, 220, 0.07) 0%, transparent 60%),
              var(--bg);
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

/* ============================================================
   TECH CARDS (for Schnittstellen etc.)
   ============================================================ */
.tech-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-cyan);
  border-radius: 2px 0 0 2px;
  opacity: 0;
  transition: var(--transition);
}

.tech-card:hover {
  border-color: var(--border-light);
  transform: translateX(4px);
  box-shadow: var(--shadow-cyan);
}

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

.tech-badge {
  display: inline-flex;
  align-items: center;
  background: var(--cyan-glow);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

/* ============================================================
   CHECK LIST
   ============================================================ */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--cyan);
  font-size: 0.75rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ============================================================
   DEMO PAGE
   ============================================================ */
.demo-download-card {
  background: var(--surface-1);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-cyan);
}

.demo-download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,200,220,0.1) 0%, transparent 70%);
}

.demo-icon-big {
  width: 96px;
  height: 96px;
  background: var(--grad-cyan);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--bg);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 40px rgba(0, 200, 220, 0.4);
}

.demo-steps {
  counter-reset: step;
}

.demo-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

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

.demo-step-num {
  counter-increment: step;
  width: 32px;
  height: 32px;
  background: var(--cyan-glow);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
}

.demo-step-num::before {
  content: counter(step);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-control-custom {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: var(--transition);
  width: 100%;
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 200, 220, 0.1);
  background: var(--surface-3);
}

.form-control-custom::placeholder {
  color: var(--text-muted);
}

.form-label-custom {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-contact-item i {
  color: var(--cyan);
  width: 16px;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================================
   MOBILE HAMBURGER
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   RESPONSIVE – TABLET (≤ 992 px)
   ============================================================ */
@media (max-width: 991.98px) {
  :root {
    --section-py:    4rem;
    --section-py-sm: 3rem;
  }

  .page-hero {
    padding: 6rem 0 3.5rem;
  }

  .hero-visual {
    height: 360px;
    margin-top: 3rem;
  }

  .hero-card-main { width: 260px; }

  .hero-card-float-1,
  .hero-card-float-2,
  .hero-card-float-3 { display: none; }

  .showcase-content { padding: 2.5rem; }

  .showcase-visual {
    border-left: none;
    border-top: 1px solid var(--border);
    min-height: 300px;
  }

  .cta-section { padding: 3rem 2rem; }

  .service-card { padding: 2rem 1.5rem; }

  .demo-download-card { padding: 2.5rem; }
}

/* ============================================================
   RESPONSIVE – MOBILE (≤ 768 px)
   ============================================================ */
@media (max-width: 767.98px) {
  :root {
    --section-py:    3rem;
    --section-py-sm: 2.5rem;
  }

  /* --- Buttons: allow text wrapping on mobile --- */
  .btn-primary-custom,
  .btn-outline-custom,
  .btn-ghost-custom {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  /* --- Navbar --- */
  .hamburger { display: flex; }
  .desktop-nav { display: none; }
  .navbar-logo { height: 36px; }

  /* --- Hero --- */
  .hero-section {
    padding: 5.5rem 0 3rem;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 1rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas { justify-content: center; }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem 2rem;
  }

  .hero-stat-number { font-size: 1.6rem; }

  .hero-visual { display: none; }

  .hero-badge { font-size: 0.75rem; }

  /* --- Page Hero --- */
  .page-hero { padding: 5.5rem 0 3rem; }

  .page-hero-title {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }

  /* --- Sections --- */
  .section-header { margin-bottom: 2.5rem; }
  .section-desc { max-width: 100%; }

  /* --- Showcase --- */
  .showcase-content { padding: 2rem 1.5rem; }

  .showcase-visual {
    border-left: none;
    border-top: 1px solid var(--border);
    min-height: 260px;
    padding: 1.5rem;
  }

  /* --- CTA --- */
  .cta-section { padding: 2.5rem 1.5rem; }
  .cta-desc { font-size: 0.95rem; max-width: 100%; }

  /* --- Service cards --- */
  .service-card { padding: 2rem 1.25rem; }
  .service-icon-wrap {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  /* --- Feature cards --- */
  .feature-card { padding: 1.5rem; }
  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  /* --- Tech cards --- */
  .tech-card { padding: 1.5rem; }

  /* --- Demo --- */
  .demo-download-card { padding: 2rem 1.25rem; }
  .demo-icon-big {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    border-radius: 22px;
  }

  /* --- FAQ --- */
  .faq-question {
    font-size: 0.875rem;
    padding: 1rem 1.25rem;
  }
  .faq-answer {
    padding: 0.875rem 1.25rem 1rem;
    font-size: 0.875rem;
  }

  /* --- Footer --- */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links { justify-content: center; }

  /* --- Overflow guard --- */
  .container { overflow-x: hidden; }
}

/* ============================================================
   RESPONSIVE – SMALL MOBILE (≤ 576 px)
   ============================================================ */
@media (max-width: 575.98px) {
  :root {
    --section-py:    2.5rem;
    --section-py-sm: 2rem;
    --radius-lg:     16px;
    --radius-xl:     20px;
  }

  html { font-size: 15px; }

  /* --- Navbar --- */
  .navbar-comcept { padding: 0.65rem 0; }
  .navbar-logo { height: 32px; }
  .theme-toggle { width: 32px; height: 32px; }

  /* --- Buttons full-width on xs --- */
  .btn-lg-custom {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  /* --- Hero stats: 2-column grid on xs --- */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
    padding-top: 1.5rem;
  }
  .hero-stat-item  { text-align: center; }
  .hero-stat-number { font-size: 1.5rem; }
  .hero-stat-label  { font-size: 0.72rem; }

  /* --- Page hero --- */
  .page-hero { padding: 5rem 0 2.5rem; }

  /* --- Section header --- */
  .section-header { margin-bottom: 2rem; }

  /* --- Stats bar --- */
  .stat-number { font-size: 2rem; }

  /* --- Feature cards --- */
  .feature-card { padding: 1.25rem; }

  /* --- Service cards --- */
  .service-card { padding: 1.75rem 1rem; }

  /* --- CTA --- */
  .cta-section {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .cta-title { font-size: clamp(1.25rem, 5vw, 1.75rem); }

  /* --- Demo card --- */
  .demo-download-card {
    padding: 1.75rem 1rem;
    border-radius: var(--radius-lg);
  }
  .demo-step { gap: 0.75rem; padding: 0.875rem 0; }

  /* --- FAQ --- */
  .faq-question { font-size: 0.8rem; padding: 0.875rem 1rem; }
  .faq-answer   { padding: 0.75rem 1rem 1rem; font-size: 0.8rem; }

  /* --- Footer --- */
  .footer { padding: 2.5rem 0 1.5rem; }
  .footer-desc { max-width: 100%; }

  /* --- Breadcrumb --- */
  .breadcrumb-custom { font-size: 0.7rem; flex-wrap: wrap; }

  /* --- Section label --- */
  .section-label { font-size: 0.7rem; }

  /* --- Prevent inline mockup overflow --- */
  .showcase-visual > *,
  .feature-showcase > * { max-width: 100% !important; }
}

/* ============================================================
   TOUCH DEVICE IMPROVEMENTS
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover transforms (they "stick" on touch) */
  .btn-primary-custom:hover,
  .btn-outline-custom:hover,
  .btn-ghost-custom:hover { transform: none; }

  .feature-card:hover,
  .service-card:hover,
  .tech-card:hover,
  .team-card:hover { transform: none; }

  /* Tactile :active feedback instead */
  .btn-primary-custom:active { transform: scale(0.97); }
  .btn-outline-custom:active,
  .btn-ghost-custom:active   { transform: scale(0.97); }

  /* Larger tap targets */
  .nav-link-custom { padding: 0.65rem 0.9rem !important; }
  .faq-question    { min-height: 48px; align-items: center; }
  .theme-toggle    { min-width: 40px; min-height: 40px; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.z-1 { position: relative; z-index: 1; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer { cursor: pointer; }
.border-bottom-subtle { border-bottom: 1px solid var(--border); }

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.tag-pill.cyan {
  background: var(--cyan-glow);
  border-color: var(--border-light);
  color: var(--cyan);
}

.gradient-border {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--grad-card);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--cyan), transparent 50%, var(--border) 100%);
  z-index: -1;
}

/* Glow line */
.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 0;
  opacity: 0.4;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(242, 245, 250, 0.99);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

[data-theme="dark"] .mobile-menu {
  background: rgba(8, 8, 18, 0.98);
}

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

.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--cyan);
}

/* Image utilities */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 168, 190, 0.1);
  margin: 0 auto 1.25rem;
  display: block;
  transition: var(--transition);
}

.team-card:hover .team-photo {
  border-color: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 168, 190, 0.2), 0 8px 24px rgba(0, 168, 190, 0.25);
  transform: translateY(-2px);
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switch {
  display: flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  line-height: 1;
  cursor: pointer;
}

.lang-btn:hover {
  color: var(--cyan);
  background: var(--surface-3);
}

.lang-active {
  background: var(--cyan-glow);
  color: var(--cyan) !important;
}

/* Mobile menu lang-switch (prominent flag buttons) */
.mobile-menu .lang-switch {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-3);
}

.mobile-menu .lang-btn {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.mobile-menu .lang-active {
  background: var(--cyan-glow);
  color: var(--cyan) !important;
}

/* Active language item in nav lang dropdown */
.lang-option-active {
  color: var(--cyan) !important;
  background: var(--cyan-glow);
  cursor: default;
}

/* Lang dropdown panel narrower than features dropdown */
.lang-dropdown-panel {
  min-width: 150px !important;
}
