/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #1a1a2e; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ===== Navbar ===== */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 20px; color: #0f3460; }
.logo-icon { font-size: 24px; }
.logo-sub { font-weight: 400; font-size: 13px; color: #888; margin-left: 4px; }
.nav-links { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: #444; transition: color 0.2s; }
.nav-links a:hover { color: #0f3460; }
.btn-nav { background: #0f3460; color: #fff !important; padding: 8px 20px; border-radius: 6px; }
.btn-nav:hover { background: #1a5276; }
.mobile-menu { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* ===== Hero ===== */
.hero { padding: 120px 0 60px; background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%); color: #fff; }
.hero h1 { font-size: 42px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.hero-sub { font-size: 20px; color: #64b5f6; font-weight: 600; margin-bottom: 12px; }
.hero-desc { font-size: 16px; color: #b0bec5; margin-bottom: 32px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 32px; font-weight: 700; color: #64b5f6; }
.stat-label { font-size: 13px; color: #90a4ae; }

/* ===== Buttons ===== */
.btn-primary { background: #0f3460; color: #fff; padding: 12px 28px; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; display: inline-block; }
.btn-primary:hover { background: #1a5276; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: #64b5f6; padding: 12px 28px; border: 2px solid #64b5f6; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-secondary:hover { background: rgba(100,181,246,0.1); }

/* ===== Section ===== */
.section { padding: 80px 0; }
.section-title { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 8px; color: #0f3460; }
.section-sub { text-align: center; color: #666; margin-bottom: 40px; font-size: 16px; }

/* ===== Search ===== */
.search-section { background: #f5f7fa; }
.search-box { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.search-box select { padding: 12px 20px; border: 2px solid #ddd; border-radius: 8px; font-size: 15px; min-width: 200px; background: #fff; cursor: pointer; }
.search-box select:focus { border-color: #0f3460; outline: none; }
.search-results { display: grid; gap: 16px; }

/* ===== Brand Filter ===== */
.brand-filter { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn { padding: 8px 20px; border: 2px solid #ddd; background: #fff; border-radius: 20px; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover { border-color: #0f3460; color: #0f3460; }
.filter-btn.active { background: #0f3460; color: #fff; border-color: #0f3460; }

/* ===== Product Grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: all 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.product-img { width: 100%; height: 220px; object-fit: cover; background: #f0f0f0; display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; background: #fff; }
.product-img-placeholder { width: 100%; height: 220px; background: linear-gradient(135deg, #e8eaf6, #c5cae9); display: flex; align-items: center; justify-content: center; font-size: 48px; color: #7986cb; }
.product-info { padding: 20px; }
.product-brand { display: inline-block; background: #e3f2fd; color: #0f3460; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.product-name { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: #1a1a2e; }
.product-oe { font-size: 13px; color: #888; margin-bottom: 12px; }
.product-oe span { color: #0f3460; font-weight: 500; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-size: 20px; font-weight: 700; color: #e53935; }
.product-price .unit { font-size: 13px; color: #888; font-weight: 400; }
.btn-inquiry { padding: 8px 16px; background: #0f3460; color: #fff; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; transition: background 0.2s; }
.btn-inquiry:hover { background: #1a5276; }

/* ===== Features ===== */
.about-section { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.feature-card { text-align: center; padding: 32px 24px; border-radius: 12px; background: #f5f7fa; transition: all 0.3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #0f3460; }
.feature-card p { font-size: 14px; color: #666; }

/* ===== Inquiry ===== */
.inquiry-section { background: #f5f7fa; }
.inquiry-content { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.inquiry-form { background: #fff; padding: 32px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.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: 6px; color: #333; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 2px solid #ddd; border-radius: 8px; font-size: 14px; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #0f3460; outline: none; }
.btn-submit { width: 100%; padding: 14px; font-size: 16px; margin-top: 8px; }
.inquiry-contact { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.contact-icon { font-size: 28px; }
.contact-item h4 { font-size: 15px; font-weight: 700; color: #0f3460; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: #666; }

/* ===== Footer ===== */
.footer { background: #1a1a2e; color: #b0bec5; padding: 48px 0 24px; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; }
.footer-brand p { font-size: 14px; font-weight: 400; margin-top: 8px; color: #90a4ae; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: #90a4ae; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2d2d44; padding-top: 16px; text-align: center; font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu { display: block; }
    .hero h1 { font-size: 28px; }
    .hero-sub { font-size: 16px; }
    .hero-stats { gap: 24px; }
    .stat-num { font-size: 24px; }
    .section { padding: 48px 0; }
    .section-title { font-size: 24px; }
    .inquiry-content { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 24px; }
    .footer-links { flex-direction: column; gap: 12px; }
    .product-grid { grid-template-columns: 1fr; }
}

/* ===== Toast ===== */
.toast { position: fixed; bottom: 24px; right: 24px; background: #0f3460; color: #fff; padding: 16px 24px; border-radius: 8px; font-size: 14px; z-index: 2000; transform: translateY(100px); opacity: 0; transition: all 0.3s; }
.toast.show { transform: translateY(0); opacity: 1; }

.price-rmb { font-size: 12px; color: #999; margin-left: 2px; }
