* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #F7F4EF;
    --surface: #FBF9F5;
    --white: #FFFFFF;
    --border: #E7E1D7;
    --ink: #1F2421;
    --muted: #5C635D;
    --charcoal: #1F2421;
    --terracotta: #C4612F;
    --terracotta-hover: #A94E22;
    --terracotta-tint: #F2E3D6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    color: var(--ink);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* 导航栏 */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(251, 249, 245, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--terracotta);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--terracotta);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--ink);
    transition: all 0.3s ease;
}

/* 英雄区 */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.eyebrow-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--terracotta-tint);
    color: var(--terracotta);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    width: fit-content;
    letter-spacing: 0.01em;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--ink);
    margin: 0;
}

.hero-title em {
    font-style: italic;
    color: var(--terracotta);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--terracotta-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 97, 47, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--ink);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 36, 33, 0.1);
}

.hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(31, 36, 33, 0.15);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 区块标题 */
.section-header {
    margin-bottom: 4rem;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin: 1rem 0;
}

.section-title em {
    font-style: italic;
    color: var(--terracotta);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--muted);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 特性区 */
.features {
    padding: 6rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(31, 36, 33, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: var(--terracotta-tint);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--terracotta);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.feature-desc {
    color: var(--muted);
    line-height: 1.7;
}

/* 关于我们 */
.about {
    padding: 6rem 0;
    background-color: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(31, 36, 33, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--muted);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--muted);
}

/* 训练方式 */
.training-method {
    padding: 6rem 0;
    background-color: var(--charcoal);
    color: var(--white);
}

.method-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.method-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.method-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.method-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.chip {
    padding: 0.625rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--white);
    backdrop-filter: blur(8px);
}

/* 课程 */
.courses {
    padding: 6rem 0;
    background-color: var(--cream);
}

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

.course-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(31, 36, 33, 0.1);
}

.course-card.featured {
    border: 2px solid var(--terracotta);
    background-color: var(--surface);
}

.course-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background-color: var(--terracotta);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-stage {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--terracotta-tint);
    color: var(--terracotta);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.course-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--ink);
}

.course-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-label {
    color: var(--muted);
    font-size: 0.95rem;
}

.detail-value {
    color: var(--ink);
    font-weight: 500;
}

.notice-box {
    display: flex;
    gap: 1.5rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    align-items: flex-start;
}

.notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notice-content h4 {
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-size: 1.125rem;
}

.notice-content p {
    color: var(--muted);
    line-height: 1.7;
}

/* 师资培训 */
.teacher-training {
    padding: 6rem 0;
    background-color: var(--white);
}

.training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.training-desc {
    color: var(--muted);
    line-height: 1.8;
    margin: 2rem 0 3rem;
}

.training-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.training-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--terracotta);
    opacity: 0.3;
    line-height: 1;
}

.feature-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.feature-text p {
    color: var(--muted);
    line-height: 1.7;
}

.training-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(31, 36, 33, 0.15);
}

.training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 联合训练基地 */
.training-base {
    padding: 6rem 0;
    background-color: var(--cream);
}

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

.base-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.base-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(31, 36, 33, 0.1);
}

.base-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.base-card ul {
    list-style: none;
}

.base-card li {
    padding: 0.75rem 0;
    color: var(--muted);
    position: relative;
    padding-left: 1.5rem;
}

.base-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-weight: 600;
}

.base-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(31, 36, 33, 0.15);
    max-width: 100%;
}

.base-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 联系我们 */
.contact {
    padding: 6rem 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-desc {
    color: var(--muted);
    line-height: 1.8;
    margin: 2rem 0 3rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--terracotta-tint);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.info-text p {
    color: var(--muted);
    line-height: 1.7;
}

.wechat-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.wechat-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--ink);
}

.qrcode-placeholder {
    width: 200px;
    height: 200px;
    background-color: var(--surface);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    border: 1px solid var(--border);
    overflow: hidden;
}

.qrcode-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 表单 */
.contact-form {
    background-color: var(--surface);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.form h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--ink);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--ink);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(196, 97, 47, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* 页脚 */
.footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--white);
}

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

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

.footer-column h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--terracotta);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero,
    .about-grid,
    .training-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 4px 12px rgba(31, 36, 33, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero,
    .about-grid,
    .training-grid,
    .contact-grid {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .courses-grid,
    .base-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}

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

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
