﻿@charset "utf-8";

/* ========== 全局重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ========== 全局容器 ========== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== 关于希丁哥 ========== */
.about-intro {
    background: #ffffff;
    padding: 4rem 2rem 3rem;
}
.about-intro-container {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
}
.about-intro-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.about-intro-header h2 {
    font-size: 2.2rem;
    color: #003429;
    margin-bottom: 0.4rem;
}
.about-intro-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #49ac35, #00664d);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}
.about-intro-lead {
    font-size: 0.975rem;
    color: #4e6266;
    line-height: 1.9;
    max-width: 1050px;
    margin: 0 auto;
    text-align: left;
}
.about-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}
.about-intro-card {
    background: #f4faf6;
    border-radius: 14px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    box-shadow: 0 2px 16px rgba(0, 52, 41, 0.05);
    border-left: 4px solid transparent;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-left-color 0.35s ease;
}
.about-intro-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 52, 41, 0.1);
}
.about-intro-card:nth-child(1):hover { border-left-color: #49ac35; }
.about-intro-card:nth-child(2):hover { border-left-color: #2196f3; }
.about-intro-card:nth-child(3):hover { border-left-color: #ff9800; }
.about-intro-card:nth-child(4):hover { border-left-color: #9c27b0; }
.about-intro-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
}
.icon-web  { background: linear-gradient(135deg, #43a047, #66bb6a); }
.icon-miniapp { background: linear-gradient(135deg, #1e88e5, #42a5f5); }
.icon-mp  { background: linear-gradient(135deg, #fb8c00, #ffa726); }
.icon-app { background: linear-gradient(135deg, #8e24aa, #ab47bc); }
.about-intro-card-right h4 {
    font-size: 1.15rem;
    color: #003429;
    margin-bottom: 0.4rem;
}
.about-intro-card-right p {
    font-size: 0.975rem;
    color: #4e6266;
    line-height: 1.7;
}
.about-intro-data {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    background: #f4faf6;
    border-radius: 14px;
    padding: 2.5rem 3rem;
    box-shadow: 0 2px 16px rgba(0, 52, 41, 0.06);
    margin-bottom: 2.5rem;
}
.data-item {
    text-align: center;
}
.data-num {
    display: block;
    font-size: 3.8rem;
    font-weight: 600;
    color: #003429;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 5px rgba(0, 52, 41, 0.1);
    letter-spacing: 1px;
}
.data-plus {
    font-size: 1.8rem;
    color: #49ac35;
}
.data-unit {
    font-size: 1.4rem;
    color: #49ac35;
    font-weight: 600;
}
.data-label {
    font-size: 0.9rem;
    color: #4e6266;
}
.data-divider {
    width: 1px;
    height: 50px;
    background: rgba(73, 172, 53, 0.2);
}
.about-intro-foot {
    text-align: center;
    font-size: 1rem;
    color: #4e6266;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
}
.about-intro-foot strong {
    color: #003429;
    display: block;
    margin-top: 0.5rem;
    font-size: 1.05rem;
}

/* ========== 响应式 - 768px ========== */
@media (max-width: 768px) {
    /* 全局容器 */
    .container { padding: 0 1rem; }

    /* 关于希丁哥 */
    .about-intro {
        padding: 3rem 1rem 2rem;
    }
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
    .about-intro-container {
        width: 90%;
    }
    .about-intro-header h2 {
        font-size: 1.8rem;
    }
    .about-intro-data {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }
    .data-divider {
        width: 60px;
        height: 1px;
    }

}

/* ========== 实体办公环境展示 ========== */
.office-environment {
    padding: 5rem 2rem;
    background: linear-gradient(to right, #f0f9f5 0%, #ffffff 100%);
}
.office-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.office-content {
    padding-right: 1rem;
}
.office-content h2 {
    font-size: 2.2rem;
    color: #003429;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.office-content .lead-text {
    font-size: 1.025rem;
    color: #4e6266;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(73, 172, 53, 0.1);
    font-weight: 500;
}
.office-detail-group {
    margin-bottom: 2rem;
}
.office-detail-group h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    color: #003429;
    margin-bottom: 1rem;
}
.office-detail-group p {
    color: #666666;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 0.8rem;
    color: #4e6266;
    font-size: 0.95rem;
}
.feature-list li::before {
    content: '\2713';
    color: #49ac35;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    min-width: 20px;
}

.office-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 52, 41, 0.1);
    border: 1px solid rgba(73, 172, 53, 0.1);
    height: 100%;
    min-height: 500px;
}
.office-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.office-img:hover img {
    transform: scale(1.05);
}


/* ========== 为什么选择希丁哥 ========== */
.advantages-section {
    background: linear-gradient(135deg, #eef2f7 0%, #f5f7fa 100%);
    padding: 4rem 0;
    margin: 0;
}
.advantages-container {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
}
.advantages-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.advantages-section .section-header h2 {
    font-size: 2.2rem;
    color: #003429;
    margin-bottom: 0.8rem;
}
.advantages-section .section-header p {
    color: #4e6266;
    font-size: 1rem;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.advantage-item {
    text-align: center;
    padding: 1.5rem;
}
.advantage-icon {
    font-size: 2.625rem;
    margin-bottom: 1rem;
}
.advantage-item h4 {
    font-size: 1.325rem;
    color: #003429;
    margin-bottom: 0.5rem;
}
.advantage-item p {
    font-size: 1.025rem;
    color: #4e6266;
}

@media (max-width: 1100px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .advantages-container {
        width: 85%;
    }
}

/* ========== 第一屏Hero内容 ========== */
.hero-partial {
    position: relative;
    width: 100%;
    min-height: 600px;
    margin-top: 0;
    background: linear-gradient(135deg, #0a5e4b 0%, #084d3d 50%, #064536 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-partial-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 0 6rem 0;
}
.hero-partial-title {
    font-size: clamp(calc(2.4rem - 10px), calc(6vw - 10px), calc(4rem - 10px));
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}
.hero-partial-sub {
    font-size: clamp(calc(0.9rem - 2px), calc(2.2vw - 2px), calc(1.3rem - 2px));
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3.2rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero-partial-sub p {
    margin-bottom: 0.5rem;
}
.hero-partial-sub p:last-of-type {
    margin-bottom: 0;
}


/* 按钮通用样式 */
.hero-partial-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 40px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid rgba(255,255,255,0.95);
    overflow: hidden;
    color: #0b1a24;
}

/* 视频按钮 - 红色 */
.hero-partial-btn-video {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 50%, #fca5a5 100%);
    box-shadow: 0 10px 35px rgba(239,68,68,0.5);
}
.hero-partial-btn-video::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-25deg);
    animation: hpShine 3s 1s infinite;
}
.hero-partial-btn-video:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(239,68,68,0.6);
}

@keyframes hpShine {
    0% { transform: skewX(-25deg) translateX(0); }
    20% { transform: skewX(-25deg) translateX(450%); }
    100% { transform: skewX(-25deg) translateX(450%); }
}

/* 信任徽章 - 玻璃态 */
.hero-partial-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    row-gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 2rem;
}
.hero-partial-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 450;
    color: rgba(255,255,255,0.92);
    padding: 0.35rem 1.2rem;
    background: rgba(255,255,255,0.07);
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
}
.hero-partial-badge span {
    font-size: 1.3rem;
}

/* ========== 视频弹窗 ========== */
.hero-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.hero-video-modal.active {
    display: flex;
}
.hero-video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}
.hero-video-modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    border: 3px solid #e8f4f8;
}
.hero-video-modal.active .hero-video-modal-content {
    will-change: transform;
}
.hero-video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #096453 0%, #0c8f77 100%);
    border-bottom: 3px solid #f0f9ff;
}
.hero-video-modal-header h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}
.hero-video-modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-video-modal-close:hover {
    background: rgba(255,255,255,0.4);
    transform: rotate(90deg);
}
.hero-video-modal-body {
    background: #f8fafc;
    padding: 0.8rem;
}
.hero-video-modal-body video {
    width: 100%;
    display: block;
    max-height: 70vh;
    background: #000;
    border-radius: 12px;
}
.hero-video-modal-footer {
    padding: 1rem 1.5rem;
    background: #d1fae5;
    border-top: 3px solid #6ee7b7;
    text-align: center;
}
.hero-video-modal-btn {
    background: linear-gradient(135deg, #f97316 0%, #fb8b2c 100%);
    border: none;
    color: #fff;
    padding: 0.6rem 3rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(249,115,22,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-video-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.6);
}

/* 响应式 */
@media (max-width: 800px) {
    .hero-partial {
        min-height: auto;
        padding: 2rem 0;
    }
    .hero-partial-content {
        width: 80%;
        padding: 1.5rem 0 2.5rem 0;
    }
    .hero-partial-title {
        font-size: 2rem;
        line-height: 1.6;
    }
    .hero-partial-sub {
        font-size: calc(1.05rem - 2px);
    }
    .hero-partial-btn {
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
        border-width: 2px;
    }
    .hero-partial-badges {
        gap: 0.8rem;
    }
    .hero-partial-badge {
        font-size: 1rem;
        padding: 0.3rem 0.9rem;
    }
    .hero-partial-badge span {
        font-size: 1.1rem;
    }
}
@media (max-width: 500px) {
    .hero-partial-content {
        width: 85%;
    }
    .hero-partial-title {
        font-size: 1.6rem;
    }
    .hero-partial-sub {
        font-size: calc(0.95rem - 2px);
    }
    .hero-partial-badge {
        width: 100%;
        justify-content: center;
    }
}

/* ========== 移动端顶部导航（从global.css提取） ========== */
.m-top { display:none; }

@media screen and (max-width: 768px) {
    .m-top { display:block; }
    body {
        overflow-x: clip;
        overflow-x: hidden\9;
    }
    html {
        overflow-x: clip;
        overflow-x: hidden\9;
    }
}

.m-top-bar {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    bottom: auto;
    width: 100%;
    z-index: 9999;
    background: #003429;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    animation: none !important;
    -webkit-animation: none !important;
}

/* Logo */
.m-top-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
}
.m-top-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    font-family: "Arial Black", Arial, sans-serif;
    font-weight: 900;
    font-size: 12px;
    color: #4ade80;
    padding: 3px 8px;
    letter-spacing: 0;
}
.m-top-logo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4ade80, #22d3ee);
    color: #003429;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* 汉堡按钮（checkbox hack） */
.m-menu-check { display: none; }

.m-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    position: relative;
    z-index: 10000;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.m-menu-btn span,
.m-menu-btn span::before,
.m-menu-btn span::after {
    display: block;
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all .25s ease;
}
.m-menu-btn span { position: relative; }
.m-menu-btn span::before,
.m-menu-btn span::after {
    content: '';
    position: absolute;
    left: 0;
}
.m-menu-btn span::before { top: -7px; }
.m-menu-btn span::after  { top: 7px; }

/* 选中时变叉号 */
.m-menu-check:checked ~ .m-menu-btn span { background: transparent; }
.m-menu-check:checked ~ .m-menu-btn span::before {
    top: 0;
    transform: rotate(45deg);
}
.m-menu-check:checked ~ .m-menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* 下拉菜单 */
.m-menu-drop {
    position: fixed;
    top: 48px;
    left: 0; right: 0;
    background: rgba(0, 52, 41, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9998;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    -webkit-transform: none !important;
    transform: none !important;
}
.m-menu-check:checked ~ .m-menu-drop {
    max-height: 420px;
    padding: 8px 0;
}
.m-menu-drop a {
    display: block;
    color: rgba(255,255,255,.95);
    text-decoration: none;
    font-size: 16px;
    letter-spacing: .03em;
    padding: 19px 28px;
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: background .2s, padding-left .2s;
}
.m-menu-drop a:last-child { border-bottom: none; }
.m-menu-drop a:hover { background: rgba(255,255,255,.05); }
.m-menu-drop a:active,
.m-menu-drop a:focus { background: rgba(255,255,255,.1); padding-left: 34px; }

/* 移动端fixed顶栏占位 */
.m-top-placeholder { display: none; }
@media screen and (max-width: 768px) {
    .m-top-placeholder { display: block; height: 48px; }
}

/* PC/YD显示切换 */
.xidinggepc { display:block; }
.xidinggeyidong { display:none; }
@media screen and (max-width: 768px) {
    .xidinggepc { display:none; }
    .xidinggeyidong { display:block; }
}

/* 移动端hero修正：margin-top给48px导航让位 */
@media screen and (max-width: 768px) {
    .hero-partial {
        margin-top: 48px;
    }

    /* 实体办公环境 - 图片在上、文字在下 */
    .office-environment {
        padding: 3rem 1rem;
    }
    .office-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .office-content {
        order: 1;
        margin-top: 2rem;
        padding-right: 0;
    }
    .office-img {
        order: 0;
        min-height: 300px;
    }
    .office-content h2 {
        font-size: 1.8rem;
    }
    .office-content .lead-text {
        font-size: 0.95rem;
        line-height: 2;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .office-detail-group h3 {
        font-size: 1.15rem;
    }
    .office-detail-group p {
        font-size: 0.95rem;
    }
    .feature-list li strong {
        min-width: 80px;
        flex-shrink: 0;
    }

    /* 为什么选择希丁哥 */
    .advantages-section .section-header h2 {
        font-size: calc(2.2rem - 2px);
    }
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 0.3rem;
    }
}
