/* ========================================
   新学高考 SEO站 - 全局样式表
   Brand: #dc2626
   ======================================== */

/* === CSS Variables === */
:root {
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #fef2f2;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --accent: #10b981;
  --text: #1f2937;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --bg: #ffffff;
  --bg-light: #f9fafb;
  --bg-gray: #f3f4f6;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 70px;
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* === Layout === */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.section-title p { font-size: 16px; color: var(--text-light); line-height: 1.8; max-width: 600px; margin: 0 auto; }
.section-title .en { display: block; font-size: 14px; color: var(--text-lighter); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }

/* === Buttons === */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; padding: 12px 28px; border-radius: 30px; font-size: 15px; font-weight: 600; transition: var(--transition); border: none; cursor: pointer; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; padding: 12px 28px; border-radius: 30px; font-size: 15px; font-weight: 600; border: 2px solid #fff; transition: var(--transition); }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn-white { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primary); padding: 14px 32px; border-radius: 30px; font-size: 16px; font-weight: 600; transition: var(--transition); border: none; cursor: pointer; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); }

/* === Top Bar === */
.top-bar { background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 0; font-size: 13px; color: var(--text-light); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--text-light); margin-left: 20px; }
.top-bar a:hover { color: var(--primary); }

/* === Header & Navigation === */
.header { background: var(--bg); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); height: var(--header-height); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: var(--header-height); }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; }
.logo-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: #fff; color: #fff; font-size: 18px; font-weight: 700; border-radius: var(--radius); }
.logo-text { font-size: 22px; font-weight: 700; color: var(--text); }
.logo-slogan { font-size: 12px; color: var(--text-light); }
.nav-menu { display: flex; align-items: center; flex-shrink: 1; min-width: 0; }
.nav-menu ul { display: flex; align-items: center; gap: 0; }
.nav-menu li a { display: block; padding: 24px 16px; font-size: 15px; font-weight: 500; color: var(--text); position: relative; white-space: nowrap; transition: var(--transition); }
.nav-menu li a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background: var(--primary); transition: var(--transition); transform: translateX(-50%); }
.nav-menu li a:hover, .nav-menu li a.active { color: var(--primary); }
.nav-menu li a:hover::after, .nav-menu li a.active::after { width: 60%; }
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; white-space: nowrap; }
.nav-phone { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 700; color: var(--primary); }
.nav-phone i { font-size: 14px; }
.nav-btn { background: var(--secondary); color: #fff; padding: 10px 24px; border-radius: 25px; font-size: 14px; font-weight: 600; transition: var(--transition); white-space: nowrap; }
.nav-btn:hover { background: var(--secondary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4); }

/* Mobile hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; height: 28px; justify-content: center; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 3px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* === Banner === */
.banner { position: relative; padding: 80px 0 60px; background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%); color: #fff; overflow: hidden; }
.banner::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: rgba(255, 255, 255, 0.05); border-radius: 50%; }
.banner::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: rgba(255, 255, 255, 0.03); border-radius: 50%; }
.banner .container { position: relative; z-index: 1; }
.banner-content h1 { font-size: 42px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.banner-subtitle { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.banner-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.banner-stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.banner-stat h3 { font-size: 36px; font-weight: 700; }
.banner-stat p { font-size: 14px; opacity: 0.8; margin-bottom: 0; }

/* === Stats Grid === */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; padding: 32px 20px; background: var(--bg-light); border-radius: var(--radius-lg); transition: var(--transition); }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-number { font-size: 42px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.stat-number span { font-size: 18px; font-weight: 400; }
.stat-label { font-size: 15px; color: var(--text-light); }

/* === Card Grid (courses & cases) === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--bg); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-highlight { border-color: var(--primary); background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 100%); }
.card-tag { position: absolute; top: 16px; right: -30px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 40px; transform: rotate(45deg); }
.card-icon { font-size: 48px; margin-bottom: 16px; }
.card-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.card-desc { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }

/* === Teacher Grid === */
.teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.teacher-card { background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); text-align: center; transition: var(--transition); }
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.teacher-photo { width: 100%; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #f1f5f9, #e2e8f0); display: flex; align-items: center; justify-content: center; color: var(--text-lighter); font-size: 14px; overflow: hidden; }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-info { padding: 20px; }
.teacher-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.teacher-subject { font-size: 14px; color: var(--primary); font-weight: 600; display: block; margin-bottom: 10px; }
.teacher-title { display: none; }
.teacher-info > p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* === Case Cards === */
.case-card { background: var(--bg); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); transition: var(--transition); }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.case-score { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.score-before, .score-after { font-size: 28px; font-weight: 700; }
.score-before { color: var(--text-light); }
.score-after { color: var(--primary); }
.score-arrow { font-size: 20px; color: var(--accent); }
.score-up { margin-left: auto; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.case-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.case-card > p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* === Advantages Grid === */
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.advantage-card { background: var(--bg); border-radius: var(--radius-lg); padding: 32px; text-align: center; border: 1px solid var(--border); transition: var(--transition); }
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.advantage-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 16px; }
.advantage-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.advantage-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* === Process/Steps Grid === */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.process-step { text-align: center; position: relative; }
.process-step::after { content: ''; position: absolute; top: 32px; right: -12px; width: 24px; height: 2px; background: var(--primary); }
.process-step:last-child::after { display: none; }
.step-number { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #ef4444); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin: 0 auto 16px; }
.step-icon { font-size: 36px; margin-bottom: 12px; }
.process-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* === News Grid === */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.news-card { display: flex; gap: 20px; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); }
.news-card:hover { box-shadow: var(--shadow); border-color: var(--primary); transform: translateY(-2px); }
.news-thumb { width: 180px; min-width: 180px; height: 120px; border-radius: var(--radius); overflow: hidden; background: var(--bg-gray); display: flex; align-items: center; justify-content: center; color: var(--text-lighter); font-size: 14px; }
.news-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.news-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-info p { font-size: 14px; color: var(--text-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-lighter); margin-top: auto; }

/* === FAQ Section === */
.faq-split-grid { display: flex; gap: 40px; align-items: stretch; }
.faq-list { flex: 1; }
.faq-item { background: var(--bg); border-radius: var(--radius); margin-bottom: 12px; border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.faq-item:hover, .faq-item.active { border-color: var(--primary); }
.faq-question { padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 15px; gap: 12px; }
.faq-question .arrow { width: 24px; height: 24px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: var(--transition); flex-shrink: 0; }
.faq-item.active .faq-question .arrow { transform: rotate(180deg); background: var(--primary); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 24px 18px; font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* === AI Chat Panel === */
.ai-chat-panel { flex: 1; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(220, 38, 38, 0.08); display: flex; flex-direction: column; height: 480px; overflow: hidden; min-width: 320px; }
.ai-chat-header { background: linear-gradient(135deg, var(--primary) 0%, #ef4444 100%); color: #fff; padding: 16px 20px; display: flex; align-items: center; gap: 10px; }
.ai-chat-header .ai-icon { width: 32px; height: 32px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.ai-chat-header h4 { font-size: 16px; font-weight: 600; margin: 0; }
.ai-chat-header span { font-size: 12px; opacity: 0.8; margin-left: auto; }
.ai-chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ai-chat-messages::-webkit-scrollbar { width: 4px; }
.ai-chat-messages::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 2px; }
.ai-msg { display: flex; gap: 8px; max-width: 90%; }
.ai-msg.ai-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.ai-msg.ai-msg-bot { align-self: flex-start; }
.ai-msg-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.ai-msg-bot .ai-msg-avatar { background: linear-gradient(135deg, var(--primary), #ef4444); color: #fff; }
.ai-msg-user .ai-msg-avatar { background: #f3f4f6; color: #666; }
.ai-msg-bubble { padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.7; word-break: break-word; }
.ai-msg-bot .ai-msg-bubble { background: var(--primary-light); color: var(--text); border-bottom-left-radius: 4px; }
.ai-msg-user .ai-msg-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.ai-chat-input-area { padding: 12px 16px; border-top: 1px solid var(--bg-gray); display: flex; gap: 10px; }
.ai-chat-input-area input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: 14px; outline: none; transition: border-color 0.3s; }
.ai-chat-input-area input:focus { border-color: var(--primary); }
.ai-chat-input-area button { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.3s; flex-shrink: 0; font-size: 16px; }
.ai-chat-input-area button:hover { background: var(--primary-dark); }
.ai-chat-input-area button:disabled { background: var(--text-lighter); cursor: not-allowed; }
.ai-typing { display: flex; align-items: center; gap: 4px; padding: 10px 14px; }
.ai-typing span { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: typingBounce 1.4s infinite ease-in-out both; }
.ai-typing span:nth-child(1) { animation-delay: -0.32s; }
.ai-typing span:nth-child(2) { animation-delay: -0.16s; }
@keyframes typingBounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

/* === Campus Grid === */
.campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.campus-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--bg-gray); border: 1px solid var(--border); }
.img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-lighter); font-size: 16px; }

/* === About Grid === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-grid .about-text h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.about-grid .about-text p { font-size: 15px; color: var(--text-light); line-height: 1.9; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.about-feature { text-align: center; padding: 20px; background: var(--bg-light); border-radius: var(--radius); }
.about-feature .feature-num { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.about-feature .feature-label { font-size: 14px; color: var(--text-light); }

/* === CTA Section === */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, #ef4444 100%); padding: 60px 0; color: #fff; text-align: center; }
.cta-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 15px; }
.cta-section p { font-size: 16px; opacity: 0.9; margin-bottom: 30px; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* === Footer === */
.footer { background: #0f172a; color: rgba(255, 255, 255, 0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-col h3 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer-about .footer-logo { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 15px; }
.footer-about p { font-size: 14px; line-height: 1.7; margin-bottom: 15px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 12px; }
.footer-contact .icon { width: 20px; flex-shrink: 0; text-align: center; }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 13px; color: rgba(255, 255, 255, 0.4); }

/* === Floating Service === */
.float-service { position: fixed; right: 20px; bottom: 100px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.service-item { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); font-size: 20px; box-shadow: var(--shadow); }
.service-phone { background: var(--primary); color: #fff; }
.service-phone:hover { transform: scale(1.1); }
.service-qq { background: var(--accent); color: #fff; }
.service-qq:hover { transform: scale(1.1); }
.service-top { background: #fff; color: var(--text); border: 1px solid var(--border); }
.service-top:hover { color: var(--primary); border-color: var(--primary); }

/* === Modal === */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 9999; display: none; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal-content { background: #fff; border-radius: var(--radius-lg); padding: 35px; max-width: 450px; width: 90%; position: relative; animation: modalIn 0.3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close { position: absolute; top: 15px; right: 15px; width: 30px; height: 30px; border: none; background: var(--bg-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; color: var(--text-light); }
.modal-content h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.modal-content .subtitle { font-size: 14px; color: var(--text-light); margin-bottom: 25px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; transition: var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit { width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-size: 16px; font-weight: 600; cursor: pointer; transition: var(--transition); }
.form-submit:hover { background: var(--primary-dark); }
.form-note { font-size: 12px; color: var(--text-lighter); text-align: center; margin-top: 12px; }

/* === Inner Pages === */
.page-banner { background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%); padding: 50px 0; color:#dc2626; text-align: center; position: relative; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: rgba(255, 255, 255, 0.05); border-radius: 50%; }
.page-banner h1 { font-size: 36px; font-weight: 700; margin-bottom: 10px; position: relative; }
.page-banner .breadcrumb { font-size: 14px; opacity: 0.8; position: relative; }
.page-banner .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--text-light); padding: 15px 0; background: var(--bg-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-lighter); }
.content-section { padding: 60px 0; }
.content-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.main-content h2 { font-size: 24px; font-weight: 700; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.main-content p { font-size: 15px; line-height: 1.9; color: var(--text); margin-bottom: 15px; }
.sidebar-widget { background: var(--bg-light); border-radius: var(--radius-lg); padding: 25px; margin-bottom: 25px; border: 1px solid var(--border); }
.sidebar-widget h3 { font-size: 16px; font-weight: 700; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.sidebar-widget li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget li a:hover { color: var(--primary); padding-left: 5px; }

/* === Contact Page === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; }
.contact-card { display: flex; align-items: center; gap: 12px; padding: 20px; background: var(--bg-light); border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); }
.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.contact-card .icon { width: 48px; height: 48px; background: var(--primary-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary); flex-shrink: 0; }
.contact-card .label { font-size: 12px; color: var(--text-light); }
.contact-card .value { font-size: 15px; font-weight: 600; color: var(--text); }
.contact-form-card { background: var(--bg); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }

/* === Price Table === */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { background: var(--bg); border-radius: var(--radius-lg); padding: 32px; border: 2px solid var(--border); text-align: center; transition: var(--transition); position: relative; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.recommended { border-color: var(--primary); }
.price-card.recommended::before { content: '推荐'; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 20px; border-radius: 0 0 8px 8px; }
.price-card .plan-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.price-card .plan-price { font-size: 36px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.price-card .plan-price small { font-size: 14px; color: var(--text-light); }
.price-card .plan-desc { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
.price-card ul { text-align: left; margin-bottom: 24px; }
.price-card ul li { padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* === Course Features List === */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.feature-list-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--bg-light); border-radius: var(--radius); }
.feature-list-item .icon { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.feature-list-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.feature-list-item p { font-size: 13px; color: var(--text-light); }

/* === Schedule Table === */
.schedule-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
.schedule-table th { background: var(--primary); color: #fff; padding: 12px 16px; font-weight: 600; }
.schedule-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.schedule-table tr:hover td { background: var(--bg-light); }
.schedule-table .time-cell { font-weight: 600; white-space: nowrap; text-align: left; width: 120px; }

/* === Supplementary Classes (agent-generated pages) === */
.btn-secondary { display: inline-block; padding: 12px 28px; background: transparent; color: #fff; border: 2px solid #fff; border-radius: var(--radius); font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--transition); text-decoration: none; }
.btn-secondary:hover { background: #fff; color: var(--primary); }
.contact-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.cta-content { max-width: 600px; margin: 0 auto; }
.footer-top { padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 30px; }
.grid { display: grid; gap: 20px; }
.sidebar { position: sticky; top: 20px; }

/* === Responsive: 1024px === */
@media (max-width: 1024px) {
  .teacher-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .content-sidebar { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* === Responsive: 768px (Tablet/Mobile) === */
@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .section { padding: 60px 0; }
  .section-title h2 { font-size: 26px; }
  .top-bar { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu { display: none; position: absolute; top: var(--header-height); left: 0; width: 100%; background: var(--bg); box-shadow: var(--shadow-lg); flex-direction: column; padding: 20px 0; }
  .nav-menu.active { display: flex; }
  .nav-menu ul { flex-direction: column; width: 100%; }
  .nav-menu li a { padding: 14px 24px; border-bottom: 1px solid var(--border); }
  .nav-menu li a::after { display: none; }
  .nav-right { display: none; }
  .banner { padding: 50px 0 40px; }
  .banner-content h1 { font-size: 28px; }
  .banner-stats { flex-wrap: wrap; gap: 20px; }
  .banner-stat h3 { font-size: 28px; }
  .banner-btns { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .cases-grid, .news-grid { grid-template-columns: 1fr; }
  .news-card { flex-direction: column; }
  .news-thumb { width: 100%; height: 160px; }
  .faq-split-grid { flex-direction: column; }
  .ai-chat-panel { min-width: auto; height: 400px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: repeat(2, 1fr); }
  .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-banner h1 { font-size: 28px; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: 24px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .schedule-table { font-size: 12px; }
  .schedule-table th, .schedule-table td { padding: 8px 6px; }
}

/* === Responsive: 480px === */
@media (max-width: 480px) {
  .banner-content h1 { font-size: 24px; }
  .banner-subtitle { font-size: 15px; }
  .stats-grid { grid-template-columns: 1fr; }
  .teacher-grid { grid-template-columns: 1fr; }
  .campus-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 32px; }
  .section-title h2 { font-size: 22px; }
}
