        :root {
            --primary-purple: rgb(102, 8, 118); /* 主紫色 */
            --accent-blue: rgb(5, 25, 100);    /* 深蓝 */
            --text-dark: #1a1a1a;
            --text-light: #666666;
            --text-main: #222222; /* for admission components */
            --text-sub: #555555;
            --bg-light: #f9f9fb;
            --bg-page: #f9f9fb;
            --white: #ffffff;
            --border-line: #e5e7eb;
            --radius-md: 8px;
            --shadow-card: 0 4px 20px rgba(0,0,0,0.05);
            --shadow-hover: 0 10px 25px rgba(0,0,0,0.1);
            --container-width: 1200px;}

        * { margin: 0; padding: 0; box-sizing: border-box;}
        body {
            font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
            color: var(--text-dark);
            background-color: var(--bg-light); /* 整体背景浅灰 */
            line-height: 1.6;}
        a { text-decoration: none; color: inherit; transition: all 0.3s;}
        ul { list-style: none;}
        
        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;}

        /* --- NEW HERO SECTION (模仿图片风格) --- */
        .hero-section {
            background-color: var(--white);
            padding: 50px 0 0 0; /* 下方padding为0，让tab贴底 */
            border-bottom: 1px solid #eee;}
        .hero-content {
            padding-bottom: 40px;}

        /* --- TAB CARDS (核心修改) --- */
        .tabs-wrapper {
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* 4等分 */
            gap: 20px;
            margin-top: 40px;
            margin-bottom: -1px;}

        .tab-card {
            background-color: var(--white);
            border: 1px solid #eaeaea;
            border-radius: 6px 6px 0 0; /* 仅上方圆角，或者全圆角看喜好，这里还原卡片感用稍微圆角 */
            border-radius: 8px; /* 全圆角看起来更现代 */
            padding: 30px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 140px;}

        /* Unselected Hover */
        .tab-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.08);}

        /* --- Admissions Layout & Components (migrated from academic-admission.css) --- */
        .layout-container {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 64px;
            padding: 60px 0 100px;
            align-items: start;
            min-height: 800px;}

        .sidebar { position: sticky; top: 110px;}
        .nav-group-label {
            font-size: 12px; font-weight: 700; color: #888;
            text-transform: uppercase; letter-spacing: 1px;
            margin: 24px 0 12px 10px;}
        .nav-group-label:first-child { margin-top: 0;}
        .sidebar-menu li { margin-bottom: 6px;}

        .sidebar-btn {
            display: block; width: 100%; padding: 12px 18px;
            color: var(--text-sub); font-size: 15px; font-weight: 500;
            border-radius: var(--radius-md);
            border: none; background: transparent;
            text-align: left; cursor: pointer;
            transition: all 0.2s;}
        .sidebar-btn:hover { background: #f0f0f0; color: var(--primary-purple);}
        .sidebar-btn.active {
            background: var(--primary-purple);
            color: #fff;
            box-shadow: 0 4px 12px rgba(102, 8, 118, 0.25);
            font-weight: 600;}

        .tab-content { display: none; animation: fadeEffect 0.5s;}
        .tab-content.active-tab { display: block;}
        @keyframes fadeEffect {
            from {opacity: 0; transform: translateY(10px);} to {opacity: 1; transform: translateY(0);}
        }

        .program-banner { width: 100%; height: 280px; border-radius: 12px; overflow: hidden; margin-bottom: 40px; position: relative; box-shadow: var(--shadow-card);}
        .program-banner img { width: 100%; height: 100%; object-fit: cover;}
        .banner-title-box { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: #fff;}
        .banner-h2 { font-size: 28px; font-weight: 800; margin-bottom: 4px;}
        .banner-sub { font-size: 15px; font-weight: 500; opacity: 0.9;}

        .facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 50px; background: var(--white); padding: 24px; border-radius: 12px; box-shadow: var(--shadow-card); border: 1px solid var(--border-line);}
        .fact-unit { display: flex; flex-direction: column; align-items: start; border-right: 1px solid #f0f0f0; padding-left: 15px;}
        .fact-unit:last-child { border-right: none;}
        .fact-icon { color: var(--primary-purple); font-size: 20px; margin-bottom: 8px;}
        .fact-meta { font-size: 12px; color: #888; text-transform: uppercase; font-weight: 600;}
        .fact-data { font-size: 16px; font-weight: 800; color: var(--accent-blue);}

        .section-h3 { font-size: 22px; color: var(--text-main); font-weight: 700; margin: 0 0 24px 0; display: flex; align-items: center; border-left: 5px solid var(--primary-purple); padding-left: 16px; line-height: 1.2;}
        .text-block { color: #444; font-size: 16px; margin-bottom: 40px; text-align: justify; line-height: 1.7;}

        .req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 50px;}
        .req-card { background: var(--white); border: 1px solid var(--border-line); border-radius: 12px; padding: 24px; display: flex; gap: 20px; align-items: flex-start; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.02);}
        .req-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(102, 8, 118, 0.3);}
        .req-icon-box { width: 54px; height: 54px; background: #f8f5ff; color: var(--primary-purple); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;}
        .req-content h4 { font-size: 17px; font-weight: 700; color: var(--accent-blue); margin: 0 0 6px 0; padding-top: 2px;}
        .req-content p { font-size: 14px; color: var(--text-sub); margin: 0; line-height: 1.5;}

        .process-flow { display: flex; justify-content: space-between; position: relative; margin-bottom: 60px; padding: 20px 0; gap: 40px;}
        .process-flow::before { content: ''; position: absolute; top: 38px; left: 40px; right: 40px; height: 2px; background: #e0e0e0; z-index: 0;}
        .step-unit { position: relative; z-index: 1; flex: 1; text-align: center;}
        .step-circle { width: 40px; height: 40px; background: var(--white); border: 2px solid var(--primary-purple); color: var(--primary-purple); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; margin: 0 auto 12px; box-shadow: 0 0 0 8px var(--bg-page);}
        .step-unit:hover .step-circle { background: var(--primary-purple); color: #fff; transform: scale(1.1); transition: 0.3s;}
        .step-title { font-weight: 700; color: var(--text-main); font-size: 16px; margin-bottom: 6px;}
        .step-desc { font-size: 13px; color: #666; padding: 0 10px;}

        .apply-now-bar { background: var(--accent-blue); color: #fff; padding: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-card);}
        .apply-btn { background-color: var(--white); color: var(--accent-blue); padding: 14px 32px; border-radius: 6px; font-weight: 700; text-transform: uppercase; cursor: pointer;}
        .apply-btn:hover { background-color: #e0e7ff; transform: translateY(-2px);}

        @media (max-width: 768px) {
            .layout-container { grid-template-columns: 1fr; gap: 30px;}
            .sidebar { position: static; display: flex; overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid #ddd; margin-bottom: 20px;}
            .nav-group-label { display: none;}
            .sidebar-menu { display: flex; gap: 10px; width: 100%;}
            .sidebar-menu li { flex-shrink: 0;}
            .sidebar-btn { white-space: nowrap; width: auto;}
            .facts-row, .req-grid, .process-flow { grid-template-columns: 1fr;}
            .fact-unit { border-right: none; border-bottom: 1px solid #f0f0f0; padding: 15px 0;}
            .process-flow { flex-direction: column;}
            .process-flow::before { display: none;}
            .step-unit { display: flex; text-align: left; gap: 15px;}
            .step-circle { margin: 0; flex-shrink: 0; box-shadow: none;}
            .apply-now-bar { flex-direction: column; text-align: center; gap: 20px;}
        }

        /* Active State (紫色背景) */
        .tab-card.active {
            background-color: var(--primary-purple);
            color: var(--white);
            border-color: var(--primary-purple);
            box-shadow: 0 10px 20px rgba(102, 8, 118, 0.2);
            transform: translateY(0);}
        
        /* Active State 底部深色条纹装饰 */
        .tab-card.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 6px;
            background-color: var(--accent-blue);}

        .tab-head {
            font-size: 20px; /* 主标题大字体 */
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--accent-blue);}
        .tab-sub {
            font-size: 14px;
            color: var(--text-light);
            font-weight: 500;}

        /* Active时字体颜色变白 */
        .tab-card.active .tab-head { color: #fff;}
        .tab-card.active .tab-sub { color: rgba(255,255,255,0.8);}


        /* --- COURSE CONTENT AREA --- */
        .content-area-bg {
            background-color: var(--bg-light);
            padding: 60px 0 80px;
            min-height: 500px;}

        .course-list-container {
            background: var(--white);
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            border: 1px solid #e1e1e1;
            overflow: hidden;
            display: none;
            animation: fadeIn 0.4s ease forwards;}
        .course-list-container.active { display: block;}
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px);}
            to { opacity: 1; transform: translateY(0);}
        }

        .course-header {
            display: grid;
            grid-template-columns: 120px 1fr 180px 120px 100px;
            padding: 22px 30px;
            background: #f4f6f9;
            border-bottom: 2px solid #e5e5e5;
            font-weight: 700;
            color: var(--accent-blue);
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;}
        
        .course-item {
            display: grid;
            grid-template-columns: 120px 1fr 180px 120px 100px;
            padding: 20px 30px;
            border-bottom: 1px solid #eee;
            align-items: center;
            transition: background 0.2s;}
        .course-item:last-child { border-bottom: none;}
        .course-item:hover { background-color: #fdfdfd;}
        
        .code-col { font-weight: 700; color: var(--primary-purple); font-size: 14px;}
        .name-col { font-weight: 600; color: var(--text-dark); font-size: 16px;}
        .sem-col { color: var(--text-light); font-size: 14px;}
        .credit-col { 
            text-align: right; 
            font-size: 12px; 
            font-weight: 700; 
            background: #eee; 
            padding: 4px 10px; 
            border-radius: 4px;
            display: inline-block;
            justify-self: end;
            color: #555;}

        /* --- ADMISSIONS --- */
        .admissions-section { margin-top: 40px;}
        .section-heading-wrapper { text-align: center; margin-bottom: 40px;}
        .section-heading-wrapper h3 { font-size: 28px; color: var(--text-dark);}
        .admission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px;}
        .admission-card {
            background: var(--white); border-radius: 8px; overflow: hidden; border: 1px solid #e1e1e1;
            transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column;}
        .admission-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1);}
        .admission-img { height: 260px; width: 100%; object-fit: cover;}
        .admission-content { padding: 40px; flex-grow: 1; display: flex; flex-direction: column; align-items: flex-start;}
        .adm-title { font-size: 24px; color: var(--accent-blue); font-weight: 700; margin-bottom: 10px;}
        .btn-apply { margin-top: auto; padding: 12px 30px; background-color: var(--primary-purple); color: #fff; border-radius: 4px; font-weight: 600;}
        .btn-apply:hover { background-color: var(--accent-blue);}

        @media (max-width: 900px) {
            .tabs-wrapper { grid-template-columns: repeat(2, 1fr);}
        }
        @media (max-width: 600px) {
            .tabs-wrapper { grid-template-columns: 1fr;}
            .course-header { display: none;}
            .course-item { grid-template-columns: 1fr; gap: 8px; padding: 15px;}
            .credit-col { justify-self: start;}
            .admission-grid { grid-template-columns: 1fr;}
        }
