:root {
  --primary: #0056b3;
  --primary-hover: #004494;
  --secondary: #28a745;
  --dark: #333333;
  --light: #f8f9fa;
  --gray: #6c757d;
  --border: #e9ecef;
  --font-main: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); color: var(--dark); line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }

/* Top Header Bar */
.top-header { background: #f4f4f4; border-bottom: 1px solid var(--border); padding: 8px 0; font-size: 13px; color: var(--gray); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.top-header .container { display: flex; justify-content: space-between; align-items: center; }
.top-contact span { margin-right: 20px; }
.top-contact i { margin-right: 5px; color: var(--primary); }
.lang-switcher { display: flex; gap: 10px; }
.lang-switcher button { background: none; border: none; cursor: pointer; color: var(--gray); font-size: 13px; transition: color 0.3s; }
.lang-switcher button.active, .lang-switcher button:hover { color: var(--primary); font-weight: bold; }

/* Main Navigation */
.navbar { padding: 20px 0; background: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.navbar .container { display: grid; grid-template-columns: max-content 1fr max-content; align-items: center; gap: 24px; }
.logo-area { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; min-width: max-content; justify-self: start; }
.logo-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.logo-text { flex: 0 0 auto; min-width: max-content; }
.logo-text h1 { font-size: 22px; margin: 0; color: var(--primary); letter-spacing: 1px; white-space: nowrap; }
.logo-text p { font-size: 12px; margin: 0; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }

.nav-links { display: flex; gap: 30px; align-items: center; justify-content: center; flex-wrap: nowrap; white-space: nowrap; width: 100%; min-height: 40px; justify-self: center; }
.nav-links a { font-size: 16px; font-weight: 500; color: var(--dark); position: relative; padding-bottom: 5px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.navbar .lang-switcher { justify-self: end; margin-left: 0 !important; padding-left: 20px; border-left: 1px solid var(--border); }

/* Hero Slider Section */
.hero-slider { height: 500px; width: 100%; position: relative; }
.hero-content { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-content h2 { font-size: 42px; margin-bottom: 20px; font-weight: 600; text-shadow: 0 2px 4px rgba(0,0,0,0.3); text-align: center; }
.hero-content p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; text-align: center; }
.hero-content .btn-primary,
.hero-content .btn-outline { align-self: center; }
.btn-primary { display: inline-block; padding: 12px 30px; background: var(--primary); color: #fff; border-radius: 4px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; transition: background 0.3s; }
.btn-primary:hover { background: var(--primary-hover); }

/* Quick Features / Intro */
.features-strip { display: flex; background: #fff; margin-top: -40px; position: relative; z-index: 10; box-shadow: var(--shadow); border-radius: 8px; overflow: hidden; }
.feature-box { flex: 1; padding: 30px 20px; text-align: center; border-right: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
.feature-box:last-child { border-right: none; }
.feature-box:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 1; }
.feature-box i { font-size: 36px; color: var(--primary); margin-bottom: 15px; display: block; }
.feature-box h3 { font-size: 18px; margin-bottom: 10px; }
.feature-box p { font-size: 14px; color: var(--gray); }

/* Common Section Styles */
.section { padding: 80px 0; }
.bg-light { background: var(--light); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: var(--dark); margin-bottom: 15px; position: relative; display: inline-block; padding-bottom: 15px; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--primary); }
.section-title p { color: var(--gray); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* About Us Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); height: 400px; }
.about-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.about-content h3 { font-size: 24px; color: var(--primary); margin-bottom: 20px; }
.about-content p { font-size: 16px; color: var(--gray); margin-bottom: 20px; }
.about-list { margin-top: 20px; }
.about-list li { padding-left: 30px; position: relative; margin-bottom: 12px; font-weight: 500; }
.about-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--secondary); font-weight: bold; font-size: 18px; }

/* Products Section */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; border: 1px solid var(--border); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.product-img { height: 220px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 15px; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.1); }
.product-info { padding: 25px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; flex: 1; }
.product-info h3 { font-size: 20px; margin-bottom: 15px; color: var(--dark); }
.product-info p { font-size: 14px; color: var(--gray); margin-bottom: 20px; min-height: 72px; display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; }
.product-info .btn-outline { margin-top: auto; }
.btn-outline { display: inline-block; padding: 8px 20px; border: 1px solid var(--primary); color: var(--primary); border-radius: 4px; transition: all 0.3s; }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Application Section */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.app-item { position: relative; border-radius: 8px; overflow: hidden; height: 250px; cursor: pointer; }
.app-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.app-overlay { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; transition: background 0.3s; }
.app-item:hover img { transform: scale(1.1); }
.app-item:hover .app-overlay { background: rgba(0,86,179,0.7); }
.app-overlay h3 { font-size: 20px; margin-bottom: 5px; }
.app-overlay p { font-size: 14px; opacity: 0; transform: translateY(10px); transition: all 0.3s; }
.app-item:hover .app-overlay p { opacity: 1; transform: translateY(0); }

/* Footer */
.footer { background: #222; color: #ccc; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-about h3 { color: #fff; font-size: 22px; margin-bottom: 20px; }
.footer-about p { margin-bottom: 15px; font-size: 14px; line-height: 1.8; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-links h4::after, .footer-contact h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: #ccc; transition: color 0.3s; }
.footer-links ul li a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact p { margin-bottom: 12px; display: flex; font-size: 14px; }
.footer-contact i { width: 25px; color: var(--primary); margin-top: 3px; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 13px; color: #888; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--primary); }

/* Font Awesome fallback (just simple CSS icons for demo) */
.icon-heat::before { content: '🔥'; }
.icon-water::before { content: '💧'; }
.icon-gear::before { content: '⚙️'; }
.icon-building::before { content: '🏢'; }
.icon-phone::before { content: '📞'; }
.icon-mail::before { content: '✉️'; }
.icon-map::before { content: '📍'; }

@media (max-width: 992px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .features-strip { flex-direction: column; }
  .feature-box { border-right: none; border-bottom: 1px solid var(--border); }
  .nav-links { display: none; } /* Would need mobile menu logic */
}

/* Swiper Overrides */
.swiper-button-next, .swiper-button-prev { color: #fff; }
.swiper-pagination-bullet { background: #fff; opacity: 0.5; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--primary); }

.lang-switcher button.active { color: var(--primary); font-weight: bold; background: #f0f8ff; padding: 4px 8px; border-radius: 4px; }

/* Culture Grid */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.culture-card { background: var(--light); padding: 30px 20px; border-radius: 8px; text-align: center; border-top: 4px solid var(--primary); transition: transform 0.3s, box-shadow 0.3s; }
.culture-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.culture-card h4 { color: var(--primary); font-size: 20px; margin-bottom: 15px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.culture-card h4::before { content: ''; display: block; width: 40px; height: 3px; background: var(--secondary); border-radius: 2px; }
.culture-card p { font-size: 15px; color: var(--gray); margin-bottom: 0; line-height: 1.8; }
@media (max-width: 768px) { .culture-grid { grid-template-columns: 1fr; } }

.hero-content h2,
.section-title h2,
.about-content > h3,
.about-content > h2,
.product-info h3 {
  white-space: nowrap;
}

.product-detail-content {
  text-align: center;
}

.product-detail-content .about-list {
  display: inline-block;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 992px) {
  .logo-text h1,
  .hero-content h2,
  .section-title h2,
  .about-content > h3,
  .about-content > h2,
  .product-info h3 {
    font-size: clamp(18px, 4vw, 30px);
  }
}
