/* ===== SEO & 无障碍访问样式 ===== */

/* 跳转链接（无障碍访问） */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* 视觉隐藏（屏幕阅读器可见） */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 面包屑导航样式 */
.breadcrumb {
    background: var(--bg-light);
    padding: 10px 5%;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: var(--text-light);
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb li:last-child {
    color: var(--text-light);
}

/* 焦点样式增强 */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #000;
        --text-color: #000;
        --text-light: #333;
    }
}

/* 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 打印样式优化 */
@media print {
    .header,
    .breadcrumb,
    .back-to-top,
    .hamburger,
    .hero-buttons,
    .contact-form,
    .social-links,
    .footer-social,
    .qrcode,
    .float-consult,
    .consult-popup,
    .scroll-tip,
    .promo-banner,
    .live-activity {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .hero {
        background: #f0f0f0 !important;
        color: #000 !important;
        min-height: auto;
        padding: 20px;
    }
    
    .hero h1 {
        color: #000;
        text-shadow: none;
    }
    
    a {
        text-decoration: underline;
    }
    
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5f7a;
    --primary-dark: #134b61;
    --secondary-color: #57c5b6;
    --accent-color: #159895;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== 限时优惠横幅 ===== */
.promo-banner {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: white;
    padding: 12px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.promo-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.promo-icon {
    font-size: 1.5rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.promo-text {
    font-size: 0.95rem;
}

.promo-text strong {
    font-size: 1.1rem;
}

.promo-btn {
    background: white;
    color: #ff6b6b;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.promo-close {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
}

.promo-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* 当横幅显示时，调整导航栏位置 */
body.has-promo-banner .header {
    top: 48px;
}

body.has-promo-banner .promo-banner.hidden + .header {
    top: 0;
}

/* 横幅隐藏样式 */
.promo-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* ===== 导航栏 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(26, 95, 122, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* 导航下拉菜单 */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* 导航按钮样式 */
.btn-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 25px;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 95, 122, 0.3);
}

.btn-nav::after {
    display: none;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 120px 20px 50px;
    position: relative;
    overflow: hidden;
}

/* 粒子背景画布 */
#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.95;
}

/* ===== 招生倒计时 ===== */
.countdown-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 40px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.countdown-title i {
    margin-right: 8px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.countdown {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #57c5b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* ===== 信任徽章 ===== */
.trust-badges {
    background: var(--bg-light);
    padding: 25px 0;
    overflow: hidden;
    border-bottom: 1px solid #e9ecef;
}

.badges-scroll {
    display: flex;
    gap: 40px;
    animation: scrollBadges 20s linear infinite;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes scrollBadges {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
    white-space: nowrap;
    transition: var(--transition);
}

.badge-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.badge-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.badge-item span {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* ===== Section Title ===== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.feature span {
    font-weight: 600;
    color: var(--text-color);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    z-index: -1;
}

/* ===== 数据可视化 ===== */
.data-visualization {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.data-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.data-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.data-chart {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.circle-chart {
    transform: rotate(-90deg);
}

.chart-circle {
    animation: fillCircle 2s ease-out forwards;
}

@keyframes fillCircle {
    from {
        stroke-dashoffset: 276.46;
    }
}

.chart-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.data-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

/* ===== News Section ===== */
.news {
    padding: 100px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.news-card.featured .news-image {
    position: relative;
    height: 200px;
}

.news-card.featured .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-image {
    position: relative;
}

.news-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.news-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 0;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-cards {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc(33.333% - 20px);
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

.student-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-info h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.university {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.university i {
    margin-right: 5px;
}

.score-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.score-before {
    color: var(--text-light);
    text-decoration: line-through;
}

.score-badge i {
    color: var(--secondary-color);
}

.score-after {
    color: var(--primary-color);
    font-weight: 700;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.year {
    font-size: 0.85rem;
    color: var(--text-light);
}

.rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-light);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* ===== 学员实时动态 ===== */
.live-activity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50px;
    animation: fadeInUp 0.5s ease;
}

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

.activity-icon {
    position: relative;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
    opacity: 0.3;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.activity-text {
    font-size: 0.95rem;
    color: var(--text-color);
}

.activity-text strong {
    color: var(--primary-color);
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 100px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 95, 122, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.info-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--error-color);
}

.form-group input.success,
.form-group textarea.success {
    border-color: var(--success-color);
}

.error-message {
    display: block;
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.form-group textarea {
    resize: vertical;
}

.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #d4edda;
    color: var(--success-color);
    border-radius: 10px;
    margin-top: 15px;
    animation: fadeIn 0.3s ease;
}

.form-success.show {
    display: flex;
}

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

/* ===== Partners Section ===== */
.partners {
    padding: 60px 0;
    background: white;
    border-top: 1px solid #e9ecef;
}

.partners-title {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.partner-logo {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.partner-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    opacity: 0.9;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.qrcode {
    text-align: center;
}

.qrcode img {
    margin: 0 auto 10px;
    border-radius: 10px;
}

.qrcode p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===== 浮动咨询按钮 ===== */
.float-consult {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
}

.consult-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.consult-btn i {
    font-size: 1.5rem;
}

.consult-btn .btn-label {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.consult-btn:hover .btn-label {
    opacity: 1;
    visibility: visible;
}

.consult-btn:hover {
    transform: scale(1.1);
}

.wechat-btn {
    background: #07c160;
    color: white;
}

.wechat-btn:hover {
    background: #06ad56;
}

.phone-btn {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.phone-btn:hover {
    background: var(--primary-dark);
}

.wechat-qr {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.wechat-qr.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wechat-qr img {
    border-radius: 10px;
}

.wechat-qr p {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-color);
}

/* ===== 在线咨询弹窗 ===== */
.consult-popup {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.consult-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    max-width: 280px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.popup-close:hover {
    color: var(--text-color);
    transform: rotate(90deg);
}

.popup-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.popup-icon i {
    font-size: 1.8rem;
    color: white;
}

.popup-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.popup-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-btn {
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.popup-btn.primary {
    background: #07c160;
    color: white;
    border: none;
}

.popup-btn.primary:hover {
    background: #06ad56;
}

.popup-btn.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.popup-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== 滚动触发提示条 ===== */
.scroll-tip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 15px 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    z-index: 997;
}

.scroll-tip.show {
    transform: translateY(0);
}

.scroll-tip-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.tip-icon {
    font-size: 1.5rem;
}

.tip-text {
    font-size: 0.95rem;
}

.tip-btn {
    background: white;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tip-btn:hover {
    transform: scale(1.05);
}

.tip-close {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
}

.tip-close:hover {
    opacity: 1;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-image::before {
        display: none;
    }

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

    .news-card.featured {
        grid-column: 1;
        grid-row: auto;
    }

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

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .breadcrumb {
        padding: 8px 3%;
    }
    
    .data-visualization {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-item {
        padding: 10px;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item img {
        height: 200px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social,
    .social-links {
        justify-content: center;
    }
    
    .breadcrumb {
        display: none;
    }
    
    .countdown-container {
        padding: 20px 25px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .data-visualization {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        min-width: 100%;
    }
    
    .promo-text {
        font-size: 0.85rem;
    }
    
    .float-consult {
        bottom: 20px;
        right: 20px;
    }
    
    .consult-btn {
        width: 50px;
        height: 50px;
    }
    
    .consult-btn i {
        font-size: 1.2rem;
    }
    
    .consult-btn .btn-label {
        display: none;
    }
    
    .consult-popup {
        right: 20px;
        bottom: 100px;
    }
    
    .back-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .live-activity {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 15px;
    }
    
    .feature-icon i {
        font-size: 1.4rem;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .stat-item i {
        font-size: 1.8rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    /* 手机端减少各区块高度 */
    .about,
    .features,
    .testimonials,
    .faq {
        padding: 40px 0;
    }
    
    .news,
    .gallery,
    .contact {
        padding: 35px 0;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .trust-badges {
        display: none;
    }
    
    .partners {
        padding: 30px 0;
    }
    
    .footer-content {
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    /* 手机端只显示3个特色卡片 */
    .features-grid .feature-card:nth-child(n+4) {
        display: none;
    }
    
    /* 手机端只显示2条新闻 */
    .news-grid .news-card:nth-child(n+3) {
        display: none;
    }
    
    /* 手机端只显示4张图片 */
    .gallery-grid .gallery-item:nth-child(n+5) {
        display: none;
    }
    
    /* 手机端只显示3条评价 */
    .testimonial-card:nth-child(n+4) {
        display: none;
    }
    
    /* 手机端只显示4条FAQ */
    .faq-item:nth-child(n+5) {
        display: none;
    }
}

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item i {
        font-size: 1.8rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .data-visualization {
        grid-template-columns: 1fr;
    }
    
    .data-card {
        padding: 25px;
    }
    
    .partners-grid {
        gap: 25px;
    }
    
    .partner-item {
        flex: 0 0 calc(33.333% - 17px);
    }
    
    .scroll-tip-content {
        flex-direction: column;
        text-align: center;
    }
    
    .score-badge {
        flex-direction: column;
        gap: 5px;
        padding: 10px;
    }
    
    .testimonial-header {
        flex-wrap: wrap;
    }
    
    .score-badge {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    /* 小屏进一步压缩 */
    .about,
    .features,
    .testimonials,
    .faq {
        padding: 30px 0;
    }
    
    .news,
    .gallery,
    .contact {
        padding: 25px 0;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .hero {
        padding: 70px 15px 35px;
    }
    
    .countdown-container {
        padding: 12px 15px;
    }
    
    .countdown-number {
        font-size: 1.3rem;
    }
    
    /* 小屏隐藏次要区块 */
    .partners {
        display: none;
    }
    
    /* 小屏只显示2个特色 */
    .features-grid .feature-card:nth-child(n+3) {
        display: none;
    }
    
    /* 小屏只显示1条新闻 */
    .news-grid .news-card:nth-child(n+2) {
        display: none;
    }
    
    /* 小屏只显示3张图片 */
    .gallery-grid .gallery-item:nth-child(n+4) {
        display: none;
    }
    
    /* 小屏只显示3条FAQ */
    .faq-item:nth-child(n+4) {
        display: none;
    }
}

/* ===== 提分测评系统样式 ===== */
.assessment {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.assessment-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.assessment-intro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.intro-card {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 95, 122, 0.15);
}

.intro-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.intro-icon i {
    font-size: 1.8rem;
    color: white;
}

.intro-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.intro-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.assessment-form-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.assessment-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-section {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 30px;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.section-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

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

.assessment-form .form-group {
    margin-bottom: 20px;
}

.assessment-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.assessment-form label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.assessment-form input,
.assessment-form select,
.assessment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.assessment-form input:focus,
.assessment-form select:focus,
.assessment-form textarea:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.1);
    outline: none;
}

.assessment-form input.error,
.assessment-form select.error {
    border-color: #e74c3c;
    background: #fff5f5;
}

.assessment-form .error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* 科目分数输入的错误提示 */
.subject-score-item .error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 3px;
    display: block;
}

.subject-score-item input.error {
    border-color: #e74c3c !important;
    background: #fff5f5 !important;
}

.assessment-form .input-hint {
    display: block;
    color: #999;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* 科目分数输入 */
.subject-scores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.subject-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 5px;
}

.subject-name {
    font-size: 0.9rem;
    color: var(--text-gray);
    padding: 0 10px;
    white-space: nowrap;
}

.subject-item input {
    width: 80px;
    padding: 10px;
    border: none;
    background: white;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
}

/* 多选框样式 */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 18px;
    background: #f8f9fa;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.checkbox-item:hover {
    background: #e9ecef;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-item .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-item input:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-item input:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-item input:checked ~ span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    margin-top: 10px;
}

.agreement {
    text-align: center;
}

.agreement .checkbox-item {
    background: transparent;
    padding: 5px;
}

.agreement a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-submit {
    min-width: 280px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* 评估结果样式 */
.assessment-result {
    margin-top: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 20px;
    overflow: hidden;
    animation: slideUp 0.5s ease;
}

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

.result-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.result-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon i {
    font-size: 1.5rem;
}

.result-header h3 {
    font-size: 1.4rem;
    margin: 0;
}

.result-content {
    padding: 30px;
}

.result-main {
    margin-bottom: 30px;
}

.score-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.score-item {
    text-align: center;
    padding: 20px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    min-width: 120px;
}

.score-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.score-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.score-item.past .score-value {
    color: #7f8c8d;
}

.score-item.target .score-value {
    color: #e67e22;
}

.score-item.predict .score-value {
    color: var(--primary-color);
}

.score-item.predict .score-value.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-arrow {
    color: #ccc;
    font-size: 2rem;
}

.improve-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(87, 197, 182, 0.1));
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}

.improve-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.improve-icon i {
    font-size: 1.8rem;
    color: white;
}

.improve-text {
    text-align: left;
}

.improve-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.improve-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.result-details {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.result-details h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.result-details h4 i {
    color: #f1c40f;
}

.suggestion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestion-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #e9ecef;
}

.suggestion-list li:last-child {
    border-bottom: none;
}

.suggestion-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.result-cta {
    text-align: center;
    padding-top: 20px;
}

.result-cta p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* 底部统计 */
.assessment-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 2px dashed #e9ecef;
}

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

.assessment-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.assessment-stats .stat-unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.assessment-stats .stat-label {
    display: block;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* 响应式 */
@media (max-width: 992px) {
    .assessment-intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .intro-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 20px;
    }
    
    .intro-icon {
        margin: 0;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .intro-icon i {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .assessment {
        padding: 50px 0;
    }
    
    .assessment-form-container {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .subject-scores {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .score-comparison {
        flex-direction: column;
        gap: 15px;
    }
    
    .score-arrow {
        transform: rotate(90deg);
    }
    
    .improve-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .improve-text {
        text-align: center;
    }
    
    .assessment-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .assessment-stats .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .checkbox-group {
        flex-direction: column;
    }
    
    .checkbox-item {
        width: 100%;
    }
    
    .subject-scores {
        grid-template-columns: 1fr;
    }
    
    .btn-submit {
        width: 100%;
    }
}

/* ===== 新版多步骤表单样式 ===== */

/* 步骤指示器 */
.form-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 25%;
    right: 25%;
    height: 3px;
    background: #e9ecef;
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 200px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(26, 95, 122, 0.3);
}

.step.completed .step-number {
    background: var(--secondary-color);
    color: white;
}

.step.completed .step-number::before {
    content: '✓';
}

.step-text {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step.active .step-text {
    color: var(--primary-color);
    font-weight: 600;
}

.step.completed .step-text {
    color: var(--secondary-color);
}

/* 步骤内容 */
.step-content {
    animation: fadeInUp 0.4s ease;
}

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

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

/* 必填标记 */
.required {
    color: #e74c3c;
    margin-left: 2px;
}

/* 分数提示 */
.score-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.08), rgba(87, 197, 182, 0.08));
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.score-tip i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.score-tip span {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* 科目分组 */
.subject-group {
    margin-bottom: 30px;
}

.group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.group-title i {
    color: var(--primary-color);
}

/* 科目分数网格 */
.subject-scores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.subject-score-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.subject-score-item:hover {
    background: #f0f3f5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.subject-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.subject-header .subject-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.subject-full {
    font-size: 0.8rem;
    color: #999;
    background: white;
    padding: 3px 8px;
    border-radius: 10px;
}

.score-input-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.score-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.score-input-wrapper input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    background: transparent;
}

.score-input-wrapper input:focus {
    outline: none;
}

.score-unit {
    padding: 0 15px;
    color: #999;
    font-size: 0.9rem;
    background: #f8f9fa;
    height: 100%;
    display: flex;
    align-items: center;
    border-left: 1px solid #e9ecef;
}

/* 选考科目样式 */
.subject-score-item.elective {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border: 1px dashed #d0d0d0;
}

.assigned-score {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-gray);
    text-align: center;
}

.assigned-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* 选科占位提示 */
.elective-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #999;
}

.elective-placeholder i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ccc;
}

/* 问卷调查样式 */
.questionnaire {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
}

.question-item {
    margin-bottom: 20px;
}

.question-item:last-child {
    margin-bottom: 0;
}

.question-text {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
    font-size: 0.9rem;
}

.radio-group label:hover {
    background: #f0f3f5;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-group input[type="radio"]:checked + label,
.radio-group label:has(input:checked) {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(87, 197, 182, 0.1));
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 按钮样式 */
.btn-next, .btn-prev {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-next {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(26, 95, 122, 0.3);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 95, 122, 0.4);
}

.btn-prev {
    background: #f0f0f0;
    color: var(--text-gray);
}

.btn-prev:hover {
    background: #e0e0e0;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== 新版结果展示样式 ===== */

.result-icon.success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.result-subtitle {
    opacity: 0.9;
    font-size: 0.95rem;
    margin-top: 5px;
}

/* 分数概览 */
.result-section {
    margin-bottom: 30px;
}

.result-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.result-section h4 i {
    color: var(--primary-color);
}

.score-overview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.score-card {
    text-align: center;
    padding: 25px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    min-width: 140px;
    transition: all 0.3s ease;
}

.score-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.score-card .card-header {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 8px;
}

.score-card .card-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.score-card .card-note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 8px;
}

.score-card.current .card-value {
    color: #7f8c8d;
}

.score-card.predict .card-value {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.score-card.target .card-value {
    color: #e67e22;
}

.score-arrow-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.score-arrow-large i {
    font-size: 2rem;
    color: #ccc;
}

.improve-badge {
    display: flex;
    align-items: baseline;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
}

.improve-badge .plus {
    font-size: 0.9rem;
}

.improve-badge .improve-value {
    font-size: 1.5rem;
}

.improve-badge .unit {
    font-size: 0.9rem;
}

/* 录取概率 */
.highlight-section {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.05), rgba(87, 197, 182, 0.05));
    border-radius: 15px;
    padding: 25px;
}

.admission-probability {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.probability-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.probability-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.level-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.level-badge.benke {
    background: #e8f5e9;
    color: #27ae60;
}

.level-badge.oneben {
    background: #e3f2fd;
    color: #2196f3;
}

.level-badge.level211 {
    background: #fff3e0;
    color: #ff9800;
}

.level-badge.level985 {
    background: #fce4ec;
    color: #e91e63;
}

.probability-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.probability-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.probability-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.probability-fill.benke {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.probability-fill.oneben {
    background: linear-gradient(90deg, #2196f3, #64b5f6);
}

.probability-fill.level211 {
    background: linear-gradient(90deg, #ff9800, #ffb74d);
}

.probability-fill.level985 {
    background: linear-gradient(90deg, #e91e63, #f48fb1);
}

.probability-desc {
    font-size: 0.8rem;
    color: #999;
}

/* 各科分析 */
.subject-analysis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.subject-item-analysis {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.subject-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.subject-info .subject-name {
    font-weight: 600;
    color: var(--text-dark);
}

.subject-level {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.subject-level.excellent {
    background: #e8f5e9;
    color: #27ae60;
}

.subject-level.good {
    background: #e3f2fd;
    color: #2196f3;
}

.subject-level.medium {
    background: #fff8e1;
    color: #f9a825;
}

.subject-level.weak {
    background: #ffebee;
    color: #e53935;
}

.subject-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.subject-bar {
    flex: 1;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.subject-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease;
}

.subject-fill.excellent {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.subject-fill.good {
    background: linear-gradient(90deg, #2196f3, #64b5f6);
}

.subject-fill.medium {
    background: linear-gradient(90deg, #f9a825, #fdd835);
}

.subject-fill.weak {
    background: linear-gradient(90deg, #e53935, #ef5350);
}

.subject-percent {
    font-weight: 600;
    color: var(--text-gray);
    min-width: 40px;
    text-align: right;
}

.subject-detail {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.85rem;
}

/* 四维度诊断表 */
.diagnosis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 15px 0;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px;
}

.diagnosis-item {
    text-align: center;
    padding: 8px 5px;
}

.diagnosis-item .diagnosis-label {
    display: block;
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 4px;
}

.diagnosis-item .diagnosis-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.diagnosis-item .diagnosis-value.highlight {
    color: #27ae60;
}

.diagnosis-item .diagnosis-value.excellent { color: #27ae60; }
.diagnosis-item .diagnosis-value.good { color: #2196f3; }
.diagnosis-item .diagnosis-value.medium { color: #f9a825; }
.diagnosis-item .diagnosis-value.weak { color: #e53935; }

/* 问题诊断部分 */
.weakness-section {
    background: linear-gradient(135deg, #fff5f5, #ffebee);
    border-radius: 10px;
    padding: 12px;
    margin: 12px 0;
    border-left: 3px solid #e53935;
}

.weakness-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #c62828;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.weakness-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.weakness-list li {
    font-size: 0.8rem;
    color: #555;
    padding: 5px 0;
    padding-left: 15px;
    position: relative;
    line-height: 1.5;
}

.weakness-list li::before {
    content: '•';
    color: #e53935;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 增强版提分建议 */
.subject-suggestion.enhanced {
    background: linear-gradient(135deg, #e3f2fd, #e8f5e9);
    border-radius: 10px;
    padding: 12px;
    margin-top: 12px;
    border-left: 3px solid #2196f3;
}

.subject-suggestion.enhanced .suggestion-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.subject-suggestion.enhanced .tip-text {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.7;
}

/* 优先突破标签优化 */
.priority-badge {
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
}

.priority-badge.high {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    color: #c62828;
}

.priority-badge.medium {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    color: #f57f17;
}

.priority-badge.low {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .diagnosis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .subject-analysis {
        grid-template-columns: 1fr;
    }
}
    color: #999;
}

.improve-space {
    color: var(--primary-color);
    font-weight: 600;
}

/* 提分方案卡片 */
.improve-plan {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.plan-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.plan-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(87, 197, 182, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-icon i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.plan-header h5 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.plan-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.plan-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-items li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.plan-items li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
}

.weak-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #fff8e1;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.weak-item i {
    color: #f9a825;
}

/* CTA区域 */
.cta-box {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 25px;
}

.cta-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon i {
    font-size: 2rem;
}

.cta-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 10px;
}

.cta-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta-content li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 0.9rem;
}

.cta-content li i {
    color: #2ecc71;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: auto;
}

.cta-buttons .btn {
    white-space: nowrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: #f0f0f0;
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 老师卡片 */
.teacher-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.teacher-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.teacher-info h5 {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 5px;
}

.teacher-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.teacher-desc {
    font-size: 0.85rem;
    color: #666;
}

.teacher-contact {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contact-item:hover {
    background: #e9ecef;
}

.contact-item.wechat {
    background: #07c160;
    color: white;
}

.contact-item.wechat:hover {
    background: #06ad56;
}

/* 响应式更新 */
@media (max-width: 992px) {
    .subject-scores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admission-probability {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .subject-analysis {
        grid-template-columns: 1fr;
    }
    
    .improve-plan {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        margin-left: 0;
        flex-direction: row;
    }
    
    .teacher-card {
        flex-direction: column;
        text-align: center;
    }
    
    .teacher-contact {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .form-steps::before {
        display: none;
    }
    
    .step {
        flex: 0 0 auto;
    }
    
    .step-text {
        display: none;
    }
    
    .subject-scores-grid {
        grid-template-columns: 1fr;
    }
    
    .admission-probability {
        grid-template-columns: 1fr;
    }
    
    .score-overview {
        flex-direction: column;
    }
    
    .score-arrow-large {
        transform: rotate(90deg);
    }
}

/* 学习改进方向样式 */
.study-direction {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.05), rgba(87, 197, 182, 0.05));
    border-radius: 20px;
    padding: 30px;
}

.direction-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.direction-card {
    background: white;
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.direction-card.primary {
    border-left: 4px solid var(--primary-color);
}

.direction-card.warning {
    border-left: 4px solid #f39c12;
}

.direction-card.success {
    border-left: 4px solid #27ae60;
}

.direction-card.danger {
    border-left: 4px solid #e74c3c;
}

.direction-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.direction-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.direction-card.primary .direction-icon {
    background: rgba(26, 95, 122, 0.1);
    color: var(--primary-color);
}

.direction-card.warning .direction-icon {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

.direction-card.success .direction-icon {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.direction-card.danger .direction-icon {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.direction-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.direction-body {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.direction-body ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.direction-body li {
    margin-bottom: 8px;
}

.direction-body li:last-child {
    margin-bottom: 0;
}

.direction-body strong {
    color: var(--text-dark);
}

.direction-body .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.direction-body .warning-text {
    color: #e74c3c;
    font-weight: 600;
}

.direction-body .success-text {
    color: #27ae60;
    font-weight: 600;
}

/* 科目改进小卡片 */
.subject-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.subject-tip-card {
    background: rgba(26, 95, 122, 0.03);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(26, 95, 122, 0.1);
}

.subject-tip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.subject-tip-header i {
    color: var(--primary-color);
}

.subject-tip-content {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* 时间安排建议 */
.time-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.time-block {
    background: rgba(87, 197, 182, 0.08);
    border-radius: 10px;
    padding: 12px 15px;
    text-align: center;
}

.time-block .time {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.time-block .activity {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .subject-tips {
        grid-template-columns: 1fr;
    }
    
    .time-schedule {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 增强版测评结果样式 ===== */

/* 优先级标签 */
.priority-badge {
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
}

.priority-badge.high {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    color: #c62828;
}

.priority-badge.medium {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    color: #f57f17;
}

.priority-badge.low {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
}

/* 优先级高亮 */
.subject-item-analysis.priority-high {
    background: linear-gradient(135deg, #fff8f8, #fff);
    border: 2px solid #ffcdd2;
}

.subject-item-analysis.priority-high .subject-name {
    color: #c62828;
}

/* 科目建议 */
.subject-suggestion {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e0e0e0;
}

.subject-suggestion .tip-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.subject-suggestion .tip-text i {
    color: var(--primary-color);
    margin-top: 2px;
}

/* 方案卡片颜色主题 */
.plan-card.danger {
    border-left: 4px solid #e53935;
}

.plan-card.danger .plan-icon {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
}

.plan-card.danger .plan-icon i {
    color: #e53935;
}

.plan-card.warning {
    border-left: 4px solid #f9a825;
}

.plan-card.warning .plan-icon {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
}

.plan-card.warning .plan-icon i {
    color: #f9a825;
}

.plan-card.success {
    border-left: 4px solid #27ae60;
}

.plan-card.success .plan-icon {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.plan-card.success .plan-icon i {
    color: #27ae60;
}

.plan-card.primary {
    border-left: 4px solid var(--primary-color);
}

.plan-card.primary .plan-icon {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(87, 197, 182, 0.1));
}

.plan-card.accent {
    border-left: 4px solid #9c27b0;
}

.plan-card.accent .plan-icon {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
}

.plan-card.accent .plan-icon i {
    color: #9c27b0;
}

.plan-card.info {
    border-left: 4px solid #2196f3;
}

.plan-card.info .plan-icon {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.plan-card.info .plan-icon i {
    color: #2196f3;
}

/* 薄弱科目网格 */
.weak-subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.weak-subject-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #fff8f8, #fff);
    border-radius: 10px;
    border: 1px solid #ffcdd2;
    font-size: 0.9rem;
    line-height: 1.5;
}

.weak-subject-item i {
    color: #e53935;
    margin-top: 3px;
    flex-shrink: 0;
}

.weak-subject-item strong {
    color: #c62828;
}

.weak-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 10px;
    font-size: 0.85rem;
    color: #1565c0;
    margin-top: 15px;
}

.weak-tip i {
    color: #2196f3;
}

/* CTA 横幅 */
.cta-banner {
    margin-top: 15px;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(87, 197, 182, 0.1));
    border-radius: 10px;
    text-align: center;
}

.cta-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.cta-banner i {
    color: #f9a825;
}

/* 录取概率增强 */
.highlight-section {
    background: linear-gradient(135deg, #f8fafb, #fff);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

/* 学习改进方向卡片 */
.direction-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.direction-card.danger {
    border-left: 4px solid #e53935;
}

.direction-card.warning {
    border-left: 4px solid #f9a825;
}

.direction-card.success {
    border-left: 4px solid #27ae60;
}

.direction-card.primary {
    border-left: 4px solid var(--primary-color);
}

.direction-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border-bottom: 1px solid #f0f0f0;
}

.direction-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1), rgba(87, 197, 182, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.direction-icon i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.direction-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.direction-body {
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.direction-body ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.direction-body li {
    margin-bottom: 8px;
}

.direction-body .warning-text {
    color: #e53935;
    font-weight: 600;
}

.direction-body .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.direction-body .success-text {
    color: #27ae60;
    font-weight: 600;
}

/* 响应式增强 */
@media (max-width: 768px) {
    .improve-plan {
        grid-template-columns: 1fr;
    }
    
    .weak-subjects-grid {
        grid-template-columns: 1fr;
    }
    
    .priority-badge {
        display: none;
    }
}
