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

/* CSS变量定义 */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ff6b6b;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

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

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

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.nav-logo .logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.nav-logo .brand-text h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.nav-logo .brand-text p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* 英雄区样式 */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brain-animation {
    font-size: 8rem;
    animation: brain-float 3s ease-in-out infinite;
}

@keyframes brain-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* 特色卡片 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    padding: 0 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin: 0;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 通用区块样式 */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 介绍区样式 */
.introduction {
    background: var(--bg-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.intro-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.intro-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.intro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.intro-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 功效网格 */
.benefits-section {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.benefits-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-item:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.benefit-icon {
    font-size: 1.5rem;
}

/* 科学原理区样式 */
.principles {
    background: var(--bg-light);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

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

.principle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.principle-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 动作区样式 */
.exercises {
    background: var(--bg-white);
}

/* 分类筛选器 */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.filter-btn.active .count {
    background: rgba(255, 255, 255, 0.3);
}

/* 动作卡片网格 */
.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.exercise-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.exercise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.exercise-card:hover::before {
    transform: scaleX(1);
}

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

.exercise-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.exercise-title {
    flex: 1;
}

.exercise-title h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.english-name {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
    margin-top: 0.2rem;
    opacity: 0.8;
}

.category-tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    margin-left: 1rem;
}

.category-tag.midline {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.category-tag.lengthening {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.category-tag.energizing {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.category-tag.deepening {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.exercise-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.exercise-benefits h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.exercise-benefits ul {
    list-style: none;
    padding-left: 0;
}

.exercise-benefits li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.exercise-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.btn-detail {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    margin-top: 1rem;
    width: 100%;
}

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

/* 实践指导区样式 */
.practice {
    background: var(--bg-light);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.practice-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.practice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.practice-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.practice-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 页脚样式 */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.footer-brand p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.4;
}

.footer-brand-text h3 {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-brand-text p {
    font-size: 1rem;
    color: #e2e8f0;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-section i {
    margin-right: 0.5rem;
    color: #60a5fa;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.85rem;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-header .category-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.exercise-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.exercise-description-section {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.exercise-description-section h4 {
    color: #4F46E5;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.exercise-steps-section {
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.exercise-steps-section h4 {
    color: #4F46E5;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.exercise-steps-section ol {
    padding-left: 1.5rem;
}

.exercise-steps-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #374151;
}

.exercise-benefits-section {
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.exercise-benefits-section h4 {
    color: #4F46E5;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.exercise-benefits-section ul {
    padding-left: 1.5rem;
}

.exercise-benefits-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #374151;
}

.exercise-tips-section {
    background: linear-gradient(135deg, #fef3c7, #ffffff);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.exercise-tips-section h4 {
    color: #4F46E5;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.exercise-tips-section ul {
    padding-left: 1.5rem;
}

.exercise-tips-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #374151;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .exercise-description-section,
    .exercise-steps-section,
    .exercise-benefits-section,
    .exercise-tips-section {
        padding: 1rem;
    }
}

/* 在线咨询悬浮按钮 */
.consultation-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}

.consultation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4);
}

.consultation-icon {
    font-size: 1.2rem;
}

.consultation-text {
    white-space: nowrap;
}

/* 咨询弹窗样式 */
.consultation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.consultation-content {
    background: white;
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    position: relative;
    padding: 2.5rem;
}

.consultation-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.consultation-close:hover {
    color: var(--accent-color);
}

.consult-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.wechat-qr-container {
    text-align: center;
    margin-bottom: 0.5rem;
}

.wechat-qr-code {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 3px solid #f0f0f0;
}

.contact-methods {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
}

.contact-method {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    padding: 1.2rem;
    border-radius: 12px;
    flex: 1;
    max-width: 200px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    margin-right: 1rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-method.phone .contact-icon {
    background: #dc3545;
    color: white;
}

.contact-method.email .contact-icon {
    background: #007bff;
    color: white;
}

.contact-icon i {
    font-size: 1.3rem;
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-info h4 {
    margin: 0 0 0.4rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

.contact-info p {
    margin: 0 0 0.3rem 0;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
    line-height: 1.2;
}

.wechat-note {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* Logo responsive */
    .nav-logo .logo {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .nav-logo .brand-text h1 {
        font-size: 1.2rem;
    }
    
    .nav-logo .brand-text p {
        font-size: 0.7rem;
    }
    
    .consultation-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }
    
    .wechat-qr-code {
        width: 160px;
        height: 160px;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-method {
        max-width: 100%;
        padding: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        margin-right: 0.8rem;
    }
    
    .contact-icon i {
        font-size: 1.1rem;
    }
    
    .contact-info h4 {
        font-size: 0.9rem;
    }
    
    .contact-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .consultation-content {
        padding: 1.5rem 1rem;
    }
    
    .wechat-qr-code {
        width: 140px;
        height: 140px;
    }
    
    .contact-method {
        padding: 0.8rem;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        margin-right: 0.6rem;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
}

.qr-code {
    margin-top: 0.5rem;
    text-align: center;
}

.qr-code img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.qr-code img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}



@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .brain-animation {
        font-size: 6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .exercises-grid {
        grid-template-columns: 1fr;
    }
    
    .exercise-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .exercise-title {
        margin-bottom: 0.5rem;
    }
    
    .category-tag {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
    
    /* 移动端咨询按钮样式 */
    .consultation-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .consultation-text {
        display: none;
    }
    
    .consultation-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .consultation-info {
        grid-template-columns: 1fr;
    }
    
    .wechat-qr-code {
        width: 150px;
        height: 150px;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .contact-method {
        max-width: none;
        padding: 0.8rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.6rem;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .contact-info h4 {
        font-size: 0.85rem;
    }
    
    .contact-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-grid,
    .principles-grid,
    .practice-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .exercise-title h3 {
        font-size: 1.3rem;
    }
    
    .english-name {
        font-size: 0.8rem;
    }
    
    .exercise-card {
        padding: 1.5rem;
    }
    
    /* 小屏幕咨询按钮样式 */
    .consultation-btn {
        bottom: 0.8rem;
        right: 0.8rem;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }
    
    /* 小屏幕返回顶部按钮样式 */
    .back-to-top {
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .consultation-content {
        width: 98%;
        margin: 1rem;
    }
    
    .consultation-header {
        padding: 1rem;
    }
    
    .consultation-body {
        padding: 1rem;
    }
}

/* 动画和过渡效果 */
.exercise-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.exercise-card:nth-child(1) { animation-delay: 0.1s; }
.exercise-card:nth-child(2) { animation-delay: 0.2s; }
.exercise-card:nth-child(3) { animation-delay: 0.3s; }
.exercise-card:nth-child(4) { animation-delay: 0.4s; }
.exercise-card:nth-child(5) { animation-delay: 0.5s; }
.exercise-card:nth-child(6) { animation-delay: 0.6s; }
.exercise-card:nth-child(7) { animation-delay: 0.7s; }
.exercise-card:nth-child(8) { animation-delay: 0.8s; }
.exercise-card:nth-child(9) { animation-delay: 0.9s; }
.exercise-card:nth-child(10) { animation-delay: 1.0s; }
.exercise-card:nth-child(11) { animation-delay: 1.1s; }
.exercise-card:nth-child(12) { animation-delay: 1.2s; }
.exercise-card:nth-child(13) { animation-delay: 1.3s; }
.exercise-card:nth-child(14) { animation-delay: 1.4s; }
.exercise-card:nth-child(15) { animation-delay: 1.5s; }
.exercise-card:nth-child(16) { animation-delay: 1.6s; }
.exercise-card:nth-child(17) { animation-delay: 1.7s; }
.exercise-card:nth-child(18) { animation-delay: 1.8s; }
.exercise-card:nth-child(19) { animation-delay: 1.9s; }
.exercise-card:nth-child(20) { animation-delay: 2.0s; }
.exercise-card:nth-child(21) { animation-delay: 2.1s; }
.exercise-card:nth-child(22) { animation-delay: 2.2s; }
.exercise-card:nth-child(23) { animation-delay: 2.3s; }
.exercise-card:nth-child(24) { animation-delay: 2.4s; }
.exercise-card:nth-child(25) { animation-delay: 2.5s; }
.exercise-card:nth-child(26) { animation-delay: 2.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 隐藏动作卡片的动画 */
.exercise-card.hidden {
    display: none;
}

/* 通知消息样式 */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    z-index: 3000;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    gap: 1rem;
}

.notification-message {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: var(--accent-color);
}

.notification-success {
    border-left: 4px solid #4CAF50;
}

.notification-error {
    border-left: 4px solid #f44336;
}

.notification-info {
    border-left: 4px solid #2196F3;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 按钮加载状态样式 */
.btn-loading {
    display: none;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* ===== 统一联系方式弹窗 ===== */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.contact-modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.contact-modal-close:hover {
    color: #333;
}

.contact-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.contact-modal-header h2 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-modal-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.contact-modal-body {
    padding: 30px;
}

.wechat-section {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #25d366;
}

.wechat-qr-container {
    margin-right: 20px;
    flex-shrink: 0;
}

.wechat-qr-code {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    border: 2px solid #25d366;
}

.wechat-info h3 {
    margin: 0 0 8px 0;
    color: #25d366;
    font-size: 1.2rem;
    font-weight: 600;
}

.wechat-info p {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 0.9rem;
}

.wechat-number {
    color: #333 !important;
    font-weight: 600;
    font-size: 1rem !important;
}

.email-section {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #007bff;
}

.email-icon {
    margin-right: 20px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.email-info h3 {
    margin: 0 0 8px 0;
    color: #007bff;
    font-size: 1.2rem;
    font-weight: 600;
}

.email-info p {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 0.9rem;
}

.email-address {
    color: #333 !important;
    font-weight: 600;
    font-size: 1rem !important;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .contact-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .contact-modal-header {
        padding: 25px 20px;
    }
    
    .contact-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-modal-body {
        padding: 20px;
    }
    
    .wechat-section,
    .email-section {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .wechat-qr-container,
    .email-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .wechat-qr-code {
        width: 70px;
        height: 70px;
    }
    
    .email-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-logo {
        width: 60px;
        height: 60px;
    }
    
    .footer-brand-text h3 {
        font-size: 1.5rem;
    }
    
    .footer-brand-text p {
        font-size: 0.9rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-section ul li a,
    .footer-section p {
        font-size: 0.85rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

