/* ========================================
   学音悦网校 11周年庆典 - 样式表
   温暖活力风格 · 专业在线教育落地页
======================================== */

/* 全局变量 - 温暖配色 */
:root {
    --primary: #FF6B35;        /* 活力橙 */
    --primary-dark: #E85A24;
    --secondary: #2C3E50;      /* 沉稳深蓝灰 */
    --accent: #FFB800;         /* 温暖黄 */
    --accent-orange: #FF8C00;
    --bg-light: #FFF8F0;       /* 温暖米白 */
    --bg-dark: #2C3E50;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --text-gray: #7F8C8D;
    --success: #27AE60;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* 顶部横幅 */
.top-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 20px;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 14px;
}

.banner-icon {
    font-size: 18px;
}

.banner-timer {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.banner-timer strong {
    color: var(--accent);
}

.banner-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.banner-close:hover {
    opacity: 1;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.navbar.scrolled .logo-text {
    color: var(--secondary);
}

.anniversary-tag {
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.navbar.scrolled .nav-links a {
    color: var(--text-gray);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* Hero区域 */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary) 0%, #3D566E 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.badge-icon {
    font-size: 18px;
}

.hero-badge span:last-child {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.hero-title {
    color: white;
    margin-bottom: 25px;
}

.title-line1 {
    display: block;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 2px;
}

.title-line2 {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    margin: 10px 0;
}

.title-highlight {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 20px;
    margin-top: 15px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-subtitle strong {
    color: var(--accent);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.stat-unit {
    font-size: 24px;
    color: var(--accent);
}

.stat-label {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-top: 5px;
}

/* Hero表单 */
.hero-form-container {
    background: white;
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header h3 {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.form-subtitle {
    color: var(--text-gray);
    font-size: 14px;
}

.form-subtitle strong {
    color: var(--primary);
}

.main-form .form-group {
    margin-bottom: 15px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
}

.phone-input-group {
    display: flex;
    gap: 10px;
}

.areacode-select {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
    cursor: pointer;
    padding: 14px 10px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 15px;
    background: white;
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.form-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.form-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-gray);
}

/* 滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255,255,255,0.6);
    border-bottom: 2px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    margin: 10px auto 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(5px); }
}

/* 悬浮按钮 */
.floating-phone-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 998;
    opacity: 0;
    transform: translateX(100px);
    transition: var(--transition);
    pointer-events: none;
}

.floating-phone-btn.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.float-phone-content {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255,107,53,0.4);
    transition: var(--transition);
}

.float-phone-content:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255,107,53,0.5);
}

.float-phone-icon {
    font-size: 24px;
}

.float-phone-text {
    font-weight: 700;
    font-size: 15px;
}

/* 手机弹窗 */
.phone-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.phone-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.phone-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    width: 380px;
    max-width: 90%;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.modal-header h3 {
    font-size: 24px;
    color: var(--secondary);
    margin: 15px 0 10px;
}

.modal-header p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.phone-modal-content input {
    width: 100%;
    padding: 16px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.phone-modal-content input:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 15px;
    text-align: center;
    cursor: pointer;
}

.modal-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.modal-submit:hover {
    background: var(--primary-dark);
}

.modal-tip {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 15px;
}

/* 通用区块样式 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
}

/* 明星创办区块 */
.stars-section {
    background: var(--bg-light);
}

.stars-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.star-profile {
    text-align: center;
}

.star-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.star-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.star-profile h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.star-profile p {
    color: var(--text-gray);
    margin-bottom: 5px;
}

.star-title {
    color: var(--primary) !important;
    font-weight: 700;
}

.stars-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(10px);
}

.info-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-gray);
    font-size: 15px;
}

/* 视频区块 */
.video-section {
    background: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    text-align: center;
}

.video-thumbnail {
    position: relative;
    background: var(--secondary);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    padding-left: 5px;
}

.video-card h4 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.video-card p {
    font-size: 14px;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* 师资阵容区块 */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.teacher-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.teacher-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--primary);
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-card h4 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.teacher-school {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.teacher-exp {
    color: var(--text-gray);
    font-size: 13px;
}

.teacher-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
}

.teachers-more {
    text-align: center;
    margin-bottom: 50px;
}

.teachers-more p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.teachers-more strong {
    color: var(--primary);
}

.view-all-btn {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.view-all-btn:hover {
    color: var(--primary-dark);
}

/* 区块CTA盒子 */
.section-cta-box {
    background: var(--secondary);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: white;
}

.section-cta-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.section-cta-box p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.cta-inline-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.cta-inline-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 师资CTA */
.teacher-cta {
    background: white;
    border: 3px solid var(--primary);
}

.teacher-cta h3 {
    color: var(--secondary);
}

.teacher-cta p {
    color: var(--text-gray);
}

.inline-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.inline-form input {
    padding: 14px 20px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 15px;
    min-width: 160px;
}

.inline-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.inline-select {
    padding: 14px 15px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    cursor: pointer;
}

.inline-form button {
    padding: 14px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.inline-form button:hover {
    background: var(--primary-dark);
}

/* 课程服务区块 */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.course-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.course-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.course-card h4 {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.course-card p {
    font-size: 13px;
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 课程CTA */
.course-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    padding: 30px 50px;
}

.cta-left {
    text-align: left;
}

.cta-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-left h3 {
    font-size: 28px;
    margin-bottom: 5px;
}

.cta-left p {
    font-size: 16px;
    opacity: 0.9;
}

.cta-right {
    flex-shrink: 0;
}

.course-form {
    display: flex;
    gap: 10px;
}

.course-select {
    padding: 14px 15px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    cursor: pointer;
}

.course-form input {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    width: 160px;
    font-size: 15px;
}

.course-form button {
    padding: 14px 25px;
    background: var(--accent);
    color: var(--secondary);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.course-form button:hover {
    background: white;
}

@media (max-width: 768px) {
    .course-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .cta-left {
        text-align: center;
    }
    .course-form {
        flex-direction: column;
        width: 100%;
    }
    .course-select, .course-form input, .course-form button {
        width: 100%;
    }
}

/* 评价区块 */
.feedback-section {
    background: var(--bg-light);
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feedback-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.feedback-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    background: var(--bg-light);
}

.feedback-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feedback-stars {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 15px;
}

.feedback-text {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.feedback-author {
    color: var(--text-gray);
    font-size: 14px;
}

.feedback-cta {
    text-align: center;
}

.feedback-cta p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.feedback-btn {
    padding: 14px 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.feedback-btn:hover {
    background: var(--primary-dark);
}

@media (max-width: 992px) {
    .feedback-grid {
        grid-template-columns: 1fr;
    }
}

/* 底部CTA */
.bottom-cta-section {
    background: var(--secondary);
    padding: 80px 20px;
}

.bottom-cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bottom-cta-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 15px;
}

.bottom-cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 30px;
}

.bottom-cta-content strong {
    color: var(--accent);
}

.bottom-form {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: var(--radius);
}

.bottom-form-row {
    display: flex;
    gap: 10px;
}

.bottom-select {
    padding: 14px 15px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 15px;
    cursor: pointer;
}

.bottom-select option {
    background: var(--secondary);
    color: white;
}

.bottom-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 15px;
}

.bottom-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.bottom-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.bottom-submit {
    padding: 14px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.bottom-submit:hover {
    background: var(--accent);
    color: var(--secondary);
}

@media (max-width: 576px) {
    .bottom-form-row {
        flex-direction: column;
    }
    .bottom-submit {
        width: 100%;
    }
}

/* 固定底部栏 */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 15px 20px;
    z-index: 997;
    transform: translateY(100%);
    transition: var(--transition);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.fixed-bottom-bar.show {
    transform: translateY(0);
}

.fixed-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.fixed-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.fixed-bar-tag {
    background: var(--accent);
    color: var(--secondary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
}

.fixed-bar-text {
    font-size: 16px;
    font-weight: 600;
}

.fixed-bar-right {
    display: flex;
    gap: 10px;
}

.fixed-bar-right input {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    width: 150px;
    font-size: 14px;
}

.fixed-bar-right button {
    padding: 12px 25px;
    background: var(--accent);
    color: var(--secondary);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.fixed-bar-right button:hover {
    background: white;
}

@media (max-width: 576px) {
    .fixed-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    .fixed-bar-right {
        width: 100%;
    }
    .fixed-bar-right input {
        flex: 1;
    }
}

/* 成功弹窗 */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
}

.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.success-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: var(--radius);
    padding: 50px 40px;
    width: 380px;
    max-width: 90%;
    text-align: center;
}

.success-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.success-content h3 {
    font-size: 26px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.success-content p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.success-content strong {
    color: var(--primary);
}

.success-tip {
    color: var(--success) !important;
    margin-top: 15px !important;
}

.success-content button {
    margin-top: 25px;
    padding: 14px 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.success-content button:hover {
    background: var(--primary-dark);
}

/* 底部 */
.footer {
    background: var(--secondary);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 150px;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
}

.footer-contact h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.footer-qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: white;
}

.footer-qrcode p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-qrcode img {
        margin: 0 auto 10px;
    }
}

/* 响应式 */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-form-container {
        max-width: 450px;
        margin: 0 auto;
    }
    .stars-content {
        grid-template-columns: 1fr;
    }
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .title-line1 {
        font-size: 36px;
    }
    .title-line2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 15px 60px;
    }
    .title-line1 {
        font-size: 28px;
    }
    .title-line2 {
        font-size: 22px;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    .stat-item {
        min-width: 45%;
    }
    .stat-number {
        font-size: 32px;
    }
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .hero-form-container {
        padding: 25px 20px;
    }
}

/* 滚动显示动画 */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}
