* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #2c3e50; line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; color: #1a3a5c; letter-spacing: 0.5px; }
.logo-icon { width: 42px; height: 42px; background: linear-gradient(135deg, #1a3a5c, #2e5a8a); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 700; }
.nav { display: flex; gap: 32px; }
.nav a { color: #4a5568; font-weight: 500; font-size: 15px; transition: color 0.2s; position: relative; padding: 8px 0; }
.nav a:hover, .nav a.active { color: #1a3a5c; }
.nav a.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #1a3a5c; border-radius: 2px; }
.mobile-toggle { display: none; font-size: 24px; cursor: pointer; }

/* Hero / Banner */
.hero { position: relative; height: 520px; background: linear-gradient(135deg, #1a3a5c 0%, #2e5a8a 50%, #3a7bc8 100%); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.active { opacity: 1; }
.hero-content { text-align: center; color: #fff; padding: 0 32px; max-width: 900px; z-index: 2; }
.hero-title { font-size: 52px; font-weight: 700; letter-spacing: 1px; margin-bottom: 20px; line-height: 1.2; }
.hero-subtitle { font-size: 20px; opacity: 0.95; margin-bottom: 32px; }
.hero-btn { display: inline-block; padding: 14px 36px; background: #fff; color: #1a3a5c; border-radius: 4px; font-weight: 600; font-size: 16px; transition: all 0.3s; }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; }
.hero-dot.active { background: #fff; width: 28px; border-radius: 6px; }
.hero-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 30px 30px; }

/* Section */
.section { padding: 80px 32px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-title { text-align: center; font-size: 38px; color: #1a3a5c; margin-bottom: 12px; font-weight: 700; }
.section-subtitle { text-align: center; color: #718096; font-size: 16px; margin-bottom: 48px; }
.section-light { background: #f8fafc; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h3 { font-size: 28px; color: #1a3a5c; margin-bottom: 16px; }
.about-text p { color: #4a5568; margin-bottom: 14px; font-size: 15px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.stat-box { text-align: center; padding: 20px; background: #f8fafc; border-radius: 8px; }
.stat-num { font-size: 36px; font-weight: 700; color: #1a3a5c; }
.stat-label { color: #718096; font-size: 14px; margin-top: 4px; }
.about-visual { position: relative; height: 380px; background: linear-gradient(135deg, #e8f0f9 0%, #d5e3f0 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-visual-icon { font-size: 120px; opacity: 0.3; color: #1a3a5c; }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.product-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.product-image { height: 220px; background: linear-gradient(135deg, #e8f0f9 0%, #c9d9e8 100%); display: flex; align-items: center; justify-content: center; position: relative; }
.product-image-icon { font-size: 56px; color: #1a3a5c; opacity: 0.6; }
.product-info { padding: 20px 24px; }
.product-name { font-size: 18px; font-weight: 600; color: #1a3a5c; margin-bottom: 6px; }
.product-model { color: #718096; font-size: 13px; margin-bottom: 8px; }
.product-price { color: #2e5a8a; font-size: 16px; font-weight: 600; }
.product-desc { color: #4a5568; font-size: 14px; margin-top: 10px; line-height: 1.5; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-box { text-align: center; padding: 36px 24px; background: #fff; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); transition: transform 0.3s; }
.feature-box:hover { transform: translateY(-4px); }
.feature-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: linear-gradient(135deg, #1a3a5c, #2e5a8a); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; }
.feature-title { font-size: 18px; font-weight: 600; color: #1a3a5c; margin-bottom: 10px; }
.feature-text { color: #4a5568; font-size: 14px; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transition: transform 0.3s; cursor: pointer; }
.news-card:hover { transform: translateY(-4px); }
.news-image { height: 180px; background: linear-gradient(135deg, #2e5a8a 0%, #3a7bc8 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 48px; }
.news-content { padding: 22px 26px; }
.news-date { color: #718096; font-size: 13px; margin-bottom: 8px; }
.news-title { font-size: 18px; font-weight: 600; color: #1a3a5c; margin-bottom: 10px; line-height: 1.4; }
.news-excerpt { color: #4a5568; font-size: 14px; line-height: 1.6; }

/* Contact strip */
.contact-strip { background: linear-gradient(135deg, #1a3a5c 0%, #2e5a8a 100%); color: #fff; padding: 60px 32px; }
.contact-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.contact-strip h2 { font-size: 34px; margin-bottom: 12px; }
.contact-strip p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; }
.contact-btn { display: inline-block; padding: 14px 36px; background: #fff; color: #1a3a5c; border-radius: 4px; font-weight: 600; transition: all 0.3s; }
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* Footer */
.footer { background: #0f2540; color: #a0b0c0; padding: 50px 32px 20px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-brand h3 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; opacity: 0.85; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; color: #a0b0c0; font-size: 14px; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; opacity: 0.7; }

/* Product list page */
.page-header { background: linear-gradient(135deg, #1a3a5c 0%, #2e5a8a 100%); padding: 60px 32px; color: #fff; text-align: center; }
.page-header h1 { font-size: 42px; margin-bottom: 10px; }
.page-header p { font-size: 16px; opacity: 0.9; }
.product-list-container { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.sidebar-filter { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); height: fit-content; position: sticky; top: 100px; }
.sidebar-title { font-size: 18px; font-weight: 600; color: #1a3a5c; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #e8f0f9; }
.category-list { list-style: none; }
.category-list li { padding: 12px 14px; cursor: pointer; border-radius: 6px; color: #4a5568; font-size: 14px; transition: all 0.2s; margin-bottom: 4px; }
.category-list li:hover, .category-list li.active { background: #e8f0f9; color: #1a3a5c; font-weight: 600; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination button { padding: 10px 16px; border: 1px solid #e8f0f9; background: #fff; color: #4a5568; border-radius: 6px; cursor: pointer; font-size: 14px; transition: all 0.2s; }
.pagination button.active, .pagination button:hover { background: #1a3a5c; color: #fff; border-color: #1a3a5c; }

/* Product detail */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.product-gallery { background: linear-gradient(135deg, #e8f0f9 0%, #c9d9e8 100%); border-radius: 12px; height: 480px; display: flex; align-items: center; justify-content: center; }
.product-gallery-icon { font-size: 120px; color: #1a3a5c; opacity: 0.5; }
.detail-info h1 { font-size: 32px; color: #1a3a5c; margin-bottom: 12px; }
.detail-model { color: #718096; font-size: 15px; margin-bottom: 20px; }
.detail-price { font-size: 28px; color: #2e5a8a; font-weight: 700; margin-bottom: 30px; }
.detail-section { padding-top: 24px; border-top: 1px solid #e8f0f9; margin-top: 24px; }
.detail-section h3 { font-size: 18px; color: #1a3a5c; margin-bottom: 14px; }
.detail-desc { color: #4a5568; font-size: 15px; line-height: 1.8; }
.detail-desc h2 { color: #1a3a5c; font-size: 22px; margin: 20px 0 10px; }
.detail-desc ul { margin: 14px 0 14px 20px; }
.detail-desc li { margin-bottom: 6px; }
.btn-primary { display: inline-block; padding: 14px 36px; background: #1a3a5c; color: #fff; border: none; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-primary:hover { background: #2e5a8a; }

/* News detail */
.news-detail { max-width: 860px; margin: 0 auto; }
.news-detail h1 { font-size: 34px; color: #1a3a5c; margin-bottom: 16px; line-height: 1.3; }
.news-detail-date { color: #718096; font-size: 14px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #e8f0f9; }
.news-detail-content { color: #4a5568; font-size: 16px; line-height: 1.9; }
.news-detail-content p { margin-bottom: 16px; }
.news-detail-content h2 { color: #1a3a5c; margin: 24px 0 12px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-box { background: linear-gradient(135deg, #1a3a5c 0%, #2e5a8a 100%); color: #fff; padding: 48px; border-radius: 12px; }
.contact-info-box h3 { font-size: 26px; margin-bottom: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-item-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item-text h5 { font-size: 15px; margin-bottom: 4px; opacity: 0.9; }
.contact-item-text p { font-size: 15px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: #1a3a5c; font-weight: 500; margin-bottom: 8px; }
.form-control { width: 100%; padding: 12px 14px; border: 1px solid #d4d9e2; border-radius: 6px; font-size: 15px; font-family: inherit; transition: border-color 0.2s; }
.form-control:focus { outline: none; border-color: #1a3a5c; }
textarea.form-control { resize: vertical; min-height: 140px; }

/* Toast */
.toast { position: fixed; top: 30px; right: 30px; padding: 14px 24px; background: #fff; border-left: 4px solid #1a3a5c; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 6px; z-index: 9999; opacity: 0; transform: translateX(100px); transition: all 0.3s; }
.toast.show { opacity: 1; transform: translateX(0); }
.toast.success { border-left-color: #38a169; }

/* Product / News detail description content */
.detail-desc { color: #4a5568; font-size: 15px; line-height: 1.8; }
.detail-desc p { margin-bottom: 14px; }
.detail-desc h1, .detail-desc h2, .detail-desc h3, .detail-desc h4 { color: #1a3a5c; margin: 24px 0 12px; line-height: 1.4; }
.detail-desc h1 { font-size: 28px; }
.detail-desc h2 { font-size: 24px; }
.detail-desc h3 { font-size: 20px; }
.detail-desc h4 { font-size: 17px; }
.detail-desc ul, .detail-desc ol { margin: 14px 0 14px 1.5em; padding-left: 1em; }
.detail-desc ul { list-style-type: disc; }
.detail-desc ol { list-style-type: decimal; }
.detail-desc li { margin-bottom: 6px; line-height: 1.8; }
.detail-desc strong, .detail-desc b { font-weight: 700; }
.detail-desc em, .detail-desc i { font-style: italic; }
.detail-desc img { max-width: 100%; height: auto; border-radius: 6px; margin: 14px 0; }
.detail-desc a { color: #1a3a5c; text-decoration: underline; }
.detail-desc a:hover { color: #2e5a8a; }

/* News detail content (same as product) */
.news-detail-content ul, .news-detail-content ol { margin: 14px 0 14px 1.5em; padding-left: 1em; }
.news-detail-content ul { list-style-type: disc; }
.news-detail-content ol { list-style-type: decimal; }
.news-detail-content li { margin-bottom: 6px; }
.toast.error { border-left-color: #e53e3e; }

/* Responsive */
@media (max-width: 960px) {
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 32px; gap: 16px; box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
    .nav.show { display: flex; }
    .mobile-toggle { display: block; }
    .hero { height: 380px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 15px; }
    .section { padding: 50px 20px; }
    .section-title { font-size: 28px; }
    .about-grid, .product-list-container, .product-detail-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .sidebar-filter { position: static; }
}
@media (max-width: 480px) {
    .header-inner { padding: 14px 20px; }
    .logo { font-size: 16px; }
    .logo-icon { width: 34px; height: 34px; font-size: 15px; }
    .hero-title { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
}
