@charset "UTF-8";
:root {
    /* 核心调色板 - 国际化科技风 - Green Edition */
    --primary-blue: #00D26A; /* Renamed concept to Green, keeping var name for compatibility if missed, but ideally I should change all */
    --secondary-cyan: #69F0AE;
    --dark-bg: #0A0B0E;
    --card-bg: #14161A;
    --text-main: #FFFFFF;
    --text-muted: #8F9BB3;
    --border-light: rgba(255, 255, 255, 0.1);
    
    /* 布局尺寸 */
    --container-max: 1200px; 
    --nav-height: 80px;
    
    /* 动效 */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

@font-face {
    font-family: 'ReemKufiFun';
    src: url('../static/font/ReemKufiFun-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: Arial, 'ReemKufiFun', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 工具类 --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0;
    width: 100%;
    position: relative;
}

.section-padding {
    padding: 70px 0; /* Reduced from 120px by 50px */
}

.title-group {
    margin-bottom: 60px; /* Also reduced margin a bit to match tighter spacing */
    position: relative;
    padding-left: 0;
    text-align: center; /* Centered as requested */
}

/* Removed the left border bar */
.title-group::before {
    display: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #111; /* Solid color */
    /* background: linear-gradient(90deg, #000000, #4a4a4a); Remove gradient */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    display: inline-block; /* Ensure gradient works on centered text */
}

.section-subtitle {
    /* display: none; */
    font-size: 0.85rem; /* Reduced from 1rem */
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0; 
    font-weight: 700; /* Bold */
    margin-bottom: 5px; 
    display: block; 
    opacity: 0.8; /* Make it slightly more subtle */
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s var(--ease-out);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.3);
}

/* --- 1. 导航 (Navigation) --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: rgba(10, 11, 14, 0.0); /* 初始透明 */
    border-bottom: 1px solid rgba(255,255,255,0);
}

header:hover {
    background: rgba(0, 0, 0, 0.9);
    border-bottom-color: rgba(255,255,255,0.08);
}

.menu-toggle {
    display: none; /* Hide on desktop by default */
}

header.scrolled {
    background: #000000; /* 滚动变黑 */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    transition: height 0.3s ease;
    position: static !important; /* Allow mega menu to be full width */
}

header.scrolled .nav-container {
    height: 70px;
}

.logo img {
    height: 20px;
}

/* --- Mega Menu (Styles) --- */
.nav-menu {
    display: flex;
    gap: 55px;
    list-style: none;
    height: 100%;
    align-items: center;
    margin-left: auto; /* Push nav and socials to right */
    margin-right: 0px; /* Space between nav and socials */
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: static; /* Important for full width menu */
}

.nav-link {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-link i {
    display: none; /* Hide icons on desktop by default */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-cyan);
    transition: width 0.3s var(--ease-out);
}

.nav-item:hover .nav-link {
    color: white;
}

.nav-item:hover .nav-link::after {
    width: 100%;
}
/* Social Icons in Header */
.header-socials {
    display: flex;
    gap: 15px;
    margin-left: 30px;
    align-items: center;
}

.social-link {
    color: rgba(255,255,255,0.7);
    font-size: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; 
    height: 36px;
    border-radius: 50%;
    text-decoration: none !important; /* Remove any underlines */
    border: none !important;
    background: rgba(255,255,255,0.05);
}

.social-link:hover {
    color: var(--secondary-cyan);
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
/* Language Switcher Styles */
.lang-switch {
    position: relative; /* Ensure dropdown aligns relative to this item */
}

.lang-switch .mega-menu.lang-menu {
    top: 100%;
    transform: translateY(10px);
    width: 120px; /* Fixed width */
    left: 50%; /* Center relative to parent */
    right: auto;
    margin-left: -60px; /* Half of width to center */
    padding: 10px;
    min-width: auto;
}
.lang-switch:hover .mega-menu.lang-menu {
    transform: translateY(0);
}

@media (max-width: 768px) {
    /* ... existing mobile styles ... */
    
    /* Ensure Header Items Vertically Centered */
    .nav-container {
        display: flex;
        align-items: center !important;
        justify-content: space-between;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        height: 100%; /* Ensure full height for better click area */
        margin-top: 20px; /* Menu button moved down 20px */
    }

    /* Language Switcher Mobile */
    .lang-switch .mega-menu.lang-menu {
        position: static;
        width: 100% !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent !important; /* Ensure no background/gradient */
        border: none;
        box-shadow: none;
        padding: 0;
        display: none; /* Hidden by default, toggle with JS if needed, or just show links */
    }
    
    /* Simple mobile lang switch: Show as sub-items or inline */
    .lang-switch .nav-link::after { display: none; }
    
    /* Language Switcher Mobile - Specialized Style */
    .lang-switch .mega-menu.lang-menu {
        display: block;
        padding-left: 60px;
        text-align: left; /* Strict Left Align */
        width: 100%;
        margin-top: 0; 
    }
    
    .lang-switch .mega-content {
        display: block !important; 
        padding-left: 39px !important; /* 24px(icon) + 15px(gap) = 39px. (Parent nav-item already has 20px padding) */
    }

    .lang-switch .mega-content a {
        display: block !important;
        text-align: left; /* Strict Left Align */
        width: 100% !important; 
        padding: 12px 0 !important;
        color: rgba(255,255,255,0.6) !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        background: transparent !important;
        text-decoration: none;
        font-size: 0.95rem;
    }
}

/* Mega Menu Dropdown */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 11, 14, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 900;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.mega-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mega-col a {
    display: block;
    color: #8F9BB3;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.mega-col a:hover {
    color: var(--secondary-cyan);
    transform: translateX(5px);
}

.mega-img {
    background: linear-gradient(135deg, #00D26A, #69F0AE);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.mega-img::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../static/images/banner.jpg'); /* Reuse existing image if possible or abstract pattern */
    background-size: cover;
    mix-blend-mode: overlay;
    opacity: 0.3;
}

.nav-promo-box span {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    display: block;
}

.nav-promo-box p {
    color: rgba(255,255,255,0.9);
    margin-top: 5px;
    font-size: 0.9rem;
}


/* --- 2. 英雄横幅 (Hero Banner) --- */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden !important; /* Force overflow hidden */
    background-color: #0a0b0e; /* Solid background color */
    z-index: 999; /* Super High z-index */
    margin-bottom: 0px; 
}

/* Force Reset Layout Flow */
.section-spacer {
    display: block !important;
    height: 50px; /* Increase gap */
    width: 100vw;
    clear: both;
    background: #ffffff; 
    position: relative;
    z-index: 20;
}

/* --- 3. 公司介绍 (About) - 双栏布局 --- */
#about {
    background-color: #ffffff;
    color: #111;
    position: relative;
    overflow: hidden;
    clear: both; 
    margin-top: 50px; /* Force physical separation */
    z-index: 10;
    padding-top: 50px;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Layer 2: Above background & overlay */
    pointer-events: none;
    opacity: 0.8; /* Subtle transparency */
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* Soft shadow gradient pointing down (darkening at the bottom) */
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
    z-index: 3; /* Layer 3: Bottom shadow */
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../static/images/banner.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0; /* Layer 0: Bottom-most */
}

/* 高级遮罩：从左下到右上的深色渐变，保证文字可读性 */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* 仅顶部保留极淡的遮罩，下部完全通透 */
    background: linear-gradient(to bottom, rgba(10,11,14,0.9) 0%, rgba(10,11,14,0.0) 30%);
    z-index: 1; /* Layer 1: Above bg, below particles */
}

.hero-content {
    position: relative;
    z-index: 4; /* Layer 4: Top-most content */

    height: 100%; /* Fill hero area for positioning context */
    display: flex; /* Allow vertical centering of text */
    align-items: center; 
    /* removed max-width: 800px to allow full layout */
}

.hero-main-img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 350px;
    height: 850px;
    object-fit: contain; /* Ensure image fits nicely */
    object-position: bottom center;
    z-index: 1;
}

.hero-text-wrapper {
    margin-left: 0px; /* Offset for image */
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: #FFFFFF !important; /* Force Pure White */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.9)); 
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.5rem;
    color: #23f37b !important; /* Force bright green */
    font-weight: 500; /* Increased weight for visibility */
    margin-bottom: 40px;
    border-left: none;
    padding-left: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5); /* Lighter shadow */
}

.hero .btn-primary {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
}

/* 滚动提示 */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--primary-blue);
    font-size: 24px;
    animation: bounce 2s infinite;
    opacity: 1;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.5));
}

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

/* --- 3. 公司介绍 (About) - 双栏布局 --- */
#about {
    background-color: #ffffff;
    color: #111;
    position: relative;
    overflow: hidden;
    /* Explicitly prevent overlap with previous section */
    clear: both; 
    margin-top: 0;
    z-index: 10;
    padding-top: 80px; /* Consistently enforce padding */
}

#about::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('../static/images/logo_bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 155px; /* 图片高度最大155px, 保持比例 */
    opacity: 0.05; /* 透明度5% */
    pointer-events: none;
    z-index: 10; /* 处于最上层 (比 .container 高) */
}

#about .container {
    position: relative;
    z-index: 2;
}

#about .section-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: #111;
}

#about .title-group::before {
    background: var(--primary-blue);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2rem;
    text-align: justify;
}

.stats-grid {
    display: flex;
    gap: 40px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.stat-item span {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 抽象科技图形装饰 */
.about-visual {
    position: relative;
    height: 400px;
    background: radial-gradient(circle at 30% 30%, #f0f4f8 0%, #e1e6eb 70%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
}

.tech-ring {
    position: absolute;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* --- 4. 产品 (Products) - 悬浮卡片 --- */
.products-bg {
    background: #ffffff;
    color: #111;
    border-top: 1px solid #eeeeee; /* Light gray line 100% width */
}

#products .section-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: #111;
}

#products .title-group::before {
    background: var(--primary-blue);
}

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

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 10px;
    position: relative;
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.card-image-block {
    height: 240px;
    border-radius: 12px;
    background: transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-hot {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: var(--primary-blue);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.products-hot .card-image-block,
.products-general .card-image-block {
    border-radius: 0;
    aspect-ratio: 1 / 1;
    height: auto;
}

/* 模拟产品的抽象图形 */
.abstract-shape {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-blue), #69F0AE);
    border-radius: 20px;
    transform: rotate(45deg);
    opacity: 0.8;
    filter: blur(20px);
    transition: all 0.5s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(0, 102, 255, 0.3);
}

.product-card:hover .abstract-shape {
    transform: rotate(0deg) scale(1.2);
    filter: blur(10px);
}

.card-content {
    padding: 30px 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-link {
    color: var(--secondary-cyan);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- 5. 全球网点 (Global) - 极简时间轴风格 --- */
.global-section {
    background: #f2f2f2;
    color: #111;
    overflow: hidden;
    position: relative;
    padding: 120px 0;
}

.global-section .section-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: #111;
}

/* 背景地图纹理 */
.map-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background-image: url('../static/images/world-map.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
    opacity: 0.18;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    pointer-events: none;
    z-index: 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.loc-card {
    background: #ffffff;
    backdrop-filter: none;
    border: 1px solid #e0e0e0;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    transition: background 0.3s;
}

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

.loc-card:hover {
    background: #f8f8f8;
}

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

.loc-year {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0,0,0,0.06);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.loc-city {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    color: var(--primary-blue);
}

.loc-data {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 5px;
}

/* --- 6. 广告横幅 (Ad) --- */
.ad-banner {
    height: 800px; /* Increased from 400px to 800px (double) */
    background: url('../static/images/t5.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 遮罩层，确保文字可读 */
.ad-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 黑色半透明遮罩 */
    z-index: 1;
}

/* 动感的背景线条 */
.ad-lines {
    position: absolute;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,210,106,0.05) 10px, rgba(0,210,106,0.05) 20px);
    animation: slide 20s linear infinite;
    z-index: 1; /* 确保在线条在遮罩之上或之下，视需求而定。 这里和遮罩在同一层级，依靠HTML结构或者z-index。文字是 z-index: 2 */
}

@keyframes slide {
    from {transform: translateX(-50%);}
    to {transform: translateX(0);}
}

.ad-text {
    z-index: 2;
    text-align: center;
    /* Enlarged Box */
    padding: 60px 100px;
    background: rgba(0, 0, 0, 0.1); /* 10% opacity background */
    position: relative;
    overflow: hidden; /* For border animation */
    border: 1px solid rgba(0, 210, 106, 0.5); /* Retain static green border with 50% opacity */
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    transition: 0.5s;
    backdrop-filter: blur(5px); /* Optional: adds a bit of glass effect for readability */
}

.ad-text h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

/* Fluid Border Animation */
.ad-text span {
    position: absolute;
    display: block;
}

/* Top Border */
.ad-text span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00D26A);
    animation: btn-anim1 3s linear infinite;
}

@keyframes btn-anim1 {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Right Border */
.ad-text span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #00D26A);
    animation: btn-anim2 3s linear infinite;
    animation-delay: 0.75s;
}

@keyframes btn-anim2 {
    0% { top: -100%; }
    50%, 100% { top: 100%; }
}

/* Bottom Border */
.ad-text span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(270deg, transparent, #00D26A);
    animation: btn-anim3 3s linear infinite;
    animation-delay: 1.5s;
}

@keyframes btn-anim3 {
    0% { right: -100%; }
    50%, 100% { right: 100%; }
}

/* Left Border */
.ad-text span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #00D26A);
    animation: btn-anim4 3s linear infinite;
    animation-delay: 2.25s;
}

@keyframes btn-anim4 {
    0% { bottom: -100%; }
    50%, 100% { bottom: 100%; }
}

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

.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 1 !important; /* Force visible in case of JS issues */
    visibility: visible !important;
    transform: none !important;
}

.news-img-box {
    height: 200px;
    width: 100%;
    background: #222;
    position: relative;
    overflow: hidden;
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 200% 200%;
    animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--primary-blue);
}

.news-meta {
    font-size: 0.8rem;
    color: var(--secondary-cyan);
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: white;
    transition: color 0.3s;
}

.news-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more-btn {
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-weight: 500;
}

/* News section - light background variant */
.news-section {
    background-color: #ffffff;
    color: #111;
}

.news-section .section-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: #111;
}

.news-section .news-card {
    background: #f7f7f9;
    border-color: #e1e4ea;
}

.news-section .news-card h3 {
    color: #111;
}

.news-section .news-card p {
    color: #555;
}

.news-section .news-meta {
    color: var(--primary-blue);
}

/* Partners section - light background with neutral logos */
.partners-section {
    background-color: #ffffff;
    color: #111;
}

.partners-section .section-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: #111;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    opacity: 0.85;
}

.partners-logos i {
    font-size: 40px;
    color: #4b5563;
    transition: color 0.3s ease, transform 0.3s ease;
}

.partners-logos i:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.products-hero {
    background: url('../static/images/bg2.jpg') no-repeat center center;
    background-size: cover;
    padding-top: 160px;
    padding-bottom: 140px;
}

.products-hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    text-align: center;
}

.products-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.products-hero-text p {
    max-width: 520px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.products-hot {
    background-color: #f7f7f9;
}

.products-hot .section-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: #111;
}

.products-hot-intro {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
    color: #666;
    font-size: 0.98rem;
}

.products-scenarios {
    background-color: #ffffff;
}

.products-scenarios .section-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: #111;
}

.scenario-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 30px;
    background-color: #f5f5f7;
    overflow: hidden;
}

.scenario-text h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
	margin-top:15px;
    color: #111;
}

.scenario-text p {
    color: #4b5563;
}

.scenario-text {
    padding: 24px 28px;
}

.scenario-image {
    width: 650px;
    max-width: 100%;
    min-height: 400px;
    height: auto;
    border-radius: 0;
    overflow: hidden;
}

.scenario-meta {
    margin-top: 12px;
    list-style: none;
    padding: 0;
}

.scenario-meta li {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.6;
}

 .products-general {
    background-color: #f7f7f9;
}

.products-general .section-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: #111;
}

/* Products cards - 简洁白底样式（热销 & 标准化共用） */
.products-hot .product-card,
.products-general .product-card {
    background: #ffffff;
    border: none;
    box-shadow: none;
    transform: none;
    border-radius: 0;
}

.products-hot .product-card:hover,
.products-general .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15,23,42,0.12);
}

.products-hot .card-content h3,
.products-general .card-content h3 {
    color: #111;
}

.products-hot .card-content p,
.products-general .card-content p {
    color: #4b5563;
}

.products-hot .card-link,
.products-general .card-link {
    color: var(--primary-blue);
}

.read-more-btn i {
    transition: transform 0.3s;
}

.news-card:hover .read-more-btn i {
    transform: translateX(5px);
}

.news-card:hover h3 {
    color: var(--secondary-cyan);
}

.read-more-btn {
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-weight: 500;
}

/* --- 8. 底部 (Footer) --- */
footer {
    background: #050608;
    border-top: 1px solid var(--border-light);
    padding: 80px 0 30px;
    color: #8F9BB3;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.footer-col h5 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #8F9BB3;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}
@media (max-width: 992px) {
    .hero-content {
        justify-content: center;
        text-align: center;
    }
    
    .hero-main-img {
        display: none; /* Hide large side image on tablets/mobile */
        /* Or adjust: 
        opacity: 0.2; 
        left: -100px;
        */
    }

    .hero-text-wrapper {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.footer-col a:hover {
    color: var(--secondary-cyan);
}

.footer-btm {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    font-size: 0.85rem;
}

/* --- 通用页面 Banner (纯CSS块) --- */
 /* Page Banner with overlay - 统一标准样式 */
        .page-banner {
            position: relative;
            height: 500px; /* Increased from 400px to 500px */
            min-height: 500px; /* Ensure minimum height */
            overflow: hidden;
        }
        .about-banner-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        /* New class for custom banner images to prevent cropping */
        .custom-banner-img {
            object-fit: contain; /* Show full image */
            background-color: #000; /* Black background for padding areas */
            max-width: 1980px;
            margin: 0 auto;
            display: block;
            position: relative; /* Override absolute from .about-banner-img if needed */
            height: auto;
            /* Removed max-height: 100% to allow full expansion */
        }
        
        /* Wrapper to center the image and provide black background */
        .page-banner.custom-banner-bg {
            background-color: #000;
            display: flex;
            justify-content: center;
            align-items: center;
            height: auto !important; /* Force auto height */
            min-height: 500px; /* Keep minimum but allow expansion */
            padding: 0;
        }
        
        /* Ensure image stays centered and contained within wrapper */
        .page-banner.custom-banner-bg .custom-banner-img {
             position: relative; /* Relative positioning within flex container */
             width: auto; /* Allow natural width */
             max-width: 100%; /* Responsive: fit screen */
             height: auto;
             top: auto; left: auto; transform: none; /* Reset absolute centering */
        }
        
        @media (min-width: 1981px) {
            .page-banner.custom-banner-bg .custom-banner-img {
                max-width: 1980px;
            }
        }

        .page-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
            z-index: 1;
        }
        .page-banner-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: white;
            z-index: 2;
        }
        .page-banner-content h1 {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        .page-banner-content p {
            font-size: 1.2rem;
            opacity: 0.8; /* Changed from 0.9 to 0.8 as requested */
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        }
		
		
        .about-banner-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .page-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
            z-index: 1;
        }
        .page-banner-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: white;
            z-index: 2;
        }
        .page-banner-content h1 {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        .page-banner-content p {
            font-size: 1.2rem;
            opacity: 0.9;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        }
        
        /* 移动端banner调整 */
        @media screen and (max-width: 768px) {
			
			
            .page-banner {
                height: 300px;
            }
            .page-banner-content h1 {
                font-size: 2rem;
            }
            .page-banner-content p {
                font-size: 1rem;
            }
        }

/* --- 二级导航 (Sub Nav) --- */
.sub-nav {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    top: 80px; /* Below main header */
    z-index: 99;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.sub-nav-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    flex-wrap: wrap;
}

.sub-nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    border-radius: 50px;
    background: transparent;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sub-nav-btn:hover,
.sub-nav-btn.active {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 210, 106, 0.25);
}

/* --- Partners Logo Grid --- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.partner-logo {
    background: white;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    transition: all 0.3s;
    font-size: 2rem;
    color: #ccc;
}

.partner-logo:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    color: var(--primary-blue);
}

/* --- Service Form & Process --- */
.service-process {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 60px;
}
.service-process::before {
    content: '';
    position: absolute;
    top: 25px; left: 0; width: 100%; height: 2px; background: #eee; z-index: 0;
}
.sp-step {
    position: relative; z-index: 1; text-align: center; background: white; padding: 0 10px;
}
.sp-icon {
    width: 50px; height: 50px; background: var(--primary-blue); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px; font-size: 20px;
}

.service-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* --- Fix Sub-Nav Spacing --- */
/* Ensure section following sub-nav has enough breathing room */
.sub-nav + section {
    scroll-margin-top: 140px; /* For anchor links */
}

/* --- Pro Max UI Style (Soft UI Evolution) --- */
.pro-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); /* Soft shadow */
    border: 1px solid rgba(0, 0, 0, 0.03); /* Very subtle border */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.pro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); /* Deeper soft shadow on hover */
}

.pro-section-bg {
    background-color: #f9fafb; /* Soft background */
}

.pro-btn {
    background: var(--primary-blue);
    color: white;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 210, 106, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.pro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 106, 0.35);
    background-color: #00c060;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0, 210, 106, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-cyan);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 210, 106, 0.6);
    color: #0A0B0E;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    /* Override .container padding specifically for mobile phones */
    .container {
        padding: 0 15px !important; 
    }
    .section-padding { padding: 80px 0; }
    
    .nav-container { padding: 0 20px; }
    
    .nav-menu {
        position: fixed;
        top: 0; left: 0;
        height: 100vh;
        width: 100vw; /* Using viewport width specifically */
        background: #0A0B0E;
        flex-direction: column;
        gap: 0; /* Remove flex gap, use item padding instead */
        padding: 80px 20px 20px; /* Top padding for close button space */
        justify-content: flex-start; /* Start from top */
        align-items: stretch; /* Stretch items to full width */
        z-index: 9999; /* Higher z-index to cover everything */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: none;
        overflow-y: auto; /* Allow scrolling inside menu if content is long */
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }

    .nav-item {
        height: auto;
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Divider line */
        width: 100%;
        display: block;
        text-align: left; /* Strict Left Align */
        padding-left: 20px; /* Base Indentation for all items */
        flex-direction: column; 
    }

    .nav-link {
        display: block; /* Block layout */
        padding: 20px 0; 
        font-size: 1.1rem;
        width: 100%;
        text-align: left; /* Strict Left Align */
    }
    
    .nav-link i {
        display: inline-block; 
        width: 24px; /* Fixed width for icons to ensure text aligns vertically */
        text-align: center;
        margin-right: 15px; /* Consistent gap */
        font-size: 1.2em;
        vertical-align: middle;
        position: relative;
        top: -1px;
    }
    
    .menu-toggle {
        display: block;
        position: relative; /* Ensure z-index works */
        z-index: 10000; /* Ensure button is ALWAYS above the full-screen menu (z-index 9999) */
        margin-top: 20px;
    }

    /* Ensure header background is solid black when scrolled on mobile */
    header.scrolled {
        background: #000000 !important;
    }

    /* Mobile Header Transition for hiding */
    header {
        transition: transform 0.3s ease-in-out, background 0.3s ease;
    }

    .container {
        padding: 0 15px; /* Reduced from 40px/default to 15px for mobile */
    }

    .nav-container { padding: 0 15px; } /* Align header with content */
    
    .hero h1 { font-size: 2.8rem; }
    
    /* Mobile Home Banner Content h1 size reduction */
    .hero-text-wrapper h1 {
        font-size: 1.8rem; /* Reduced by 20% from 2.3rem */
        margin-bottom: 8px; /* Reduced vertical spacing to ~30% of original 24px */
        line-height: 1.1;
    }
    
    .about-wrapper, 
    .products-grid,
    .locations-grid,
    .news-grid,
    .footer-top {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 40px;
    }
    
    .about-visual { height: 300px; }
    .footer-nav { flex-direction: column; gap: 40px; }
    
    /* Mobile Ad Banner Fix */
    /* .ad-banner removed since it doesn't exist in HTML and might be causing ghost layout */
    /* .ad-banner { height: 400px; } */
    /* .ad-text { padding: 40px 20px; width: 90%; } */
    /* .ad-text h2 { font-size: 1.8rem; } */
    
    .hero p {
        font-size: 0.9rem; /* Reduced English text by ~50% from 1.5rem desktop / default mobile might have been large */
        margin-bottom: 20px; /* Reduced spacing */
        line-height: 1.4;
    }

    /* Mobile visual tweaks */
    .section-subtitle {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 1.6rem;
        white-space: nowrap;
    }

    .about-visual {
        width: 100%; /* Reset full width override */
        margin-left: 0; /* Reset margin */
        border-radius: 20px !important; /* Restore radius */
    }

    .card-image-block {
        width: 100%;
        margin: 0;
        border-radius: 0 !important;
        border-bottom: 1px solid #23f37b; /* Changed from black to green */
    }

    .card-content {
        padding: 5px 15px 15px;
        min-height: auto;
    }

    .product-card {
        border: 1px solid #23f37b; /* Green border */
        width: 100%; /* Fit inside container padding */
        margin: 0 0 20px 0; /* Clear margins */
        background: #fff;
        padding: 0;
        border-radius: 8px; /* Slight radius so corners aren't jagged */
        box-shadow: none;
        box-sizing: border-box; /* Crucial for border inside width */
        overflow: hidden; /* Ensure content stays inside radius */
    }

    /* Mobile Menu separator fix */
    .nav-item:first-child {
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link i {
        display: inline-block; /* Show icons only on mobile */
        margin-right: 10px;
        font-size: 1.2em;
        vertical-align: middle;
        position: relative;
        top: -1px;
    }
}
