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

:root {
    /* 主配色方案 */
    --primary-blue: #2563eb;
    --primary-green: #10b981;
    --accent-orange: #f59e0b;
    --secondary-blue: #3b82f6;
    --dark-blue: #1e40af;
    --light-blue: #eff6ff;
    --light-green: #ecfdf5;
    --light-orange: #fffbeb;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--gray-50);
    min-height: 100vh;
    padding-bottom: 70px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== 头部导航 ===== */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-top {
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    font-size: 13px;
    display: none;
}

@media (min-width: 768px) {
    .header-top {
        display: block;
    }
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 20px;
    transition: var(--transition);
}

.header-top a:hover {
    color: white;
}

.header-main {
    padding: 12px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
}

.logo-tagline {
    font-size: 11px;
    opacity: 0.85;
}

.nav-menu {
    display: none;
    gap: 28px;
}

@media (min-width: 992px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.9);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: white;
}

.header-phone {
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .header-phone {
        display: flex;
    }
}

.header-phone i {
    font-size: 16px;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== 移动端底部Tab栏 ===== */
.mobile-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid var(--gray-100);
}

@media (min-width: 992px) {
    .mobile-tab-bar {
        display: none;
    }
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: var(--transition);
    color: var(--gray-500);
    min-width: 60px;
}

.tab-item:active {
    background: var(--gray-100);
}

.tab-item.active {
    color: var(--primary-blue);
}

.tab-item i {
    font-size: 20px;
}

.tab-item span {
    font-size: 11px;
    font-weight: 500;
}

/* ===== 页面标题区 ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.page-hero p {
    font-size: 15px;
    opacity: 0.9;
}

/* ===== Banner轮播 ===== */
/* ===== 新封面横幅 ===== */
.hero-banner {
    background: linear-gradient(135deg, #0d3b66 0%, #1a6b4a 50%, #2ecc71 100%);
    padding: 40px 0 24px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -30px 60px rgba(0,0,0,0.15);
}

/* 横幅装饰元素 - 多层光效 */
.hero-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-left {
    flex: 1;
    color: #fff;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.hero-logo {
    height: 60px;
    width: auto;
    border-radius: 0;
}

.hero-brand-name {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2);
}

.hero-slogan {
    font-size: 18px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
    margin-bottom: 24px;
    margin-left: 72px;
}

.hero-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-stat {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
}

.hero-stat-number {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.hero-stat-label {
    font-size: 11px;
    opacity: 0.8;
    color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.hero-btn-primary {
    background: linear-gradient(180deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(39,174,96,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-btn-primary:hover {
    background: linear-gradient(180deg, #27ae60 0%, #219a52 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39,174,96,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

.hero-btn-outline {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.15);
}

.hero-btn-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
    transform: translateY(-2px);
}

.hero-right {
    flex-shrink: 0;
    margin-left: 40px;
}

.hero-logo-large {
    width: 220px;
    height: 220px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: rotate(5deg);
    transition: transform 0.3s;
    mix-blend-mode: multiply;
}

.hero-logo-large:hover {
    transform: rotate(0deg);
}

/* 横幅下方信息条 */
.hero-info-bar {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.hero-info-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: #666;
}

.hero-info-bar a {
    color: #e74c3c;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
}

.hero-info-bar a:hover {
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero-banner {
        padding: 28px 0 20px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-right {
        display: none;
    }
    
    .hero-brand {
        justify-content: center;
    }
    
    .hero-logo {
        height: 50px;
    }
    
    .hero-brand-name {
        font-size: 28px;
    }
    
    .hero-slogan {
        margin-left: 0;
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 10px;
    }
    
    .hero-stat {
        padding: 8px 14px;
    }
    
    .hero-stat-number {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-btn-primary, .hero-btn-outline {
        padding: 12px 28px;
        font-size: 15px;
        width: 200px;
        text-align: center;
    }
    
    .hero-info-bar .container {
        flex-direction: column;
        gap: 6px;
        font-size: 13px;
    }
}

/* ===== 搜索栏(移动端固定) ===== */
.search-bar-fixed {
    position: sticky;
    top: 68px;
    z-index: 100;
    background: white;
    padding: 12px 16px;
    box-shadow: var(--shadow);
}

@media (min-width: 992px) {
    .search-bar-fixed {
        display: none;
    }
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 15px;
    transition: var(--transition);
    background: var(--gray-50);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

/* ===== 通用搜索栏 ===== */
.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    background: white;
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

@media (max-width: 767px) {
    .search-bar {
        display: none;
    }
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}

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

.search-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

/* ===== 面包屑 ===== */
.breadcrumb {
    padding: 12px 0;
    font-size: 14px;
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-600);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-blue);
}

.breadcrumb span {
    margin: 0 8px;
}

/* ===== Section通用 ===== */
.section {
    padding: 48px 0;
}

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

.section-header h2 {
    font-size: 28px;
    color: var(--gray-800);
    margin-bottom: 8px;
}

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

/* ===== 科目分类卡片 ===== */
.subject-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

@media (max-width: 991px) {
    .subject-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 575px) {
    .subject-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

.subject-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.subject-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    font-size: 22px;
    transition: var(--transition);
}

.subject-card:hover .subject-icon {
    transform: scale(1.1) rotate(5deg);
}

.subject-card h3 {
    font-size: 13px;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.subject-card p {
    font-size: 11px;
    color: var(--gray-500);
}

/* ===== 教员卡片 ===== */
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .teacher-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .teacher-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.teacher-card-link {
    display: block;
}

.teacher-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
}

.teacher-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 10px 40px rgba(37, 99, 235, 0.15);
}

.teacher-avatar {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

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

.teacher-verified {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--primary-green);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid white;
}

.teacher-info {
    padding: 16px;
}

.teacher-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.teacher-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--gray-800);
}

.teacher-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 50px;
    background: var(--light-blue);
    color: var(--primary-blue);
}

.teacher-badge.teacher {
    background: var(--light-orange);
    color: var(--accent-orange);
}

.teacher-school {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.teacher-school i {
    color: var(--primary-green);
}

.teacher-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.teacher-subject {
    font-size: 12px;
    padding: 4px 10px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 50px;
}

.teacher-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.teacher-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--accent-orange);
}

.teacher-price span {
    font-size: 12px;
    font-weight: normal;
    color: var(--gray-500);
}

.teacher-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-500);
}

.teacher-stats i {
    color: var(--accent-orange);
    margin-right: 2px;
}

/* ===== 学员需求卡片 ===== */
.student-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.student-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

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

.student-card.is-new::before {
    content: '新';
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.student-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.student-grade {
    font-size: 16px;
    font-weight: bold;
    color: var(--gray-800);
}

.student-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--accent-orange);
}

.student-price span {
    font-size: 12px;
    font-weight: normal;
    color: var(--gray-500);
}

.student-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.student-subject {
    font-size: 12px;
    padding: 4px 10px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50px;
}

.student-desc {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.student-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-500);
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.student-footer i {
    margin-right: 4px;
}

.student-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== 流程步骤 ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

@media (max-width: 767px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

.process-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

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

.process-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 16px;
}

.process-card h3 {
    font-size: 16px;
    color: var(--gray-800);
    margin-bottom: 8px;
}

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

.process-arrow {
    display: none;
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 20px;
}

@media (min-width: 768px) {
    .process-arrow {
        display: block;
    }
}

/* ===== 城市标签 ===== */
.city-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.city-tag {
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    color: var(--gray-600);
}

.city-tag:hover,
.city-tag.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* ===== 按钮样式 ===== */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

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

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-orange {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent-orange), #f97316);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* ===== 筛选栏 ===== */
.filter-bar {
    background: white;
    padding: 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.filter-select {
    padding: 10px 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    background: white;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* ===== 城市Tab ===== */
.city-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

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

.city-tab {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
}

.city-tab:hover,
.city-tab.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* ===== 教员列表项 ===== */
.teacher-list {
    display: grid;
    gap: 16px;
}

.teacher-list-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

@media (max-width: 575px) {
    .teacher-list-item {
        flex-direction: column;
        gap: 16px;
    }
}

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

.teacher-list-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
}

@media (max-width: 575px) {
    .teacher-list-avatar {
        width: 80px;
        height: 80px;
    }
}

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

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

.teacher-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.teacher-list-name {
    font-size: 17px;
    font-weight: bold;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 8px;
}

.teacher-list-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-orange);
}

.teacher-list-price span {
    font-size: 13px;
    font-weight: normal;
    color: var(--gray-500);
}

.teacher-list-school {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.teacher-list-desc {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.teacher-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

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

.teacher-list-tag {
    font-size: 12px;
    padding: 4px 10px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 50px;
}

.teacher-list-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
}

.teacher-list-stats i {
    color: var(--accent-orange);
    margin-right: 4px;
}

/* ===== 教员详情页 ===== */
.teacher-detail {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    background: white;
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

@media (max-width: 991px) {
    .teacher-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .teacher-detail {
        padding: 20px;
    }
}

.teacher-detail-main {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 575px) {
    .teacher-detail-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.teacher-detail-avatar {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    flex-shrink: 0;
}

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

.teacher-detail-basic h2 {
    font-size: 24px;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.teacher-detail-basic .school-info {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.teacher-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 575px) {
    .teacher-detail-tags {
        justify-content: center;
    }
}

.teacher-detail-tag {
    font-size: 13px;
    padding: 6px 14px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50px;
}

.teacher-detail-section {
    margin-bottom: 28px;
}

.teacher-detail-section h3 {
    font-size: 18px;
    color: var(--gray-800);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-100);
}

.teacher-detail-section p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

.exp-list {
    display: grid;
    gap: 12px;
}

.exp-item {
    background: var(--gray-50);
    padding: 16px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-blue);
}

.exp-item h4 {
    font-size: 15px;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.exp-item p {
    font-size: 13px;
    color: var(--gray-500);
}

.review-list {
    display: grid;
    gap: 16px;
}

.review-item {
    background: var(--gray-50);
    padding: 16px;
    border-radius: var(--radius);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.review-user {
    font-weight: 600;
    color: var(--gray-700);
}

.review-rating {
    color: var(--accent-orange);
    font-size: 13px;
}

.review-content {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

.review-date {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 8px;
}

/* ===== 教员详情侧边栏 ===== */
.teacher-detail-sidebar {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--radius-lg);
    position: sticky;
    top: 100px;
    height: fit-content;
}

@media (max-width: 991px) {
    .teacher-detail-sidebar {
        position: fixed;
        bottom: 70px;
        left: 0;
        right: 0;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        z-index: 100;
    }
}

.sidebar-price {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-price .price {
    font-size: 36px;
    font-weight: bold;
    color: var(--accent-orange);
}

.sidebar-price .unit {
    font-size: 14px;
    color: var(--gray-500);
}

.sidebar-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.sidebar-stat {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: var(--radius);
}

.sidebar-stat .value {
    font-size: 20px;
    font-weight: bold;
    color: var(--gray-800);
}

.sidebar-stat .label {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-collect {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.btn-collect:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.btn-collect.collected {
    background: var(--light-orange);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.btn-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border: none;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* ===== 登录弹窗 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    padding: 24px 24px 0;
    text-align: center;
}

.modal-header h2 {
    font-size: 22px;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.modal-body {
    padding: 24px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}

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

.modal-tabs {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.modal-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    border-radius: calc(var(--radius) - 2px);
    cursor: pointer;
    transition: var(--transition);
}

.modal-tab.active {
    background: white;
    color: var(--primary-blue);
    box-shadow: var(--shadow-sm);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-500);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* ===== CTA区域 ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: white;
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: bold;
    font-size: 15px;
    transition: var(--transition);
}

.cta-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: bold;
    font-size: 15px;
    transition: var(--transition);
}

.cta-btn-outline:hover {
    background: white;
    color: var(--primary-blue);
}

/* ===== 评价展示 ===== */
.reviews-showcase {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow);
}

.review-card {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    margin-bottom: 16px;
}

.review-card:last-child {
    margin-bottom: 0;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-card-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.review-card-name {
    font-weight: 600;
    color: var(--gray-800);
}

.review-card-meta {
    font-size: 12px;
    color: var(--gray-500);
}

.review-card-rating {
    color: var(--accent-orange);
}

.review-card-content {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: white;
    color: var(--primary-blue);
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-400);
}

.footer h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
}

.footer-contact i {
    width: 16px;
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--gray-700);
    font-size: 13px;
    color: var(--gray-500);
}

.footer-wechat {
    margin-top: 20px;
    text-align: center;
}

.wechat-qr {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: var(--radius);
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 12px;
}

/* ===== 表单进度条 ===== */
.form-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.form-step {
    display: flex;
    align-items: center;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.form-step.active .step-circle,
.form-step.completed .step-circle {
    background: var(--primary-blue);
    color: white;
}

.step-line {
    width: 60px;
    height: 3px;
    background: var(--gray-200);
    margin: 0 8px;
}

.step-line.active {
    background: var(--primary-blue);
}

.step-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 8px;
    text-align: center;
}

.form-step.active .step-label {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ===== 空状态 ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.empty-state p {
    font-size: 14px;
}

/* ===== 加载更多 ===== */
.load-more {
    text-align: center;
    padding: 24px;
}

.load-more-btn {
    padding: 12px 32px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* ===== Toast提示 ===== */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--gray-800);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ===== 动画 ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out;
}

.animate-slideUp {
    animation: slideUp 0.5s ease-out;
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ===== 移动端菜单 ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1001;
    transition: var(--transition);
    padding: 24px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.mobile-menu-nav a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    color: var(--primary-blue);
}

/* ===== 需求详情展开 ===== */
.request-detail {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 12px;
    border: 1px solid var(--gray-200);
    display: none;
}

.request-detail.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

.request-detail h4 {
    font-size: 15px;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.request-detail p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 12px;
}

.request-detail .detail-item {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.request-detail .detail-item i {
    color: var(--primary-blue);
    width: 16px;
}

/* ===== 相关教员推荐 ===== */
.related-teachers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .related-teachers {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .related-teachers {
        grid-template-columns: 1fr;
    }
}

/* ===== 城市选择器 ===== */
.city-selector {
    position: relative;
    cursor: pointer;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 14px;
    transition: var(--transition);
    min-width: 90px;
}

.city-selector:hover {
    background: rgba(255, 255, 255, 0.25);
}

.city-selector i {
    font-size: 12px;
    transition: transform 0.3s;
}

.city-selector.open i {
    transform: rotate(180deg);
}

@media (max-width: 991px) {
    .city-selector {
        background: rgba(0, 0, 0, 0.1);
    }
}

/* 城市选择面板 */
.city-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 380px;
    max-height: 480px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: none;
    overflow: hidden;
}

.city-panel.show {
    display: block;
    animation: slideUp 0.2s ease-out;
}

@media (max-width: 480px) {
    .city-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}

.city-panel-header {
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 12px;
}

.city-panel-search {
    flex: 1;
    position: relative;
}

.city-panel-search input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
}

.city-panel-search input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.city-panel-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.city-panel-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: var(--gray-600);
}

.city-panel-body {
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
    .city-panel-body {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.city-panel-section {
    padding: 12px 16px;
}

.city-panel-section-title {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.city-locate-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--light-blue);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--primary-blue);
    width: 100%;
    margin-bottom: 12px;
}

.city-locate-btn:hover {
    background: #dbeafe;
}

.city-locate-btn i {
    color: var(--primary-blue);
}

.city-locate-btn.locating i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.hot-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hot-city-item {
    padding: 8px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 13px;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.hot-city-item:hover {
    background: var(--light-blue);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.hot-city-item.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.city-group-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.city-group-item {
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 12px;
}

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

.city-group-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.city-group-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.city-group-city {
    padding: 6px 12px;
    font-size: 13px;
    color: var(--gray-600);
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.city-group-city:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.city-group-city.active {
    background: var(--primary-blue);
    color: white;
}

/* ===== 预约弹窗 ===== */
.reserve-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.reserve-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.reserve-modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
}

.reserve-modal-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    position: relative;
}

.reserve-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}

.reserve-modal-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.reserve-modal-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}

.reserve-modal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.reserve-modal-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.reserve-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.reserve-modal-body {
    padding: 20px;
}

.teacher-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 10px;
    margin-bottom: 20px;
}

.teacher-summary-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gray-600);
}

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

.teacher-summary-info h4 {
    font-size: 15px;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.teacher-summary-info p {
    font-size: 12px;
    color: var(--gray-500);
}

.reserve-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.reserve-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent-orange), #f97316);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.reserve-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.reserve-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: #fef3c7;
    border-radius: 8px;
    font-size: 12px;
    color: #92400e;
    margin-top: 12px;
}

.reserve-note i {
    color: #f59e0b;
    flex-shrink: 0;
}

/* ===== 预约成功弹窗 ===== */
.reserve-success {
    text-align: center;
    padding: 40px 20px;
}

.reserve-success-icon {
    width: 80px;
    height: 80px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reserve-success-icon i {
    font-size: 40px;
    color: var(--primary-green);
}

.reserve-success h3 {
    font-size: 20px;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.reserve-success p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.reserve-success-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

/* ===== 底部悬浮预约按钮 ===== */
.floating-reserve-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
}

@media (min-width: 992px) {
    .floating-reserve-btn {
        bottom: 20px;
    }
}

.floating-reserve-btn a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent-orange), #f97316);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    text-decoration: none;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-reserve-btn a:hover {
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(245, 158, 11, 0.6);
    }
}

/* ===== 教员卡片预约按钮 ===== */
.teacher-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--accent-orange), #f97316);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 12px;
}

.teacher-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ===== 学员需求预约按钮 ===== */
.student-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.student-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ===== 头部导航栏新布局 ===== */
.header-new-layout {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.header-search-box {
    flex: 1;
    max-width: 400px;
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .header-search-box {
        display: block;
    }
}

.header-search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.header-search-box input:focus {
    outline: none;
    background: white;
}

.header-search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.header-search-box button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 16px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    cursor: pointer;
}

/* ===== 城市筛选标签增强 ===== */
.city-tab {
    position: relative;
}

.city-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

/* ===== 当前城市高亮 ===== */
.current-city-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: var(--light-green);
    color: var(--primary-green);
    font-size: 11px;
    border-radius: 4px;
    margin-left: 6px;
}

/* ===== 教员详情页增强 ===== */
.teacher-detail-main {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.teacher-detail-avatar {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--gray-600);
    flex-shrink: 0;
}

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

.teacher-detail-basic {
    flex: 1;
    min-width: 200px;
}

.teacher-detail-basic h2 {
    font-size: 24px;
    color: var(--gray-800);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.school-info {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.school-info i {
    color: var(--primary-green);
    margin-right: 4px;
}

.teacher-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.teacher-detail-tag {
    padding: 6px 12px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 50px;
    font-size: 13px;
}

.teacher-detail-price {
    text-align: right;
    min-width: 120px;
}

.price-main {
    margin-bottom: 8px;
}

.price-value {
    font-size: 32px;
    font-weight: bold;
    color: var(--accent-orange);
}

.price-unit {
    font-size: 14px;
    color: var(--gray-500);
}

.price-stats {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-500);
}

.price-stats i {
    color: var(--accent-orange);
    margin-right: 2px;
}

.teacher-detail-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 575px) {
    .teacher-detail-actions {
        flex-direction: column;
    }
    .teacher-detail-actions .btn-outline {
        text-align: center;
    }
}

.teacher-detail-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

.teacher-detail-section h3 {
    font-size: 16px;
    color: var(--gray-800);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.teacher-detail-section h3 i {
    color: var(--primary-blue);
}

.teacher-detail-section p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

.exp-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exp-item {
    padding: 16px;
    background: var(--gray-50);
    border-radius: 8px;
}

.exp-item h4 {
    font-size: 14px;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.exp-item p {
    font-size: 13px;
    color: var(--gray-500);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding: 16px;
    background: var(--gray-50);
    border-radius: 8px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-user {
    font-weight: 600;
    color: var(--gray-800);
}

.review-rating {
    color: var(--accent-orange);
}

.review-content {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 8px;
}

.review-date {
    font-size: 12px;
    color: var(--gray-400);
}

/* ===== 全国城市分站入口 ===== */
.cities-section {
    background: #f8f9fa;
    padding: 60px 0;
}

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

.cities-section .section-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.cities-section .section-header h2 i {
    color: #667eea;
    margin-right: 10px;
}

.cities-section .section-header p {
    color: #666;
    font-size: 1.1rem;
}

.city-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.city-group {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.city-group h3 {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.city-group h3 i {
    margin-right: 8px;
}

.city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-list a {
    display: inline-block;
    padding: 6px 12px;
    background: #f5f5f5;
    color: #555;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.city-list a:hover {
    background: #667eea;
    color: white;
}

.more-cities {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.more-cities p {
    color: #666;
    margin: 0;
}

.more-cities i {
    color: #667eea;
    margin-right: 8px;
}

.more-cities a {
    color: #667eea;
    font-weight: 600;
}

@media (max-width: 768px) {
    .cities-section {
        padding: 40px 0;
    }
    
    .cities-section .section-header h2 {
        font-size: 1.5rem;
    }
    
    .city-groups {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .city-group {
        padding: 20px;
    }
    
    .city-list a {
        padding: 5px 10px;
        font-size: 0.85rem;
    }
}

/* ===== 课时费参考标准页面样式 ===== */

/* 说明文字 */
.pricing-notice {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border: 1px solid #bae6fd;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #0369a1;
}

.pricing-notice i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-notice strong {
    color: #0c4a6e;
}

.pricing-notice a {
    color: var(--primary-blue);
    font-weight: 600;
}

.pricing-notice a:hover {
    text-decoration: underline;
}

/* Tab切换 */
.pricing-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: white;
    padding: 6px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pricing-tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pricing-tab:hover {
    background: var(--gray-50);
    color: var(--gray-800);
}

.pricing-tab.active {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow);
}

.pricing-tab i {
    font-size: 16px;
}

/* 表格容器 */
.pricing-table-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 24px;
}

.pricing-table-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
}

.pricing-table-header i {
    font-size: 18px;
}

.pricing-header-note {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.85;
    font-weight: normal;
}

/* 表格滚动容器 */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 价格表格 */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}

.pricing-table th {
    background: var(--gray-50);
    padding: 10px 6px;
    text-align: center;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
    font-size: 12px;
}

.pricing-table th:first-child {
    text-align: left;
    width: 28%;
}

.th-sub {
    font-size: 11px;
    font-weight: normal;
    color: var(--gray-500);
    display: block;
    margin-top: 2px;
}

.pricing-table td {
    padding: 10px 6px;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
    font-size: 13px;
}

.subject-cell {
    text-align: left !important;
    font-weight: 500;
    color: var(--gray-800);
}

/* 价格样式 */
.price {
    font-weight: 700;
    color: var(--gray-700);
    font-size: 13px;
}

.price.highlight {
    color: var(--accent-orange);
    font-size: 14px;
}

.no-price {
    color: var(--gray-300);
    font-size: 18px;
    font-weight: 300;
}

/* 价格说明 */
.pricing-legend {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.pricing-legend h4 {
    font-size: 16px;
    color: var(--gray-800);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-legend h4 i {
    color: var(--primary-blue);
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.legend-badge {
    padding: 4px 10px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.legend-badge.student {
    background: #dbeafe;
    color: #1e40af;
}

.legend-badge.student-star {
    background: #fef3c7;
    color: #92400e;
}

.legend-badge.teacher {
    background: #d1fae5;
    color: #065f46;
}

.legend-badge.teacher-star {
    background: #fee2e2;
    color: #991b1b;
}

.legend-desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

.legend-desc strong {
    color: var(--gray-800);
}

.legend-note {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    font-size: 13px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-note i {
    color: var(--accent-orange);
}

.legend-note a {
    color: var(--primary-blue);
    font-weight: 500;
}

/* CTA按钮 */
.pricing-cta {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 40px;
}

.cta-btn {
    flex: 1;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    box-shadow: var(--shadow-md);
}

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

.cta-btn.secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cta-btn.secondary:hover {
    background: var(--light-blue);
}

.cta-btn i {
    font-size: 18px;
}

/* 手机端适配 */
@media (max-width: 640px) {
    .pricing-tabs {
        gap: 4px;
        padding: 4px;
    }
    
    .pricing-tab {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .pricing-tab i {
        display: none;
    }
    
    .pricing-table-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .pricing-header-note {
        margin-left: 0;
        width: 100%;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 12px 10px;
    }
    
    .pricing-table th:first-child {
        width: 100px;
    }
    
    .price {
        font-size: 14px;
    }
    
    .price.highlight {
        font-size: 15px;
    }
    
    .pricing-cta {
        flex-direction: column;
    }
    
    .cta-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* ===== 城市特色描述区域 - SEO差异化 ===== */
.city-desc-section {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    padding: 32px 0;
    border-bottom: 1px solid #ffeeba;
}

.city-desc-box {
    background: white;
    border-radius: 12px;
    padding: 24px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-left: 4px solid #ffc107;
}

.city-desc-box h2 {
    font-size: 20px;
    color: var(--gray-800);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.city-desc-box h2 i {
    color: #ffc107;
}

.city-desc-box p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .city-desc-section {
        padding: 20px 0;
    }
    
    .city-desc-box {
        padding: 16px 20px;
        border-radius: 8px;
    }
    
    .city-desc-box h2 {
        font-size: 17px;
    }
    
    .city-desc-box p {
        font-size: 14px;
    }
}

/* ===== 家长好评板块样式 ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.review-item-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.review-item-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.review-stars {
    color: #fbbf24;
    margin-bottom: 12px;
    font-size: 14px;
}

.review-stars i {
    margin-right: 2px;
}

.review-text {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-800);
}

.review-meta {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===== FAQ常见问题样式 ===== */
.faq-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    background: white;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-item.active .faq-question {
    background: var(--light-blue);
}

.faq-question span {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    flex: 1;
    padding-right: 16px;
}

.faq-icon {
    color: var(--gray-400);
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    color: var(--primary-blue);
}

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

.faq-answer p {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 575px) {
    .faq-question {
        padding: 14px 16px;
    }
    
    .faq-question span {
        font-size: 14px;
    }
    
    .faq-answer p {
        padding: 0 16px 14px;
        font-size: 13px;
    }
    
    .reviews-grid {
        gap: 16px;
    }
    
    .review-item-card {
        padding: 18px;
    }
    
    .review-text {
        font-size: 13px;
        -webkit-line-clamp: 5;
    }
}

/* ===== 偏好选择样式 ===== */
.pref-check {
    font-size: 16px;
}
