:root {
  --bg-color: #020617;
  /* Slate 950 */
  --bg-gradient-start: #0f172a;
  --bg-gradient-end: #020617;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;

  --primary-color: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.4);
  --secondary-color: #818cf8;
  --secondary-glow: rgba(129, 140, 248, 0.4);
  --accent-color: #a855f7;

  --card-bg: rgba(15, 23, 42, 0.6);
  --card-border: rgba(51, 65, 85, 0.6);
  --card-hover-border: rgba(56, 189, 248, 0.5);
  --card-blur: blur(16px);

  --nav-height: 80px;
}

[data-theme="light"] {
  --bg-color: #f8fafc; /* Slate 50 */
  --bg-gradient-start: #f1f5f9;
  --bg-gradient-end: #e2e8f0;

  --text-main: #0f172a; /* Slate 900 */
  --text-muted: #475569; /* Slate 600 */

  --primary-color: #0284c7; /* Sky 600 */
  --primary-glow: rgba(2, 132, 199, 0.2);
  --secondary-color: #4f46e5; /* Indigo 600 */
  --secondary-glow: rgba(79, 70, 229, 0.2);
  --accent-color: #9333ea; /* Purple 600 */

  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(203, 213, 225, 0.9); /* Slate 300 */
  --card-hover-border: rgba(2, 132, 199, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.08), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08), transparent 45%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.25;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.03em;
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Typography Enhancements */
.text-gradient {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.section {
  padding: 80px 7vw;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
}

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7vw;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-logo {
  height: clamp(42px, 5vw, 56px);
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.2));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.brand-tagline {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.nav a {
  font-size: clamp(0.85rem, 0.9vw, 0.92rem);
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px clamp(12px, 1.5vw, 20px);
  border-radius: 999px;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.nav a:hover,
.nav a.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary-glow);
  opacity: 0.8;
}

/* --- Dropdown --- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(32px) saturate(1.5);
  -webkit-backdrop-filter: blur(32px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  min-width: 360px;
  max-width: 420px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.02);
  z-index: 1000;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  background: transparent !important;
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  transform: translateX(4px);
}

.dd-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.dropdown-link:hover .dd-icon {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 0 20px var(--primary-glow);
}

.dd-icon svg {
  width: 22px;
  height: 22px;
}

.dd-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.dd-title {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 600;
  color: var(--text-main);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.dd-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.dropdown-link.active .dd-title {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.btn-box {
  width: 24px;
  height: 18px;
  display: inline-block;
  position: relative;
}

.btn-inner {
  top: 50%;
  margin-top: -1px;
}

.btn-inner, 
.btn-inner::before, 
.btn-inner::after {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 4px;
  position: absolute;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.btn-inner::before, 
.btn-inner::after {
  content: "";
  display: block;
}

.btn-inner::before { top: -8px; }
.btn-inner::after { top: 8px; }

/* Animated State */
.nav-open .btn-inner {
  background-color: transparent !important;
}

.nav-open .btn-inner::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-open .btn-inner::after {
  transform: translateY(-8px) rotate(-45deg);
}


/* --- Banner Carousel --- */
.banner-carousel {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
}

.banner-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
}

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

.banner-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.3) 100%),
              linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 7vw;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 600px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-badge {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 500;
}

.banner-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 0 rgba(0,0,0,0.3), 0 4px 30px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0,0,0,0.5);
  letter-spacing: -0.01em;
}

.banner-content h2 .text-gradient {
  background: linear-gradient(to right, #fff, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.banner-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  line-height: 1.7;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
  font-weight: 400;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.banner-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--primary-color);
}

.banner-arrow svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.banner-prev {
  left: 24px;
}

.banner-next {
  right: 24px;
}

.banner-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.indicator {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

.indicator.active {
  background: var(--primary-color);
  width: 50px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding: 40px 7vw 0;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 10s ease-in-out infinite;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-glow);
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary-glow);
  bottom: 10%;
  right: 10%;
  animation-delay: -5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 0.8rem;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(56, 189, 248, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

.hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.2rem);
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-slogan {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.4rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 32px;
  text-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

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

.hero-stats {
  display: flex;
  gap: 24px;
  padding-top: 40px;
  flex-wrap: wrap;
  position: relative;
}

.hero-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
  padding: 20px 24px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(129, 140, 248, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.2), 0 0 0 1px rgba(56, 189, 248, 0.2);
}

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

.stat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-icon svg {
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover .stat-icon svg {
  transform: scale(1.15);
}

.stat-icon-3d {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.1));
  color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.stat-icon-ai {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
  color: #a855f7;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.stat-icon-rgb {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
  color: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

.stat-card:hover .stat-icon-3d {
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.3);
}

.stat-card:hover .stat-icon-ai {
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.3);
}

.stat-card:hover .stat-icon-rgb {
  box-shadow: 0 0 28px rgba(34, 197, 94, 0.3);
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Light theme adjustments for stat cards */
[data-theme="light"] .stat-card {
  background: rgba(2, 132, 199, 0.05);
  border: 1px solid rgba(2, 132, 199, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .stat-card::before {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(79, 70, 229, 0.08) 100%);
}

[data-theme="light"] .stat-card:hover {
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.12), 0 0 0 1px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .hero-stats::before {
  background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.3), transparent);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-stats {
    gap: 16px;
  }

  .stat-card {
    min-width: 100%;
    padding: 16px 20px;
  }

  .stat-num {
    font-size: 1.35rem;
  }
}

/* -- Hero Visual (Orbit) -- */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-panel {
  position: relative;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: inset 0 0 50px rgba(56, 189, 248, 0.1);
}

.radar-scan {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(56, 189, 248, 0.4) 100%);
  animation: radar 4s linear infinite;
}

@keyframes radar {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-orbit {
  position: absolute;
  inset: 0;
}

.orbit-lines {
  width: 100%;
  height: 100%;
}

.spin-slow {
  animation: spin 20s linear infinite;
  transform-origin: center;
}

.spin-fast-reverse {
  animation: spin 10s linear infinite reverse;
  transform-origin: center;
}

.hero-node {
  position: absolute;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}

.node-core {
  top: 40%;
  left: 40%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2));
  border-color: var(--primary-color);
  padding: 12px 24px;
  font-size: 1rem;
  z-index: 10;
  animation-delay: 0s;
}

.node-optics {
  top: 15%;
  left: 20%;
  animation-delay: -1s;
}

.node-motion {
  bottom: 20%;
  right: 15%;
  animation-delay: -2s;
}

.node-system {
  top: 60%;
  right: 10%;
  animation-delay: -3s;
}


/* --- General Grid & Cards --- */
.grid {
  display: grid;
  gap: 24px;
}

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

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.spec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.spec-card h3 {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.spec-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table td {
  padding: 20px 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  vertical-align: middle;
}

.spec-table td:first-child {
  color: var(--text-muted);
  white-space: nowrap;
  padding-right: 32px;
  font-weight: 500;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: var(--card-blur);
  -webkit-backdrop-filter: var(--card-blur);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.card:hover {
  transform: translateY(-5px);
  border-color: var(--card-hover-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.team-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.team-card h3 {
  margin-bottom: 0.75rem;
}

.team-card .list {
  text-align: left;
}

@media (max-width: 900px) {
  .team-card .list {
    padding-left: 0;
  }
}

.qc-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--primary-color);
}

/* --- Capabilities Grid Cards --- */
.capabilities-grid {
  gap: 24px;
}

.capability-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(129, 140, 248, 0.08) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.capability-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(129, 140, 248, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.capability-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.2), 0 0 0 1px rgba(56, 189, 248, 0.3);
}

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

.capability-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 16px;
  color: #fff;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.capability-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0.2;
  filter: blur(8px);
  transition: all 0.4s ease;
}

.capability-card:hover .capability-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.4);
}

.capability-card:hover .capability-icon::after {
  opacity: 0.4;
  transform: scale(1.2);
}

.capability-icon svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
}

.capability-content {
  flex: 1;
  min-width: 0;
}

.capability-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.capability-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.capability-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.capability-card:hover .capability-arrow {
  background: var(--primary-color);
  color: #fff;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4);
}

.capability-arrow svg {
  width: 18px;
  height: 18px;
}

/* Light theme adjustments for capability cards */
[data-theme="light"] .capability-card {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(79, 70, 229, 0.06) 100%);
  border: 1px solid rgba(2, 132, 199, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .capability-card::before {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(79, 70, 229, 0.08) 100%);
}

[data-theme="light"] .capability-card:hover {
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.12), 0 0 0 1px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .capability-arrow {
  background: rgba(0, 0, 0, 0.04);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .capability-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }

  .capability-arrow {
    display: none;
  }
}

/* --- Utilities & Lists --- */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-color);
}

/* --- Base & Contact Form Layouts --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

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

.form-group label {
  font-size: 0.9rem;
  color: var(--text-main);
}

.form-group input,
.form-group textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  padding: 12px;
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}


/* --- Animated Visibility --- */
.section-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.section-visible .hero-hidden {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  position: relative;
  padding: 160px 7vw 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-hero .hero-badge {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 20px;
  color: rgba(255, 255, 255, 0.95);
}

.page-hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 4px 20px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.02em;
}

.page-hero h1 .text-gradient {
  color: #38bdf8 !important;
  text-shadow: 0 2px 8px rgba(56, 189, 248, 0.6), 0 0 20px rgba(56, 189, 248, 0.4);
  -webkit-text-fill-color: #38bdf8 !important;
}

.page-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
  max-width: 650px;
}

.page-hero .section {
  position: relative;
  z-index: 2;
}

/* --- Product Showcase --- */
.product-showcase {
  padding: 60px 7vw;
  background: var(--bg-color);
}

.showcase-container {
  max-width: 1400px;
  margin: 0 auto;
}

.showcase-header {
  text-align: center;
  margin-bottom: 40px;
}

.showcase-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.showcase-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.showcase-image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.showcase-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Overview Gallery */
.overview-gallery {
  padding: 50px 1vw !important;
  padding-bottom: 80px !important;
  background: var(--bg-color);
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
  margin: 0 !important;
}

.overview-gallery .section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 30px;
  text-align: center;
}

.overview-gallery .section-title span {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1.2rem;
  margin-left: 12px;
}

.overview-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .overview-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .overview-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }

  .overview-gallery {
    padding: 40px 3vw;
  }

  .overview-gallery .section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .overview-gallery .section-title span {
    font-size: 1rem;
  }

  .overview-desc {
    font-size: 1rem;
    margin-bottom: 24px;
  }
}

.hero-image-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.5) 0%, rgba(2, 6, 23, 0.25) 50%, transparent 70%),
              linear-gradient(to top, rgba(2, 6, 23, 0.35) 0%, transparent 50%);
}

.product-detail {
  padding: 120px 7vw;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

/* --- Footer --- */
.site-footer {
  margin-top: 60px;
  padding: 60px 7vw 24px;
  background: rgba(2, 6, 23, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .brand-name {
  font-size: 1.5rem;
  margin-bottom: 16px;
  background: linear-gradient(to right, #fff, var(--text-muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.contact-box {
  margin-top: 10px;
  padding: 8px 0 0 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  margin-top: 8px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
}

.contact-item:hover {
  border-color: var(--primary-color);
  box-shadow: inset 0 0 0 1px var(--primary-glow);
  transform: translateY(-1px);
}

.contact-item span {
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

.spec-table td:last-child {
  color: var(--text-main);
  font-weight: 500;
  text-align: right;
  white-space: normal;
  word-break: break-word;
}

/* --- Inspection Gallery --- */
.inspection-gallery {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.gallery-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text-main);
}

.gallery-title .dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-glow);
}

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

.inspection-gallery .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.inspection-gallery .gallery-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inspection-gallery .gallery-group:last-child {
  border-bottom: none;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
}

.img-frame {
  background: #111111;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

/* --- Portal Grid & Cards --- */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.portal-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.portal-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-hover-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.portal-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.portal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portal-card:hover .portal-img img {
  transform: scale(1.05);
}

.portal-content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portal-tag {
  font-size: 0.75rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  font-weight: 600;
}

.portal-card h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.portal-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.portal-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.portal-btn svg {
  transition: transform 0.3s ease;
}

.portal-card:hover .portal-btn svg {
  transform: translateX(4px);
}

.cta-card h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .product-grid {
    gap: 60px;
  }
}

@media (max-width: 992px) {
  .banner-carousel {
    height: 60vh;
    min-height: 400px;
  }

  .banner-content {
    left: 5vw;
    right: 5vw;
    max-width: 90%;
  }

  .banner-arrow {
    width: 40px;
    height: 40px;
  }

  .banner-arrow svg {
    width: 20px;
    height: 20px;
  }

  .banner-prev {
    left: 12px;
  }

  .banner-next {
    right: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

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

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

  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .product-visual {
    order: -1;
  }

  .portal-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    padding: 0 5vw;
  }

  .brand-tagline {
    display: none;
  }

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

  .nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - var(--nav-height));
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(32px) saturate(1.8);
    -webkit-backdrop-filter: blur(32px) saturate(1.8);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px 24px;
    gap: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  }

  .nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    font-size: 1.1rem;
    padding: 14px 16px;
    width: 100%;
    border-radius: 12px;
    opacity: 1;
    transform: none;
    transition: all 0.25s ease;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-open .nav a {
    opacity: 1;
    transform: none;
  }

  /* 移动端语言切换按钮优化 - 简洁风格 */
  .nav .lang-toggle {
    margin: 16px 0 8px;
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    min-height: 44px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
  }

  .nav .lang-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(56, 189, 248, 0.08);
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .nav .lang-toggle:hover::before,
  .nav .lang-toggle:active::before {
    opacity: 1;
  }

  .nav .lang-toggle .lang-icon {
    position: relative;
    z-index: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .nav .lang-toggle:hover,
  .nav .lang-toggle:active {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(255, 255, 255, 0.08);
    transform: none;
  }

  /* 浅色模式下的移动端语言按钮 - 简洁风格 */
  [data-theme="light"] .nav .lang-toggle {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none;
  }

  [data-theme="light"] .nav .lang-toggle::before {
    background: rgba(2, 132, 199, 0.06);
  }

  [data-theme="light"] .nav .lang-toggle:hover,
  [data-theme="light"] .nav .lang-toggle:active {
    border-color: rgba(2, 132, 199, 0.3);
    background: rgba(0, 0, 0, 0.06);
  }

  /* 移动端主题切换按钮优化 */
  .nav .theme-toggle {
    margin: 8px 0 0;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 48px;
    min-width: 48px;
    align-self: flex-start;
  }

  .nav .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }

  [data-theme="light"] .nav .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  [data-theme="light"] .nav .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
  }

  /* Stagger link animations */
  .nav-open .nav a:nth-child(1) { transition-delay: 0.05s; }
  .nav-open .nav a:nth-child(2) { transition-delay: 0.1s; }
  .nav-open .nav a:nth-child(3) { transition-delay: 0.15s; }
  .nav-open .nav a:nth-child(4) { transition-delay: 0.2s; }
  .nav-open .nav a:nth-child(5) { transition-delay: 0.25s; }
  .nav-open .nav a:nth-child(6) { transition-delay: 0.3s; }
  .nav-open .nav a:nth-child(7) { transition-delay: 0.35s; }

  .nav a.active::after {
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
  }

  .nav-item > a {
    margin-bottom: 0;
    padding-bottom: 8px;
  }

  .dropdown-panel {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 12px 0;
    min-width: 0;
    max-width: none;
    display: none;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
    gap: 0;
  }

  .nav-item.active .dropdown-panel,
  .nav-item:hover .dropdown-panel {
    display: flex;
  }

  .dropdown-link {
    padding: 10px 0 10px 16px;
    gap: 12px;
    border-radius: 0;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: flex-start;
  }

  .dropdown-link:last-child {
    border-bottom: none;
  }

  .dropdown-link:hover {
    background: transparent;
    transform: none;
  }

  .dd-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 2px;
  }

  .nav button.theme-toggle {
    align-self: flex-start;
    margin-left: 0;
  }

  .dd-icon svg {
    width: 16px;
    height: 16px;
  }

  .dd-content {
    flex: 1;
    min-width: 0;
  }

  .dd-title {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.4;
    word-break: break-word;
  }

  .dd-desc {
    font-size: 0.75rem;
    opacity: 0.7;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.3;
    margin-top: 2px;
  }
}

body.menu-open {
  overflow: hidden;
}

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

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  .product-showcase {
    padding: 30px 4vw;
  }

  .showcase-title {
    font-size: 1.4rem;
  }

  .showcase-image {
    border-radius: 12px;
  }

  .banner-carousel {
    height: 48vh;
    min-height: 330px;
  }

  .banner-content {
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    max-width: 92%;
  }

  .banner-content h2 {
    font-size: 1.5rem;
    text-shadow: 0 2px 0 rgba(0,0,0,0.3), 0 4px 20px rgba(0,0,0,0.8);
  }

  .banner-content p {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .banner-badge {
    padding: 8px 18px;
    font-size: 0.7rem;
  }

  .banner-slide::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)),
                linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 40%);
  }

  .banner-arrow {
    display: none;
  }

  .banner-indicators {
    bottom: 20px;
  }

  .indicator {
    width: 28px;
  }

  .indicator.active {
    width: 36px;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .img-frame {
    aspect-ratio: auto;
  }

  .img-frame img {
    height: auto;
    max-height: 400px;
  }

  .section {
    padding: 30px 4vw;
  }
  
  .card, .spec-card, .quick-card {
    padding: 20px;
  }
  
  .cta-card {
    padding: 26px 18px !important;
  }

  .spec-table td {
    padding: 14px 8px;
    font-size: 0.88rem;
  }

  .spec-table td:first-child {
    white-space: normal;
    padding-right: 14px;
  }
}

@media (max-width: 480px) {
  body {
    background-attachment: scroll;
  }

  .banner-carousel {
    height: 40vh;
    min-height: 300px;
  }

  .banner-content {
    padding: 18px;
    max-width: 95%;
  }

  .banner-content h2 {
    font-size: 1.4rem;
  }

  .banner-content p {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .section {
    padding: 24px 4vw;
  }

  .card, .spec-card, .quick-card {
    padding: 18px;
  }

  .footer-content {
    gap: 18px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero h1 {
    font-size: 2rem;
  }

  .nav {
    width: 100%;
    padding: 80px 20px;
  }

  .nav a {
    font-size: 1.2rem;
  }

  .page-hero {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 80px 4vw 40px;
  }

  .page-hero .hero-badge {
    margin-bottom: 16px;
  }

  .page-hero h1 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .page-hero .hero-subtitle {
    margin: 0 auto 18px;
    max-width: 100%;
    font-size: 1rem;
  }

  .page-hero .hero-image-box {
    display: none;
  }

  .portal-content {
    padding: 18px;
  }

  .portal-card h2 {
    font-size: 1.4rem;
  }

  .portal-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .portal-btn {
    font-size: 0.9rem;
  }

  .team-photo {
    width: 120px;
    height: 120px;
  }

  .team-card h3 {
    font-size: 1.2rem;
  }

  .team-card .list li {
    font-size: 0.95rem;
  }

  .product-showcase {
    padding: 40px 4vw;
  }

  .showcase-header {
    margin-bottom: 28px;
  }

  .showcase-title {
    font-size: 1.75rem;
  }

  .showcase-subtitle {
    font-size: 0.95rem;
  }

  .showcase-image {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  }
}

@media (max-width: 360px) {
  .section {
    padding: 20px 3vw;
  }

  .banner-carousel {
    height: 36vh;
    min-height: 280px;
  }

  .banner-content {
    padding: 14px;
    max-width: 100%;
  }

  .banner-content h2 {
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .banner-content p {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }

  .banner-badge {
    padding: 6px 14px;
    font-size: 0.65rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    padding: 12px 0;
    font-size: 0.95rem;
  }

  .card, .spec-card, .quick-card {
    padding: 16px;
  }

  .footer-content {
    gap: 14px;
  }

  .footer-links {
    gap: 12px;
  }

  .nav {
    padding: 80px 16px;
  }

  .nav a {
    font-size: 1rem;
    padding: 10px 0;
  }

  .indicator {
    width: 24px;
  }

  .indicator.active {
    width: 30px;
  }

  .hero-subtitle,
  .section-header p,
  .spec-table td {
    font-size: 0.95rem;
  }

  .page-hero {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 80px 4vw 40px;
  }

  .page-hero .hero-badge {
    margin-bottom: 16px;
  }

  .page-hero h1 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .page-hero .hero-subtitle {
    margin: 0 auto 18px;
    max-width: 100%;
    font-size: 1rem;
  }

  .page-hero .hero-image-box {
    display: none;
  }

  .product-showcase {
    padding: 30px 3vw;
  }

  .showcase-header {
    margin-bottom: 24px;
  }

  .showcase-title {
    font-size: 1.35rem;
  }

  .showcase-subtitle {
    font-size: 0.9rem;
  }

  .feature-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
  }

  .feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .feature-text h4 {
    font-size: 0.88rem;
  }

  .feature-text p {
    font-size: 0.82rem;
  }

  .feature-grid-two {
    grid-template-columns: 1fr;
  }

  .feature-subsection {
    padding: 14px 12px;
  }

  .spec-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .spec-label {
    width: auto;
    text-align: left;
  }

  .spec-value {
    width: auto;
    text-align: left;
  }

  .portal-content {
    padding: 18px;
  }

  .portal-card h2 {
    font-size: 1.4rem;
  }

  .portal-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .portal-btn {
    font-size: 0.9rem;
  }

  .team-photo {
    width: 120px;
    height: 120px;
  }

  .team-card h3 {
    font-size: 1.2rem;
  }

  .team-card .list li {
    font-size: 0.95rem;
  }
}

/* Specific Charts Elements for Other Pages */
.kpi-row {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin: 30px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.kpi-number {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--primary-color);
  text-shadow: 0 0 20px var(--primary-glow);
  display: block;
  letter-spacing: -0.01em;
}

.kpi-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.bar-chart-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bar-label {
  width: 100px;
  font-size: 0.9rem;
  color: var(--text-main);
  flex-shrink: 0;
}

.bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 4px;
}

.bar-value {
  width: 45px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
}

.flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.flow-node {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
}

.flow-node:hover {
  border-color: var(--primary-color);
  background: rgba(56, 189, 248, 0.05);
}

.flow-arrow-down {
  text-align: center;
  color: var(--primary-color);
  margin: -8px 0;
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 12px;
}

.theme-toggle:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.08);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.moon-icon { display: block; }
.sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: block; }

/* --- Language Toggle Button --- */
.lang-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

[data-theme="light"] .lang-toggle {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .lang-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

.lang-icon {
  display: inline-block;
  letter-spacing: 0.05em;
}

/* --- Light Theme Component Overrides --- */
[data-theme="light"] body {
  background-image:
    radial-gradient(circle at 15% 50%, rgba(2, 132, 199, 0.08), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(147, 51, 234, 0.08), transparent 45%);
}

[data-theme="light"] .brand-logo {
  filter: invert(1) hue-rotate(180deg) brightness(0.8) drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .dropdown-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), inset 0 0 20px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .dd-title,
[data-theme="light"] .hero-node,
[data-theme="light"] .stat-num {
  color: var(--text-main);
}

[data-theme="light"] .dd-desc,
[data-theme="light"] .stat-text {
  color: var(--text-muted);
}

[data-theme="light"] .hero-node {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(2, 132, 199, 0.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .btn-secondary {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .nav a {
  color: var(--text-muted);
}

[data-theme="light"] .nav a:hover,
[data-theme="light"] .nav a.active {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .spec-card,
[data-theme="light"] .quick-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .card::before {
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

[data-theme="light"] .dd-icon {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .dropdown-link:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .btn-inner, 
[data-theme="light"] .btn-inner::before, 
[data-theme="light"] .btn-inner::after {
  background-color: var(--text-main);
}

[data-theme="light"] .site-footer {
  background: rgba(248, 250, 252, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-col h4 {
  color: var(--text-main);
}

[data-theme="light"] .footer-brand .brand-name {
  background: linear-gradient(to right, var(--text-main), var(--text-muted));
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="light"] .hero-panel {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.6));
  border: 1px solid rgba(14, 165, 233, 0.3);
  box-shadow: inset 0 0 60px rgba(14, 165, 233, 0.15), 0 20px 40px rgba(14, 165, 233, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

[data-theme="light"] .radar-scan {
  background: conic-gradient(from 0deg, transparent 65%, rgba(14, 165, 233, 0.1) 85%, rgba(14, 165, 233, 0.6) 100%);
}

[data-theme="light"] .orbit-lines circle {
  stroke: rgba(14, 165, 233, 0.5);
  stroke-width: 1.5;
}

[data-theme="light"] .orbit-lines circle:nth-child(2) {
  stroke: rgba(139, 92, 246, 0.5);
}

/* --- Light Theme Mobile Overrides --- */
@media (max-width: 1100px) {
  [data-theme="light"] .nav {
    background: rgba(248, 250, 252, 0.95);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  [data-theme="light"] .dropdown-panel {
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

/* --- Contact Page Styles --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.contact-card {
  text-align: center;
  padding: 40px 32px;
}

.contact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.contact-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.address-text {
  font-size: 1rem;
  line-height: 1.8;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.phone-link:hover {
  border-color: var(--primary-color);
  background: rgba(56, 189, 248, 0.05);
}

.phone-name {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.phone-num {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
}

.email-link {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: var(--secondary-color);
}

.map-card {
  padding: 0;
  overflow: hidden;
  margin-top: 24px;
  margin-bottom: 48px;
}

.jobs-card {
  padding: 40px;
}

.map-card h3 {
  padding: 24px 32px 0;
}

.map-container {
  width: 100%;
  height: 400px;
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
}

.map-container .leaflet-popup-content-wrapper {
  background: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--card-border);
}

.map-container .leaflet-popup-tip {
  background: var(--card-bg);
}

.map-container .leaflet-control-zoom {
  border: 1px solid var(--card-border) !important;
  background: var(--card-bg) !important;
}

.map-container .leaflet-control-zoom a {
  background: var(--card-bg) !important;
  color: var(--text-main) !important;
  border-color: var(--card-border) !important;
}

.map-container .leaflet-control-zoom a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.map-footer span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.map-open-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.map-open-link:hover {
  color: var(--secondary-color);
}

.map-link {
  display: block;
  width: 100%;
  height: 100%;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(129, 140, 248, 0.08));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.map-placeholder:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.12));
}

.map-pin {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
  animation: bounce 2s ease-in-out infinite;
}

.map-pin svg {
  width: 32px;
  height: 32px;
}

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

.map-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.map-address {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 80%;
}



.jobs-intro {
  margin-bottom: 32px;
  font-size: 1rem;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.job-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.job-item:hover {
  border-color: var(--primary-color);
  background: rgba(56, 189, 248, 0.03);
}

.job-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.job-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* Contact Page Responsive */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 300px;
  }
}

/* Light Theme Contact Overrides */
[data-theme="light"] .phone-link {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .job-item {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .contact-icon {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(79, 70, 229, 0.1));
}

/* --- Features & Specification Sections --- */
.section-title-with-dot {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 28px;
}

.section-title-with-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-glow);
}

.section-title-with-dot span {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 1rem;
  margin-left: 4px;
}

.features-section,
.specification-section {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.features-section {
  margin-top: 0;
  margin-bottom: 8px;
}

.specification-section {
  margin-top: 8px;
  margin-bottom: 0;
}

.features-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 20px 0;
  padding-left: 16px;
  border-left: 2px solid var(--primary-color);
  letter-spacing: 0.02em;
  line-height: 1;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.feature-item:hover {
  background: rgba(56, 189, 248, 0.04);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(129, 140, 248, 0.12));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
  transition: all 0.25s ease;
}

.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2));
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.25), 0 0 20px rgba(56, 189, 248, 0.15);
  transform: scale(1.05);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 6px 0;
  letter-spacing: 0.01em;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.feature-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-subsection {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 18px 16px;
}

.feature-subsection h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-spec-list li {
  padding: 7px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.feature-spec-list strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Specification Grid */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  transition: all 0.25s ease;
}

.spec-item:hover {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(56, 189, 248, 0.2);
}

.spec-item.highlight {
  background: rgba(56, 189, 248, 0.05);
  border-color: rgba(56, 189, 248, 0.35);
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.spec-value {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

/* Responsive for Features & Spec */
@media (max-width: 992px) {
  .features-section,
  .specification-section {
    padding: 24px 5vw !important;
  }
  
  .features-section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
    margin-top: 0;
  }
  
  .specification-section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .feature-grid-two {
    grid-template-columns: 1fr;
  }
  
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title-with-dot {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .section-title-with-dot span {
    font-size: 0.85rem;
  }
  
  .features-section,
  .specification-section {
    padding: 20px 18px !important;
    margin-top: 0;
  }
  
  .features-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
  
  .specification-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
  
  .features-subtitle {
    font-size: 1rem;
    padding-left: 12px;
    margin-bottom: 16px;
  }
  
  .feature-list {
    gap: 12px;
  }
  
  .feature-item {
    padding: 14px 12px;
    gap: 14px;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
  
  .feature-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .feature-text h4 {
    font-size: 0.9rem;
  }
  
  .feature-text p {
    font-size: 0.8rem;
  }
  
  .feature-grid-two {
    gap: 12px;
  }
  
  .feature-subsection {
    padding: 16px 14px;
  }
  
  .spec-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .spec-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 12px;
    gap: 10px;
  }
  
  .spec-label {
    font-size: 0.68rem;
    flex-shrink: 0;
    width: 45%;
  }
  
  .spec-value {
    font-size: 0.85rem;
    text-align: right;
    width: 50%;
  }
}

/* Light Theme Features & Spec Overrides */
[data-theme="light"] .features-section,
[data-theme="light"] .specification-section {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .feature-item {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .feature-item:hover {
  background: rgba(2, 132, 199, 0.03);
  border-color: rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .feature-subsection {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .feature-subsection h4 {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .feature-spec-list li {
  border-bottom-color: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .spec-item {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .spec-item:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .spec-item.highlight {
  background: rgba(2, 132, 199, 0.06);
  border-color: rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .feature-icon {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(79, 70, 229, 0.1));
  border-color: rgba(2, 132, 199, 0.15);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .feature-item:hover .feature-icon {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.18), rgba(79, 70, 229, 0.18));
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.2), 0 0 20px rgba(2, 132, 199, 0.12);
}

/* Desktop optimization for Features & Spec */
@media (min-width: 1400px) {
  .features-section,
  .specification-section {
    padding: 32px 40px !important;
  }
  
  .features-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  
  .specification-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
}

/* Floating contact bubble */
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-contact-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 18px;
  max-width: min(100vw - 48px, 340px);
  white-space: normal;
  text-align: center;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(0, 63, 135, 0.35);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-contact-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(0, 63, 135, 0.45);
}

.floating-contact-number {
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: normal;
  line-height: 1.2;
}

.floating-contact-number span {
  display: block;
}

.floating-contact-panel {
  width: 280px;
  max-width: calc(100vw - 48px);
  display: none;
  flex-direction: column;
  padding: 18px 18px 20px;
  background: rgba(7, 20, 40, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.floating-contact.open .floating-contact-panel {
  display: flex;
}

.floating-contact-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.floating-contact-panel-header span {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.floating-contact-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.82rem;
  text-decoration: none;
}

.floating-contact-close {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.floating-contact-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.floating-contact-phone {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 8px;
}

.floating-contact-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.back-top-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  background: rgba(10, 90, 218, 0.96);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 18px 36px rgba(0, 56, 128, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.back-top-button.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(0, 56, 128, 0.36);
  background: rgba(13, 103, 244, 0.98);
}

.back-top-button svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .floating-contact {
    right: 14px;
    bottom: 14px;
    align-items: flex-end;
  }
  .floating-contact-toggle {
    padding: 12px 14px;
    font-size: 0.88rem;
    gap: 8px;
  }
  .floating-contact-panel {
    width: min(100vw - 32px, 280px);
  }
  .floating-contact-panel-header {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }
}

/* Floating contact bubble */
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-contact-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(0, 63, 135, 0.35);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: normal;
  text-align: center;
}

.floating-contact-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(0, 63, 135, 0.45);
}

.floating-contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.floating-contact-number {
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: normal;
  line-height: 1.3;
  font-size: 1rem;
  font-weight: 800;
}

.floating-contact-panel {
  width: 280px;
  max-width: calc(100vw - 48px);
  display: none;
  flex-direction: column;
  padding: 18px 18px 20px;
  background: rgba(7, 20, 40, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.floating-contact.open .floating-contact-panel {
  display: flex;
}

.floating-contact-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.floating-contact-panel-header span {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.floating-contact-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.82rem;
  text-decoration: none;
}

.floating-contact-phone {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 8px;
}

.floating-contact-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .floating-contact {
    right: 16px;
    bottom: 16px;
  }
  .floating-contact-panel {
    width: min(100vw - 32px, 280px);
  }
}

/* 双研发基地样式 */
.base-card {
  position: relative;
  padding-top: 60px;
  padding-bottom: 32px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  overflow: visible;
}

.base-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.8;
}

.korea-base::before {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.wuhu-base::before {
  background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.base-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.base-badge {
  position: absolute;
  top: 12px;
  left: 24px;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}

.korea-base .base-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wuhu-base .base-badge {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.base-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.base-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 8px 0 20px 0;
  font-weight: 500;
}

.base-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* 双基地协同优势样式 */
.synergy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.synergy-item {
  text-align: center;
  padding: 32px 20px;
  transition: all 0.3s ease;
}

.synergy-item:hover {
  transform: translateY(-4px);
}

.synergy-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-secondary);
}

.synergy-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.korea-base .synergy-icon svg {
  color: #667eea;
}

.wuhu-base .synergy-icon svg {
  color: #f5576c;
}

.synergy-item h4 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 600;
}

.synergy-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* 流程图容器样式 */
.flow-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.flow-diagram {
  max-width: 600px;
  width: 100%;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .synergy-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .synergy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .synergy-item {
    padding: 24px 16px;
  }

  .synergy-icon {
    width: 48px;
    height: 48px;
  }

  .synergy-icon svg {
    width: 28px;
    height: 28px;
  }

  .base-card {
    padding-top: 56px;
  }

  .base-badge {
    left: 20px;
    top: 10px;
    font-size: 0.75rem;
    padding: 5px 14px;
  }

  .base-label {
    font-size: 0.8rem;
  }

  .base-card h3 {
    font-size: 1.1rem;
  }

  .base-desc {
    font-size: 0.85rem;
  }
}
