/* ==========================================================================
   心灵之路心理咨询师培训 - 主样式表
   设计系统：信任蓝 + 治愈绿 + 温暖橙
   ========================================================================== */

/* CSS 变量 - 设计系统 */
:root {
    /* 主题色 */
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --primary-lighter: #DBEAFE;
    --secondary: #10B981;
    --secondary-dark: #059669;
    --secondary-light: #D1FAE5;
    --accent: #F59E0B;
    --accent-dark: #D97706;
    --accent-light: #FEF3C7;

    /* 中性色 */
    --text-dark: #1F2937;
    --text-body: #374151;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --border: #E5E7EB;
    --border-light: #F3F4F6;

    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* 圆角 */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* 间距 */
    --container: 1200px;
    --header-h: 80px;

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    --gradient-hero: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%);
    --gradient-soft: linear-gradient(135deg, #DBEAFE 0%, #D1FAE5 100%);
}

/* ==========================================================================
   重置样式
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: 1rem;
}

/* ==========================================================================
   通用工具类
   ========================================================================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 48px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.section-title .subtitle {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.section-title .deco {
    display: inline-block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin: 16px 0 0;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    color: #fff;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    color: #fff;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

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

/* ==========================================================================
   顶部工具栏
   ========================================================================== */
.top-bar {
    background: var(--text-dark);
    color: #D1D5DB;
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-bar .top-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar .top-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-bar a:hover {
    color: #fff;
}

.top-bar .divider {
    color: #4B5563;
}

/* ==========================================================================
   头部导航
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.logo-text .slogan {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    border-radius: var(--radius);
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
    background: var(--primary-lighter);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   英雄区/轮播
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    color: #fff;
}

.hero-slider {
    position: relative;
    height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-title .highlight {
    color: #FCD34D;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 轮播控制 */
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots .dot.active {
    width: 36px;
    border-radius: var(--radius-full);
    background: #fff;
}

/* 轮播装饰图形 */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -80px;
}

/* ==========================================================================
   信任栏
   ========================================================================== */
.trust-bar {
    background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 50%, #FFFBEB 100%);
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.trust-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    position: relative;
    overflow: hidden;
}

.trust-icon::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    top: -6px;
    right: -6px;
}

.trust-icon.blue { background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); color: #fff; }
.trust-icon.green { background: linear-gradient(135deg, #34D399 0%, #10B981 100%); color: #fff; }
.trust-icon.orange { background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%); color: #fff; }
.trust-icon.purple { background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%); color: #fff; }

.trust-item h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 3px;
    font-weight: 700;
}

.trust-item p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   课程卡片
   ========================================================================== */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}

.course-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.course-card-header {
    padding: 40px 30px 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-card:nth-child(1) .course-card-header { background: linear-gradient(135deg, #1E40AF 0%, #2563EB 40%, #60A5FA 100%); }
.course-card:nth-child(2) .course-card-header { background: linear-gradient(135deg, #065F46 0%, #10B981 40%, #6EE7B7 100%); }
.course-card:nth-child(3) .course-card-header { background: linear-gradient(135deg, #92400E 0%, #F59E0B 40%, #FCD34D 100%); }

.course-card-header::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -60px;
    right: -40px;
}

.course-card-header::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    bottom: -30px;
    left: 40%;
}

.course-card-header .icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.course-card-header .icon-wrap svg {
    width: 36px;
    height: 36px;
    color: #fff;
}

.course-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.course-card-header p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.course-card-body {
    padding: 28px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card-body .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    margin-top: 16px;
}

.course-card-body .label:first-child {
    margin-top: 0;
}

.course-card-body ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-card-body ul li {
    font-size: 0.82rem;
    color: var(--text-body);
    background: var(--bg-gray);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.course-card-body .salary {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.8;
}

.course-card-body .salary strong {
    color: var(--accent-dark);
}

.course-card-footer {
    padding: 0 30px 28px;
    margin-top: auto;
}

.course-card-footer .btn {
    width: 100%;
}

/* ==========================================================================
   数据统计
   ========================================================================== */
.stats {
    background: var(--gradient-hero);
    color: #fff;
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    color: #FCD34D;
}

.stat-number .unit {
    font-size: 1.2rem;
    color: #fff;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ==========================================================================
   师资展示
   ========================================================================== */
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.teacher-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid var(--border-light);
}

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

.teacher-avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    position: relative;
}

.teacher-card:nth-child(4n+1) .teacher-avatar { background: var(--gradient-primary); }
.teacher-card:nth-child(4n+2) .teacher-avatar { background: var(--gradient-secondary); }
.teacher-card:nth-child(4n+3) .teacher-avatar { background: var(--gradient-accent); }
.teacher-card:nth-child(4n+4) .teacher-avatar { background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%); }

.teacher-info {
    padding: 20px 16px;
}

.teacher-info h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.teacher-info .title {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.teacher-info .desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   新闻资讯 Tab
   ========================================================================== */
.news-section {
    background: var(--bg-light);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    background: #fff;
}

.news-tab:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.news-tab.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.news-content {
    display: none;
}

.news-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-date {
    flex-shrink: 0;
    width: 64px;
    text-align: center;
    border-right: 1px solid var(--border);
    padding-right: 16px;
}

.news-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.news-date .ym {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.news-info {
    flex: 1;
    min-width: 0;
}

.news-info .tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    background: var(--primary-lighter);
    color: var(--primary);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
}

.news-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item:hover h4 {
    color: var(--primary);
}

.news-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ==========================================================================
   报考流程
   ========================================================================== */
.process-section {
    background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0;
    margin-top: 48px;
    position: relative;
    padding: 0 8px;
}

/* 连接线 */
.process-flow::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    border-radius: 2px;
    z-index: 0;
    opacity: 0.35;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 4px;
}

/* 步骤图标容器 */
.process-step .step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 渐变圆形背景 */
.process-step .step-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 50%, #ede9fe 100%);
    transition: all 0.4s ease;
}

/* 外圈光环 */
.process-step .step-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.12);
    transition: all 0.4s ease;
}

.process-step:hover .step-icon {
    transform: translateY(-6px);
}

.process-step:hover .step-icon::before {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, var(--secondary) 100%);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.process-step:hover .step-icon::after {
    border-color: rgba(37, 99, 235, 0.3);
    inset: -10px;
}

.process-step .step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.process-step:hover .step-num {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.process-step .step-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.process-step:hover .step-title {
    color: var(--primary);
}

.process-step .step-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   学员评价
   ========================================================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.testimonial-card .quote {
    font-size: 3rem;
    color: var(--primary-lighter);
    line-height: 1;
    font-family: Georgia, serif;
    margin-bottom: 8px;
}

.testimonial-card .text {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-card:nth-child(3n+1) .avatar { background: var(--gradient-primary); }
.testimonial-card:nth-child(3n+2) .avatar { background: var(--gradient-secondary); }
.testimonial-card:nth-child(3n+3) .avatar { background: var(--gradient-accent); }

.testimonial-author .info h5 {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.testimonial-author .info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CTA 转化区
   ========================================================================== */
.cta-section {
    background: var(--gradient-hero);
    color: #fff;
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-text p {
    font-size: 1.05rem;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
    background: #111827;
    color: #9CA3AF;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid #1F2937;
}

.footer-brand .logo-text .name {
    color: #fff;
}

.footer-brand .desc {
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 16px 0;
}

.footer-brand .contact-item {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-brand .contact-item .icon {
    color: var(--primary-light);
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: #9CA3AF;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-qr {
    text-align: center;
}

.footer-qr .qr-code {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: var(--radius);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.footer-qr p {
    font-size: 0.8rem;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
}

.footer-bottom .links {
    margin-bottom: 8px;
}

.footer-bottom .links a {
    margin: 0 8px;
}

.footer-bottom .links a:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   悬浮组件
   ========================================================================== */
.float-tools {
    position: fixed;
    right: 20px;
    bottom: 40px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-tool {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-body);
    font-size: 0.7rem;
}

.float-tool:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateX(-4px);
}

.float-tool .icon {
    font-size: 1.4rem;
    line-height: 1;
}

.float-tool .text {
    margin-top: 2px;
}

#backToTop {
    opacity: 0;
    visibility: hidden;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   移动端底部报名条
   ========================================================================== */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 16px;
    z-index: 998;
    gap: 10px;
}

.mobile-cta-bar .btn {
    flex: 1;
    padding: 12px;
}

/* ==========================================================================
   页面横幅
   ========================================================================== */
.page-banner {
    background: var(--gradient-hero);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.page-banner h1 {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-banner .breadcrumb {
    position: relative;
    font-size: 0.9rem;
    opacity: 0.9;
}

.page-banner .breadcrumb a:hover {
    color: #FCD34D;
}

.page-banner .breadcrumb .sep {
    margin: 0 8px;
    opacity: 0.6;
}

/* ==========================================================================
   关于我们 - 内容区
   ========================================================================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-intro .image-box {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-intro .image-box::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    bottom: -60px;
    right: -60px;
}

.about-intro .text-box h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-intro .text-box p {
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 14px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.value-card {
    text-align: center;
    padding: 36px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.value-card .icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 18px;
}

.value-card:nth-child(1) .icon { background: var(--primary-lighter); color: var(--primary); }
.value-card:nth-child(2) .icon { background: var(--secondary-light); color: var(--secondary); }
.value-card:nth-child(3) .icon { background: var(--accent-light); color: var(--accent); }
.value-card:nth-child(4) .icon { background: #EDE9FE; color: #8B5CF6; }

.value-card h4 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 发展历程时间线 */
.timeline {
    margin-top: 48px;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 36px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item .year {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.timeline-item h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* 荣誉资质 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.honor-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.honor-card .badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 16px;
    color: #fff;
}

.honor-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.honor-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   课程详情页
   ========================================================================== */
.course-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}

.course-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.course-feature {
    text-align: center;
    padding: 30px 16px;
}

.course-feature .icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: var(--primary-lighter);
    color: var(--primary);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}

.course-feature:nth-child(1) .icon { background: var(--primary-lighter); color: var(--primary); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08); }
.course-feature:nth-child(2) .icon { background: #D1FAE5; color: #059669; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08); }
.course-feature:nth-child(3) .icon { background: var(--accent-light); color: #D97706; box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.08); }
.course-feature:nth-child(4) .icon { background: #E0E7FF; color: #4F46E5; box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.08); }
.course-feature:nth-child(5) .icon { background: #FCE7F3; color: #DB2777; box-shadow: 0 0 0 6px rgba(236, 72, 153, 0.08); }

.course-feature:hover .icon {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.12);
}

.course-feature .icon svg {
    width: 30px;
    height: 30px;
}

.course-feature h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.course-feature p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   报考指南
   ========================================================================== */
.guide-block {
    margin-top: 40px;
}

.guide-block h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
}

.condition-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.condition-table th,
.condition-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}

.condition-table th {
    background: var(--primary-lighter);
    color: var(--text-dark);
    font-weight: 600;
}

.condition-table tr:last-child td {
    border-bottom: none;
}

.condition-table tr:hover td {
    background: var(--bg-light);
}

.faq-list {
    margin-top: 20px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.98rem;
}

.faq-question .icon {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 1.2rem;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 18px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* ==========================================================================
   联系我们 / 表单
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 48px;
}

.contact-info-card {
    background: var(--gradient-hero);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -80px;
    right: -80px;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    position: relative;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
    position: relative;
}

.contact-info-item .icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-item .info h5 {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 2px;
}

.contact-info-item .info p {
    font-size: 1rem;
    font-weight: 600;
}

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.contact-form-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-form-card .sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group label .required {
    color: #EF4444;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.92rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--primary-lighter);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

/* ==========================================================================
   通用卡片列表（新闻列表页）
   ========================================================================== */
.article-list {
    margin-top: 40px;
}

.article-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.article-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.article-thumb {
    flex-shrink: 0;
    width: 200px;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
	overflow: hidden;
	position: relative;
}

.article-thumb img{
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 1;
	overflow: hidden;
	object-fit: cover;
}

.article-item:nth-child(4n+1) .article-thumb { background: var(--gradient-primary); }
.article-item:nth-child(4n+2) .article-thumb { background: var(--gradient-secondary); }
.article-item:nth-child(4n+3) .article-thumb { background: var(--gradient-accent); }
.article-item:nth-child(4n+4) .article-thumb { background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%); }

.article-body {
    flex: 1;
    min-width: 0;
}

.article-body .meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.article-body .meta .tag {
    font-size: 0.72rem;
    padding: 2px 10px;
    background: var(--primary-lighter);
    color: var(--primary);
    border-radius: var(--radius-sm);
}

.article-body .meta .date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-body h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.article-item:hover h3 {
    color: var(--primary);
}

.article-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    overflow: hidden;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0 12px;
}

.pagination a:hover,
.pagination a.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

/* ==========================================================================
   动画
   ========================================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   响应式 - 平板
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0;
    }

    .nav-menu > li > a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .course-feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-flow {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px 12px;
    }

    .process-flow::before {
        display: none;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ==========================================================================
   响应式 - 移动端
   ========================================================================== */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

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

    /* 顶部工具栏 */
    .top-bar .top-left .item-hide-mobile {
        display: none;
    }

    /* 导航 */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu > li > a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius);
        border-bottom: 1px solid var(--border-light);
    }

    .nav-actions {
        display: none;
    }

    .logo-text .slogan {
        display: none;
    }

    .logo-text .name {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    :root {
        --header-h: 64px;
    }

    /* 英雄区 */
    .hero-slider {
        height: 460px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-tag {
        font-size: 0.78rem;
    }

    /* 信任栏 */
    .trust-items {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* 课程 */
    .course-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 数据统计 */
    .stats {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 16px;
    }

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

    /* 师资 */
    .teacher-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* 新闻 */
    .news-list {
        grid-template-columns: 1fr;
    }

    .news-item {
        padding: 16px;
    }

    /* 报考流程 */
    .process-flow {
        grid-template-columns: 1fr 1fr;
        gap: 24px 12px;
    }

    .process-flow::before {
        display: none;
    }

    /* 学员评价 */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-content {
        text-align: center;
        justify-content: center;
    }

    .cta-text h2 {
        font-size: 1.5rem;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-qr {
        grid-column: 1 / -1;
    }

    /* 悬浮工具 */
    .float-tools {
        right: 12px;
        bottom: 80px;
    }

    .float-tool {
        width: 48px;
        height: 48px;
    }

    /* 移动端报名条 */
    .mobile-cta-bar {
        display: flex;
    }

    /* 页面横幅 */
    .page-banner {
        padding: 40px 0;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    /* 关于我们 */
    .about-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-intro .image-box {
        font-size: 4rem;
    }

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

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

    /* 课程详情 */
    .course-detail-grid {
        grid-template-columns: 1fr;
    }

    .course-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* 联系我们 */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 28px;
    }

    /* 文章列表 */
    .article-item {
        flex-direction: column;
        gap: 16px;
    }

    .article-thumb {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    /* 表格滚动 */
    .table-wrap {
        overflow-x: auto;
    }

    .condition-table {
        min-width: 500px;
    }
}

/* ==========================================================================
   响应式 - 小屏手机
   ========================================================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-title {
        font-size: 1.6rem;
    }

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

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

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

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

    .course-feature-grid {
        grid-template-columns: 1fr;
    }

    .process-flow {
        grid-template-columns: 1fr;
    }

    .process-flow::before {
        display: none;
    }

    .hero-actions .btn {
        flex: 1;
    }

    .btn {
        padding: 11px 22px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   文章详情页
   ========================================================================== */

/* 文章布局 */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* 文章详情 */
.article-detail {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

/* 文章头部 */
.article-header {
    margin-bottom: 32px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.article-tag {
    display: inline-block;
    background: var(--primary-lighter);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.article-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-views {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.author-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 封面图 */
.article-cover {
    margin-bottom: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cover-placeholder {
    aspect-ratio: 16 / 9;
    background: var(--gradient-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--primary);
}

.cover-placeholder svg {
    opacity: 0.5;
}

.cover-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.7;
}

/* 正文 */
.article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-body);
}

.article-body .lead {
    font-size: .95rem;
    font-weight: 400;
    color: #475569;
    background: #f0f9ff;
    border-left: 4px solid var(--primary);
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 32px;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-lighter);
    position: relative;
}

.article-body h2::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

.article-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 24px 0 12px;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body strong {
    color: var(--primary);
    font-weight: 700;
}

/* 文章表格 */
.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
    font-size: 0.95rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.article-table thead {
    background: var(--gradient-primary);
    color: #fff;
}

.article-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.article-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}

.article-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.article-table tbody tr:hover {
    background: var(--primary-lighter);
}

/* 高亮提示 */
.article-highlight {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 28px 0;
    color: #92400E;
}

.article-highlight svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #D97706;
}

.article-highlight p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* FAQ 折叠 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    gap: 12px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-body);
    margin: 0;
}

/* 标签 */
.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

.article-tags .tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-body);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.article-tags .tag:hover {
    background: var(--primary-lighter);
    color: var(--primary);
    border-color: var(--primary-light);
}

/* 上下篇导航 */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.article-nav-prev,
.article-nav-next {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--bg-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.article-nav-prev:hover,
.article-nav-next:hover {
    background: var(--primary-lighter);
    border-color: var(--primary-light);
}

.article-nav-prev .label,
.article-nav-next .label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.article-nav-prev .title,
.article-nav-next .title {
    font-size: 0.92rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 侧边栏 */
.article-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.sidebar-widget h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-lighter);
    position: relative;
}

.sidebar-widget h4::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

/* 作者卡片 */
.sidebar-author .author-card {
    text-align: center;
}

.author-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 14px;
}

.author-card h4 {
    border: none;
    padding: 0;
    margin-bottom: 8px;
}

.author-card h4::after {
    display: none;
}

.author-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* 侧边栏列表 */
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sidebar-list .list-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--bg-light);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.sidebar-list li:nth-child(1) .list-num {
    background: #FEE2E2;
    color: #DC2626;
}

.sidebar-list li:nth-child(2) .list-num {
    background: #FED7AA;
    color: #EA580C;
}

.sidebar-list li:nth-child(3) .list-num {
    background: #FEF3C7;
    color: #D97706;
}

.sidebar-list li a {
    font-size: 0.9rem;
    color: var(--text-body);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
    flex: 1;
}

.sidebar-list li a:hover {
    color: var(--primary);
}

/* 分类列表 */
.sidebar-categories li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-light);
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-categories .count {
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
}

/* CTA 侧边栏 */
.sidebar-cta {
    background: var(--gradient-primary) !important;
    color: #fff;
    text-align: center;
}

.sidebar-cta h4 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.sidebar-cta h4::after {
    background: #fff;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.sidebar-cta .btn-primary {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
}

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

.sidebar-cta p:last-child {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 0.85rem;
}

/* 推荐文章卡片 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.article-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.article-card-thumb {
    aspect-ratio: 16 / 9;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.article-card-body {
    padding: 20px;
}

.article-card-tag {
    display: inline-block;
    background: var(--primary-lighter);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.article-card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-date {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* 按钮辅助 */
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.mt-2 {
    margin-top: 12px;
}

/* 响应式 - 文章详情页 */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

@media (max-width: 768px) {
    .article-detail {
        padding: 24px;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-body h2 {
        font-size: 1.25rem;
    }

    .article-body h3 {
        font-size: 1.05rem;
    }

    .article-body .lead {
        font-size: 1rem;
        padding: 16px;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

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

    .article-table {
        font-size: 0.85rem;
    }

    .article-table th,
    .article-table td {
        padding: 8px 10px;
    }

    .faq-question {
        padding: 14px 18px;
        font-size: 0.92rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 16px;
    }
}
