/* 全局变量与重置 */
:root {
    --primary: #0D47A1;
    --primary-dark: #0A357A;
    --primary-light: #42A5F5;
    --success: #10B981;
    --bg-light: #F0F5FB;
    --text-dark: #0A1F3D;
    --text-gray: #667085;
    --white: #FFFFFF;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(13, 71, 161, 0.15);
    --shadow-lg: 0 16px 48px rgba(13, 71, 161, 0.2);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
/* 通用按钮样式 */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}
.btn-light {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-dark {
    background: var(--text-dark);
    color: var(--white);
    font-size: 13px;
    padding: 8px 20px;
}
.btn-dark:hover {
    background: var(--primary);
    animation: btnBounce 0.4s ease;
}
@keyframes btnBounce {
    0% { transform: translateY(0); }
    30% { transform: translateY(-3px); }
    50% { transform: translateY(0); }
    70% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}
.btn-full {
    width: 100%;
}
.btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}
/* 呼吸光晕动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}
@keyframes pulse-lg {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 60px 0 80px;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}
/* 左侧竖排文字 */
.hero-side-text {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(calc(-50% - 20px));
    writing-mode: vertical-lr;
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.5;
}

/* 在较窄桌面尺寸下隐藏竖排文字，避免与标题冲突 */
@media (max-width: 1280px) {
    .hero-side-text {
        display: none;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    width: 100%;
}
/* 左侧文本：上下分布，与右侧图片上下边缘对齐 */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px 6px 8px;
    border-radius: 20px;
    font-size: 12px;
    width: fit-content;
    backdrop-filter: blur(10px);
}
.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}
.hero-text h1 {
    line-height: 1.25;
    margin: 20px 0;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hero-title-main {
    font-size: 58px;
    font-weight: 700;
    color: var(--white);
}
.hero-title-sub {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-light);
}
.hero-title-normal {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
}
.hero-text p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.7;
    max-width: 520px;
}
.hero-btn {
    margin-left: 0;
    width: fit-content;
}
/* 右侧大图：左边向右收缩20px */
.hero-image {
    position: relative;
    margin-left: 20px;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: block;
}
/* 右下角统计卡片：垂直高度收缩0.75倍，对勾同步缩放 */
.stat-card {
    position: absolute;
    bottom: -15px;
    right: -20px;
    background: var(--white);
    color: var(--text-dark);
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
    z-index: 2;
}
.stat-card:hover {
    transform: translateY(-2px);
}
.stat-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-lg 2s infinite;
    flex-shrink: 0;
}
.stat-check {
    color: var(--success);
    font-weight: bold;
    font-size: 13.5px;
}
.stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}
.stat-text span {
    font-size: 13px;
    color: var(--text-gray);
}
.stat-text strong {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
}
/* SCROLL指示器：缩小0.75倍，下边缘与图片/按钮底部对齐，水平居中 */
.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 88px;
    transform: translateX(-50%) scale(0.75);
    transform-origin: center bottom;
    font-size: 12px;
    opacity: 0.7;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 10px;
    position: relative;
}
.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0;
    }
}
/* 服务区通用标题 */
.section-title {
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}
.section-title p {
    color: var(--primary-light);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}
.section-tag {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
    display: flex;
    align-items: center;
    min-height: 20px;
}
.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 2px;
    background: var(--primary-light);
}
/* 服务项 - 重构后 */
.services {
    padding: 80px 0;
}
.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}
.service-item:last-child {
    margin-bottom: 0;
}
/* 自动调换：奇数项文字在左图片在右，偶数项图片在左文字在右 */
.service-item:nth-child(even) .service-content {
    order: 2;
}
.service-item:nth-child(even) .service-image-card {
    order: 1;
}
.service-content {
    position: relative;
}
/* 服务头部：横杠 + 英文 + 编号 垂直中线对齐 */
.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    position: relative;
}
.service-number {
    font-size: 64px;
    font-weight: 700;
    color: #F0F5FB;
    line-height: 1;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(calc(-50% - 20px));
    z-index: 0;
    user-select: none;
}
.service-tag {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding-left: 40px;
    z-index: 1;
    line-height: 1;
    display: flex;
    align-items: center;
}
.service-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 2px;
    background: var(--primary-light);
}
.service-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.service-list {
    list-style: none;
    margin-bottom: 24px;
}
.service-list li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 14px;
    color: var(--text-gray);
}
.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}
/* 图片卡：图片 + 下方小字形成卡片 */
.service-image-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.4s ease;
    background: var(--white);
}
.service-image-card:hover {
    box-shadow: none;
}
.service-image {
    position: relative;
    overflow: hidden;
}
/* 图片高度减少1/4：原380px -> 285px */
.service-image img {
    width: 100%;
    height: 285px;
    object-fit: cover;
    display: block;
}
.image-meta {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 12px;
    color: var(--text-gray);
    background: var(--white);
}
.image-meta strong {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    margin-top: 2px;
}
/* 经验数据区 */
.experience {
    background: var(--bg-light);
    padding: 80px 0;
}
.experience-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.experience-text h2 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 40px;
}
.exp-highlight {
    font-size: 40px;
    color: var(--primary);
}
.stats-row {
    display: flex;
    gap: 48px;
}
.stat-item strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.stat-item p {
    font-size: 14px;
    color: var(--text-gray);
}
.experience-image {
    position: relative;
}
.experience-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: block;
}
.contact-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    width: 280px;
    box-shadow: var(--shadow-lg);
}
.contact-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}
.contact-card p {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.5;
}
/* 成功案例区 */
.cases {
    padding: 80px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}
.section-header .btn-primary {
    transition: all 0.3s ease;
    background: var(--primary);
    color: var(--white);
}
.section-header .btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}
.case-featured {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s;
    cursor: pointer;
}
.case-featured:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.case-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(10, 31, 61, 0.85));
    color: var(--white);
}
.case-date {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 8px;
    display: block;
}
.case-overlay h3 {
    font-size: 20px;
    margin-bottom: 16px;
    line-height: 1.4;
}
.case-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: stretch;
}
.case-card {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 10px;
    transition: all 0.3s;
    cursor: pointer;
}
.case-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.case-card .case-date {
    color: var(--primary);
    font-weight: 500;
}
.case-card h4 {
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.4;
}
.case-card p {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
}
/* 导师团队区 */
.mentors {
    background: var(--bg-light);
    padding: 80px 0;
}
.mentors-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}
.slider-btn {
    width: 40px;
    height: 80px;
    border: none;
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-gray);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    transition: all 0.3s;
}
.slider-btn:hover {
    color: var(--primary);
    box-shadow: var(--shadow-md);
}
.mentors-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 8px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: 1;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.mentors-track:active {
    cursor: grabbing;
}
.mentors-track::-webkit-scrollbar {
    display: none;
}
.mentor-card {
    flex: 0 0 220px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}
.mentor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
/* 导师图片遮罩层 */
.mentor-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}
.mentor-img-wrap img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: filter 0.4s ease;
}
.mentor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(66, 165, 245, 0.7); /* 浅蓝色遮罩 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.mentor-overlay span {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    padding: 8px 20px;
    border: 2px solid var(--white);
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
}
.mentor-img-wrap:hover img {
    filter: brightness(1.1);
}
.mentor-img-wrap:hover .mentor-overlay {
    opacity: 1;
}
.mentor-card h4 {
    padding: 16px 16px 4px;
    font-size: 16px;
    font-weight: 600;
}
.mentor-card > p {
    padding: 0 16px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}
.mentor-desc {
    color: var(--text-gray) !important;
    padding-bottom: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    margin-top: 8px;
}
.mentors-note {
    text-align: center;
    margin-top: 32px;
    color: var(--text-gray);
    font-size: 14px;
}

/* 立即咨询按钮交互 */
.contact-btn {
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
}
.contact-btn:hover {
    animation: btnBounce 0.4s ease;
    background: var(--white);
    color: var(--text-dark);
}
.contact-btn:active {
    transform: scale(0.98);
}


/* ========================
   响应式适配：iPad & 手机
   ======================== */
/* --- iPad (768px - 1024px) --- */
@media (max-width: 1024px) {
    .container {          /*全局容器类，不可删除！*/
        padding: 0 20px;   /*在平板屏幕宽度 ≤1024px 时，给所有区块容器左右增加 20px 内边距，防止内容贴紧屏幕左右边缘*/
    }
    
    
    /* 英雄区 */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-text {
        align-items: center;
    }
    .hero-text p {
        max-width: 100%;
    }
    .hero-image {
        margin-left: 0;
        max-width: 600px;
        margin: 0 auto;
    }
    .hero-title-main {
        font-size: 48px;
    }
    .hero-title-sub,
    .hero-title-normal {
        font-size: 36px;
    }
    .hero-side-text {
        display: none;
    }
    /* 服务项 */
    .service-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-item:nth-child(even) .service-content,
    .service-item:nth-child(even) .service-image-card {
        order: unset;
    }
    .service-image img {
        height: 240px;
    }
    /* 经验数据区 */
    .experience-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .stats-row {
        justify-content: center;
    }
    .experience-image {
        max-width: 600px;
        margin: 0 auto;
    }
    .contact-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        width: 100%;
    }
    /* 成功案例 */
    .cases-grid {
        grid-template-columns: 1fr;
    }
    .case-list {
        grid-template-columns: 1fr 1fr;
    }
    /* 导师团队 */
    .mentors-slider {
        gap: 12px;
    }
    .mentor-card {
        flex: 0 0 200px;
    }
   
}
/* --- 手机 (< 768px) --- */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* 英雄区 */
    .hero {
        padding: 40px 0 60px;
    }
    .hero-title-main {
        font-size: 36px;
    }
    .hero-title-sub,
    .hero-title-normal {
        font-size: 28px;
    }
    .hero-text p {
        font-size: 14px;
    }
    .stat-card {
        padding: 10px 16px;
        right: 10px;
        bottom: -10px;
    }
    .scroll-indicator {
        display: none;
    }
    /* 服务项 */
    .services {
        padding: 60px 0;
    }
    .service-item {
        gap: 24px;
        margin-bottom: 60px;
    }
    .service-number {
        font-size: 48px;
    }
    .service-content h3 {
        font-size: 20px;
    }
    .service-image img {
        height: 200px;
    }
    /* 经验数据区 */
    .experience {
        padding: 60px 0;
    }
    .experience-text h2 {
        font-size: 28px;
    }
    .exp-highlight {
        font-size: 32px;
    }
    .stats-row {
        flex-direction: column;
        gap: 24px;
    }
    .stat-item strong {
        font-size: 28px;
    }
    /* 成功案例 */
    .cases {
        padding: 60px 0;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .case-list {
        grid-template-columns: 1fr;
    }
    /* 导师团队 */
    .mentors {
        padding: 60px 0;
    }
    .mentor-card {
        flex: 0 0 180px;
    }
    .mentor-card img {
        height: 200px;
    }
    .slider-btn {
        display: none;
    }
    
}
/* --- 小屏手机 (< 480px) --- */
@media (max-width: 480px) {
    .hero-title-main {
        font-size: 28px;
    }
    .hero-title-sub,
    .hero-title-normal {
        font-size: 22px;
    }
    .logo-img {
        height: 32px;
    }
    .logo-text {
        font-size: 16px;
    }
    .service-number {
        font-size: 36px;
    }
    .experience-text h2 {
        font-size: 24px;
    }
    .exp-highlight {
        font-size: 26px;
    }
}

