/* ========================================
   Keli Smart Automation - Main Stylesheet
   PCB Depaneling Machine Manufacturer
   ======================================== */

/* CSS Variables */
:root {
  --primary-dark: #0f2744;
  --primary-blue: #2196F3;
  --primary-blue-light: #64B5F6;
  --accent-cyan: #00BCD4;
  --text-white: #ffffff;
  --text-light: #E0E0E0;
  --text-gray: #9E9E9E;
  --bg-dark: #132d4a;
  --bg-card: #1a3a5c;
  --border-color: #2d5a8a;
  --success: #4CAF50;
  --warning: #FFC107;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  --transition: all 0.3s ease;
  --max-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--primary-dark);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 39, 68, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  color: white;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-white), var(--primary-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.nav-list {
  display: flex;
  gap: 25px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-card);
  border-radius: 20px;
  font-size: 0.85rem;
}

.lang-btn {
  padding: 4px 10px;
  border-radius: 15px;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary-blue);
  color: white;
}

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

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%232196F3" opacity="0.1"/></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
}

.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, rgba(33, 150, 243, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(33, 150, 243, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-text {
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(33, 150, 243, 0.15);
  border: 1px solid rgba(33, 150, 243, 0.3);
  border-radius: 25px;
  font-size: 0.85rem;
  color: var(--primary-blue-light);
  margin-bottom: 20px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 35px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
}

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

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  color: white;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(33, 150, 243, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -25px;
  left: -25px;
  right: -25px;
  bottom: -25px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  opacity: 0.2;
  border-radius: 20px;
  z-index: -1;
  pointer-events: none;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-dark);
}

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

.section-header h2 {
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.1rem;
}

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(33, 150, 243, 0.15);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 40px rgba(33, 150, 243, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(0, 188, 212, 0.2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  color: var(--primary-blue);
}

.feature-card h4 {
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin: 0;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 50px rgba(33, 150, 243, 0.15);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--primary-dark);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: var(--transition);
}

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

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  background: var(--primary-blue);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-content {
  padding: 25px;
}

.product-category {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.spec-tag {
  padding: 4px 10px;
  background: rgba(33, 150, 243, 0.1);
  border-radius: 15px;
  font-size: 0.75rem;
  color: var(--primary-blue-light);
}

.product-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
}

.product-link:hover {
  gap: 12px;
}

/* Hub Endorsement Section */
.hub-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.hub-subtitle {
  font-size: 1.3rem;
  color: var(--primary-blue-light);
  font-weight: 500;
  margin-top: 10px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.hub-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 50px rgba(33, 150, 243, 0.2);
}

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

.hub-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(0, 188, 212, 0.2));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary-blue);
}

.hub-stat {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hub-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.hub-note {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.hub-source {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hub-source svg {
  color: var(--text-gray);
}

@media (max-width: 992px) {
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hub-stat {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
  
  .hub-card {
    padding: 25px 20px;
  }
}

/* Clients Section */
.clients-section {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.clients-categories {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.client-category {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--primary-dark);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.category-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  min-width: 160px;
  background: linear-gradient(135deg, var(--primary-blue), #1565C0);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
  text-align: center;
  flex-shrink: 0;
}

.category-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  flex: 1;
  background: rgba(45, 90, 138, 0.3);
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: var(--primary-dark);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-gray);
  transition: var(--transition);
  letter-spacing: 1px;
  min-height: 70px;
}

.client-logo:hover {
  color: #fff;
  background: rgba(33, 150, 243, 0.1);
}

/* Brand-specific logo styles */
.logo-oppo {
  font-style: italic;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: lowercase;
  font-size: 1.4rem;
}

.logo-samsung {
  letter-spacing: 4px;
  font-weight: 800;
}

.logo-liteon {
  letter-spacing: 2px;
  font-size: 1rem;
}

.logo-flex {
  letter-spacing: 3px;
  font-size: 0.95rem;
}

.logo-foxlink {
  font-size: 1rem;
}

.logo-delta .delta-icon {
  color: #e53935;
  margin-right: 6px;
  font-size: 1rem;
}

.logo-midea {
  color: #42A5F5;
  letter-spacing: 2px;
}

.logo-haier {
  letter-spacing: 2px;
  font-size: 1.2rem;
}

.logo-hisense {
  color: #66BB6A;
  letter-spacing: 2px;
}

.logo-changhong {
  color: #e53935;
  letter-spacing: 3px;
  font-size: 0.95rem;
}

.logo-sensortec {
  color: #e53935;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.logo-byd {
  letter-spacing: 5px;
  font-weight: 900;
  font-size: 1.3rem;
}

.logo-atl {
  color: #42A5F5;
  letter-spacing: 3px;
  font-weight: 900;
  font-size: 1.3rem;
}

.logo-lishen {
  letter-spacing: 3px;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .client-category {
    flex-direction: column;
  }
  
  .category-label {
    min-width: unset;
    padding: 12px 20px;
  }
  
  .category-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 15px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 30px;
}

.cta-content .btn {
  background: white;
  color: var(--primary-dark);
}

.cta-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 25px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(33, 150, 243, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
}

.about-feature h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin: 0;
}

/* Timeline - Horizontal Rising Style */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 40px 0;
}

.timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 40px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 60px;
  right: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 2px;
}

/* Rising arrow effect */
.timeline-track::after {
  content: '';
  position: absolute;
  top: 28px;
  right: 40px;
  width: 0;
  height: 0;
  border-left: 15px solid var(--accent-cyan);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-item {
  position: relative;
  flex: 1;
  max-width: 180px;
  text-align: center;
  z-index: 1;
}

/* Staggered rising effect - each item higher than previous */
.timeline-item:nth-child(1) { transform: translateY(60px); }
.timeline-item:nth-child(2) { transform: translateY(45px); }
.timeline-item:nth-child(3) { transform: translateY(30px); }
.timeline-item:nth-child(4) { transform: translateY(15px); }
.timeline-item:nth-child(5) { transform: translateY(0px); }
.timeline-item:nth-child(6) { transform: translateY(-10px); }

.timeline-dot {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 50%;
  margin: 0 auto 15px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
}

.timeline-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px;
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--primary-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-white);
}

.timeline-content p {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin: 0;
  line-height: 1.4;
}

/* Mobile Timeline */
@media (max-width: 992px) {
  .timeline-track {
    flex-direction: column;
    padding: 0;
    gap: 30px;
  }
  
  .timeline-track::before {
    display: none;
  }
  
  .timeline-track::after {
    display: none;
  }
  
  .timeline-item {
    max-width: 100%;
    transform: none !important;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-left: 20px;
    position: relative;
  }
  
  .timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-blue), var(--accent-cyan));
  }
  
  .timeline-dot {
    position: absolute;
    left: -12px;
    top: 0;
    margin: 0;
  }
  
  .timeline-content {
    flex: 1;
  }
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
}

.contact-info h3 {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(33, 150, 243, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
}

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

.contact-item h5 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin: 0;
}

.contact-item a {
  color: var(--primary-blue-light);
}

.contact-item a:hover {
  color: var(--primary-blue);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
}

.contact-form h3 {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--primary-dark);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-white);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}

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

.form-group select {
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
}

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

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

.footer-brand p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-blue);
  color: white;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-white);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-gray);
  font-size: 0.95rem;
}

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

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

.footer-bottom p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 120px 0 40px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--text-gray);
}

.breadcrumb a:hover {
  color: var(--primary-blue);
}

.breadcrumb span {
  color: var(--text-gray);
}

.breadcrumb .current {
  color: var(--text-white);
}

/* Product Detail Page */
.product-detail {
  padding: 40px 0 100px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.product-gallery {
  position: relative;
}

.product-main-image {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #fff;
}

.product-info h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.product-model {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(33, 150, 243, 0.15);
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--primary-blue);
  margin-bottom: 25px;
}

.product-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background: rgba(33, 150, 243, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
}

.highlight-item h5 {
  font-size: 0.85rem;
  font-weight: 600;
}

.highlight-item span {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* Specs Table */
.specs-section {
  margin-bottom: 80px;
}

.specs-section h2 {
  margin-bottom: 30px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

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

.specs-table th,
.specs-table td {
  padding: 16px 20px;
  text-align: left;
}

.specs-table th {
  background: var(--primary-blue);
  color: white;
  font-weight: 600;
  width: 35%;
}

.specs-table td {
  color: var(--text-light);
}

.specs-table tr:nth-child(even) td {
  background: rgba(33, 150, 243, 0.05);
}

/* Features List */
.features-section {
  margin-bottom: 80px;
}

.features-section h2 {
  margin-bottom: 30px;
}

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

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.feature-list-item svg {
  width: 24px;
  height: 24px;
  color: var(--success);
  min-width: 24px;
}

.feature-list-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Applications */
.applications-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 80px;
}

.applications-section h2 {
  margin-bottom: 25px;
}

.applications-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.application-tag {
  padding: 10px 20px;
  background: var(--primary-dark);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
}

.application-tag:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}

/* FAQ Section */
.faq-section {
  margin-bottom: 80px;
}

.faq-section h2 {
  margin-bottom: 30px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(33, 150, 243, 0.05);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 500px;
}

.faq-answer p {
  color: var(--text-gray);
  margin: 0;
}

/* Related Products */
.related-products h2 {
  margin-bottom: 30px;
}

/* Sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.sitemap-column h3 {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-blue);
}

.sitemap-column ul li {
  margin-bottom: 12px;
}

.sitemap-column a {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.sitemap-column a:hover {
  color: var(--primary-blue);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark));
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, rgba(33, 150, 243, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(33, 150, 243, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
}

.page-header p {
  position: relative;
  z-index: 1;
  color: var(--text-gray);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade-in animation - content visible by default, animated when JS ready */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only hide content for animation when JS is loaded */
.js-ready .fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.js-ready .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-list {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-image {
    order: 2;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-description {
    margin: 0 auto 30px;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .features-list {
    grid-template-columns: 1fr;
  }
  
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }
  
  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
  
  .timeline-content::before,
  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -40px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .product-highlights {
    grid-template-columns: 1fr;
  }
  
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .specs-table th,
  .specs-table td {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

/* Mobile Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-dark);
  padding: 80px 30px 30px;
  transition: var(--transition);
  z-index: 999;
  border-left: 1px solid var(--border-color);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: none;
  border-radius: 10px;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  font-size: 1.1rem;
  color: var(--text-light);
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav a:hover {
  color: var(--primary-blue);
}

/* Certifications */
.certifications {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 25px 35px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: var(--transition);
}

.cert-badge:hover {
  border-color: var(--primary-blue);
  transform: translateY(-3px);
}

.cert-icon {
  width: 60px;
  height: 60px;
  background: rgba(33, 150, 243, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-weight: 700;
}

.cert-badge span {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* Certifications Gallery - Image Grid */
.cert-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.cert-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.cert-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 50px rgba(33, 150, 243, 0.15);
}

.cert-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.cert-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.cert-item:hover .cert-image img {
  transform: scale(1.1);
}

.cert-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.8), rgba(0, 188, 212, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.cert-item:hover .cert-overlay {
  opacity: 1;
}

.cert-overlay svg {
  width: 40px;
  height: 40px;
  color: white;
}

.cert-info {
  padding: 20px;
  text-align: center;
}

.cert-info h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: var(--text-white);
}

.cert-info p {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin: 0;
}

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

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

/* Table Wrapper for responsive */
.table-wrapper {
  overflow-x: auto;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(33, 150, 243, 0.4);
}

/* Logo Image Styles */
.logo-img {
  height: 50px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.footer-brand .logo-img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand .logo-img:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .logo-img {
    height: 36px;
    max-width: 200px;
  }
  .footer-brand .logo-img {
    height: 30px;
  }
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  max-width: 520px;
  width: 100%;
}

.carousel-slides {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-slide {
  display: none;
  animation: fadeSlide 0.8s ease;
}

.carousel-slide.active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  background: #fff;
  display: block;
}

.slide-label {
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dots .dot.active {
  background: var(--primary-blue);
  box-shadow: 0 0 8px rgba(33, 150, 243, 0.5);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-100%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  z-index: 5;
}

.carousel-arrow:hover {
  background: rgba(255,255,255,0.3);
  border-color: var(--primary-blue);
}

.carousel-prev {
  left: -8px;
}

.carousel-next {
  right: -8px;
}
