:root {
  --primary: #0088a0;
  --primary-dark: #006d82;
  --primary-light: #4db8cc;
  --secondary: #1a2a3a;
  --accent: #ff6b35;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.top-bar {
  background: var(--secondary);
  color: #ccc;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #ccc; margin-right: 20px; }
.top-bar a:hover { color: var(--primary-light); }
.top-bar i { margin-right: 5px; }

/* Header */
header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 700;
}
.logo-text { font-size: 22px; font-weight: 700; color: var(--secondary); }
.logo-text span { color: var(--primary); }

nav { display: flex; align-items: center; gap: 5px; }
nav a {
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
nav a:hover, nav a.active { background: var(--primary); color: #fff; }

.hamburger { display: none; font-size: 28px; cursor: pointer; color: var(--secondary); background: none; border: none; }

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.hero-slider .slides { position: relative; height: 100%; }
.hero-slider .slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.8s ease; background-size: cover; background-position: center;
}
.hero-slider .slide.active { opacity: 1; }
.hero-slider .slide::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}
.slide-content {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-align: center; color: #fff; z-index: 2; width: 90%; max-width: 800px;
}
.slide-content h1 { font-size: 48px; font-weight: 700; margin-bottom: 16px; }
.slide-content p { font-size: 20px; margin-bottom: 32px; opacity: 0.9; }
.slide-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 36px; border-radius: 50px;
  font-size: 16px; font-weight: 600; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,136,160,0.3); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--secondary); }

.slider-controls {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.slider-dot {
  width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5);
  cursor: pointer; transition: var(--transition); border: none;
}
.slider-dot.active { background: #fff; transform: scale(1.2); }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.15);
  color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); border: none; z-index: 3; backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Section */
.section { padding: 80px 0; }
.section-title {
  text-align: center; font-size: 32px; font-weight: 700; color: var(--secondary);
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center; font-size: 16px; color: var(--text-light);
  max-width: 600px; margin: 0 auto 50px;
}
.section.bg-alt { background: var(--bg-light); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-content h3 { font-size: 24px; color: var(--secondary); margin-bottom: 16px; }
.about-content p { color: var(--text-light); margin-bottom: 24px; line-height: 1.8; }
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-highlights li {
  display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-light);
}
.about-highlights li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: var(--primary); font-size: 14px;
}

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.product-card {
  background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card .card-image {
  height: 220px; background-size: cover; background-position: center; position: relative;
}
.product-card .card-body { padding: 24px; }
.product-card .card-body h3 { font-size: 18px; color: var(--secondary); margin-bottom: 10px; }
.product-card .card-body p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.7; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--primary);
  font-weight: 600; font-size: 14px; transition: var(--transition);
}
.card-link:hover { gap: 10px; }

/* Stats */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0; color: #fff;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-number { font-size: 42px; font-weight: 800; margin-bottom: 5px; }
.stat-label { font-size: 16px; opacity: 0.85; }

/* Advantages */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.adv-card {
  background: var(--bg-white); padding: 40px 30px; border-radius: var(--radius-lg);
  text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border);
}
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.adv-card .icon {
  width: 70px; height: 70px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
}
.adv-card h4 { font-size: 18px; color: var(--secondary); margin-bottom: 12px; }
.adv-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.testimonial-card {
  background: var(--bg-white); padding: 30px; border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 4px solid var(--primary);
}
.testimonial-card p { font-size: 15px; color: var(--text-light); font-style: italic; line-height: 1.8; margin-bottom: 15px; }
.testimonial-card .author { font-size: 14px; font-weight: 600; color: var(--secondary); }

/* Cases */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.case-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 300px; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.case-card:hover img { transform: scale(1.05); }
.case-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 30px; color: #fff;
}
.case-overlay h4 { font-size: 18px; margin-bottom: 8px; }
.case-overlay p { font-size: 14px; opacity: 0.9; line-height: 1.6; }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #2a3a4a 100%);
  padding: 80px 0; text-align: center; color: #fff;
}
.cta-section h2 { font-size: 32px; margin-bottom: 16px; }
.cta-section p { font-size: 18px; opacity: 0.85; margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Footer */
footer { background: var(--secondary); color: #ccc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand h3 { font-size: 22px; color: #fff; margin-bottom: 16px; }
.footer-brand h3 span { color: var(--primary-light); }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px; padding: 20px 0; text-align: center; font-size: 13px;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: var(--transition); cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 80px 0; text-align: center; color: #fff;
}
.page-banner h1 { font-size: 36px; margin-bottom: 10px; }
.page-banner p { font-size: 16px; opacity: 0.9; }

/* Product Detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.product-detail-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.product-detail-info h2 { font-size: 28px; color: var(--secondary); margin-bottom: 16px; }
.product-detail-info p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 24px; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td {
  padding: 10px 16px; border: 1px solid var(--border); font-size: 14px;
}
.specs-table td:first-child { font-weight: 600; color: var(--secondary); background: var(--bg-light); width: 40%; }
.product-app { margin-top: 60px; padding: 40px; background: var(--bg-light); border-radius: var(--radius-lg); }
.product-app h3 { font-size: 20px; color: var(--secondary); margin-bottom: 12px; }
.product-app p { font-size: 15px; color: var(--text-light); line-height: 1.8; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 25px; background: var(--bg-white); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.contact-info-card .icon {
  width: 50px; height: 50px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 16px; color: var(--secondary); margin-bottom: 5px; }
.contact-info-card p { font-size: 14px; color: var(--text-light); }

.contact-form {
  background: var(--bg-white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 22px; color: var(--secondary); margin-bottom: 24px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; color: var(--secondary); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; font-family: var(--font); transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,136,160,0.1); }
.contact-form textarea { height: 120px; resize: vertical; }

/* Page Content */
.page-content { padding: 60px 0; }

/* About Page */
.about-page-content { max-width: 800px; margin: 0 auto 50px; text-align: center; }
.about-page-content p { font-size: 16px; color: var(--text-light); line-height: 1.9; }
.about-page-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-lg); }

/* Responsive */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-slider { height: 450px; }
  .slide-content h1 { font-size: 28px; }
  .slide-content p { font-size: 16px; }
  .section { padding: 50px 0; }
  .section-title { font-size: 26px; }
  
  nav { display: none; }
  nav.active { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; width: 100%; background: #fff; box-shadow: var(--shadow-lg); padding: 10px 0; }
  nav.active a { padding: 12px 20px; border-radius: 0; }
  .hamburger { display: block; }
  
  .adv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-highlights { grid-template-columns: 1fr; }
  
  .page-banner { padding: 60px 0; }
  .page-banner h1 { font-size: 28px; }
  
  .contact-form { padding: 24px; }
  .product-detail-info h2 { font-size: 24px; }
  .product-app { padding: 24px; }
}
