/* ===================================
   荣成正能量官
   =================================== */

/* ======================
   CSS变量
   ====================== */
:root {
    --primary: #1a1a2e;
    --primary-light: #667eea;
    --secondary: #764ba2;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* ======================
   加载动画 - 100%模仿tec-do风格
   ====================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.loading-bg-pic {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: bgZoom 10s ease-in-out infinite alternate;
    opacity: 1;
}

@keyframes bgZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.loading-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.loading-msg {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    animation: textFadeUp 1s ease forwards;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    display: block;
    text-align: center;
}

.loading-title b {
    font-weight: 700;
}

.loading-logo {
    position: relative;
    width: 70vw;
    max-width: 320px;
    height: auto;
    aspect-ratio: 588 / 57;
    margin: 0 auto;
}

.loading-logo-after,
.loading-logo-above {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loading-logo-after {
    -webkit-mask-image: url(images/b6.png.webp);
    mask-image: url(images/b6.png.webp);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.loading-logo-after text,
.loading-logo-above text {
    opacity: 0;
    animation: textFadeIn 0.8s ease forwards 0.3s;
}

@keyframes textFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.loading-other {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 1;
}

.loading-slogan {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    animation: textFadeIn 0.8s ease forwards 0.6s;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.loading-percent {
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    opacity: 0;
    animation: textFadeIn 0.8s ease forwards 0.9s;
    display: inline;
}

.loading-percent-sign {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    opacity: 0;
    animation: textFadeIn 0.8s ease forwards 1.1s;
    display: inline;
}

/* ======================
   导航- 100%模仿tec-do风格
   ====================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.logo-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.header.scrolled .logo-text {
    color: var(--primary);
}

.header.scrolled .logo-tagline {
    color: var(--gray-500);
}

.header.scrolled {
    padding: 12px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.content {
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
}

/* 菜单*/
.appLists {
    position: relative;
    display: flex;
    align-items: center;
}

.appLists > a {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.header.scrolled .appLists > a {
    color: var(--gray-600);
}

.appLists > a:hover,
.appLists.on > a {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .appLists > a:hover,
.header.scrolled .appLists.on > a {
    color: var(--primary-light);
    background: var(--gray-100);
}

/* 下拉箭头 */
.arrow {
    margin-left: 4px;
    font-size: 0.7rem;
}

/* 下拉菜单 */
.child {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 200px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s ease;
}

.appLists:hover .child {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.child a {
    display: block;
    padding: 10px 24px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.child a:hover {
    background: var(--gray-50);
    color: var(--primary-light);
    padding-left: 30px;
}

/* LiveLab & SparkFly 按钮 */
.row-mid-c {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.layer-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.layer-btn:hover .mask {
    opacity: 1;
}

.icon {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.header.scrolled .icon {
    color: var(--gray-700);
}

/* EN 语言切换 */
.row-mid-c > a.f-14 {
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header.scrolled .row-mid-c > a.f-14 {
    color: var(--gray-600);
    border-color: var(--gray-300);
}

.row-mid-c > a.f-14:hover {
    color: white;
    border-color: white;
}

.header.scrolled .row-mid-c > a.f-14:hover {
    color: var(--primary-light);
    border-color: var(--primary-light);
}

/* 遮罩*/
.maskBox {
    display: none;
}

/* ======================
   移动端汉堡按- 默认隐藏
   ====================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-fullscreen {
    display: none;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.header.scrolled .mobile-menu-toggle span {
    background: var(--gray-700);
}

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

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

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

/* ======================
   移动端全屏菜- 基础样式（所有移动端共用   ====================== */
.mobile-menu-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu-fullscreen.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header-left {
    display: flex;
    align-items: center;
}

.mobile-menu-logo-text {
    color: #222;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.mobile-menu-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-header-btn {
    position: relative;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #222;
    font-size: 1rem;
    font-weight: 700;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-header-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
}

.mobile-header-btn .mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.08), transparent);
    pointer-events: none;
}

.mobile-header-lang {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #222;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mobile-header-lang:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
}

.mobile-menu-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.2);
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu-list li {
    margin-bottom: 10px;
}

.mobile-menu-link {
    color: #222;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    padding: 12px 36px;
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 999px;
    border: 1px solid transparent;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
}

.mobile-menu-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
    padding: 10px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .mobile-menu-btn-outline {
        border: 1.5px solid rgba(0, 0, 0, 0.2);
        color: #222;
        background: transparent;
    }

    .mobile-menu-btn-outline:hover {
        border-color: #222;
        background: rgba(0, 0, 0, 0.04);
    }

.mobile-menu-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.mobile-menu-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* ======================
   Hero区域 - 100%模仿tec-do风格
   ====================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #1a1a2e; /* 深色底色，与视频风格衔接，替代突兀的渐变 */
    overflow: hidden;
}

.hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-slide.active {
    z-index: 1;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-content-wrapper {
    position: relative;
    z-index: 26; /* 高于转场层(z-index:25)，pager按钮始终可见 */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 100px;
}

.hero-slide {
    display: none;
    animation: fadeInUp 0.8s ease;
}

.hero-slide.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-txt-box {
    text-align: left;
    color: white;
    max-width: 900px;
    margin: 0;
    padding: 0 40px;
    padding-left: 8%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height:1.1;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

@keyframes heroTextReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================
   Hero底部指示- 100%模仿tec-do
   ====================== */
.hero-pager {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    z-index: 20;
    transition: opacity 0.3s ease;
}

.hero-pager.hidden {
    opacity: 0;
    pointer-events: none;
}

.pager-wrapper {
    display: flex;
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
    list-style: none;
}

.pager-item {
    max-width: 300px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pager-item:hover,
.pager-item.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.pager-item.active {
    background: rgba(255, 255, 255, 0.3);
}

.pager-text {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    line-height: 1.4;
}

/* ======================
   滚动提示
   ====================== */
.hero-scroll-tip {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    z-index: 3;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.85rem;
    opacity: 0.8;
}

.scroll-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
}

.scroll-circle {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    margin-top: -15px;
    animation: scrollDown 2s ease-in-out infinite;
}

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

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* ======================
   响应式：平板横屏 / 小桌(769px ~ 1024px)
   ====================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .content {
        gap: 2px;
    }

    .appLists > a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .row-mid-c {
        gap: 8px;
        margin-left: 10px;
    }

    .layer-btn {
        width: 36px;
        height: 36px;
    }

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

    .services-grid,
    .cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ======================
   响应式：手机横屏 / 大屏手机 (481px ~ 768px)
   ====================== */
@media (min-width: 481px) and (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .container {
        max-width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-txt-box {
        padding: 0 30px;
    }

    .bg-video {
        min-width: 0;
        min-height: 0;
        width: 100%;
        height: 100%;
    }

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

    .content {
        display: none;
    }

    .appLists:not(.row-mid-c) {
        display: none;
    }

    .row-mid-c {
        display: none;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-image-placeholder {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .mobile-menu-fullscreen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: transparent;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .mobile-menu-fullscreen.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-header-left {
        display: flex;
        align-items: center;
    }

    .mobile-menu-logo-text {
        color: #222;
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .mobile-menu-header-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-header-btn {
        position: relative;
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.04);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #222;
        font-size: 1rem;
        font-weight: 700;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .mobile-header-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .mobile-header-btn .mask {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
        pointer-events: none;
    }

    .mobile-header-lang {
        padding: 6px 14px;
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.04);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.12);
        color: #222;
        font-size: 0.85rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .mobile-header-lang:hover {
        background: rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.2);
    }

    .mobile-menu-close {
        width: 38px;
        height: 38px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.04);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        transition: all 0.3s ease;
    }

    .mobile-menu-close:hover {
        background: rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.2);
    }

    .mobile-menu-close svg {
        width: 20px;
        height: 20px;
    }

    .mobile-menu-body {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .mobile-menu-list li {
        margin-bottom: 10px;
    }

    .mobile-menu-link {
        color: #222;
        text-decoration: none;
        font-size: 1.4rem;
        font-weight: 500;
        padding: 12px 36px;
        display: inline-block;
        transition: all 0.3s ease;
        border-radius: 999px;
        border: 1px solid transparent;
    }

    .mobile-menu-link:hover,
    .mobile-menu-link.active {
        background: rgba(0, 0, 0, 0.06);
        border-color: rgba(0, 0, 0, 0.15);
    }

    .mobile-menu-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        padding: 30px 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-btn {
        padding: 10px 30px;
        border-radius: 999px;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .mobile-menu-btn-outline {
        border: 1.5px solid rgba(0, 0, 0, 0.2);
        color: #222;
        background: transparent;
    }

    .mobile-menu-btn-outline:hover {
        border-color: #222;
        background: rgba(0, 0, 0, 0.04);
    }

    .mobile-menu-btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
    }

    .mobile-menu-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    }
}

/* ======================
   响应式：小屏手机 (480px)
   ====================== */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .container,
    .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-txt-box {
        padding: 0 16px;
    }

    .header {
        padding: 12px 16px;
    }

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

    .content {
        display: none;
    }

    .appLists:not(.row-mid-c) {
        display: none;
    }

    .row-mid-c {
        display: none;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .case-card,
    .contact-info-card {
        padding: 24px 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-image-placeholder {
        height: 250px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pager-wrapper {
        flex-wrap: wrap;
    }

    .pager-item {
        flex: 1 1 100%;
        padding: 14px 16px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-tagline {
        font-size: 0.7rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .loading-logo {
        width: 85vw;
    }

    .loading-title {
        font-size: 1.2rem;
    }

    .loading-slogan {
        font-size: 0.85rem;
    }

    .loading-percent {
        font-size: 2rem;
    }

    .loading-percent-sign {
        font-size: 1.2rem;
    }

    .loading-other {
        bottom: 50px;
    }

    .mobile-menu-header {
        padding: 12px 16px;
    }

    .mobile-menu-footer {
        padding: 20px 16px;
    }

    .mobile-menu-link {
        font-size: 1.1rem;
        padding: 10px 24px;
    }
}


/* ======================
   服务项目区域
   ====================== */
.services-section {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    /* padding removed - handled by .container */
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gray-50);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin-bottom: 25px;
}

.service-list li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
}

.service-link {
    display: inline-block;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    padding-left: 5px;
}

/* ======================
   成功案例区域
   ====================== */
.cases-section {
    padding: 100px 0;
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    /* padding removed - handled by .container */
}

.case-card {
    background: var(--gray-50);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 250px;
    overflow: hidden;
}

.case-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    gap: 10px;
}

.placeholder-icon {
    font-size: 3rem;
}

.case-content {
    padding: 25px;
}

.case-category {
    display: inline-block;
    padding: 5px 12px;
    background: var(--gray-100);
    color: var(--primary-light);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.case-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.case-description {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-results {
    display: flex;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.result-item {
    flex: 1;
}

.result-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.result-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ======================
   关于我们区域
   ====================== */
.about-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    /* padding removed - handled by .container */
}

.section-header-left {
    text-align: left;
    margin-bottom: 30px;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 40px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-icon-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.about-feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.about-feature-item p {
    font-size: 0.95rem;
    color: var(--gray-500);
}

.btn-about {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 35px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-about:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.about-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: white;
}

.placeholder-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.placeholder-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.company-values {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.company-values span {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ======================
   联系我们区域
   ====================== */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-info-card {
    background: var(--gray-50);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
	text-align:center;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}
/* ======================
   页脚
   ====================== */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    /* padding removed - handled by .container */
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom p {
    margin-bottom: 5px;
}

/* ======================
   动画效果
   ====================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
/* 关于我们区域响应式修复 */
@media (min-width: 769px) and (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { width: 100%; }
    .about-image-wrapper { width: 100%; }
    .about-image-placeholder { height: 350px; }
}
@media (min-width: 481px) and (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-image { width: 100%; order: -1; }
    .about-image-wrapper { width: 100%; }
    .about-image-placeholder { height: 300px; }
}
@media (max-width: 480px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-image { width: 100%; order: -1; }
    .about-image-wrapper { width: 100%; }
    .about-image-placeholder { height: 250px; }
    .placeholder-content h3 { font-size: 1.8rem; }
    .placeholder-content p { font-size: 1rem; }
    .company-values { flex-wrap: wrap; }
}

/* ======================
   成功案例响应式修复
   ====================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        
    }
    
    .case-image {
        height: 200px;
    }
    
    .case-content {
        padding: 20px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
        
    }
    
    .case-card {
        display: flex;
        flex-direction: column;
    }
    
    .case-image {
        height: 200px;
        width: 100%;
    }
    
    .case-content {
        padding: 20px;
        width: 100%;
    }
    
    .case-results {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .cases-grid {
        grid-template-columns: 1fr;
        
        gap: 20px;
    }
    
    .case-card {
        display: flex;
        flex-direction: column;
    }
    
    .case-image {
        height: 180px;
        width: 100%;
    }
    
    .case-image-placeholder {
        font-size: 1rem;
    }
    
    .placeholder-icon {
        font-size: 2.5rem;
    }
    
    .case-content {
        padding: 16px;
        width: 100%;
    }
    
    .case-title {
        font-size: 1.1rem;
    }
    
    .case-description {
        font-size: 0.9rem;
    }
    
    .case-results {
        flex-direction: column;
        gap: 15px;
    }
    
    .result-number {
        font-size: 1.3rem;
    }
}

/* ======================
   服务项目响应式修复
   ====================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-list li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        
        gap: 20px;
    }
    
    .service-card {
        padding: 24px 16px;
    }
    
    .service-card-inner {
        display: flex;
        flex-direction: column;
    }
    
    .service-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .service-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .service-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .service-list {
        margin-bottom: 15px;
    }
    
    .service-list li {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .service-link {
        font-size: 0.9rem;
    }
}






/* ====================== */
/* Banner 转场动画 */
/* ====================== */
.hero-transition {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 25;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-transition.active {
    opacity: 1;
    visibility: visible;
}

.hero-transition video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


