
:root {
    --primary: #0F2744;
    --secondary: #1A5276;
    --accent: #F18F01;
    --light-bg: #F5F7FA;
    --dark-text: #1E293B;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: var(--dark-text);
    line-height: 1.8;
    font-size: 16px;
    background: #fff;
}

a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--accent); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header - 深色导航栏，白字没问题因为背景够深 */
header {
    background: var(--primary);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.logo span { color: var(--accent); }

nav a {
    color: white;
    margin-left: 25px;
    font-size: 15px;
    transition: color 0.3s;
}

nav a:hover { color: var(--accent); }

.phone-top {
    color: var(--accent);
    font-size: 14px;
    font-weight: bold;
}

/* Hero Banner - 浅色背景+黑色文字 */
.hero {
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F7FF 100%);
    color: #1a1a1a;
    padding: 80px 0;
    text-align: center;
    border-bottom: 3px solid var(--accent);
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: #1a1a1a;
}

.hero p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

.hero .btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 35px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.3s;
}

.hero .btn:hover { transform: scale(1.05); color: white; }

/* Sections */
section { padding: 60px 0; }
section:nth-child(even) { background: var(--light-bg); }

.section-title {
    text-align: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
}

/* Cards Grid */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 12px;
}

.card p { color: #333; font-size: 15px; }

.card .icon {
    font-size: 36px;
    margin-bottom: 15px;
}

/* Advantages */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
}

.advantage-item {
    padding: 25px;
}

.advantage-item .num {
    font-size: 42px;
    font-weight: bold;
    color: var(--accent);
}

.advantage-item p {
    font-size: 14px;
    color: #333;
    margin-top: 8px;
}

/* Articles List */
.article-list { list-style: none; }

.article-list li {
    background: white;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-list li a {
    font-size: 16px;
    color: var(--dark-text);
    font-weight: 500;
}

.article-list li a:hover { color: var(--secondary); }

.article-list li .date { color: #999; font-size: 13px; }

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-content h1 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 15px;
}

.article-content .meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-content h2 {
    color: var(--primary);
    font-size: 20px;
    margin: 30px 0 15px;
}

.article-content p { margin-bottom: 15px; color: #333; }

.article-content ul, .article-content ol {
    margin: 15px 0 15px 25px;
}

.article-content li { margin-bottom: 8px; color: #333; }

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--accent);
}

.footer-col p, .footer-col a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 2;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 768px) {
    header .container { flex-direction: column; gap: 10px; }
    nav a { margin-left: 15px; font-size: 13px; }
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 15px; }
    .cards { grid-template-columns: 1fr; }
}

/* Service Detail */
.service-detail {
    padding: 40px 0;
}

.service-detail h2 {
    color: var(--primary);
    font-size: 22px;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid var(--accent);
}

.service-detail ul {
    list-style: none;
    padding-left: 20px;
}

.service-detail ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    color: #333;
}

.service-detail ul li::before {
    content: "✓";
    color: var(--accent);
    margin-right: 10px;
    font-weight: bold;
}

/* Contact Page */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.contact-box h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 18px;
}

.contact-box p {
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}
