/* ==========================================================================
   G.S. Multiservice Solution GmbH - Design System & Modern Stylesheet
   Color Tokens extracted from official corporate identity & logo
   ========================================================================== */

:root {
  /* Core Brand Colors from Logo */
  --primary: #0e2a47;
  --primary-rgb: 14, 42, 71;
  --primary-dark: #081a2e;
  --secondary: #18416b;
  --secondary-rgb: 24, 65, 107;
  --accent: #22a699;
  --accent-rgb: 34, 166, 153;
  --accent-hover: #1d8e82;
  --accent-glow: rgba(34, 166, 153, 0.35);
  --accent-subtle: rgba(34, 166, 153, 0.08);

  /* Light Theme Surfaces */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-muted: #f1f5f9;
  --text-primary: #0e2a47;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-focus: #22a699;
  --shadow-sm: 0 2px 4px rgba(14, 42, 71, 0.04);
  --shadow-md: 0 6px 18px rgba(14, 42, 71, 0.06);
  --shadow-lg: 0 16px 36px rgba(14, 42, 71, 0.08);
  --shadow-glow: 0 0 30px rgba(34, 166, 153, 0.2);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s var(--ease-spring);
  --transition-smooth: 0.4s var(--ease-spring);
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-page: #070e17;
  --bg-surface: #0d1b2a;
  --bg-surface-elevated: #122438;
  --bg-surface-muted: #0b1724;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1b3552;
  --border-focus: #22a699;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(34, 166, 153, 0.3);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Animated Gradient Shapes & Mesh */
.bg-ambient-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.4;
  border-radius: 50%;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-blob-1 {
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(34, 166, 153, 0) 70%);
}

.ambient-blob-2 {
  bottom: 10%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--secondary) 0%, rgba(24, 65, 107, 0) 70%);
  animation-duration: 22s;
  animation-delay: -5s;
}

.ambient-blob-3 {
  top: 45%;
  right: 25%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(34, 166, 153, 0.3) 0%, rgba(14, 42, 71, 0) 70%);
  animation-duration: 26s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

/* Layout Container - Set to 1440px Canvas */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Top Notification / Partnership Banner */
.top-announcement-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--secondary));
  color: #ffffff;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-announcement-bar .badge-official {
  background: var(--accent);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-right: 0.5rem;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;
  background: rgba(var(--primary-rgb), 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

[data-theme="light"] .main-header {
  background: rgba(var(--primary-rgb), 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Made crisp white like footer logo */
  transition: filter var(--transition-fast);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.6rem);
  list-style: none;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link {
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  font-weight: 600;
  color: #ffffff;
  padding: 0.5rem 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap !important;
  text-overflow: ellipsis;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent) !important;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 60;
  list-style: none;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--accent-subtle);
  color: var(--accent);
}

.dropdown-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Nav Actions (Language, Theme, CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

[data-theme="light"] .lang-btn {
  background: var(--bg-surface-muted);
  border-color: var(--border-color);
  color: var(--primary);
}

.lang-btn:hover {
  border-color: var(--accent);
}

.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  display: none;
  min-width: 120px;
  z-index: 60;
}

.lang-selector:hover .lang-dropdown,
.lang-dropdown.show {
  display: block;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 6px;
  transition: background var(--transition-fast);
}

.lang-opt:hover, .lang-opt.active {
  background: var(--accent-subtle);
  color: var(--accent);
  font-weight: 600;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

[data-theme="light"] .theme-toggle-btn {
  background: var(--bg-surface-muted);
  border-color: var(--border-color);
  color: var(--primary);
}

.theme-toggle-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-color);
}

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

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  padding: 0.45rem;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent);
}

/* Sections Common Styling */
.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(34, 166, 153, 0.25);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

/* Center-Aligned Hero Layout (Clean & Grand) */
.hero-centered {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #38b2ac 50%, #4fd1c5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  max-width: 860px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
}

.stat-item .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item .stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Active Live Status Pill & Animated Elements */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent-subtle);
  border: 1px solid rgba(34, 166, 153, 0.3);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(34, 166, 153, 0.15);
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(34, 166, 153, 0.7);
  animation: livePulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes livePulse {
  to {
    box-shadow: 0 0 0 12px rgba(34, 166, 153, 0);
  }
}

/* Center Partner Chips Showcase */
.hero-partner-chips-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.8rem;
}

.hero-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.hero-chip-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--accent);
}

.hero-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Active Floating Shapes Animations */
.animated-floating-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: gentleFloat 6s ease-in-out infinite alternate;
}

@keyframes gentleFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
  100% { transform: translateY(6px) rotate(-2deg); }
}

/* Rotating Tech Rings & Active Spinning Elements */
.spinning-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: spinSlow 24s linear infinite;
}

.spinning-shape-reverse {
  animation: spinReverse 18s linear infinite;
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* Pulsing Morphing Blob */
.morphing-blob-card {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(34, 166, 153, 0.22) 0%, rgba(14, 42, 71, 0.05) 70%);
  animation: morphShape 10s ease-in-out infinite, spinSlow 35s linear infinite;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

@keyframes morphShape {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 84px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 20px var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 85;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.9);
  transition: all var(--transition-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 28px var(--accent-glow);
}

.back-to-top-btn:active {
  transform: translateY(0) scale(0.95);
}

@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 78px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
}

/* FAQ Accordion Styles */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 940px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover, .faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question {
  color: var(--accent);
}

.faq-icon {
  transition: transform 0.35s var(--ease-spring);
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.8rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 1.8rem 1.6rem;
}

/* Footer Legal Horizontal Nav Bar */
.footer-legal-horizontal-bar {
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.footer-legal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-legal-nav a:hover {
  color: var(--accent);
}
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.8), rgba(var(--secondary-rgb), 0.9));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(20px);
  color: #ffffff;
  overflow: hidden;
}

[data-theme="light"] .hero-visual-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.hero-partner-badge-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 2rem;
}

.partner-logo-circle {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.partner-logo-circle img {
  width: 100%;
  height: auto;
}

.partner-meta h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.partner-meta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}

.product-badges-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  transition: all var(--transition-fast);
}

.product-chip:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

.product-chip-info h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.product-chip-info span {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* Partner & Industry Ecosystem Logos Showcase */
.partner-logos-section {
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.partner-logos-board {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.partner-logos-board:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(34, 166, 153, 0.4);
}

.partner-logos-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 0 0.5rem;
  display: flex;
  justify-content: center;
}

.partner-logos-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.company-logos-img {
  background: #fff;
  padding: 1%;
  border-radius: 8px;
  width: 100%;
  max-width: 980px;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.company-logos-img:hover {
  transform: scale(1.012);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.partner-logos-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 1.2rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .partner-logos-board {
    padding: 2rem 1.2rem;
    border-radius: 18px;
  }
  .partner-logos-scroll-wrapper {
    justify-content: flex-start;
  }
  .company-logos-img {
    min-width: 520px;
    padding: 2%;
  }
  .partner-logos-scroll-hint {
    display: inline-flex;
  }
}

/* Feature & Partnership Cards */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(34, 166, 153, 0.4);
}

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

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
}

/* Products Showcase Cards */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--accent);
}

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

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.product-badge-pill {
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-tagline {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-card-body {
  flex-grow: 1;
  margin-bottom: 1.8rem;
}

.product-feature-list {
  list-style: none;
  margin-top: 1.2rem;
}

.product-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
}

.check-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-color);
}

/* Solution Finder Interactive Component */
.solution-finder-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.solution-tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.solution-tab-btn {
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.solution-tab-btn:hover {
  border-color: var(--accent);
}

.solution-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

[data-theme="dark"] .solution-tab-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.solution-content-panel {
  display: none;
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.2rem;
}

.solution-content-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Testimonial Cards */
.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Contact Form Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-info-panel {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-info-panel h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-info-panel p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-info-text strong {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.contact-info-text span,
.contact-info-text a {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 500;
}

.contact-form-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
  background: var(--bg-surface);
}

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

.form-feedback-alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  display: none;
}

.form-feedback-alert.success {
  display: block;
  background: rgba(34, 166, 153, 0.15);
  color: #0f766e;
  border: 1px solid var(--accent);
}

[data-theme="dark"] .form-feedback-alert.success {
  color: #5eead4;
}

.form-feedback-alert.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #f87171;
}

/* Footer */
.main-footer {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1.2rem;
  font-size: 0.92rem;
}

.footer-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 600;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
  position: relative;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 540px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.5rem 1.8rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: none;
  animation: slideUp 0.4s var(--ease-spring);
}

.cookie-banner.show {
  display: block;
}

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

.cookie-banner h4 {
  margin-bottom: 0.4rem;
}

.cookie-banner p {
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Sticky Bottom Web App Bar */
.mobile-app-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 90;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
}

.mobile-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  gap: 3px;
  padding: 0.4rem;
  min-width: 58px;
  min-height: 48px;
  border-radius: 8px;
  transition: color var(--transition-fast);
}

.mobile-bar-item.active,
.mobile-bar-item:hover {
  color: var(--accent);
}

.mobile-bar-icon {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Responsive Breakpoints & Strict Mobile Overflow Prevention
   ========================================================================== */

/* Universal Mobile Safety Guard */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
}

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1200px) {
  .nav-menu {
    gap: 1.1rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid-2 {
    grid-template-columns: 1fr;
  }
  .solution-tabs-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Layout Container */
  .container {
    padding: 0 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Header & Navigation */
  .main-header {
    height: 70px;
  }
  .nav-wrapper {
    height: 70px;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 160px;
  }
  .top-announcement-bar {
    font-size: 0.76rem;
    padding: 0.45rem 0.6rem;
    line-height: 1.35;
    word-break: break-word;
  }
  .top-announcement-bar .badge-official {
    display: block;
    margin: 0 auto 0.3rem;
    width: fit-content;
  }

  /* Mobile Drawer Menu */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    display: none;
    z-index: 55;
    box-sizing: border-box;
  }
  .nav-menu.open {
    display: flex !important;
  }
  .nav-item {
    width: 100%;
  }
  .nav-menu .nav-link {
    color: var(--text-primary) !important;
    width: 100%;
    font-size: 1.05rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    color: var(--accent) !important;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0.5rem 1rem;
    background: transparent;
    display: block;
  }
  .dropdown-link {
    padding: 0.5rem 0;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-actions .btn-consultation {
    display: none;
  }

  /* Sections & Hero */
  .section {
    padding: 3.5rem 0;
  }
  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }
  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    line-height: 1.22;
    word-break: break-word;
  }
  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-top: 1.5rem;
  }
  .stat-item .stat-num {
    font-size: 1.9rem;
  }

  /* Grids & Cards Strict Containment */
  .cards-grid-4,
  .cards-grid-3,
  .cards-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    width: 100%;
  }

  .feature-card,
  .product-card,
  .contact-info-panel,
  .contact-form-panel,
  .solution-finder-box,
  .testimonial-card,
  .hero-visual-card {
    padding: 1.8rem 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-break: break-word;
  }

  /* Solution Finder Mobile */
  .solution-tabs-nav {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .solution-tab-btn {
    padding: 0.9rem 1rem;
    font-size: 0.92rem;
  }
  .solution-content-panel {
    padding: 1.5rem 1.2rem;
  }

  /* Forms Mobile */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-control {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }

  /* Footer Mobile */
  .main-footer {
    padding: 3.5rem 0 5.5rem;
    width: 100%;
    overflow: hidden;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-legal-nav {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.8rem;
  }

  /* Sticky App Bar */
  .mobile-app-bottom-bar {
    display: flex;
    width: 100vw;
    max-width: 100%;
    box-sizing: border-box;
    left: 0;
    right: 0;
  }
  body {
    padding-bottom: 64px;
  }

  /* Cookie Banner Mobile */
  .cookie-banner {
    bottom: 74px;
    left: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
    box-sizing: border-box;
    padding: 1.2rem;
  }
  .cookie-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }
  .cookie-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-chip-item {
    width: 100%;
    justify-content: center;
  }
}
