:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-accent: #eef4ff;
    --line: #e5eaf3;
    --text: #1f2a44;
    --muted: #6a748b;
    --primary: #2f6bff;
    --primary-soft: #e8f0ff;
    --shadow: 0 16px 40px rgba(31, 42, 68, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(47, 107, 255, 0.08), transparent 28%),
        linear-gradient(180deg, #f9fbff 0%, #f3f6fb 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    min-height: 100vh;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 16px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(229, 234, 243, 0.95);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(31, 42, 68, 0.06);
}

.brand {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #15213c;
}

.brand-subtitle {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--muted);
    transition: all 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
}

main {
    padding: 32px 0 120px;
}

.hero,
.page-banner,
.cta-panel,
.notice-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 24px;
    padding: 48px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(47, 107, 255, 0.12), transparent 68%);
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.hero h1,
.page-banner h1,
.section-heading h2,
.cta-panel h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.18;
    color: #15213c;
}

.hero p,
.page-banner p,
.info-card p,
.timeline-item p,
.tool-card p,
.notice-item p,
.contact-card p,
.cta-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 13px 22px;
    border-radius: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #2f6bff, #4f86ff);
    color: #fff;
    box-shadow: 0 12px 24px rgba(47, 107, 255, 0.18);
}

.btn-secondary {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
}

.hero-card,
.info-card,
.timeline-item,
.tool-card,
.notice-item,
.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.hero-card {
    padding: 28px;
    background: linear-gradient(180deg, #f8fbff, #f2f7ff);
}

.hero-card h2,
.info-card h3,
.timeline-item h3,
.tool-card h3,
.notice-item h3,
.contact-card h3,
.contact-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #1a2742;
}

.hero-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 2;
}

.section-grid,
.tool-grid,
.contact-layout {
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.timeline-item,
.tool-card,
.notice-item,
.contact-card {
    padding: 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover,
.timeline-item:hover,
.tool-card:hover,
.notice-item:hover,
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(31, 42, 68, 0.07);
}

.timeline-section {
    margin-top: 24px;
}

.section-heading {
    margin-bottom: 16px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.timeline-item span,
.tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 700;
}

.page-banner,
.notice-panel,
.cta-panel {
    padding: 38px;
}

.tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.text-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 600;
}

.notice-panel,
.cta-panel {
    margin-top: 24px;
}

.notice-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.notice-item {
    background: var(--surface-soft);
}

.contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card.large {
    grid-column: span 2;
    background: linear-gradient(180deg, #f7faff, #eef4ff);
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, #ffffff, #f4f8ff);
}

.site-footer {
    position: fixed;
    left: 50%;
    bottom: 12px;
    z-index: 30;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 14px 20px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(31, 42, 68, 0.08);
}

.site-footer p {
    margin: 0;
}

@media (max-width: 960px) {
    .hero,
    .section-grid,
    .timeline,
    .tool-grid,
    .notice-list,
    .contact-layout,
    .cta-panel {
        grid-template-columns: 1fr;
    }

    .hero,
    .page-banner,
    .notice-panel,
    .cta-panel {
        padding: 28px;
    }

    .contact-card.large {
        grid-column: auto;
    }

    .cta-panel {
        display: block;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
    }
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 8px;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        text-align: center;
    }

    .hero {
        padding: 24px;
    }

    .brand-subtitle {
        font-size: 0.88rem;
    }
}
