* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.05);
  --radius: 12px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border: none; border-radius: 8px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: all .2s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1fb855; border-color: #1fb855; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.section { padding: 80px 0; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; color: var(--secondary); }
.section-subtitle { color: var(--text-light); font-size: 17px; margin-bottom: 48px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.price { color: var(--primary); font-weight: 800; }
/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--secondary);
}
.logo-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #ff6b35);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
  padding: 10px 16px; border-radius: 6px; font-weight: 500; font-size: 15px;
  color: var(--text); transition: all .15s;
}
.nav-links a:hover { background: var(--bg); color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }
/* Hero */
.hero {
  position: relative; min-height: 560px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #dc2626 100%);
  color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,23,42,.95) 0%, rgba(30,41,59,.82) 45%, rgba(220,38,38,.32) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(220,38,38,.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,158,11,.2) 0%, transparent 50%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 560px; max-width: 100%; text-align: center;
}
.hero-content { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.hero-badge {
  position: absolute; bottom: 24px; right: 24px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: rgba(255,255,255,.15);
  border-radius: 100px; font-size: 13px; font-weight: 500;
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2);
}
.hero h1 { font-size: clamp(32px, 5.5vw, 64px); font-weight: 900; line-height: 1.15; margin-bottom: 0; white-space: nowrap; text-align: center; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 18px; opacity: .9; margin-bottom: 0; max-width: 620px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
/* Features strip */
.features-strip {
  background: #fff; border-bottom: 1px solid var(--border);
}
.features-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 28px 0;
}
.feature {
  display: flex; align-items: center; gap: 16px; padding: 0 20px;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #fef2f2; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.feature h4 { font-weight: 700; font-size: 15px; }
.feature p { font-size: 13px; color: var(--text-light); }
/* Categories */
.category-card {
  background: #fff; border-radius: var(--radius); padding: 40px 32px;
  text-align: center; box-shadow: var(--shadow);
  transition: all .3s; cursor: pointer; border: 2px solid transparent;
}
.category-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.category-emoji { font-size: 48px; margin-bottom: 16px; }
.cat-img { width: 100%; max-height: 150px; object-fit: contain; margin-bottom: 16px; border-radius: 8px; }
.category-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.category-card p { color: var(--text-light); }
/* Product card */
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .3s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-img {
  aspect-ratio: 4/3; background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; position: relative; overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-sku { font-size: 12px; color: var(--text-light); font-family: monospace; }
.product-name { font-size: 15px; font-weight: 700; margin: 6px 0 10px; line-height: 1.4; }
.product-info { font-size: 13px; color: var(--text-light); margin-bottom: 12px; flex: 1; }
.product-info div { margin-bottom: 4px; }
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.product-price { font-size: 20px; font-weight: 800; color: var(--primary); }
.product-btn {
  padding: 8px 16px; font-size: 13px; background: var(--secondary);
  color: #fff; border-radius: 6px; border: none; cursor: pointer;
  transition: all .15s;
}
.product-btn:hover { background: var(--primary); }
/* Brands section */
.brands { background: #fff; }
.brands-grid {
  display: grid; grid-template-columns: repeat(9, 1fr);
  gap: 16px;
}
.brand-item {
  aspect-ratio: 2/1;
  background: var(--bg); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: var(--text-light);
  transition: all .2s; cursor: pointer;
}
.brand-item:hover { background: #fef2f2; color: var(--primary); }
/* CTA */
.cta {
  background: linear-gradient(135deg, var(--secondary) 0%, #0f172a 100%);
  color: #fff; text-align: center; border-radius: 20px; padding: 60px;
}
.cta-tech { position: relative; overflow: hidden; padding: 0; }
.cta-tech-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .45;
}
.cta-tech-inner {
  position: relative; z-index: 2; padding: 60px;
  background: linear-gradient(135deg, rgba(15,23,42,.86) 0%, rgba(15,23,42,.55) 55%, rgba(220,38,38,.28) 100%);
}
.cta h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.cta p { font-size: 17px; opacity: .85; margin-bottom: 28px; }
/* Footer */
.footer { background: var(--secondary); color: #cbd5e1; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; font-weight: 700; }
.footer-brand p { margin-bottom: 16px; line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--accent); }
.footer-contact div { display: flex; gap: 10px; margin-bottom: 12px; align-items: center; }
.footer-bottom {
  border-top: 1px solid #334155; padding: 24px 0;
  text-align: center; font-size: 13px;
}
/* Product page header */
.page-header {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.page-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.breadcrumb { color: var(--text-light); font-size: 14px; }
.breadcrumb a:hover { color: var(--primary); }
/* Product listing filters */
.filters {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); margin-bottom: 32px;
}
.filter-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.filter-group { flex: 1; min-width: 180px; }
.filter-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-light); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em;
}
.filter-group select, .filter-group input {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; background: #fff;
  transition: border-color .15s;
}
.filter-group select:focus, .filter-group input:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}
/* Product detail */
.product-detail { padding: 40px 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.detail-img {
  aspect-ratio: 1; background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 160px; overflow: hidden;
}
.detail-img img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  background: #fff; padding: 8px;
}
.detail-info h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.detail-price { font-size: 36px; font-weight: 900; color: var(--primary); margin: 16px 0; }
.detail-meta { background: var(--bg); border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.detail-meta-row {
  display: flex; padding: 10px 0; font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.detail-meta-row:last-child { border-bottom: none; }
.detail-meta-label { width: 120px; color: var(--text-light); font-weight: 500; flex-shrink: 0; }
.detail-meta-value { flex: 1; font-weight: 500; }
/* Inquiry form */
.inquiry-form {
  background: #fff; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); margin-top: 32px;
}
.inquiry-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; transition: all .15s; font-family: inherit;
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}
/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img {
  aspect-ratio: 4/3; background: linear-gradient(135deg, #fee2e2, #fecaca);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 80px; overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.about h2 { font-size: 14px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.about h3 { font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.about p { color: var(--text-light); margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.stat { text-align: center; }
.stat h4 { font-size: 28px; font-weight: 800; color: var(--primary); }
.stat p { font-size: 13px; color: var(--text-light); margin: 0; }
/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-item {
  display: flex; gap: 16px; padding: 20px; background: #fff;
  border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow);
}
.contact-info-icon {
  width: 48px; height: 48px; border-radius: 12px; background: #fef2f2; color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.contact-info-item h4 { font-weight: 700; margin-bottom: 4px; font-size: 15px; }
.contact-info-item p { color: var(--text-light); font-size: 14px; }
/* Toast */
.toast {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  padding: 16px 24px; background: var(--success); color: #fff;
  border-radius: 8px; font-weight: 500; box-shadow: var(--shadow-lg);
  animation: slideIn .3s ease;
}
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
/* Responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .hero h1 { font-size: 36px; }
  .features-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); padding: 16px;
  }
  .hero h1 { font-size: 28px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 26px; }
  .features-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta { padding: 40px 20px; }
  .cta-tech { padding: 0; }
  .cta-tech-inner { padding: 40px 20px; }
  .cta h2 { font-size: 24px; }
  .filter-row { flex-direction: column; }
}
