/* style.css - 大工经管第一名“转专业硬核对比决策系统”样式表 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
    /* 主题配色 - 高阶数智科技深青底与活力渐变 */
    --bg-main: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: rgba(26, 35, 50, 0.65);
    --bg-card-hover: rgba(35, 47, 68, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(56, 189, 248, 0.35);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-blue: #38bdf8;
    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;
    --accent-cyan: #06b6d4;
    
    /* 状态色彩 */
    --status-success: #10b981;
    --status-warning: #f59e0b;
    --status-danger: #ef4444;
    --status-info: #3b82f6;
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    
    /* 阴影与特效 */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.45), 0 8px 10px -6px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 35px -5px rgba(56, 189, 248, 0.3);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(56, 189, 248, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* 顶部导航栏 */
.header-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-glow);
    animation: float 4s ease-in-out infinite;
}

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

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

/* Hero Section */
.hero-section {
    max-width: 1360px;
    margin: 3rem auto 2rem;
    padding: 0 2rem;
}

.hero-banner {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-blue);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 1rem;
    max-width: 900px;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.07);
}

.stat-card .icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.stat-card h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.stat-card .value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-card .sub-info {
    font-size: 0.82rem;
    color: var(--status-success);
    margin-top: 0.4rem;
    font-weight: 500;
}

/* 核心内容容器 */
.main-container {
    max-width: 1360px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 3.5rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

/* 专业卡片对比筛选控制栏 */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-blue);
    color: #000;
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* 专业卡片网格 - 深度横评每行两个 */
.majors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.major-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
    overflow: hidden;
}

.major-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    transition: var(--transition-fast);
}

.major-card.rank-1::after { background: var(--gradient-primary); }
.major-card.rank-2::after { background: var(--gradient-gold); }
.major-card.rank-3::after { background: var(--accent-cyan); }
.major-card.rank-4::after { background: var(--status-danger); }

.major-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.badge-rank {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-rank.best { background: rgba(56, 189, 248, 0.2); color: var(--accent-blue); border: 1px solid var(--accent-blue); }
.badge-rank.stable { background: rgba(245, 158, 11, 0.2); color: var(--status-warning); border: 1px solid var(--status-warning); }
.badge-rank.balanced { background: rgba(16, 185, 129, 0.2); color: var(--status-success); border: 1px solid var(--status-success); }
.badge-rank.hard { background: rgba(239, 68, 68, 0.2); color: var(--status-danger); border: 1px solid var(--status-danger); }

.major-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.major-eng {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1.2rem;
}

/* 雷达指标横条 */
.metric-row {
    margin-bottom: 0.85rem;
}

.metric-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.metric-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1s ease-out;
}

.metric-fill.high { background: var(--status-success); }
.metric-fill.med { background: var(--status-warning); }
.metric-fill.low { background: var(--status-danger); }
.metric-fill.blue { background: var(--accent-blue); }
.metric-fill.purple { background: var(--accent-purple); }

.major-highlights {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-blue);
}

.major-highlights ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.major-highlights li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.major-highlights li::before {
    content: '⚡';
    font-size: 0.75rem;
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 课程对照交互表格与多页签 */
.course-section-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.tabs-header {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-btn,
.sc-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.tab-btn:hover,
.sc-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active,
.sc-tab-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.tab-content,
.sc-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active,
.sc-tab-pane.active {
    display: block;
}

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

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.course-box {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.course-box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed var(--border-color);
}

.box-icon {
    font-size: 1.4rem;
}

.box-title h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.box-title p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-fast);
}

.course-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.course-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.course-info span {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.tag-status {
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.tag-status.exempt { background: rgba(16, 185, 129, 0.18); color: var(--status-success); }
.tag-status.makeup { background: rgba(239, 68, 68, 0.18); color: var(--status-danger); }
.tag-status.sync { background: rgba(56, 189, 248, 0.18); color: var(--accent-blue); }

/* 前沿研究方向与深造院校推荐 深度排版优化 */
.section-block-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 2.5rem 0 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
}
.section-block-title span.badge-pill {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
}
.direction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.direction-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    border-left: 4px solid var(--accent-blue);
    transition: var(--transition-normal);
}
.direction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.4);
}
.direction-card.featured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(245, 158, 11, 0.01) 100%);
    border-left-color: var(--status-warning);
}
.dir-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.75rem;
}
.dir-title-wrap h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
}
.dir-title-wrap span {
    font-size: 0.78rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
}
.dir-num {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    background: rgba(37, 99, 235, 0.12);
    color: var(--accent-blue);
    white-space: nowrap;
}
.direction-card.featured .dir-num {
    background: rgba(245, 158, 11, 0.15);
    color: var(--status-warning);
}
.dir-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}
.dir-body strong {
    color: var(--text-primary);
    font-weight: 600;
}
.dir-footer {
    font-size: 0.84rem;
    color: var(--text-muted);
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* 深造院校推荐梯度 */
.tier-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.tier-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.tier-banner {
    padding: 0.9rem 1.4rem;
    font-weight: 700;
    font-size: 1.02rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}
.tier-banner.t1 {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.18) 0%, rgba(37, 99, 235, 0.05) 100%);
    color: var(--accent-indigo);
}
.tier-banner.t2 {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.18) 0%, rgba(5, 150, 105, 0.05) 100%);
    color: var(--status-success);
}
.tier-banner.t3 {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.05) 100%);
    color: var(--status-warning);
}
.univ-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.1rem;
    padding: 1.4rem;
}
.univ-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: var(--transition-fast);
}
.univ-card:hover {
    border-color: var(--accent-indigo);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.univ-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.univ-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.badge-univ {
    font-size: 0.78rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-weight: 600;
}
.badge-univ.disc {
    background: rgba(79, 70, 229, 0.12);
    color: var(--accent-indigo);
}
.badge-univ.comp {
    background: rgba(16, 185, 129, 0.12);
    color: var(--status-success);
}
.badge-univ.prov {
    background: rgba(245, 158, 11, 0.12);
    color: var(--status-warning);
}
.univ-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 交互式待办勾选计算器 */
.readiness-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.readiness-text h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.readiness-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.progress-widget {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 280px;
    flex: 1;
}

.progress-bar-bg {
    flex: 1;
    height: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    width: 60%;
    transition: width 0.4s ease;
}

.progress-percent {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-blue);
    font-family: 'JetBrains Mono', monospace;
}

/* 智能问卷决策引擎 */
.decision-engine {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.question-step {
    margin-bottom: 2rem;
}

.question-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.question-title span {
    width: 28px;
    height: 28px;
    background: var(--accent-blue);
    color: #000;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.option-card {
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.option-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(56, 189, 248, 0.04);
}

.option-card.selected {
    border-color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.12);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.option-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.option-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.result-banner {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 2px solid var(--status-success);
    border-radius: var(--radius-md);
    display: none;
    animation: zoomIn 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.result-banner.show {
    display: block;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.result-box {
    background: rgba(0, 0, 0, 0.35);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-blue);
}

.result-box h4 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.result-box h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.result-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 响应式调整 */
@media (max-width: 900px) {
    .majors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .nav-links { display: none; }
    .hero-banner { padding: 1.8rem; }
}

/* ==========================================
   亮色主题 (Light Theme) 高阶商务与学术适配
========================================== */
[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --border-color: rgba(15, 23, 42, 0.1);
    --border-glow: rgba(37, 99, 235, 0.3);
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    --accent-blue: #2563eb;
    --accent-indigo: #4f46e5;
    --accent-purple: #7e22ce;
    --accent-cyan: #0284c7;
    
    --status-success: #059669;
    --status-warning: #d97706;
    --status-danger: #dc2626;
    --status-info: #2563eb;
    
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 0 30px -5px rgba(37, 99, 235, 0.15);
}

[data-theme="light"] body {
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(79, 70, 229, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(37, 99, 235, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(126, 34, 206, 0.04) 0%, transparent 50%);
}

[data-theme="light"] .header-nav {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .hero-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid rgba(37, 99, 235, 0.25);
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .stat-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .major-card,
[data-theme="light"] .course-section-container,
[data-theme="light"] .decision-engine,
[data-theme="light"] .direction-card,
[data-theme="light"] .tier-panel {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .course-box,
[data-theme="light"] .option-card,
[data-theme="light"] .univ-card {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .course-item {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .univ-card:hover {
    background: #ffffff;
    border-color: var(--accent-indigo);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .major-highlights {
    background: #f1f5f9;
}

[data-theme="light"] .readiness-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(79, 70, 229, 0.08) 100%);
    border-color: rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .metric-bar {
    background: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .progress-bar-bg {
    background: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .filter-bar {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .filter-btn {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.1);
    color: #475569;
}

[data-theme="light"] .filter-btn:hover,
[data-theme="light"] .filter-btn.active {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
}

[data-theme="light"] .result-box {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.1);
}

/* 主题切换按钮 */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
    background: var(--accent-blue);
    color: #0f172a;
    border-color: var(--accent-blue);
}

[data-theme="light"] .theme-toggle-btn {
    background: #f1f5f9;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: var(--accent-blue);
    color: #ffffff;
}
