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

:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-bg: #eef2ff;
    --text: #1f2937;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --bg: #f9fafb;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
    --shadow-lg: 0 4px 16px rgba(0,0,0,.08), 0 8px 32px rgba(0,0,0,.06);
    --radius: 16px;
    --transition: all .3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

/* ===== Top Navbar ===== */
.top-navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 20px;
}

.top-navbar-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.navbar-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-links a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.navbar-links a:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.navbar-links a.active {
    color: #ff6a00 !important;
    background: #fff7ed;
}

.navbar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Header ===== */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    padding: 48px 20px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    top: -60px;
    left: -60px;
}

.header::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    bottom: -100px;
    right: -80px;
}

.header h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.header p {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* ===== Container ===== */
.container {
    max-width: 800px;
    margin: -32px auto 40px;
    padding: 0 5px;
    position: relative;
    z-index: 2;
}

/* ===== Tabs ===== */
.tabs-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.tab-btn {
    flex: 1;
    padding: 16px 8px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

/* ===== Tab Content ===== */
.tab-content {
    display: none;
    padding: 32px 28px;
    animation: fadeIn .35s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== About Section ===== */
.about-section {
    animation: fadeIn .35s ease;
}

.about-hero {
    text-align: center;
    padding: 16px 0 28px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.about-logo {
    font-size: 48px;
    margin-bottom: 12px;
}

.about-hero h2 {
    font-size: 22px;
    color: var(--text);
    margin-bottom: 6px;
}

.about-tagline {
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.about-card {
    background: var(--bg);
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.about-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
}

.about-card h3 {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
}

.about-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Timeline */
.about-timeline {
    margin-bottom: 32px;
}

.about-timeline h2 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 20px;
    text-align: center;
}

.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 22px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--primary-bg);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    border-radius: 14px;
    padding: 24px 16px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.85);
    margin-top: 4px;
}

/* ===== Contact Card ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-card {
    background: var(--primary-bg);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    word-break: break-all;
}

/* ===== Form ===== */
.form-section h2,
.policy-section h2,
.agreement-section h2 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--text);
}

.form-section > p,
.policy-section > p,
.agreement-section > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 6px;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79,70,229,.35);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ===== Policy & Agreement ===== */
.policy-section h2,
.agreement-section h2 {
    font-size: 16px;
    margin-top: 22px;
    margin-bottom: 8px;
    color: var(--text);
}

.policy-section p,
.agreement-section p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.policy-section ul,
.agreement-section ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.policy-section li,
.agreement-section li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 24px 16px 40px;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #10b981;
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(16,185,129,.4);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .top-navbar {
        padding: 0 14px;
    }
    .navbar-toggle span{
        color: #555;
    }
    .top-navbar-inner {
        height: 56px;
    }

    .navbar-title {
        font-size: 16px;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
        padding: 12px;
        gap: 4px;
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-links a {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    .navbar-toggle {
        display: flex;
    }

    .header {
        padding: 36px 16px 44px;
    }

    .header h1 {
        font-size: 22px;
    }

    .header p {
        font-size: 13px;
    }

    .container {
        margin-top: -24px;
        padding: 0 12px;
    }

    .tab-content {
        padding: 24px 18px;
    }

    .tab-btn {
        font-size: 14px;
        padding: 14px 4px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 20px 14px;
    }

    .stat-number {
        font-size: 20px;
    }

    .about-hero h2 {
        font-size: 18px;
    }

    .about-logo {
        font-size: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-card {
        padding: 16px;
    }

    .btn-submit {
        font-size: 15px;
        padding: 13px;
    }
}

@media (max-width: 380px) {
    .tab-btn {
        font-size: 13px;
    }

    .tab-btn.active::after {
        left: 15%;
        width: 70%;
    }
    .navbar-toggle span{
        color: #555;
    }
}
.logo{
    width:40px;
    height:40px;
}
/* ========== 底部版权 ========== */
.site-footer {
	background: #2c2c2c;
	color: #aaa;
	padding: 24px 0 20px;
	text-align: center;
	font-size: 13px;
	line-height: 1.8;
	margin-top: 20px;
}
.site-footer .footer-inner {
	width: 95%;
	max-width: 1200px;
	margin: 0 auto;
}
.site-footer a {
	color: #aaa;
	text-decoration: none;
	transition: color .2s;
}
.site-footer a:hover { color: #ff6a00; }
.site-footer .footer-links {
	margin-bottom: 8px;
}
.site-footer .footer-links a {
	margin: 0 10px;
}
.site-footer .footer-copy {
	color: #777;
	font-size: 12px;
}
.site-footer .footer-copy a {
	color: #777;
}
/* 手机端 */
@media (max-width: 768px) {
    .navbar-toggle span{
        color: #fff;
    }
    .navbar-links a{
        color: #555;
        width: 100%;
        text-align: left;
    }
}