/* --- 0. 核心变量 (Variables) --- */
:root {
    /* 配色系统：高端、商务 */
    --primary: #0F172A;     /* 午夜深蓝：主标题 */
    --accent: #C5A059;      /* 香槟金：强调色、按钮 */
    --accent-hover: #D4AF37;
    --bg-body: #FAFAFA;     /* 极淡灰白：背景 */
    --bg-card: #FFFFFF;
    --text-main: #1E293B;   /* 正文深灰 */
    --text-sub: #64748B;    /* 辅助文字浅灰 */
    --border-light: #E2E8F0;
    
    /* 阴影与圆角 */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    --radius-md: 12px;
    
    /* 动画曲线 */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- 基础重置 (Reset) --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans JP', "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden; /* 防止横向滚动条 */
}

h1, h2, h3, h4 {
    font-family: 'Noto Serif JP', serif; /* 标题使用衬线体 */
    color: var(--primary);
    line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* --- 通用容器 (Container) --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* --- 滚动入场动画 (Animation Classes) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* 延迟类 */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* --- 1. 导航栏 (Header) --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.0); /* 初始全透明 */
    border-bottom: 1px solid transparent;
}

/* 滚动后的导航栏样式 */
header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px); /* 磨砂玻璃效果 */
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary); /* 默认深色，如果Banner是深色背景，这里可能需要调整为白色，滚动变深色 */
    letter-spacing: -0.5px;
}
.hero .logo { color: #fff; } /* 如果首屏背景是深色，这里可以覆盖 */
header.scrolled .logo { color: var(--primary); }

.logo span { color: var(--accent); }

.nav-menu { display: flex; gap: 40px; }
.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    color: var(--text-main);
}
/* 首屏未滚动时，如果背景深色，文字变白 */
/* 注意：为了通用性，这里假设是浅色导航。若需要深色背景下的白色导航，需JS配合 */

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}
.nav-menu a:hover::after { width: 100%; }

/* --- 2. 首屏 (Hero) --- */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* 背景图：深色蒙版 + 图片 */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7)), 
                url('https://images.unsplash.com/photo-1542051841857-5f90071e7989?q=80&w=2070&auto=format&fit=crop') center/cover fixed;
    color: white;
}

.hero-content {
    text-align: left;
    max-width: 800px;
    padding-top: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 600px;
}

/* 按钮样式 */
.btn-group { display: flex; gap: 20px; }

.btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* --- Section 通用 --- */
section { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

/* --- 3. 服务优势 (Features) --- */
.features { background: var(--bg-body); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.03); 
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(197, 160, 89, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-item h3 { font-size: 1.25rem; margin-bottom: 15px; }
.feature-item p { color: var(--text-sub); font-size: 0.95rem; }

/* --- 4. 适合人群 (Audience) --- */
.audience { background: white; }

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.audience-card {
    background: var(--bg-body);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-light);
}

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

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.audience-card:hover::before { transform: scaleX(1); }

.card-content { padding: 40px 30px; }
.card-icon {
    width: 50px; height: 50px;
    background: #EDF2F7;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.audience-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.audience-card p { font-size: 0.95rem; color: var(--text-sub); line-height: 1.8; }

/* --- 5. 辅导流程 (Process) --- */
.process { background: var(--primary); color: white; position: relative; overflow: hidden; }

.process::before {
    content: '';
    position: absolute;
    top: -10%; right: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.process .section-title { color: white; }
.process .section-tag { color: var(--accent); }

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.process-steps::after {
    content: '';
    position: absolute;
    top: 25px; left: 50px; right: 50px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    padding: 0 15px;
}

.step-num {
    width: 50px; height: 50px;
    background: var(--primary);
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-family: 'Noto Serif JP', serif;
    transition: var(--transition);
}

.step-item:hover .step-num {
    background: var(--accent);
    color: var(--primary);
}

.step-item h3 { color: white; font-size: 1.1rem; margin-bottom: 10px; font-weight: 500; }
.step-item p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* --- 6. 成功案例 (Cases) --- */
.cases { background: #fff; }

.case-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.case-card:hover { box-shadow: var(--shadow-hover); }

.case-img-placeholder {
    height: 200px;
    background: #f1f1f1;
    overflow: hidden;
}
.case-img-placeholder img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.case-card:hover .case-img-placeholder img { transform: scale(1.05); }

.case-body { padding: 25px; }

.tags { display: flex; gap: 8px; margin-bottom: 15px; }
.tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: #F1F5F9;
    color: var(--text-sub);
    border-radius: 4px;
    font-weight: 600;
}

.case-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.case-result { color: var(--accent); font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 10px; }
.case-body p { font-size: 0.9rem; color: var(--text-sub); }

/* --- 7. 页脚 (Footer) --- */
.contact-cta {
    background: #0f1216;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.cta-box { max-width: 800px; margin: 0 auto; }
.contact-cta h2 { color: white; margin-bottom: 20px; font-size: 2.8rem; }
.contact-cta p { color: rgba(255,255,255,0.6); margin-bottom: 40px; font-size: 1.1rem; }

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.method-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.method-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 8px;
}
.method-value { font-size: 1.2rem; font-weight: 500; }

.footer-copyright {
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}
.footer-copyright p {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-bottom: 0;
}

/* --- 移动端适配 (Media Queries) --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-menu { display: none; } /* 移动端菜单逻辑需在JS实现，这里暂时隐藏 */
    .mobile-menu-btn { display: block; } /* 假设添加了汉堡按钮 */
    
    .feature-grid, .audience-grid, .case-slider, .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps { flex-direction: column; gap: 40px; }
    .process-steps::after {
        width: 1px; height: 100%; left: 25px; top: 0;
    }
    .step-item { text-align: left; padding-left: 70px; }
    .step-num { position: absolute; left: 0; margin: 0; }
    
    .contact-methods { flex-direction: column; gap: 20px; }
    
    .btn-group { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
}