:root {
    --primary: #00A86B;
    --primary-dark: #007a4d;
    --accent: #16a085;
    --bg: #f5f8fb;
    --bg-alt: #eef4fa;
    --text: #243240;
    --muted: #5b6b7b;
    --border: #e2e8f0;
    --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 18px;
}
.brand:hover { text-decoration: none; }
.brand-logo { flex: none; width: 36px; height: 36px; }
.brand-logo--sm { width: 28px; height: 28px; }
.site-nav { display: flex; gap: 22px; }
.site-nav a {
    color: var(--muted);
    font-size: 15px;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    text-decoration: none;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 72px 0;
    text-align: center;
}
.hero-sm { padding: 48px 0; }
.hero h1 { font-size: 36px; margin: 0 0 14px; }
.hero-sub { font-size: 18px; opacity: 0.92; margin: 0 auto; max-width: 680px; }
.hero-actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.btn-primary { background: var(--white); color: var(--primary); }
.btn-primary:hover { background: #eaf2fb; text-decoration: none; }
.btn-ghost { border: 2px solid rgba(255,255,255,0.8); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); text-decoration: none; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; font-size: 28px; margin: 0 0 8px; }
.section-desc { text-align: center; color: var(--muted); margin: 0 0 36px; }

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px 22px;
    transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(26,115,199,0.12); }
.card-icon { font-size: 34px; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.feature {
    background: var(--white);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.feature strong { font-size: 17px; }
.feature span { color: var(--muted); }

.cta { text-align: center; background: var(--bg-alt); }
.cta h2 { font-size: 26px; margin: 0 0 10px; }
.cta p { color: var(--muted); margin: 0 0 22px; }

/* ---------- Article ---------- */
.article { max-width: 820px; }
.article h2 { font-size: 22px; margin: 28px 0 10px; }
.article p, .article li { color: var(--text); }
.article ul, .article ol { padding-left: 22px; }
.article-tip {
    margin-top: 18px;
    background: #fff7e6;
    border: 1px solid #ffe1a8;
    border-radius: 8px;
    padding: 14px 16px;
    color: #8a5a00 !important;
}
.service-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.service-item:first-child { padding-top: 0; }
.service-item h2 { margin: 0 0 8px; }
.service-item p { margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}
.contact-card {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.contact-card h3 { margin: 0 0 10px; color: var(--primary); }
.contact-value { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.contact-hint { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #1f2a36; color: #c9d4df; margin-top: 20px; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 20px;
}
.site-footer .brand { color: var(--white); }
.footer-note { color: #8fa0b0; margin: 6px 0 0; font-size: 14px; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: #c9d4df; font-size: 14px; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid #2c3947;
    padding-top: 16px;
    padding-bottom: 24px;
    font-size: 13px;
    color: #8fa0b0;
}
.footer-bottom a { color: #9fb4c7; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .cards, .features, .contact-grid { grid-template-columns: 1fr; }
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 10px 20px;
        gap: 4px;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 10px 0; }
    .hero h1 { font-size: 28px; }
}
