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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: #f5f0e8;
    color: #333;
    line-height: 1.7;
    font-size: 15px;
    padding-bottom: 70px;
}

/* 顶部Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 50px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(139, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(218, 165, 32, 0.2) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.teacher-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    object-position: center 20%;
}

.teacher-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 4px;
}

.teacher-title {
    font-size: 14px;
    color: #DAA520;
    margin-bottom: 12px;
    font-weight: 500;
}

.teacher-tagline {
    font-size: 13px;
    opacity: 0.8;
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 50px;
}

/* 页面标题栏 */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 40px 20px 30px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 13px;
    opacity: 0.7;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 20px;
    background: #f5f0e8;
    border-radius: 20px 20px 0 0;
}

/* 容器 */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 区块 */
.section {
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #8B0000, #B22222);
    border-radius: 2px;
}

.section-en {
    font-size: 11px;
    color: #ccc;
    letter-spacing: 1px;
    font-weight: 600;
}

/* 个人简介 */
.bio-text {
    color: #555;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 12px;
}

.bio-text:last-child {
    margin-bottom: 0;
}

.highlight {
    color: #8B0000;
    font-weight: 600;
}

/* 荣誉卡片 */
.honor-card {
    background: linear-gradient(135deg, #fffbf0 0%, #fff5d6 100%);
    border-left: 4px solid #DAA520;
    padding: 16px;
    border-radius: 0 12px 12px 0;
    margin-top: 16px;
}

.honor-title {
    font-size: 15px;
    font-weight: 700;
    color: #8B6914;
    margin-bottom: 8px;
}

.honor-desc {
    font-size: 13px;
    color: #7a6530;
    line-height: 1.7;
}

/* 数据统计 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.stat-item {
    text-align: center;
    padding: 16px 8px;
    background: linear-gradient(135deg, #f8f4f0 0%, #f0e8e0 100%);
    border-radius: 14px;
}

.stat-num {
    font-size: 24px;
    font-weight: 800;
    color: #8B0000;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #888;
}

/* 快速入口 */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.quick-nav-item {
    text-align: center;
    text-decoration: none;
    color: #555;
}

.quick-nav-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 8px;
}

.quick-nav-item span {
    font-size: 12px;
    font-weight: 500;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    padding-bottom: env(safe-area-inset-bottom, 8px);
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #999;
    font-size: 11px;
    gap: 2px;
    padding: 4px 12px;
}

.nav-item.active {
    color: #8B0000;
}

.nav-icon {
    font-size: 22px;
}

.bottom-space {
    height: 20px;
}

/* 课程分类标签 */
.category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    background: #f0ebe3;
    border-radius: 20px;
    font-size: 13px;
    color: #777;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.category-tab.active {
    background: linear-gradient(135deg, #8B0000, #B22222);
    color: white;
}

/* 课程卡片 */
.course-card {
    background: #faf8f5;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid #8B0000;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:active {
    transform: scale(0.98);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.course-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    flex: 1;
    padding-right: 10px;
}

.course-duration {
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
    border-radius: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

.course-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 12px;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.course-tag {
    font-size: 11px;
    padding: 3px 8px;
    background: #f0ebe3;
    color: #888;
    border-radius: 8px;
}

/* 课程详情 */
.course-detail-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 40px 20px 30px;
    position: relative;
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.course-detail-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-top: 20px;
}

.course-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    opacity: 0.8;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section-title::before {
    content: '';
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg, #8B0000, #B22222);
    border-radius: 2px;
}

.detail-content {
    font-size: 14px;
    color: #555;
    line-height: 1.9;
}

/* 课程大纲 */
.outline-list {
    list-style: none;
}

.outline-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    gap: 12px;
}

.outline-item:last-child {
    border-bottom: none;
}

.outline-num {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #8B0000, #B22222);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.outline-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.outline-content p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* 书籍卡片 */
.book-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #faf8f5;
    border-radius: 14px;
    margin-bottom: 14px;
}

.book-cover {
    width: 80px;
    height: 110px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.book-author {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.book-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    flex: 1;
}

.book-tag {
    display: inline-block;
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(139, 0, 0, 0.1);
    color: #8B0000;
    border-radius: 8px;
    margin-top: 8px;
    align-self: flex-start;
}

/* 服务客户 */
.client-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.client-item {
    background: #faf8f5;
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* 经历时间线 */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #8B0000, #e8d5d5);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

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

.timeline-dot {
    position: absolute;
    left: -20px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: #8B0000;
    border: 3px solid #f5f0e8;
    border-radius: 50%;
    z-index: 1;
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: #8B0000;
    margin-bottom: 6px;
}

.timeline-content {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

/* 动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 页脚 */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #bbb;
}

/* 讲师信息卡片 */
.teacher-info-card {
    background: linear-gradient(135deg, #f8f4f0 0%, #f0e8e0 100%);
    border-radius: 14px;
    padding: 18px;
    margin-top: 16px;
}

.teacher-info-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.teacher-info-list {
    list-style: none;
}

.teacher-info-list li {
    font-size: 13px;
    color: #666;
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
}

.teacher-info-list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: #8B0000;
    font-weight: 700;
}

/* 课程价值 */
.value-list {
    list-style: none;
}

.value-item {
    padding: 10px 0;
    font-size: 14px;
    color: #555;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.value-item::before {
    content: '✓';
    color: #8B0000;
    font-weight: 700;
    flex-shrink: 0;
}

/* 咨询按钮 */
.cta-section {
    text-align: center;
    padding: 20px;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
    color: white;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
}

.cta-btn:active {
    transform: scale(0.98);
}

.cta-note {
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}