* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

a { color: inherit; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a1040 0%, #302b63 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(48, 43, 99, 0.5);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
}

.header-logo > span {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 28px;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav a:hover,
.header-nav a.active {
    color: #ff8f00;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-wechat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #07c160, #04d361);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.4);
    transition: all 0.3s;
}

.header-wechat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.6);
}

.header-wechat .hw-icon { font-size: 18px; }
.header-wechat .hw-label { opacity: 0.9; font-weight: 500; }
.header-wechat .hw-num { letter-spacing: 1px; }

.header-btn {
    background: #ff6b35;
    color: #fff;
    padding: 10px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: pulse 2s infinite;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Page hero (inner) */
.page-hero {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    padding: 60px 20px 70px;
    text-align: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 760px;
    margin: 0 auto 30px;
}

.breadcrumb {
    max-width: 1000px;
    margin: 20px auto 0;
    padding: 0 20px;
    font-size: 14px;
    color: #888;
}

.breadcrumb a {
    color: #302b63;
    text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* Article */
.article {
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.article-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.article-card h2 {
    font-size: 26px;
    color: #222;
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 5px solid #ff6b35;
}

.article-card h3 {
    font-size: 19px;
    color: #302b63;
    margin: 24px 0 10px;
}

.article-card p {
    color: #555;
    font-size: 16px;
    margin-bottom: 14px;
}

.article-card ul {
    margin: 0 0 16px 22px;
    color: #555;
}

.article-card li { margin-bottom: 8px; }

.article-card strong { color: #333; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.info-item {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 22px;
    border: 1px solid #eef0f8;
}

.info-item .info-icon { font-size: 34px; margin-bottom: 10px; }
.info-item h4 { font-size: 16px; color: #333; margin-bottom: 6px; }
.info-item p { font-size: 14px; color: #777; margin: 0; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
}

.data-table th, .data-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: #302b63;
    color: #fff;
    font-weight: 600;
}

.data-table tr:nth-child(even) td { background: #f8f9ff; }

/* Related links */
.related-links {
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.related-links h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.related-grid a {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: block;
}

.related-grid a:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
}

.related-grid .rl-title { font-size: 16px; font-weight: 700; color: #302b63; margin-bottom: 6px; }
.related-grid .rl-desc { font-size: 13px; color: #888; }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    padding: 70px 20px;
    text-align: center;
    margin: 40px 0 0;
}

.cta-section h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    margin-bottom: 34px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #ff8f00);
    color: #fff;
    padding: 16px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.7);
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 20px;
    text-align: center;
}

.footer p { margin-bottom: 10px; font-size: 14px; }

.footer .footer-links { margin-top: 15px; }

.footer .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 12px;
    font-size: 13px;
}

.footer .footer-links a:hover { color: #ff8f00; }

.register-float {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 999;
    background: linear-gradient(135deg, #ff6b35, #ff8f00);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .header-wechat { padding: 7px 12px; font-size: 13px; }
    .header-wechat .hw-label { display: none; }
    .header-btn { padding: 8px 18px; font-size: 13px; }
    .header-actions { gap: 10px; }
    .page-hero h1 { font-size: 26px; }
    .page-hero p { font-size: 16px; }
    .article-card { padding: 26px 20px; }
    .article-card h2 { font-size: 22px; }
    .cta-section h2 { font-size: 24px; }
    .register-float { right: 10px; bottom: 20px; padding: 12px 18px; font-size: 14px; }
}
