/** =====================================================
 * 圣宠训导学院 - 训导招生页面样式
 * xundao.css
 * ===================================================== */

/* ===== CSS变量 ===== */
:root {
    --xd-primary: #006f69;
    --xd-primary-light: #00b8ae;
    --xd-primary-dark: #004a45;
    --xd-accent: #00d4c8;
    --xd-accent-hover: #00bfb3;
    --xd-success: #43a047;
    --xd-bg: #ffffff;
    --xd-bg-light: #f0f7f6;
    --xd-bg-dark: #004a45;
    --xd-text: #333333;
    --xd-text-light: #666666;
    --xd-text-muted: #999999;
    --xd-border: #e8e8e8;
    --xd-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --xd-shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --xd-radius: 12px;
    --xd-radius-sm: 8px;
    --xd-transition: all 0.3s ease;
    --xd-container: 1280px;
    --xd-nav-height: 72px;
}

/* ===== 基础重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px; line-height: 1.6; color: var(--xd-text); background: var(--xd-bg);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--xd-transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea, button { font-family: inherit; font-size: inherit; outline: none; }
button { cursor: pointer; border: none; background: none; }

/* ===== 容器 ===== */
.xd-container { max-width: var(--xd-container); margin: 0 auto; padding: 0 24px; }

/* ===== 按钮 ===== */
.xd-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--xd-radius-sm); font-weight: 500;
    transition: var(--xd-transition); cursor: pointer; border: 2px solid transparent;
    white-space: nowrap;
}
.xd-btn-primary {
    background: var(--xd-accent); color: #fff; border-color: var(--xd-accent);
}
.xd-btn-primary:hover {
    background: var(--xd-accent-hover); border-color: var(--xd-accent-hover);
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,212,200,0.35);
}
.xd-btn-outline {
    background: transparent; color: var(--xd-primary); border-color: var(--xd-primary);
}
.xd-btn-outline:hover { background: var(--xd-primary); color: #fff; }
.xd-btn-outline-light {
    background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.4);
}
.xd-btn-outline-light:hover { background: #fff; color: var(--xd-primary); }
.xd-btn-lg { padding: 16px 36px; font-size: 17px; border-radius: var(--xd-radius); }
.xd-btn-block { width: 100%; }

/* ===== 导航 ===== */
.xd-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--xd-nav-height); background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--xd-transition);
}
.xd-nav.scrolled { box-shadow: var(--xd-shadow); }
.xd-nav .xd-container {
    display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.xd-logo {
    display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700;
    color: var(--xd-primary);
}
.xd-logo i { font-size: 28px; color: var(--xd-accent); }
.xd-menu { display: flex; align-items: center; gap: 36px; }
.xd-menu a {
    font-size: 15px; color: var(--xd-text); font-weight: 500; position: relative;
}
.xd-menu a::after {
    content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
    background: var(--xd-accent); transition: var(--xd-transition);
}
.xd-menu a:hover { color: var(--xd-primary); }
.xd-menu a:hover::after { width: 100%; }
.xd-nav-cta { padding: 10px 24px; font-size: 14px; }

/* 移动端菜单 */
.xd-menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.xd-menu-toggle span {
    display: block; width: 24px; height: 2px; background: var(--xd-primary);
    transition: var(--xd-transition);
}
.xd-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.xd-menu-toggle.active span:nth-child(2) { opacity: 0; }
.xd-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== Banner ===== */
.xd-banner {
    position: relative; min-height: auto; display: flex; align-items: center;
    padding-top: 60px; overflow: hidden;
    background: linear-gradient(135deg, #006f69 0%, #00b8ae 55%, #00d4c8 100%);
    padding-bottom: 50px;
}
.xd-banner-bg {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 15% 40%, rgba(255,255,255,0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(255,255,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(0,212,200,0.15) 0%, transparent 50%);
}
/* 装饰大圆 */
.xd-banner::before,
.xd-banner::after {
    content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.xd-banner::before {
    width: 500px; height: 500px; top: -120px; right: -80px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.xd-banner::after {
    width: 350px; height: 350px; bottom: -100px; left: -60px;
    background: radial-gradient(circle, rgba(0,212,200,0.2) 0%, transparent 70%);
}
/* 点阵纹理 */
.xd-banner-dots {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.25;
    background-image: radial-gradient(circle, rgba(255,255,255,0.6) 1px, transparent 1px);
    background-size: 32px 32px;
}
/* 底部波浪过渡 */
.xd-banner-wave {
    position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 3;
}
.xd-banner-wave svg {
    display: block; width: 100%; height: 60px;
}
.xd-banner-content { position: relative; z-index: 2; width: 100%; padding: 40px 0; }
.xd-banner .xd-container {
    display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: center;
    max-width: 1200px;
}
.xd-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px; color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 24px;
}
.xd-badge i { font-size: 16px; }
.xd-banner h1 {
    font-size: 52px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 20px;
}
.xd-text-highlight { color: rgba(255,255,255,0.95); position: relative; font-weight: 700; }
.xd-banner-desc { font-size: 20px; color: rgba(255,255,255,0.85); margin-bottom: 40px; }
.xd-banner-stats {
    display: flex; gap: 40px; margin-bottom: 40px;
}
.xd-stat-item { text-align: center; }
.xd-stat-item strong {
    display: block; font-size: 42px; font-weight: 800; color: #fff; line-height: 1;
}
.xd-stat-item span { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 6px; display: block; }
.xd-banner-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Banner右侧视觉区 */
.xd-banner-visual {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: var(--xd-radius);
    padding: 36px 28px; box-shadow: var(--xd-shadow-lg); text-align: center;
}
.xd-visual-main {
    width: 130px; height: 130px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.2);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    margin: 0 auto 24px; gap: 6px;
}
.xd-visual-main i { font-size: 48px; color: #fff; }
.xd-visual-main span { font-size: 12px; color: rgba(255,255,255,0.8); font-weight: 500; }
.xd-visual-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.xd-vf-item {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px;
    background: rgba(255,255,255,0.08); border-radius: var(--xd-radius-sm);
    border: 1px solid rgba(255,255,255,0.1); transition: var(--xd-transition);
}
.xd-vf-item:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.xd-vf-item i { font-size: 18px; color: #fff; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.xd-vf-item span { font-size: 14px; color: #fff; font-weight: 500; }

/* ===== 通用板块 ===== */
.xd-section { padding: 100px 0; }
.xd-section-light { background: var(--xd-bg-light); }
.xd-section-dark { background: linear-gradient(180deg, var(--xd-primary) 0%, var(--xd-primary-dark) 100%); color: #fff; }
.xd-section-dark .xd-section-header h2,
.xd-section-dark .xd-section-header p { color: #fff; }
.xd-section-dark .xd-section-tag { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.3); }

.xd-section-header { text-align: center; margin-bottom: 60px; max-width: 640px; margin-left: auto; margin-right: auto; }
.xd-section-tag {
    display: inline-block; padding: 6px 18px; background: rgba(0,111,105,0.08);
    border: 1px solid rgba(0,111,105,0.15); border-radius: 50px;
    color: var(--xd-primary); font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.xd-section-header h2 { font-size: 38px; font-weight: 800; color: var(--xd-primary); margin-bottom: 12px; line-height: 1.3; }
.xd-section-header p { font-size: 17px; color: var(--xd-text-light); }

/* ===== 前景 ===== */
.xd-prospect-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.xd-prospect-card {
    background: #fff; border-radius: var(--xd-radius); padding: 32px 24px;
    box-shadow: var(--xd-shadow); text-align: center; transition: var(--xd-transition);
    border: 1px solid var(--xd-border);
}
.xd-prospect-card:hover { transform: translateY(-6px); box-shadow: var(--xd-shadow-lg); }
.xd-prospect-icon {
    width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin: 0 auto 20px;
}
.xd-prospect-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--xd-primary); }
.xd-prospect-card p { font-size: 14px; color: var(--xd-text-light); line-height: 1.7; }
.xd-prospect-card strong { color: var(--xd-accent); }

/* ===== 核心优势 ===== */
.xd-adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.xd-adv-item {
    display: flex; gap: 20px; padding: 28px; background: #fff;
    border-radius: var(--xd-radius); box-shadow: var(--xd-shadow); border: 1px solid var(--xd-border);
    transition: var(--xd-transition);
}
.xd-adv-item:hover { transform: translateY(-4px); box-shadow: var(--xd-shadow-lg); border-color: var(--xd-accent); }
.xd-adv-num {
    font-size: 36px; font-weight: 800; color: var(--xd-accent); opacity: 0.3;
    line-height: 1; flex-shrink: 0; min-width: 48px;
}
.xd-adv-content h3 { font-size: 18px; margin-bottom: 8px; color: var(--xd-primary); }
.xd-adv-content p { font-size: 14px; color: var(--xd-text-light); line-height: 1.7; }

/* ===== 课程卡片 ===== */
.xd-course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }

/* #courses 白色背景适配 */
#courses { background: #fff; }
#courses .xd-section-header h2,
#courses .xd-section-header p { color: var(--xd-primary); }
#courses .xd-section-tag { background: rgba(0,111,105,0.08); color: var(--xd-primary); border-color: rgba(0,111,105,0.15); }

.xd-course-card {
    background: #fff; border: 1px solid var(--xd-border);
    border-radius: var(--xd-radius); padding: 32px 28px; position: relative; transition: var(--xd-transition);
    box-shadow: var(--xd-shadow);
}
.xd-course-card:hover { transform: translateY(-6px); border-color: rgba(0,111,105,0.2); box-shadow: var(--xd-shadow-lg); }
.xd-course-hot {
    background: #fff; border-color: var(--xd-accent);
    transform: scale(1.02);
}
.xd-course-tag {
    display: inline-block; padding: 4px 14px; background: var(--xd-bg-light);
    border-radius: 50px; font-size: 12px; color: var(--xd-text-light); margin-bottom: 16px;
}
.xd-tag-hot { background: var(--xd-accent); color: #fff; }
.xd-course-name { font-size: 24px; font-weight: 700; margin-bottom: 12px; color: var(--xd-primary); }
.xd-course-meta { display: flex; gap: 16px; margin-bottom: 20px; font-size: 14px; color: var(--xd-text-light); }
.xd-course-meta i { margin-right: 4px; }
.xd-course-slogan { font-size: 15px; color: var(--xd-primary); font-weight: 500; margin-bottom: 20px; padding: 8px 14px; background: rgba(0,111,105,0.06); border-radius: var(--xd-radius-sm); border-left: 3px solid var(--xd-primary); }
.xd-course-list { margin-bottom: 28px; }
.xd-course-list li {
    display: flex; align-items: flex-start; gap: 10px; padding: 8px 0;
    font-size: 14px; color: var(--xd-text-light); border-bottom: 1px solid var(--xd-border);
}
.xd-course-list li:last-child { border-bottom: none; }
.xd-course-list i { color: var(--xd-success); font-size: 12px; margin-top: 4px; flex-shrink: 0; }
.xd-course-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--xd-border); }
.xd-course-badge { font-size: 13px; color: var(--xd-text-light); display: flex; align-items: center; gap: 6px; }
.xd-badge-gold { color: #d4a017; }

/* 课程卡片按钮：亮青色CTA */
.xd-course-card .xd-btn-primary {
    background: linear-gradient(135deg, #00b8ae 0%, #00d4c8 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0,184,174,0.35);
}
.xd-course-card .xd-btn-primary:hover {
    background: linear-gradient(135deg, #00a39a 0%, #00b8ae 100%);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0,184,174,0.5);
    transform: translateY(-2px);
}

.xd-course-cta { margin-top: 50px; }
.xd-cta-box {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    background: linear-gradient(135deg, #006f69 0%, #00b8ae 100%); border: 1px solid rgba(0,111,105,0.15);
    border-radius: var(--xd-radius); padding: 32px 40px;
}
.xd-cta-left h3 { font-size: 22px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; color: #fff; }
.xd-cta-left h3 i { color: #fff; }
.xd-cta-left p { font-size: 15px; color: rgba(255,255,255,0.85); }
.xd-cta-left strong { color: #fff; }

/* ===== 师资 ===== */
.xd-teacher-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.xd-teacher-card {
    display: flex; gap: 20px; padding: 24px; background: #fff;
    border-radius: var(--xd-radius); box-shadow: var(--xd-shadow); border: 1px solid var(--xd-border);
    transition: var(--xd-transition);
}
.xd-teacher-card:hover { transform: translateY(-4px); box-shadow: var(--xd-shadow-lg); }
.xd-teacher-avatar {
    width: 90px; height: 90px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    background: var(--xd-bg-light); border: 3px solid var(--xd-accent);
}
.xd-teacher-avatar img { width: 100%; height: 100%; object-fit: cover; }
.xd-teacher-info h3 { font-size: 18px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.xd-teacher-title { font-size: 13px; color: #fff; background: var(--xd-accent); padding: 2px 10px; border-radius: 50px; font-weight: 500; }
.xd-teacher-tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.xd-teacher-tags span { font-size: 12px; color: var(--xd-text-light); background: var(--xd-bg-light); padding: 3px 10px; border-radius: 50px; }
.xd-teacher-info p { font-size: 14px; color: var(--xd-text-light); line-height: 1.7; }

/* ===== 教学环境 ===== */
.xd-env-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 280px 220px; gap: 20px;
}
.xd-env-item { position: relative; border-radius: var(--xd-radius); overflow: hidden; cursor: pointer; }
.xd-env-large { grid-column: span 2; }
.xd-env-img { width: 100%; height: 100%; }
.xd-env-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.xd-env-item:hover .xd-env-img img { transform: scale(1.08); }
.xd-env-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--xd-primary) 0%, var(--xd-primary-light) 100%);
    color: #fff; gap: 10px;
}
.xd-env-placeholder i { font-size: 48px; opacity: 0.6; }
.xd-env-placeholder span { font-size: 16px; }
.xd-env-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    padding: 40px 24px 20px; color: #fff; transition: var(--xd-transition);
}
.xd-env-overlay h3 { font-size: 18px; margin-bottom: 4px; }
.xd-env-overlay p { font-size: 13px; color: rgba(255,255,255,0.8); }

/* ===== 学员 ===== */
.xd-student-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xd-student-card {
    background: #fff; border-radius: var(--xd-radius); padding: 28px;
    box-shadow: var(--xd-shadow); border: 1px solid var(--xd-border);
    transition: var(--xd-transition); display: flex; flex-direction: column;
}
.xd-student-card:hover { transform: translateY(-4px); box-shadow: var(--xd-shadow-lg); }
.xd-student-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.xd-student-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--xd-bg-light); }
.xd-student-avatar img { width: 100%; height: 100%; object-fit: cover; }
.xd-student-header h4 { font-size: 17px; margin-bottom: 2px; }
.xd-student-batch { font-size: 12px; color: var(--xd-text-muted); }
.xd-student-body { flex: 1; margin-bottom: 16px; }
.xd-student-body p { font-size: 14px; color: var(--xd-text-light); line-height: 1.8; font-style: italic; }
.xd-student-footer { display: flex; gap: 16px; padding-top: 16px; border-top: 1px solid var(--xd-border); font-size: 13px; color: var(--xd-text-muted); }
.xd-student-footer i { margin-right: 4px; }

/* ===== 证书 ===== */
.xd-cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.xd-cert-item {
    text-align: center; padding: 36px 24px; background: var(--xd-bg-light);
    border-radius: var(--xd-radius); border: 1px solid var(--xd-border);
    transition: var(--xd-transition);
}
.xd-cert-item:hover { background: #fff; box-shadow: var(--xd-shadow); transform: translateY(-4px); }
.xd-cert-icon {
    width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--xd-primary) 0%, var(--xd-primary-light) 100%);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin: 0 auto 20px;
}
.xd-cert-item h3 { font-size: 17px; margin-bottom: 10px; color: var(--xd-primary); }
.xd-cert-item p { font-size: 14px; color: var(--xd-text-light); line-height: 1.7; }

/* ===== FAQ ===== */
.xd-faq-list { max-width: 800px; margin: 0 auto; }
.xd-faq-item { margin-bottom: 12px; border-radius: var(--xd-radius-sm); overflow: hidden; border: 1px solid var(--xd-border); }
.xd-faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; background: #fff; font-size: 16px; font-weight: 500;
    color: var(--xd-primary); text-align: left; transition: var(--xd-transition);
}
.xd-faq-question:hover { background: var(--xd-bg-light); }
.xd-faq-question i { font-size: 14px; color: var(--xd-text-muted); transition: var(--xd-transition); }
.xd-faq-item.active .xd-faq-question i { transform: rotate(180deg); color: var(--xd-accent); }
.xd-faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
    background: #fff; padding: 0 24px;
}
.xd-faq-item.active .xd-faq-answer { max-height: 300px; padding: 0 24px 20px; }
.xd-faq-answer p { font-size: 15px; color: var(--xd-text-light); line-height: 1.8; }
.xd-faq-answer strong { color: var(--xd-accent); }

/* ===== 底部CTA ===== */
.xd-section-cta {
    background: linear-gradient(135deg, var(--xd-primary) 0%, var(--xd-primary-dark) 100%);
    color: #fff;
}
.xd-section-cta h2 { font-size: 38px; text-align: center; margin-bottom: 12px; }
.xd-section-cta > .xd-container > .xd-reveal > p { text-align: center; font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 50px; }

/* 咨询通道 */
.xd-contact-new { display: grid; grid-template-columns: 1.5fr 0.5fr; gap: 40px; align-items: center; }
.xd-contact-channel { display: flex; flex-direction: column; gap: 16px; }
.xd-channel-item {
    display: flex; align-items: center; gap: 20px; padding: 24px 28px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--xd-radius); color: #fff; text-align: left;
    transition: var(--xd-transition); width: 100%; cursor: pointer;
}
.xd-channel-item:hover { background: rgba(255,255,255,0.1); border-color: var(--xd-accent); transform: translateY(-3px); }
.xd-channel-icon {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.xd-channel-info h3 { font-size: 18px; margin-bottom: 4px; }
.xd-channel-info p { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 2px; }
.xd-channel-info span { font-size: 13px; color: rgba(255,255,255,0.5); }
.xd-contact-qr-wrap { display: flex; align-items: center; justify-content: center; }
.xd-qr-box {
    text-align: center; padding: 24px; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--xd-radius);
}
.xd-qr-box .xd-qr-placeholder {
    width: 160px; height: 160px; margin: 0 auto 12px;
    background: rgba(255,255,255,0.1); border-radius: var(--xd-radius-sm);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); gap: 6px; border: 1px dashed rgba(255,255,255,0.2);
}
.xd-qr-box .xd-qr-placeholder i { font-size: 56px; }
.xd-qr-box .xd-qr-placeholder span { font-size: 14px; }
.xd-qr-box p { font-size: 14px; color: rgba(255,255,255,0.6); }

/* ===== 页脚 ===== */
.xd-footer { background: var(--xd-bg-dark); color: rgba(255,255,255,0.6); padding: 60px 0 24px; }
.xd-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.xd-footer-brand .xd-logo { color: #fff; margin-bottom: 16px; }
.xd-footer-brand p { font-size: 14px; line-height: 1.8; }
.xd-footer-links h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.xd-footer-links li { margin-bottom: 10px; }
.xd-footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); }
.xd-footer-links a:hover { color: var(--xd-accent); }
.xd-footer-contact h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.xd-footer-contact p { font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.xd-footer-contact i { color: var(--xd-accent); width: 18px; }
.xd-footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; }
.xd-footer-bottom a { color: rgba(255,255,255,0.5); }
.xd-footer-bottom a:hover { color: var(--xd-accent); }

/* ===== 回到顶部按钮 ===== */
.xd-float-top {
    position: fixed; right: 20px; bottom: 30px; z-index: 999;
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; box-shadow: var(--xd-shadow-lg);
    transition: var(--xd-transition); background: var(--xd-primary);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    border: none; cursor: pointer;
}
.xd-float-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.xd-float-top:hover { background: var(--xd-primary-dark); transform: translateY(-2px); }

/* ===== 滚动动画 ===== */
.xd-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.xd-reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .xd-banner .xd-container { grid-template-columns: 1fr; gap: 40px; }
    .xd-banner h1 { font-size: 40px; }
    .xd-banner-right { max-width: 480px; margin: 0 auto; width: 100%; }
    .xd-prospect-grid { grid-template-columns: repeat(2, 1fr); }
    .xd-course-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .xd-course-hot { transform: none; }
    .xd-teacher-grid { grid-template-columns: 1fr; }
    .xd-student-grid { grid-template-columns: 1fr; }
    .xd-cert-grid { grid-template-columns: repeat(2, 1fr); }
    .xd-contact-grid { grid-template-columns: 1fr; }
    .xd-contact-new { grid-template-columns: 1fr; }
    .xd-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .xd-env-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 200px); }
    .xd-env-large { grid-column: span 2; }
}

@media (max-width: 768px) {
    :root { --xd-nav-height: 60px; }
    .xd-section { padding: 60px 0; }
    .xd-section-header h2 { font-size: 28px; }
    .xd-menu { display: none; position: fixed; top: var(--xd-nav-height); left: 0; right: 0;
        background: #fff; flex-direction: column; padding: 20px; gap: 0;
        box-shadow: var(--xd-shadow); border-top: 1px solid var(--xd-border);
    }
    .xd-menu.active { display: flex; }
    .xd-menu li { width: 100%; }
    .xd-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--xd-border); }
    .xd-menu-toggle { display: flex; }
    .xd-nav-cta { display: none; }
    .xd-banner h1 { font-size: 30px; }
    .xd-banner-desc { font-size: 16px; }
    .xd-banner .xd-container { grid-template-columns: 1fr; }
    .xd-banner-right { display: none; }
    .xd-banner-stats { gap: 24px; }
    .xd-stat-item strong { font-size: 32px; }
    .xd-banner-actions { flex-direction: column; }
    .xd-banner-actions .xd-btn { width: 100%; }
    .xd-prospect-grid { grid-template-columns: 1fr; }
    .xd-adv-grid { grid-template-columns: 1fr; }
    .xd-cert-grid { grid-template-columns: 1fr; }
    .xd-cta-box { flex-direction: column; text-align: center; gap: 20px; }
    .xd-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .xd-env-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 180px); }
    .xd-env-large { grid-column: span 1; }
    .xd-teacher-card { flex-direction: column; text-align: center; }
    .xd-teacher-avatar { margin: 0 auto; }
    .xd-float-top { width: 44px; height: 44px; font-size: 16px; }
    .xd-consult-footer { flex-wrap: wrap; gap: 10px; }
    .xd-contact-channel { gap: 12px; }
    .xd-channel-item { padding: 18px 20px; }
    .xd-channel-icon { width: 48px; height: 48px; font-size: 20px; }

    /* 移动端课程卡片精简 */
    .xd-course-grid { grid-template-columns: 1fr; gap: 16px; }
    .xd-course-card { padding: 24px 20px; }
    .xd-course-card:hover { transform: none; }
    .xd-course-hot { transform: none; }
    .xd-course-name { font-size: 20px; margin-bottom: 8px; }
    .xd-course-meta { margin-bottom: 12px; font-size: 13px; }
    .xd-course-slogan { margin-bottom: 16px; font-size: 14px; }
    .xd-course-list { display: none; }
    .xd-course-footer { padding-top: 16px; }
    .xd-course-badge { display: none; }
    .xd-course-card .xd-btn-primary { width: 100%; justify-content: center; }
}

/* ===== 表单提交成功提示 ===== */
.xd-toast {
    position: fixed; top: 90px; left: 50%; transform: translateX(-50%) translateY(-20px);
    background: var(--xd-success); color: #fff; padding: 14px 28px; border-radius: var(--xd-radius-sm);
    font-size: 15px; box-shadow: var(--xd-shadow-lg); z-index: 2000; opacity: 0; visibility: hidden;
    transition: all 0.3s ease; display: flex; align-items: center; gap: 10px;
}
.xd-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
