* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 10% 20%, #0a0c1a, #020308);
    color: #f0f3ff;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #11141f; border-radius: 10px; }
::-webkit-scrollbar-thumb { background: #4f46e5; border-radius: 10px; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
a { color: inherit; text-decoration: none; }
.logo-link { color: inherit; }

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 12px;
    border-bottom: 1px solid rgba(79, 70, 229, 0.3);
    flex-wrap: wrap;
    gap: 16px;
}
.logo-area h1 {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.logo-area h1 .nengliansong {
    font-family: '宋体', SimSun, serif;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-area h1 i { font-size: 2rem; color: #c084fc; background: none; -webkit-background-clip: unset; }
.logo-sub { font-size: 0.75rem; letter-spacing: 1px; color: #9ca3af; margin-top: 6px; }
.logo-sub span { color: #a78bfa; }
.login-area { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-login, .btn-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(139, 92, 246, 0.6);
    padding: 10px 24px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #e2e8ff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    cursor: pointer;
}
.btn-login:hover, .btn-outline:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: #a78bfa;
    transform: scale(1.02);
}

.nav-bar {
    margin: 18px 0 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    background: rgba(10, 14, 28, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 80px;
    padding: 10px 32px;
    border: 1px solid rgba(79, 70, 229, 0.3);
}
.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 0;
    color: #d9e2ff;
    transition: 0.2s;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.nav-item i { margin-bottom: 2px; color: #8b5cf6; }
.nav-item .nav-cn { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.nav-item:hover { color: #fff; text-shadow: 0 0 6px #a78bfa; }

.hero { margin: 40px 0 20px; text-align: center; }
.hero-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.18);
    border-radius: 60px;
    padding: 6px 18px;
    font-size: 0.75rem;
    margin-bottom: 20px;
    border: 1px solid rgba(167, 139, 250, 0.4);
}
.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(125deg, #fff 30%, #c4b5fd 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}
.hero-sub { font-size: 1.1rem; color: #b9c2e6; max-width: 760px; margin: 20px auto 0; }
.btn-primary, .btn-awaken {
    margin-top: 24px;
    background: linear-gradient(95deg, #4f46e5, #7c3aed);
    border: none;
    padding: 14px 38px;
    border-radius: 48px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}
.btn-primary:hover, .btn-awaken:hover {
    transform: translateY(-3px);
    background: linear-gradient(95deg, #6366f1, #8b5cf6);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 60px 0 50px;
}
.stat-card {
    background: rgba(15, 20, 35, 0.55);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 1.5rem 1.2rem;
    border: 1px solid rgba(139, 92, 246, 0.35);
    text-align: center;
    transition: 0.25s;
}
.stat-card:hover { border-color: #8b5cf6; transform: translateY(-6px); }
.stat-icon { font-size: 2.2rem; color: #a78bfa; margin-bottom: 12px; }
.stat-value {
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(145deg, #f0f3ff, #c7d2fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label { font-size: 0.9rem; color: #b4c0f0; margin-top: 8px; }
.trend { margin-top: 8px; font-size: 0.8rem; color: #34d399; display: flex; align-items: center; justify-content: center; gap: 6px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin: 40px 0 60px;
}
.service-card {
    background: rgba(12, 16, 30, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 1.6rem;
    border: 1px solid rgba(79, 70, 229, 0.3);
    transition: 0.3s;
    scroll-margin-top: 100px;
}
.service-card:hover { border-color: #a78bfa; transform: translateY(-6px); }
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(139, 92, 246, 0.4);
    padding-bottom: 12px;
}
.card-header i { font-size: 2rem; color: #c084fc; }
.card-header h3 { font-size: 1.3rem; font-weight: 700; }
.card-content { font-size: 0.9rem; color: #ccd6f6; }
.metric-row { display: flex; justify-content: space-between; margin: 10px 0; align-items: baseline; }
.progress-bar-bg { background: #1f253f; border-radius: 20px; height: 8px; overflow: hidden; margin: 8px 0; }
.progress-fill { background: linear-gradient(90deg, #8b5cf6, #c084fc); height: 100%; border-radius: 20px; }
.chip {
    background: rgba(139, 92, 246, 0.2);
    border-radius: 40px;
    padding: 4px 12px;
    font-size: 0.7rem;
    display: inline-block;
    margin-top: 12px;
}
.small-btn {
    background: transparent;
    border: 1px solid #6c63ff;
    border-radius: 40px;
    padding: 6px 16px;
    font-size: 0.75rem;
    color: #c4b5fd;
    margin-top: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}
.small-btn:hover { background: #4f46e5; color: #fff; }
.quote-preview {
    margin-top: 14px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 10px;
    font-size: 0.8rem;
    border-left: 3px solid #a78bfa;
}
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
.badge-grade {
    font-weight: 800;
    background: #4f46e5;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
}

.card-glossy {
    background: rgba(12, 16, 30, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    border: 1px solid rgba(79, 70, 229, 0.35);
    padding: 1.8rem;
    margin-bottom: 32px;
}
.card-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: #e9d5ff; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; color: #b9c2e6; }
.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.5);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
}
.form-group input:focus { outline: none; border-color: #f5b042; }
.alert { padding: 0.75rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-error { background: rgba(239, 68, 68, 0.2); border: 1px solid #f87171; color: #fecaca; }
.alert-success { background: rgba(34, 197, 94, 0.2); border: 1px solid #4ade80; color: #bbf7d0; }
.auth-box { max-width: 420px; margin: 40px auto; }

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}
.course-card-item {
    background: rgba(12, 16, 30, 0.65);
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(79, 70, 229, 0.35);
}
.course-price { font-size: 1.4rem; font-weight: 800; color: #f5b042; margin: 0.5rem 0; }
.cart-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 14, 28, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.link-accent { color: #c084fc; }
.link-accent:hover { color: #e9d5ff; }

.footer {
    margin-top: 50px;
    padding: 30px 0 40px;
    border-top: 1px solid rgba(79, 70, 229, 0.3);
    text-align: center;
    font-size: 0.8rem;
    color: #7e8bb6;
}

@media (max-width: 880px) {
    .container { padding: 0 20px; }
    .nav-bar { border-radius: 40px; padding: 12px 20px; }
}
@media (max-width: 760px) {
    .hero h2 { font-size: 2.2rem; }
    .services-grid, .course-grid { grid-template-columns: 1fr; }
    .page { padding: 1rem; }
}
