/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a1a2e; line-height: 1.7; background: #fff; }
a { color: #1a56db; text-decoration: none; transition: 0.2s; }
a:hover { color: #0d3d9e; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== TOP BAR ===== */
.top-bar { background: #1a1a2e; color: #aab; font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar span { margin-right: 20px; }
@media (max-width: 768px) { .top-bar .container { flex-direction: column; text-align: center; } }

/* ===== HEADER ===== */
.header { background: #fff; border-bottom: 1px solid #e8e8e8; position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: #1a1a2e; }
.logo:hover { color: #1a56db; }
.logo-icon { font-size: 28px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; font-size: 14px; font-weight: 500; color: #444; border-radius: 6px; }
.nav a:hover, .nav a.active { color: #1a56db; background: #eef3ff; }
.btn-nav-cta { background: #1a56db !important; color: #fff !important; padding: 10px 20px !important; border-radius: 8px !important; font-weight: 600 !important; }
.btn-nav-cta:hover { background: #0d3d9e !important; color: #fff !important; }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; padding: 8px; }
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid #e8e8e8; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
    .nav.open { display: flex; }
    .nav a { width: 100%; }
}

/* ===== FLASH ===== */
.flash-container { max-width: 1200px; margin: 12px auto 0; padding: 0 20px; }
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 8px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; animation: slideDown .3s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.flash-success { background: #e6f7ee; color: #0d6832; border: 1px solid #b7e4c7; }
.flash-danger { background: #fde8e8; color: #b91c1c; border: 1px solid #f8b4b4; }
.flash-info { background: #e8f0fe; color: #174ea6; border: 1px solid #c6dafc; }
.flash-close { background: none; border: none; font-size: 20px; cursor: pointer; opacity: .5; }

/* ===== HERO ===== */
.hero { padding: 80px 0 60px; background: linear-gradient(135deg, #0f1724 0%, #1a2a4a 100%); color: #fff; text-align: center; }
.hero h1 { font-size: clamp(28px, 4vw, 52px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero p { font-size: clamp(16px, 2vw, 20px); color: #aab; max-width: 700px; margin: 0 auto 32px; line-height: 1.6; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; transition: all .2s; border: none; cursor: pointer; }
.btn-primary { background: #1a56db; color: #fff; }
.btn-primary:hover { background: #0d3d9e; transform: translateY(-1px); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-outline { background: transparent; color: #1a56db; border: 2px solid #1a56db; }
.btn-outline:hover { background: #1a56db; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ===== SECTIONS ===== */
.section { padding: 60px 0; }
.section-alt { background: #f8f9fc; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 8px; }
.section-title p { color: #666; font-size: 16px; max-width: 600px; margin: 0 auto; }

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 992px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .grid-4 { grid-template-columns: 1fr; } }

/* ===== PRODUCT CARD ===== */
.product-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: all .25s; border: 1px solid #eee; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.product-card-image { height: 240px; overflow: hidden; background: #f5f5f5; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-body { padding: 16px; }
.product-card-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.product-card-body .subtitle { font-size: 13px; color: #666; margin-bottom: 8px; }
.product-card-body .meta { font-size: 12px; color: #999; }
.product-card-body .price { font-size: 14px; font-weight: 600; color: #1a56db; }

/* ===== CATEGORY GRID ===== */
.category-card { background: #fff; border-radius: 12px; padding: 24px; text-align: center; border: 1px solid #eee; transition: .25s; }
.category-card:hover { border-color: #1a56db; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(26,86,219,.1); }
.category-card .icon { font-size: 40px; margin-bottom: 12px; }
.category-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.category-card p { font-size: 13px; color: #666; }

/* ===== KEYWORD LINKS (SEO coverage) ===== */
.keyword-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.keyword-links a { display: inline-block; padding: 10px 18px; background: #fff; border: 1px solid #ddd; border-radius: 50px; font-size: 14px; font-weight: 500; color: #1a56db; text-decoration: none; transition: .2s; }
.keyword-links a:hover { background: #1a56db; color: #fff; border-color: #1a56db; transform: translateY(-1px); }

/* ===== PAGE HEADER ===== */
.page-header { padding: 40px 0; background: #f8f9fc; border-bottom: 1px solid #eee; }
.page-header h1 { font-size: 32px; font-weight: 700; }
.page-header p { color: #666; margin-top: 8px; }

/* ===== CONTENT ===== */
.content-area { padding: 40px 0; }
.content-area .rich-text { max-width: 800px; line-height: 1.8; font-size: 16px; }
.content-area .rich-text h2 { font-size: 24px; margin: 32px 0 12px; }
.content-area .rich-text h3 { font-size: 20px; margin: 24px 0 8px; }
.content-area .rich-text p { margin-bottom: 16px; }
.content-area .rich-text ul { margin: 12px 0; padding-left: 20px; }
.content-area .rich-text li { margin-bottom: 8px; }

/* ===== FORM ===== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; transition: .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #1a56db; outline: none; box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 576px) { .form-row { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
.footer { background: #0f1724; color: #aab; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; color: #aab; font-size: 14px; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; margin-bottom: 4px; line-height: 1.6; }
.footer-note { margin-top: 12px; font-size: 13px; color: #889; }
.footer-bottom { border-top: 1px solid #1e2a3a; padding: 20px 0; margin-top: 40px; text-align: center; font-size: 13px; }
.footer-bottom a { color: #668; }

/* ===== PROCESS STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 24px; }
.step .num { width: 48px; height: 48px; background: #1a56db; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin: 0 auto 12px; }
.step h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 13px; color: #666; }

/* ===== STATS ===== */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 576px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-item .num { font-size: 32px; font-weight: 800; color: #1a56db; }
.stat-item .label { font-size: 14px; color: #666; margin-top: 4px; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; }
.pagination .current { background: #1a56db; color: #fff; border-color: #1a56db; }
.pagination a:hover { background: #eef3ff; }

/* ===== PRODUCT DETAIL ===== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .product-detail-grid { grid-template-columns: 1fr; } }
.product-gallery .main-image { width: 100%; height: 400px; object-fit: cover; border-radius: 12px; background: #f5f5f5; }
.product-gallery .thumbnails { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.product-gallery .thumbnails img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.product-gallery .thumbnails img.active { border-color: #1a56db; }
.product-info h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.product-info .subtitle { font-size: 16px; color: #666; margin-bottom: 16px; }
.product-info .meta-row { display: flex; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.product-info .meta-item { font-size: 13px; }
.product-info .meta-item strong { display: block; font-size: 14px; color: #1a1a2e; }
.product-info .description { font-size: 15px; line-height: 1.7; color: #444; }
.product-info .btn { margin-top: 16px; }

/* ===== INQUIRY TABLE (ADMIN) ===== */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eee; }
th { background: #f8f9fc; font-weight: 600; color: #555; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
tr:hover { background: #f5f7fa; }

/* ===== BADGE ===== */
.badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-new { background: #fef3cd; color: #856404; }
.badge-won { background: #d1fae5; color: #065f46; }
.badge-read { background: #e8f0fe; color: #174ea6; }
.badge-replied { background: #e6f7ee; color: #0d6832; }
.badge-closed { background: #f1f3f4; color: #5f6368; }

/* ===== ADMIN SIDEBAR ===== */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: #1a1a2e; color: #eee; padding: 20px 0; flex-shrink: 0; }
.admin-sidebar .brand { font-size: 16px; font-weight: bold; padding: 0 20px 16px; border-bottom: 1px solid #333; margin-bottom: 8px; }
.admin-sidebar nav a { display: block; padding: 10px 20px; color: #ccc; font-size: 13px; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: #16213e; color: #fff; }
.admin-main { flex: 1; padding: 24px; background: #f5f5f5; overflow-x: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.admin-header h1 { font-size: 22px; font-weight: 600; }

/* ===== STAT CARDS ===== */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.stat-card .num { font-size: 28px; font-weight: 700; }
.stat-card .label { font-size: 13px; color: #666; margin-top: 4px; }

/* ===== MISC ===== */
.card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); margin-bottom: 16px; }
.card h2 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.flex { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-muted { color: #666; font-size: 13px; }
.empty-state { text-align: center; padding: 60px 20px; color: #999; }
.empty-state .icon { font-size: 48px; margin-bottom: 12px; }
.hero-badge { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 16px; background: rgba(255,255,255,.1); color: #aab; border: 1px solid rgba(255,255,255,.2); }
.hero-features { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero-feature { font-size: 15px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 6px; }
.hero-feature::before { content: "✓"; color: #34d399; font-weight: 800; }

/* ===== TRUST BADGES ===== */
.trust-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.trust-badge { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #f8f9fc; border-radius: 8px; border: 1px solid #eee; }
.trust-badge .trust-icon { font-size: 28px; flex-shrink: 0; }
.trust-badge strong { display: block; font-size: 13px; font-weight: 600; color: #1a1a2e; }
.trust-badge span { display: block; font-size: 11px; color: #888; }

/* ===== CASE STUDY CARD ===== */
.case-study-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); border: 1px solid #eee; transition: all .25s; }
.case-study-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.case-study-image { height: 200px; overflow: hidden; background: #f5f5f5; }
.case-study-image img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.case-study-card:hover .case-study-image img { transform: scale(1.05); }
.case-study-body { padding: 20px; }
.case-study-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.case-study-body .client { font-size: 13px; color: #1a56db; margin-bottom: 4px; }
.case-study-body .location { font-size: 13px; color: #666; margin-bottom: 4px; }
.case-study-body .meta { font-size: 12px; color: #999; margin-bottom: 8px; }
.case-study-body p { font-size: 13px; color: #555; line-height: 1.6; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 12px 0; font-size: 13px; color: #888; }
.breadcrumb a { color: #1a56db; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: #ccc; }

/* ===== SPEC TABLE ===== */
.spec-table { margin: 24px 0; }
.spec-table h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.spec-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; }
.spec-table td:first-child { font-weight: 600; color: #555; width: 35%; background: #fafbfc; }
.spec-table tr:last-child td { border-bottom: none; }
.imperial { color: #999; font-size: 12px; font-weight: 400; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 120px; margin: 24px 0; }
.timeline::before { content: ''; position: absolute; left: 55px; top: 0; bottom: 0; width: 2px; background: #e0e7ff; }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-year { position: absolute; left: -120px; width: 90px; text-align: right; font-size: 14px; font-weight: 700; color: #1a56db; }
.timeline-year::after { content: ''; position: absolute; right: -22px; top: 4px; width: 12px; height: 12px; background: #1a56db; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px #1a56db; }
.timeline-content { background: #f8f9fc; padding: 16px 20px; border-radius: 8px; border: 1px solid #eee; }
.timeline-content h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.timeline-content p { font-size: 13px; color: #666; line-height: 1.6; margin: 0; }
@media (max-width: 576px) {
    .timeline { padding-left: 80px; }
    .timeline-year { left: -80px; width: 60px; font-size: 12px; }
}

/* ===== FLOATING QUOTE BUTTON ===== */
.float-quote-btn { position: fixed; bottom: 24px; right: 24px; z-index: 999; background: #1a56db; color: #fff; padding: 14px 24px; border-radius: 50px; font-size: 15px; font-weight: 600; box-shadow: 0 4px 16px rgba(26,86,219,.3); transition: all .25s; display: flex; align-items: center; gap: 8px; }
.float-quote-btn:hover { background: #0d3d9e; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,86,219,.4); color: #fff; }
@media (max-width: 576px) { .float-quote-btn { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 14px; } }

/* ===== SHIPPING USA ===== */
.shipping-usa { display: flex; gap: 20px; background: #f0f7ff; border-radius: 12px; padding: 24px; margin: 40px 0; align-items: flex-start; }
.shipping-usa-icon { font-size: 48px; flex-shrink: 0; }
.shipping-usa h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.shipping-usa p { font-size: 14px; line-height: 1.7; color: #444; }

/* ===== FAQ ===== */
.faq-group { margin-bottom: 32px; }
.faq-group-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #1a56db; }
.faq-item { margin-bottom: 12px; padding: 16px 20px; background: #f8f9fc; border-radius: 8px; border: 1px solid #eee; }
.faq-q { font-size: 15px; margin-bottom: 6px; color: #1a1a2e; }
.faq-a { font-size: 14px; line-height: 1.7; color: #555; }

/* ===== SERVICE TIER ===== */
.service-tier { display: flex; flex-direction: column; }
.price-tag { font-size: 13px; font-weight: 600; color: #1a56db; margin-bottom: 12px; padding: 4px 10px; background: #eef3ff; border-radius: 4px; display: inline-block; }
.service-features { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.service-features li { font-size: 13px; color: #444; padding: 4px 0; border-bottom: 1px solid #f5f5f5; }

/* ===== PRODUCT CARD WRAPPER ===== */
.product-card-wrapper { display: flex; flex-direction: column; }
.product-card-wrapper .product-card { flex: 1; }
.product-card-footer { padding: 8px 0 0; }
.product-card-footer .btn { font-size: 13px; padding: 10px; }
