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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8f9ff;
    color: #1e1b4b;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

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

/* 导航 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99,102,241,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 30px rgba(99,102,241,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    color: #312e81;
}

.logo-icon {
    width: 36px;
    height: 36px;
}

.logo-text {
    display: inline;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4338ca;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #6366f1;
    border-bottom-color: #6366f1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #4338ca;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(99,102,241,0.3) 0%, transparent 50%);
    animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    color: #fff;
}

.hero-logo {
    width: 240px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.1));
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: #fff;
    color: #6366f1;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* 分类区 */
.sections {
    padding: 80px 0 40px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 60px;
}

.category-chip {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid #e0e7ff;
    background: #fff;
    color: #4338ca;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.category-chip:hover {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

/* 页面卡片 */
.page-section {
    padding: 60px 0;
}

.page-section:nth-child(even) {
    background: #f1f5f9;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.page-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(99,102,241,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(99,102,241,0.05);
    display: flex;
    flex-direction: column;
}

.page-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(99,102,241,0.15);
    border-color: rgba(99,102,241,0.2);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.page-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e1b4b;
}

.page-card p {
    font-size: 0.95rem;
    color: #6b7280;
    flex: 1;
    margin-bottom: 16px;
}

.page-card .btn {
    align-self: flex-start;
}

.empty-hint {
    grid-column: 1 / -1;
    text-align: center;
    color: #9ca3af;
    padding: 40px 0;
    font-style: italic;
}

/* 关于 */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.about-section .section-title {
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.about-text {
    flex: 1;
    min-width: 280px;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.about-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item span:last-child {
    font-size: 1rem;
    opacity: 0.8;
}

/* 联系 */
.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 280px;
    background: #f8f9ff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(99,102,241,0.05);
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: #4338ca;
}

.contact-form {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #f8f9ff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
}

/* 底部 */
.footer {
    background: #1e1b4b;
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-copy {
    font-size: 0.9rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s ease;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-bottom: 1px solid rgba(99,102,241,0.1);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 0;
    }

    .hamburger {
        display: flex;
    }

    .logo-text {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-logo {
        width: 180px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}