/* 基础样式和CSS变量 */
:root {
    --primary: #1a365d;
    --secondary: #c53030;
    --accent: #d69e2e;
    --light: #f7fafc;
    --dark: #2d3748;
    --gray: #718096;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--primary);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
}

h3 {
    font-size: 1.8rem;
    color: var(--primary);
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #9b2c2c;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--primary);
}

.btn-primary:hover {
    background-color: #2d3748;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.8)), url('./b1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 引流区域样式 */
.platform-links {
    background-color: var(--primary);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.platform-links h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.platform-links p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.platform-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.platform-btn:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* 技师展示区域 */
.therapists {
    background-color: white;
}

.therapist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.therapist-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.therapist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.therapist-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.therapist-info {
    padding: 20px;
}

.therapist-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.therapist-detail {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.therapist-detail i {
    margin-right: 5px;
    color: var(--accent);
}

/* 特色区域 */
.features {
    background-color: var(--light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* 流程区域 */
.process {
    background-color: white;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    background-color: white;
    padding: 0 15px;
    width: 20%;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* 会员权益 */
.benefits {
    background-color: var(--light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    font-size: 2rem;
    color: var(--secondary);
    flex-shrink: 0;
}

/* FAQ区域 */
.faq {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--light);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 页脚 */
footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .therapist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-step {
        width: 50%;
        margin-bottom: 40px;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .therapist-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
