/* 学习资料网 - 高端国际教育风格 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background: #faf9f7;
}

em {
    font-style: normal;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ========== 容器 ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== Section基础 ========== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c8ae79;
    margin-bottom: 15px;
    padding: 8px 20px;
    background: rgba(200, 174, 121, 0.1);
    border-radius: 30px;
}

.section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1a202c;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section h2 em {
    background: linear-gradient(135deg, #c8ae79 0%, #d4c4a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero视频背景 */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* 背景渐变遮罩 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, 
            rgba(25, 35, 50, 0.7) 0%,
            rgba(45, 55, 70, 0.6) 40%,
            rgba(80, 75, 70, 0.5) 70%,
            rgba(140, 130, 115, 0.4) 100%
        );
    z-index: 1;
}

/* 动态光晕效果 */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(200, 174, 121, 0.15) 0%, transparent 70%);
    z-index: 2;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* 金色装饰线 */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #c8ae79 20%, 
        #d4c4a0 50%, 
        #c8ae79 80%, 
        transparent 100%
    );
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 40px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c8ae79;
    margin-bottom: 30px;
    padding: 12px 30px;
    border: 1px solid rgba(200, 174, 121, 0.4);
    border-radius: 40px;
    background: rgba(200, 174, 121, 0.1);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero h1 em {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #e8e4dc 50%, #c8ae79 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 50px;
    opacity: 0.95;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
    max-width: 800px;
    white-space: nowrap;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: linear-gradient(135deg, #c8ae79 0%, #b89a65 100%);
    color: #1a202c;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(200, 174, 121, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(200, 174, 121, 0.5);
    background: linear-gradient(135deg, #d4c4a0 0%, #c8ae79 100%);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

/* 滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== Why Us Section ========== */
.why-us {
    background: linear-gradient(180deg, #fff 0%, #faf9f7 100%);
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,174,121,0.3), transparent);
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature {
    text-align: center;
    padding: 50px 30px;
    background: #fff;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c8ae79, #d4c4a0);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.feature:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(200,174,121,0.1) 0%, rgba(200,174,121,0.05) 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(200,174,121,0.2) 0%, rgba(200,174,121,0.1) 100%);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: #c8ae79;
}

.feature h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a202c;
}

.feature p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

/* ========== Legacy Section ========== */
.legacy {
    background: #1a202c;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.legacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(200,174,121,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(200,174,121,0.05) 0%, transparent 40%);
}

.legacy .container {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.legacy-content {
    flex: 1;
}

.legacy-content .section-label {
    background: rgba(200,174,121,0.15);
    color: #c8ae79;
}

.legacy-content h2 {
    color: #fff;
    text-align: left;
    margin-bottom: 30px;
}

.legacy-content h2 em {
    color: #c8ae79;
}

.legacy-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
    line-height: 1.8;
}

.legacy-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.legacy-stat {
    text-align: left;
}

.legacy-stat .number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #c8ae79;
    line-height: 1;
    margin-bottom: 8px;
}

.legacy-stat .label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.legacy-image {
    flex: 1;
    position: relative;
}

.legacy-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

.legacy-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(200,174,121,0.3);
    border-radius: 20px;
    z-index: -1;
}

/* ========== Services Section ========== */
.services {
    background: #faf9f7;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.service-card {
    padding: 50px 40px;
    background: #fff;
    border-radius: 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(200,174,121,0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border-radius: 24px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(-5deg) scale(1.05);
    background: linear-gradient(135deg, #c8ae79 0%, #d4c4a0 100%);
}

.service-icon svg {
    width: 44px;
    height: 44px;
    color: #fff;
    transition: color 0.3s ease;
}

.service-card:hover .service-icon svg {
    color: #1a202c;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 18px;
}

.service-card p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 28px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c8ae79;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #b89a65;
    gap: 12px;
}

.service-link svg {
    width: 16px;
    height: 16px;
}

/* ========== Stats Section ========== */
.stats {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(200,174,121,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(200,174,121,0.05) 0%, transparent 40%);
}

.stats .container {
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
    padding: 30px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,174,121,0.15);
    border-radius: 16px;
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    color: #c8ae79;
}

.stat .number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #c8ae79 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.stat .label {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
}

/* ========== CTA Section ========== */
.cta {
    background: linear-gradient(135deg, #c8ae79 0%, #d4c4a0 50%, #c8ae79 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: #1a202c;
    margin-bottom: 20px;
}

.cta h2 em {
    background: none;
    -webkit-text-fill-color: #1a202c;
    color: #1a202c;
}

.cta p {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 40px;
    opacity: 0.8;
}

.cta .btn-primary {
    background: #1a202c;
    color: #fff;
    box-shadow: 0 15px 50px rgba(26, 32, 44, 0.3);
}

.cta .btn-primary:hover {
    background: #2d3748;
    box-shadow: 0 20px 60px rgba(26, 32, 44, 0.4);
}

/* ========== Site Footer ========== */
.site-footer {
    background: #1a202c;
    color: rgba(255,255,255,0.7);
    padding: 60px 0;
    text-align: center;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.site-footer .footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.site-footer .footer-logo em {
    color: #c8ae79;
}

.site-footer p {
    font-size: 0.9rem;
    opacity: 0.6;
}

.site-footer .beian {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ========== Top Navigation ========== */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(20px);
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.top-nav.scrolled {
    background: rgba(26, 32, 44, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

/* Logo区域 */
.top-nav .nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.top-nav .nav-logo img {
    height: 45px;
    width: auto;
}

.top-nav .nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.top-nav .nav-logo .logo-en {
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    color: #efe3c7;
    letter-spacing: 2px;
}

.top-nav .nav-logo .logo-cn {
    font-size: 0.85rem;
    font-weight: 500;
    color: #c8ae79;
    letter-spacing: 1px;
}

.top-nav .nav-logo span.gold {
    color: #c8ae79;
}

/* 导航菜单 */
.top-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-nav .nav-item {
    position: relative;
}

.top-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #efe3c7;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.top-nav .nav-link:hover {
    background: rgba(200,174,121,0.15);
    color: #c8ae79;
}

.top-nav .nav-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.top-nav .nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.top-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: rgba(26, 32, 44, 0.98);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 10px 0;
    margin-top: 5px;
}

.top-nav .nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.top-nav .dropdown a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.top-nav .dropdown a:hover {
    background: rgba(200,174,121,0.15);
    color: #c8ae79;
}

/* 右侧按钮 */
.top-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-nav .nav-search {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.top-nav .nav-search:hover {
    background: rgba(255,255,255,0.2);
}

.top-nav .nav-search svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.top-nav .nav-cta {
    padding: 12px 28px;
    background: linear-gradient(135deg, #c8ae79 0%, #d4c4a0 100%);
    color: #1a202c;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.top-nav .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200,174,121,0.4);
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .legacy .container {
        flex-direction: column;
        gap: 50px;
    }
    
    .legacy-content h2 {
        text-align: center;
    }
    
    .legacy-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .legacy-stats {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .stats .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat .number {
        font-size: 2.8rem;
    }
    
    .top-nav .container {
        gap: 20px;
        flex-wrap: wrap;
    }
}
