/* ============================================
   Yongyao Transmission - Main Stylesheet
   B2B Industrial / Overseas Market
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1a5276;
  --primary-light: #2980b9;
  --primary-dark: #0e3a53;
  --accent: #e67e22;
  --accent-hover: #d35400;
  --text: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border: #dee2e6;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg-white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  color: var(--primary-dark);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 0.5em; }
h3 { font-size: 1.35rem; margin-bottom: 0.4em; }
h4 { font-size: 1.1rem; margin-bottom: 0.3em; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-title p {
  color: var(--text-light);
  margin-top: 10px;
  font-size: 1.05rem;
}

/* ============================================
   Application Card (Belt Type Reference)
   ============================================ */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.application-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.application-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.application-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.application-card h4 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 1rem;
}
.application-card ul {
  padding-left: 16px;
}
.application-card li {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 6px;
  line-height: 1.4;
}

/* Responsive for Applications Grid */
@media (max-width: 1024px) {
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .applications-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Process Steps
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  text-align: center;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step-content h4 {
  margin-bottom: 8px;
  color: var(--primary-dark);
}
.step-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Responsive for Process Steps */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
}
.btn-white-outline {
  background: #fff;
  color: #e67e22;
  border: 2px solid #fff;
  border-radius: 4px;
}
.btn-white-outline:hover {
  background: #e67e22;
  color: #fff;
  transform: translateY(-2px);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  border-radius: 4px;
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(14, 58, 83, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.15);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 32px !important;
  width: auto !important;
  max-width: 90px !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.logo-text small {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  display: block;
  letter-spacing: 0.5px;
}

.nav-list {
  display: flex;
  gap: 8px;
}
.nav-list li a {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: 4px;
}
.nav-list li a:hover,
.nav-list li a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.15);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.menu-toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
  margin-top: 76px;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/home/factory.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-badge-icon {
  height: 16px;
  width: auto;
  object-fit: contain;
}
.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero .subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat {
  text-align: center;
}
.hero-stat .number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* --- Section Padding --- */
.section {
  padding: 90px 0;
}
.section-alt {
  background: var(--bg-light);
}

/* --- Video Section --- */
.video-section {
  padding: 60px 0;
}
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-wrapper video {
  width: 100%;
  display: block;
}

/* --- Applications Carousel --- */
.app-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.app-slide {
  flex: 0 0 100%;
  position: relative;
  background: var(--bg-dark);
}
.app-slide img {
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 500px;
  object-fit: contain;
  display: block;
  padding: 20px;
  box-sizing: border-box;
}
.app-label {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: var(--transition);
  z-index: 10;
}
.carousel-btn:hover {
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.carousel-prev { left: 15px; }
.carousel-next { right: 15px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dots .dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* --- Strengths Grid --- */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.strength-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.strength-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: transparent;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.strength-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.strength-card h4 { margin-bottom: 8px; }
.strength-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.product-card .img-wrap {
  height: 200px;
  overflow: hidden;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.product-card .img-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.product-card .card-body {
  padding: 20px;
}
.product-card h4 { margin-bottom: 6px; }
.product-card .series {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-card p {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.5;
}
.product-card .card-actions {
  display: flex;
  gap: 8px;
}

/* --- Home Product Card (Enhanced) --- */
.product-card .product-image {
  height: 200px;
  overflow: hidden;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-card .product-image img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.product-card .product-tag {
  padding: 12px 20px 0 20px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card .product-title {
  padding: 8px 20px 0 20px;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.product-card .product-desc {
  padding: 10px 20px 0 20px;
  margin: 0;
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
  /* 限制描述文字的行数，保持卡片高度一致 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.8em; /* 3行文字的高度 */
}
.product-card .btn {
  margin: 20px 20px 20px 20px;
  display: inline-block;
  text-align: center;
  width: calc(100% - 40px);
}

/* --- Applications --- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.app-card {
  text-align: center;
  padding: 30px 16px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-bottom: 3px solid var(--accent);
}
.app-card .app-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.app-card .app-img {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  object-fit: contain;
  border-radius: 12px;
}
.app-card h4 {
  font-size: 0.95rem;
  color: var(--primary);
}

/* --- Trust Showcase (Image + Stats) --- */
.trust-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.trust-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.trust-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.trust-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}
.trust-image-overlay span {
  font-size: 1.2rem;
  font-weight: 600;
}
.trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
}
.stat-item .stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-item .stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .trust-showcase {
    grid-template-columns: 1fr;
  }
  .trust-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Apps Text List --- */
.apps-text-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  padding: 0;
  list-style: none;
}
.apps-text-list span,
.apps-text-list li {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.apps-text-list span:not(:last-child)::after,
.apps-text-list li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -2px;
  color: var(--border);
  font-weight: 300;
}

/* --- Trust / Certifications --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  text-align: center;
  padding: 30px 20px;
}
.trust-item .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.trust-item .unit {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
}
.trust-item .desc {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-top: 6px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

/* --- Insights / News --- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.insight-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.insight-card .insight-image {
  height: 180px;
  background: var(--bg-light);
  overflow: hidden;
  margin: -1px -1px 0 -1px;
}
.insight-card .insight-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.insight-card {
  padding: 22px;
  flex: 1;
}
.insight-card .insight-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}
.insight-card .insight-date {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}
.insight-card .insight-tag {
  background: var(--bg-light);
  color: var(--text-light);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 12px;
}
.insight-card .insight-title {
  margin-bottom: 8px;
  line-height: 1.4;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-card .insight-excerpt {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
  height: 4.8em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.insight-link {
  margin-top: auto;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
}
.insight-link:hover {
  color: var(--primary-light);
}

/* --- About Page --- */
.about-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
}
.about-hero h1 { color: #fff; margin-bottom: 12px; }
.about-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-intro img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-intro .text h2 {
  margin-bottom: 16px;
}
.about-intro .text p {
  color: var(--text-light);
  margin-bottom: 14px;
}

/* Competencies */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.comp-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.comp-card:hover {
  box-shadow: var(--shadow-hover);
}
.comp-card .comp-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comp-card .comp-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.comp-card h4 { margin-bottom: 6px; }
.comp-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item .year {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* --- Patents List --- */
.patents-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.patent-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.patent-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
}
.patent-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  color: var(--primary);
}
.patent-icon.invention {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.patent-icon svg {
  width: 28px;
  height: 28px;
}
.patent-content {
  flex: 1;
}
.patent-number {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(230, 126, 34, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.patent-content h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.patent-content p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.patent-badge {
  display: inline-block;
  font-size: 0.75rem !important;
  font-weight: 600;
  color: var(--accent) !important;
  margin-bottom: 4px !important;
}
.patent-content a {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}
.patent-content a:hover {
  text-decoration: underline;
}
.patent-cta {
  text-align: center;
}
.patent-cta p {
  color: var(--text-light);
  margin-bottom: 16px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* ============================================
   Admin Header Bar (Unified Style)
   ============================================ */
.admin-header-bar {
  background: var(--primary-dark);
  color: white;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.admin-header-bar .logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}
.admin-header-bar .logo-area img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}
.admin-header-bar .logo-text {
  display: flex;
  flex-direction: column;
}
.admin-header-bar .logo-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.admin-header-bar .logo-subtitle {
  font-size: 0.8rem;
  opacity: 0.8;
}
.admin-header-bar nav {
  display: flex;
  gap: 8px;
}
.admin-header-bar nav a {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}
.admin-header-bar nav a:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}
.admin-header-bar nav a.active {
  background: rgba(255,255,255,0.2);
  color: white;
}
@media (max-width: 768px) {
  .admin-header-bar {
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
  }
  .admin-header-bar nav {
    width: 100%;
    justify-content: center;
  }
  .admin-header-bar .logo-text {
    text-align: center;
  }
}

/* --- Products Page --- */
.products-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
}
.products-hero h1 { color: #fff; margin-bottom: 12px; }
.products-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

/* Filter bar */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 22px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--bg-light);
  color: var(--text);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Product detail showcase */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product-showcase.reverse {
  direction: rtl;
}
.product-showcase.reverse > * {
  direction: ltr;
}
.product-showcase .showcase-img {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}
.product-showcase .showcase-img img {
  max-height: 250px;
  width: auto;
  object-fit: contain;
}
.product-showcase h3 { margin-bottom: 8px; }
.product-showcase .series-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 3px 12px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.product-showcase p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.7;
}
.product-showcase .features-list {
  margin-bottom: 20px;
}
.product-showcase .features-list li {
  padding: 4px 0;
  color: var(--text);
  font-size: 0.92rem;
}
.product-showcase .features-list li::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}

/* --- Contact Page --- */
.contact-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
}
.contact-hero h1 { color: #fff; margin-bottom: 12px; }
.contact-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 6px; }
.contact-form .form-subtitle {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(41,128,185,0.12);
  background: #fff;
}
.form-group textarea {
  min-height: 110px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-card .info-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}
.info-card h4 { margin-bottom: 4px; }
.info-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-logo img {
  height: 108px !important;
  width: auto !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.footer-links li a:hover {
  color: var(--accent);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer-contact li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

/* --- Insights Page --- */
.insights-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
}
.insights-hero h1 { color: #fff; margin-bottom: 12px; }
.insights-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

.insight-full {
  max-width: 800px;
  margin: 0 auto;
}
.insight-full .meta {
  display: flex;
  gap: 16px;
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.insight-full .meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.insight-full img {
  border-radius: var(--radius);
  margin: 20px 0;
  width: 100%;
}
.insight-full p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .strengths-grid,
  .products-grid,
  .trust-grid,
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .patents-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-list.open { display: flex; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .strengths-grid,
  .products-grid,
  .trust-grid,
  .insights-grid,
  .comp-grid,
  .contact-grid,
  .about-intro { grid-template-columns: 1fr; }
  .product-showcase { grid-template-columns: 1fr; }
  .product-showcase.reverse { direction: ltr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .patents-list { grid-template-columns: 1fr; }
  .patent-card { flex-direction: column; align-items: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}
/* Default visible, animate only when .animated class is added by JS */
.animated.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================
   Product Detail Page Styles
   Enhanced layout with download section
   ============================================ */

/* ============================================
   Comparison Grid (for Key Features)
   ============================================ */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.comp-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}
.comp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.comp-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.comp-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}
.comp-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Responsive for Comparison Grid */
@media (max-width: 1024px) {
  .comp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .comp-grid {
    grid-template-columns: 1fr;
  }
}

/* Hide Hero Stats (duplicate with Why Choose Us section) */
.hero-stats {
  display: none !important;
}

/* Product Detail Hero */
.product-detail-hero {
  padding-top: calc(76px + 80px) !important;
  padding-bottom: 80px !important;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%) !important;
  color: #fff !important;
  position: relative !important;
  overflow: hidden !important;
}
.product-detail-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.product-detail-hero .container {
  position: relative;
  z-index: 1;
}
.product-detail-hero .breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.product-detail-hero .breadcrumb a {
  color: rgba(255,255,255,0.7);
}
.product-detail-hero .breadcrumb a:hover {
  color: #fff;
}
.product-detail-hero .breadcrumb span {
  color: rgba(255,255,255,0.5);
}
.product-detail-hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.product-detail-hero .hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
}

/* Product Detail Main Layout */
.product-detail-main {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: start;
  margin-bottom: 60px;
}

/* Product Gallery */
.product-gallery {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product-gallery .main-image {
  position: relative;
  background: var(--bg-light);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
}
.product-gallery .main-image img {
  max-height: 350px;
  width: auto;
  transition: var(--transition);
}
.product-gallery .zoom-hint {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Magnifier Zoom - Simple hover zoom */
.magnifier-container .main-image {
  overflow: visible !important;
}
.magnifier-container .main-image img {
  transition: transform 0.2s ease;
}
.magnifier-container .main-image:hover img {
  transform: scale(2);
  cursor: crosshair;
}

/* Magnifier Zoom Effect */
.magnifier-container {
  position: relative;
  width: 100%;
  cursor: crosshair;
}
.magnifier-zoom-box {
  position: absolute;
  top: 0;
  right: -320px;
  width: 300px;
  height: 300px;
  border: 3px solid var(--primary);
  border-radius: 8px;
  background-repeat: no-repeat;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 100;
  display: none;
  background-size: 200%;
}
.magnifier-lens {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background-color: rgba(26, 82, 118, 0.1);
  cursor: move;
  display: none;
  z-index: 10;
}
.magnifier-zoom-box.active,
.magnifier-lens.active {
  display: block;
}

/* Quick Download Card */
.download-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  position: sticky;
  top: 100px;
}
.download-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.download-card .card-intro {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 24px;
  line-height: 1.6;
}
.download-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.download-btn:hover {
  border-color: var(--primary);
  background: var(--bg-white);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.download-btn .icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
}
.download-btn .icon.pdf { background: #e74c3c; color: #fff; }
.download-btn .icon.cad { background: #3498db; color: #fff; }
.download-btn .icon.model { background: #27ae60; color: #fff; }
.download-btn .icon.catalog { background: var(--accent); color: #fff; }
.download-btn .text {
  flex: 1;
}
.download-btn .text .label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.download-btn .text .size {
  font-size: 0.78rem;
  color: var(--text-light);
}
.download-btn .arrow {
  color: var(--text-light);
  font-size: 1.2rem;
}
.download-btn:hover .arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* Quick Inquiry Form */
.quick-inquiry {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.quick-inquiry h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}
.quick-inquiry input,
.quick-inquiry textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  background: var(--bg-light);
}
.quick-inquiry input:focus,
.quick-inquiry textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
}
.quick-inquiry .btn {
  width: 100%;
  text-align: center;
}

/* Product Content Sections */
.product-content-section {
  margin-bottom: 60px;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}
.section-header .section-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}
.section-header .section-icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
}
.section-header h2 {
  margin-bottom: 0;
}
.section-header p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* Enhanced Specs Table */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.spec-item {
  background: var(--bg-white);
  padding: 20px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-left: 4px solid var(--primary);
}
.spec-item.highlight {
  border-left-color: var(--accent);
  background: linear-gradient(135deg, rgba(230,126,34,0.05), transparent);
}
.spec-item .spec-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.spec-item .spec-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

/* Specs Table Container */
.specs-container {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-white);
}

/* Enhanced Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.specs-table th {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.specs-table td {
  padding: 12px 8px;
  text-align: center;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  white-space: nowrap;
}
.specs-table tr:nth-child(even) td {
  background: var(--bg-light);
}
.specs-table tr:hover td {
  background: var(--primary-light);
}
.specs-table td:first-child,
.specs-table th:first-child {
  text-align: left;
  padding-left: 16px;
}

/* Model Selection Table */
.models-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.models-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.88rem;
}
.models-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.models-table tr:last-child td {
  border-bottom: none;
}
.models-table tr:hover td {
  background: var(--bg-light);
}

/* Applications Grid */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.app-card {
  background: var(--bg-white);
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.app-card .app-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 12px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.app-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}
.app-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Materials & Treatment Cards */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.material-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.material-card h4 {
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.material-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.material-card li {
  background: var(--bg-light);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* Related Products (Enhanced) */
.related-products-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.related-product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.related-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.related-product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--bg-light);
}
.related-product-card h4 {
  padding: 16px 16px 8px;
  font-size: 0.95rem;
}
.related-product-card p {
  padding: 0 16px 12px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.related-product-card .btn {
  margin: 0 16px 16px;
  width: calc(100% - 32px);
  text-align: center;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  text-align: center;
  font-weight: 600;
}
.comparison-table th:first-child {
  text-align: left;
}
.comparison-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table tr:hover td {
  background: var(--bg-light);
}
.check-icon { color: #27ae60; font-weight: bold; }
.cross-icon { color: #e74c3c; }

/* Custom Options Section */
.custom-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.custom-option {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}
.custom-option h4 {
  margin-bottom: 12px;
  color: var(--primary-dark);
}
.custom-option p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Product Features Sidebar */
.features-sidebar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 30px;
  border-radius: var(--radius);
  margin-bottom: 30px;
}
.features-sidebar h3 {
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.features-sidebar ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.features-sidebar li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}
.features-sidebar li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Certifications Bar */
.certifications-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 30px;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-top: 40px;
}
.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.82rem;
}
.cert-badge .cert-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Responsive for Product Detail */
@media (max-width: 1024px) {
  .product-detail-main {
    grid-template-columns: 1fr;
  }
  .download-card {
    position: static;
    order: -1;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-detail-hero h1 {
    font-size: 2rem;
  }
  .applications-grid {
    grid-template-columns: 1fr;
  }
  .related-products-grid {
    grid-template-columns: 1fr;
  }
  .certifications-bar {
    flex-wrap: wrap;
    gap: 20px;
  }
}
