/* ============================================
   SDZNC - Zhongneng Robot Europe Website
   European Tech Style - Premium Design
   ============================================ */

:root {
  --primary: #0a84ff;
  --primary-dark: #0056b3;
  --accent: #00d4aa;
  --accent2: #ff6b35;
  --bg-dark: #0a0a1a;
  --bg-section: #0f0f2a;
  --bg-card: #1a1a3e;
  --text-primary: #ffffff;
  --text-secondary: #b0b8cc;
  --text-muted: #6b7280;
  --gradient-1: linear-gradient(135deg, #0a84ff 0%, #00d4aa 100%);
  --gradient-2: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 100%);
  --gradient-hero: linear-gradient(135deg, #000428 0%, #004e92 50%, #000428 100%);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(10, 132, 255, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

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

/* Loading Animation */
.page-loader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 80px; height: 80px;
  border: 3px solid transparent;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loader-ring::before {
  content: '';
  position: absolute;
  top: 5px; left: 5px; right: 5px; bottom: 5px;
  border: 3px solid transparent;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Navigation */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 0.5rem 2rem;
  background: rgba(10, 10, 26, 0.95);
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-logo .logo-icon {
  width: auto;
  height: 34px;
  max-width: 170px;
  object-fit: contain;
  background: linear-gradient(135deg, #0a84ff, #00d4aa);
  border-radius: 8px;
  padding: 4px 8px;
  display: block;
}

/* Logo image (anywhere): keep transparent bg unless a context adds one */
img.logo-icon {
  object-fit: contain;
  display: block;
  width: auto;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.lang-switcher {
  display: flex;
  gap: 0.3rem;
  background: var(--glass);
  border-radius: 8px;
  padding: 0.2rem;
  border: 1px solid var(--glass-border);
}
.lang-btn {
  padding: 0.4rem 0.8rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--primary);
  color: white;
}
.lang-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-size: 0.9rem;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--gradient-hero);
  z-index: 0;
}
.hero-bg-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  overflow: hidden;
}
.hero-bg-video video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,4,28,0.7) 0%, rgba(0,4,28,0.4) 40%, rgba(0,4,28,0.8) 100%);
  z-index: 2;
}
.hero-particles {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 3;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title .gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 0.8rem 2rem;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.btn-secondary {
  padding: 0.8rem 2rem;
  background: var(--glass);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}
.hero-stat {
  text-align: left;
}
.hero-stat .stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Section Styles */
.section {
  padding: 6rem 2rem;
  position: relative;
}
.section-dark { background: var(--bg-section); }
.section-gradient {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-section) 50%, var(--bg-dark) 100%);
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(10, 132, 255, 0.3);
  box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 50px; height: 50px;
  background: var(--glass);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Product Showcase */
.product-showcase {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.product-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
}
.product-visual img, .product-visual video {
  width: 100%;
  display: block;
  border-radius: 20px;
}
.product-visual-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex;
  gap: 1rem;
  align-items: center;
}
.product-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.product-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.specs-table tr {
  border-bottom: 1px solid var(--glass-border);
}
.specs-table td {
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
}
.specs-table td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
  width: 40%;
}
.specs-table td:last-child {
  color: var(--primary);
  font-weight: 600;
}

/* Comparison Section */
.comparison-container {
  max-width: 1400px;
  margin: 0 auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}
.comparison-table thead {
  background: var(--gradient-1);
}
.comparison-table th {
  padding: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  color: white;
}
.comparison-table td {
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--glass-border);
}
.comparison-table .highlight {
  color: var(--accent);
  font-weight: 600;
}
.comparison-table .negative {
  color: var(--accent2);
}

/* Video Gallery */
.video-gallery {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  aspect-ratio: 16/9;
  cursor: pointer;
  transition: var(--transition);
}
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.video-card video, .video-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.video-card:hover .video-card-overlay { background: rgba(0,0,0,0.1); }
.video-play-btn {
  width: 70px; height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  color: white;
}
.video-card:hover .video-play-btn { transform: scale(1.1); background: var(--accent); }
.video-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.video-card-title {
  font-weight: 600;
  font-size: 1rem;
}

/* Cost Calculator */
.cost-section {
  max-width: 1400px;
  margin: 0 auto;
}
.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.cost-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.cost-card.highlight-card {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  background: rgba(10, 132, 255, 0.1);
}
.cost-card:hover { transform: translateY(-5px); }
.cost-card .cost-method {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.cost-card .cost-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.cost-card .cost-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.cost-card .cost-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Contact Section */
.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  font-family: var(--font-main);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(10, 132, 255, 0.2);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-info-list {
  list-style: none;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}
.contact-info-icon {
  width: 40px; height: 40px;
  background: var(--glass);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}
.chat-toggle {
  width: 60px; height: 60px;
  background: var(--gradient-1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}
.chat-toggle:hover { transform: scale(1.1); }
.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-height: 500px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  display: none;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.chat-panel.open { display: flex; flex-direction: column; }
.chat-header {
  padding: 1rem;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-title { font-weight: 600; font-size: 0.95rem; }
.chat-header-lang {
  font-size: 0.8rem;
  opacity: 0.8;
}
.chat-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.chat-msg {
  max-width: 80%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.chat-msg.bot {
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.2);
  align-self: flex-start;
}
.chat-msg.user {
  background: var(--gradient-1);
  align-self: flex-end;
}
.chat-input-area {
  padding: 1rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 0.5rem;
}
.chat-input {
  flex: 1;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-main);
}
.chat-input:focus { outline: none; border-color: var(--primary); }
.chat-send {
  padding: 0.6rem 1rem;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}
.chat-send:hover { background: var(--primary-dark); }

/* Footer */
.footer {
  background: var(--bg-section);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--glass-border);
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 0.8rem;
}
.footer-social a {
  width: 40px; height: 40px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: white; }
.footer-links h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
/* ============================================
   New Sections — Trust Band, Cases, Testimonials,
   FAQ, Certifications
   ============================================ */

/* Trust Band */
.trust-band {
  background: var(--bg-section);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
}
.trust-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-item { text-align: center; padding: 1rem; }
.trust-val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}
.trust-label { font-size: 0.95rem; color: var(--text-secondary); }

/* Customer Cases */
.cases-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: rgba(10, 132, 255, 0.3); }
.case-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--transition);
}
.case-card:hover img { transform: scale(1.06); }
.case-body { padding: 1.5rem; }
.case-body h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.6rem; }
.case-body p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 0.9rem; }
.case-meta {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
}

/* Testimonials */
.testi-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(10, 132, 255, 0.3); }
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 0.3rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(10, 132, 255, 0.15);
  line-height: 1;
}
.testi-quote { font-size: 1.05rem; line-height: 1.6; color: var(--text-primary); margin-bottom: 1.5rem; font-style: italic; }
.testi-author { font-weight: 600; font-size: 1rem; color: var(--primary); }
.testi-role { font-size: 0.85rem; color: var(--text-muted); }

/* FAQ */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(10, 132, 255, 0.4); box-shadow: var(--shadow-glow); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q i { color: var(--primary); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 1.5rem 1.2rem; color: var(--text-secondary); line-height: 1.6; }

/* Certifications */
.cert-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}
.cert-badge i { color: var(--accent); font-size: 1.6rem; }
.cert-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); border-color: rgba(0, 212, 170, 0.4); }

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .product-showcase { grid-template-columns: 1fr; }
  .video-gallery { grid-template-columns: 1fr; }
  .cost-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,10,26,0.95);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
    backdrop-filter: blur(20px);
  }
  .features-grid { grid-template-columns: 1fr; }
  .cost-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { gap: 1rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .chat-panel { width: calc(100vw - 2rem); right: -1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ============================================
   Enhanced European Tech Aesthetics
   ============================================ */

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 2000;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(10, 132, 255, 0.6);
}

/* Hero background image + animated grid overlay */
.hero-bg-video img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 132, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 132, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, transparent 20%, black 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 20%, black 90%);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 15, 0.92);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(10, 132, 255, 0.3);
  transform: scale(0.95);
  transition: transform 0.3s;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--primary); transform: rotate(90deg); }

.zoomable { cursor: zoom-in; }

/* Product play button */
.product-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 132, 255, 0.9);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 0 30px rgba(10, 132, 255, 0.5);
  z-index: 2;
}
.product-play-btn:hover { transform: translate(-50%, -50%) scale(1.12); background: var(--accent); }
.product-visual:hover .product-visual-overlay { background: linear-gradient(transparent, rgba(0,0,0,0.85)); }

/* Video card image sizing */
.video-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.video-card:hover img { transform: scale(1.08); }

/* Button shimmer effect */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s;
}
.btn-primary:hover::after { left: 130%; }

/* Section subtle grid background */
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 132, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 132, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black, transparent 70%);
}

/* Feature card icon glow */
.feature-icon {
  position: relative;
  box-shadow: inset 0 0 20px rgba(10, 132, 255, 0.15);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  color: var(--accent);
  box-shadow: inset 0 0 25px rgba(0, 212, 170, 0.25), 0 0 20px rgba(10, 132, 255, 0.3);
  transform: translateY(-3px);
}

/* Gradient text helper for section titles accent */
.section-title .accent { color: var(--accent); }

/* Reveal animation refine */
.fade-up { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; }
  .hero-bg-video img { animation: none; }
}

/* Nav logo mark glow */
.logo-icon {
  box-shadow: 0 0 18px rgba(10, 132, 255, 0.45);
}

/* Floating CTA pulse on nav-cta */
.nav-cta { position: relative; }
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.5);
  animation: ctaPulse 2.5s infinite;
}
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(0, 212, 170, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0); }
}

/* ===== Product Series (4 products) ===== */
.product-series { margin-top: 5rem; }
.product-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: rgba(10, 132, 255, 0.3); }
.product-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, #0a2540, #0a84ff);
  display: block;
  transition: transform 0.5s var(--transition);
}
.product-card:hover .product-card-img { transform: scale(1.04); }
.product-card-icon {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, #0a84ff, #00d4aa);
}
.product-card-tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent); background: rgba(0, 212, 170, 0.12); padding: 0.25rem 0.7rem;
  border-radius: 999px; margin-bottom: 0.7rem;
}
.product-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.6rem; }
.product-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 1rem; min-height: 3.6em; }
.product-card-spec {
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-border);
  border-radius: 10px; padding: 0.55rem; margin-bottom: 1.1rem;
}
.product-card-cta { display: inline-block; font-size: 0.9rem; font-weight: 600; color: var(--primary); text-decoration: none; transition: var(--transition); }
.product-card-cta:hover { color: var(--accent); }

/* ===== Company News ===== */
.news-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.news-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 1.8rem; transition: var(--transition);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(10, 132, 255, 0.3); }
.news-date { font-size: 0.8rem; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 0.8rem; }
.news-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.8rem; }
.news-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.2rem; flex: 1; }
.news-cta { align-self: flex-start; font-size: 0.88rem; font-weight: 600; color: var(--primary); text-decoration: none; transition: var(--transition); }
.news-cta:hover { color: var(--accent); }

/* ===== Responsive for new sections ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}
