/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: #1a73e8; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1557b0; }

/* ===== Header ===== */
header {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1976d2 100%);
    color: white;
    padding: 15px 0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.logo h1 { font-size: 26px; font-weight: 700; }
.logo h1 a { color: white; text-decoration: none; }
.tagline { font-size: 13px; opacity: 0.85; margin-top: 3px; }
.header-contact { display: flex; gap: 25px; align-items: center; font-size: 14px; }
.header-contact i { margin-right: 6px; }

/* ===== Navigation ===== */
.main-nav { background: #fff; border-bottom: 3px solid #1565c0; box-shadow: 0 2px 10px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 100; }
.main-nav .container { display: flex; justify-content: center; }
.main-nav ul { display: flex; list-style: none; flex-wrap: wrap; justify-content: center; }
.main-nav li { }
.main-nav a {
    display: block; padding: 14px 18px; color: #333; font-weight: 500; font-size: 15px;
    transition: all 0.2s; position: relative;
}
.main-nav a:hover { color: #1565c0; background: #f0f7ff; }
.main-nav a.home-link { color: #1565c0; font-weight: 700; }
.main-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px; background: #1565c0; transition: width 0.3s;
}
.main-nav a:hover::after { width: 100%; }

/* ===== Breadcrumb ===== */
.breadcrumb { padding: 15px 0; color: #666; font-size: 14px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.breadcrumb a { color: #1565c0; }

/* ===== Hero ===== */
.hero-section {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    color: white; padding: 80px 20px; text-align: center; border-radius: 12px; margin-bottom: 40px;
}
.hero-content h2 { font-size: 38px; font-weight: 700; margin-bottom: 15px; }
.hero-content p { font-size: 18px; opacity: 0.9; margin-bottom: 10px; }
.hero-sub { font-size: 15px !important; opacity: 0.7 !important; }
.hero-buttons { margin-top: 25px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 6px; font-weight: 600; font-size: 15px; transition: all 0.3s; cursor: pointer; text-decoration: none; }
.btn-primary { background: #ff6f00; color: white; }
.btn-primary:hover { background: #e65100; color: white; }
.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: #1565c0; }
.btn-secondary { background: transparent; border: 2px solid white; color: white; }
.btn-secondary:hover { background: white; color: #1565c0; }

/* ===== Page Content ===== */
.page-content { padding: 10px 0 40px; }
.page-content h1 { color: #0d47a1; font-size: 30px; margin-bottom: 25px; font-weight: 700; }
.page-content h2 { color: #1565c0; font-size: 22px; margin: 35px 0 15px; padding-left: 12px; border-left: 4px solid #1565c0; }
.page-content h3 { color: #333; font-size: 18px; margin: 20px 0 10px; }
.page-content p { margin-bottom: 16px; line-height: 1.85; }
.page-content ul, .page-content ol { margin: 15px 0 20px 25px; }
.page-content li { margin-bottom: 10px; }

.last-updated { background: #f0f7ff; border-left: 4px solid #1565c0; padding: 8px 15px; margin-bottom: 30px; font-size: 14px; color: #666; border-radius: 0 6px 6px 0; }
.content-article { max-width: 800px; }

/* ===== Product Grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin: 30px 0; }
.product-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 24px;
    transition: all 0.3s; position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); border-color: #1565c0; }
.product-card h3 { color: #0d47a1; font-size: 18px; margin-bottom: 10px; }
.product-card p { font-size: 14px; color: #666; }

/* ===== Article List ===== */
.article-list { margin: 25px 0; }
.article-item { border-bottom: 1px solid #eee; padding: 20px 0; transition: background 0.2s; }
.article-item:hover { background: #fafafa; }
.article-item:last-child { border-bottom: none; }
.article-item h3 { margin-bottom: 6px; }
.article-item h3 a { color: #1565c0; font-size: 17px; }
.article-item h3 a:hover { color: #0d47a1; }
.article-meta { color: #999; font-size: 13px; }
.article-excerpt { color: #666; font-size: 14px; margin-top: 8px; }

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
    color: white; padding: 50px 20px; text-align: center; margin-top: 40px;
}
.cta-section h2 { font-size: 26px; margin-bottom: 10px; }
.cta-section p { font-size: 16px; opacity: 0.9; margin-bottom: 20px; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary { background: white; color: #ff6f00; }
.cta-section .btn-primary:hover { background: #fff3e0; }
.cta-section .btn-secondary { border-color: white; color: white; }
.cta-section .btn-secondary:hover { background: white; color: #ff6f00; }

/* ===== Footer ===== */
footer { background: #1a1a2e; color: #ccc; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 35px; }
.footer-col h3 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer-col p, .footer-col li { font-size: 14px; margin-bottom: 10px; line-height: 1.7; }
.footer-col a { color: #aaa; }
.footer-col a:hover { color: #fff; }
.footer-col ul { list-style: none; }
.footer-icp { font-size: 12px !important; color: #777 !important; margin-top: 15px; }
.footer-update { font-size: 12px !important; color: #777 !important; }
.footer-bottom { text-align: center; margin-top: 35px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: #777; }

/* ===== Side Contact ===== */
.side-contact { position: fixed; right: 20px; bottom: 100px; display: flex; flex-direction: column; gap: 10px; z-index: 99; }
.side-contact a {
    width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: transform 0.2s;
}
.side-contact a:hover { transform: scale(1.1); }
.side-phone { background: #4caf50; }
.side-message { background: #1565c0; }
.side-top { background: #666; }

/* ===== FAQ Section ===== */
.faq-section { margin: 40px 0; }
.faq-item { border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-question { background: #f5f8ff; padding: 15px 20px; font-weight: 600; cursor: pointer; font-size: 16px; color: #1565c0; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { padding: 15px 20px; display: none; line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; text-align: center; }
    .header-contact { flex-direction: column; gap: 8px; }
    .hero-section { padding: 50px 15px; }
    .hero-content h2 { font-size: 26px; }
    .main-nav a { padding: 10px 12px; font-size: 13px; }
    .product-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .side-contact { right: 10px; bottom: 70px; }
    .side-contact a { width: 38px; height: 38px; font-size: 15px; }
}
/* Fix for navigation layout */
.main-nav ul { 
    display: flex; 
    list-style: none; 
    flex-wrap: wrap; 
    justify-content: center; 
    margin: 0; 
    padding: 0;
}
.main-nav li { margin: 0; }
.main-nav a { 
    display: block; 
    padding: 14px 18px; 
    color: #333; 
    font-weight: 500; 
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s; 
    position: relative;
}
.main-nav a:hover { 
    color: #1565c0; 
    background: #f0f7ff; 
}
.main-nav a.active { 
    color: #1565c0; 
    font-weight: 700;
}

/* Fix for main content area */
main { 
    min-height: 500px; 
    padding: 30px 0; 
    background: #fff; 
    margin: 0 auto;
}
.page-content { 
    padding: 20px 0 40px; 
    max-width: 1200px; 
    margin: 0 auto;
}

/* Fix for hero section */
.hero-section {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    color: white; 
    padding: 60px 20px; 
    text-align: center; 
    border-radius: 12px; 
    margin: 0 auto 40px;
    max-width: 1200px;
}

/* Fix for footer */
footer { 
    background: #1a1a2e; 
    color: #ccc; 
    padding: 50px 0 20px; 
    margin-top: 50px;
}
.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 35px; 
    max-width: 1200px; 
    margin: 0 auto;
}

/* Fix for side contact buttons */
.side-contact { 
    position: fixed; 
    right: 20px; 
    bottom: 100px; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    z-index: 1000;
}

/* Content Table */
.content-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 20px 0; 
    font-size: 14px;
    border: 1px solid #ddd;
}
.content-table th { 
    background: #1565c0; 
    color: white; 
    padding: 10px 12px; 
    text-align: left; 
    font-weight: 600;
}
.content-table td { 
    padding: 10px 12px; 
    border-bottom: 1px solid #eee; 
    border-right: 1px solid #eee;
}
.content-table tr:hover td { 
    background: #f5f8ff; 
}
.content-table thead tr:hover th {
    background: #1565c0;
}