/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    color: #2c3e50; line-height: 1.6; background: #f8f9fa;
}
a { text-decoration: none; color: #0077b6; }
a:hover { color: #023e8a; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { font-size: 28px; font-weight: 800; color: #0077b6; letter-spacing: -0.5px; }
.logo span { color: #48cae4; }
nav ul { display: flex; list-style: none; gap: 28px; }
nav a { font-weight: 600; font-size: 15px; color: #2c3e50; padding: 6px 0; border-bottom: 2px solid transparent; transition: 0.2s; }
nav a:hover, nav a.active { color: #0077b6; border-bottom-color: #0077b6; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #023e8a 0%, #0077b6 60%, #48cae4 100%); color: #fff; padding: 80px 0 70px; text-align: center; }
.hero h1 { font-size: 42px; margin-bottom: 16px; font-weight: 800; }
.hero p { font-size: 18px; opacity: 0.92; max-width: 680px; margin: 0 auto 28px; }
.btn { display: inline-block; background: #fff; color: #0077b6; padding: 12px 32px; border-radius: 6px; font-weight: 700; font-size: 16px; transition: 0.2s; }
.btn:hover { background: #e0f2fe; color: #023e8a; }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; margin-left: 12px; }
.btn-outline:hover { background: #fff; color: #0077b6; }

/* ===== SECTION ===== */
.section { padding: 64px 0; }
.section-title { text-align: center; font-size: 30px; margin-bottom: 12px; color: #023e8a; }
.section-sub { text-align: center; color: #64748b; margin-bottom: 44px; font-size: 16px; }

/* ===== CATEGORY GRID ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.cat-card { background: #fff; border-radius: 10px; padding: 36px 24px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; border-top: 4px solid #48cae4; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.cat-card .icon { font-size: 40px; margin-bottom: 14px; }
.cat-card h3 { font-size: 18px; margin-bottom: 8px; color: #023e8a; }
.cat-card p { font-size: 14px; color: #64748b; margin-bottom: 16px; }
.cat-card .link { font-weight: 600; font-size: 14px; }

/* ===== FEATURES ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-box { background: #fff; border-radius: 10px; padding: 30px 24px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.feature-box h4 { color: #0077b6; font-size: 17px; margin-bottom: 8px; }
.feature-box p { font-size: 14px; color: #64748b; }

/* ===== PRODUCT GRID ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-bar button { padding: 8px 20px; border: 2px solid #cbd5e1; background: #fff; border-radius: 30px; cursor: pointer; font-weight: 600; font-size: 14px; color: #475569; transition: 0.2s; }
.filter-bar button:hover, .filter-bar button.active { background: #0077b6; color: #fff; border-color: #0077b6; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.product-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); }
.product-card .img-wrap { background: #f1f5f9; height: 220px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 13px; text-align: center; padding: 16px; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.product-card .info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card .info h3 { font-size: 16px; margin-bottom: 6px; color: #023e8a; }
.product-card .info .model { font-size: 13px; color: #94a3b8; margin-bottom: 10px; }
.product-card .info .spec { font-size: 13px; color: #475569; margin-bottom: 14px; flex: 1; }
.product-card .info .spec span { display: block; margin-bottom: 3px; }
.product-card .info .cta { font-weight: 700; font-size: 14px; }

/* ===== PRODUCT DETAIL PAGE ===== */
.breadcrumb { font-size: 14px; color: #64748b; padding: 18px 0; }
.breadcrumb a { color: #0077b6; }
.breadcrumb span { margin: 0 6px; }
.detail-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 30px 0 60px; align-items: start; }
.detail-gallery { background: #f1f5f9; border-radius: 10px; min-height: 420px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 14px; text-align: center; padding: 20px; }
.detail-gallery img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.detail-info h1 { font-size: 28px; color: #023e8a; margin-bottom: 6px; }
.detail-info .model-tag { display: inline-block; background: #e0f2fe; color: #0077b6; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 20px; margin-bottom: 18px; }
.detail-info .summary { font-size: 15px; color: #475569; margin-bottom: 22px; line-height: 1.7; }
.detail-info .btn-primary { display: inline-block; background: #0077b6; color: #fff; padding: 13px 34px; border-radius: 6px; font-weight: 700; font-size: 15px; transition: 0.2s; }
.detail-info .btn-primary:hover { background: #023e8a; color: #fff; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid #e2e8f0; padding: 10px 14px; text-align: left; }
.spec-table th { background: #f8fafc; color: #023e8a; width: 42%; font-weight: 600; }
.detail-section { padding: 40px 0; }
.detail-section h2 { font-size: 22px; color: #023e8a; margin-bottom: 16px; }
.check-list { list-style: none; }
.check-list li { padding: 8px 0 8px 28px; position: relative; font-size: 15px; color: #475569; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #48cae4; font-weight: 800; }

/* ===== ABOUT PAGE ===== */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content p { margin-bottom: 18px; font-size: 16px; color: #475569; }
.about-content h3 { color: #023e8a; margin: 28px 0 12px; font-size: 20px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 900px; margin: 0 auto; }
.contact-info h3 { color: #023e8a; margin-bottom: 16px; font-size: 20px; }
.contact-info p { margin-bottom: 10px; font-size: 15px; color: #475569; }
.contact-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; margin-top: 16px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 14px; font-family: inherit; }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form button { margin-top: 20px; background: #0077b6; color: #fff; border: none; padding: 12px 36px; border-radius: 6px; font-weight: 700; font-size: 15px; cursor: pointer; }
.contact-form button:hover { background: #023e8a; }

/* ===== FOOTER ===== */
footer { background: #0f172a; color: #94a3b8; padding: 40px 0 24px; text-align: center; font-size: 14px; }
footer a { color: #48cae4; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 30px; }
    .header-inner { flex-direction: column; gap: 12px; }
    nav ul { gap: 18px; flex-wrap: wrap; justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .btn-outline { margin-left: 0; margin-top: 10px; }
    .detail-wrap { grid-template-columns: 1fr; gap: 28px; }
    .detail-gallery { min-height: 300px; }
}