/* ============================================
   企业网站主样式 - 深色科技风
   参考海康机器人 + 欧莱克设计稿
   ============================================ */

:root {
    /* 主色调 */
    --primary: #0052CC;
    --primary-light: #0065FF;
    --primary-dark: #003D99;

    /* 强调色 - 暖色调 */
    --accent: #FF6B35;
    --accent-warm: #FF8F4D;

    /* 业务线色 */
    --color-energy: #FF6B35;
    --color-uav: #00B8D9;
    --color-robot: #6554C0;
    --color-vision: #0052CC;

    /* 深色背景 */
    --dark: #0A0E1A;
    --dark-light: #131829;
    --dark-lighter: #1A1F35;
    --dark-border: #2A3142;

    /* 文字 */
    --text: #FFFFFF;
    --text-secondary: #B8BCC8;
    --text-muted: #6B778C;

    /* 边框 */
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.05);

    /* 玻璃态 */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);

    /* 阴影 */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(0, 82, 204, 0.3);

    /* 字体 */
    --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-mono: 'SF Mono', Menlo, Monaco, Consolas, monospace;

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* 过渡 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* ============== Reset ============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Select 文本 */
::selection {
    background: var(--primary);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============== Container ============== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============== Header ============== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.logo-text {
    background: linear-gradient(135deg, #fff 0%, #B8BCC8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav */
.nav {
    flex: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-item > .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-item:hover > .nav-link,
.nav-item.active > .nav-link {
    color: var(--text);
    background: var(--glass-hover);
}

.nav-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.nav-arrow {
    transition: var(--transition-fast);
    opacity: 0.6;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-md);
}

.nav-cta:hover {
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.4);
}

/* Mega Dropdown */
.mega-dropdown .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 640px;
    max-width: 1400px;
    width: max-content;
    background: rgba(19, 24, 41, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1;
    margin-top: 8px;
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mega-menu-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.mega-menu-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mega-menu-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.mega-menu-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 24px;
}

.mega-menu-col h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    font-weight: 600;
}

.mega-menu-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-col ul a {
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.mega-menu-col ul a:hover {
    background: var(--glass-hover);
    color: var(--text);
    padding-left: 14px;
}

.mega-menu-cta {
    display: flex;
    align-items: flex-start;
}

.cta-card {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.cta-card:hover {
    background: var(--glass-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.cta-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.cta-card h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cta-arrow {
    color: var(--primary-light);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.cta-card:hover .cta-arrow {
    transform: translateX(4px);
}

/* Simple Dropdown */
.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: rgba(19, 24, 41, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1;
    margin-top: 8px;
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--glass-hover);
    color: var(--text);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.lang-switch a {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.lang-switch a:hover {
    color: var(--text);
}

.lang-switch a.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
}

.mobile-menu {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: var(--transition-fast);
}

/* ============== Hero ============== */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 72px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 72px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero-slide h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #B8BCC8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 790px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
}

.visual-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12rem;
    opacity: 0.15;
    filter: blur(2px);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 82, 204, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.3) 0%, transparent 50%);
}

.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
}

.hero-prev, .hero-next {
    width: 48px;
    height: 48px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.1rem;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.hero-prev:hover, .hero-next:hover {
    background: var(--glass-hover);
    border-color: var(--primary);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 24px;
    height: 4px;
    background: var(--glass-border);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-dot.active {
    background: var(--primary);
    width: 32px;
}

/* ============== Buttons ============== */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--biz-color, var(--primary)) 0%, var(--biz-color-light, var(--primary-light)) 100%);
    color: #fff;
    box-shadow: 0 4px 12px var(--biz-color-shadow, rgba(0, 82, 204, 0.3));
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--biz-color-shadow-hover, rgba(0, 82, 204, 0.5));
}

.btn-secondary {
    background: var(--glass);
    border-color: var(--glass-border);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--glass-hover);
    border-color: var(--biz-color, var(--primary));
}

.btn-outline {
    border-color: var(--glass-border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--biz-color, var(--primary));
    background: var(--glass);
}

.arrow {
    transition: var(--transition-fast);
}

.btn-primary:hover .arrow,
.btn-secondary:hover .arrow,
.btn-outline:hover .arrow {
    transform: translateX(4px);
}

/* ============== Sections ============== */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--biz-color, var(--primary-light));
    margin-bottom: 16px;
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #B8BCC8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc, .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 60px;
}

/* ============== Section Header(图文版 - 业务线首页用) ============== */
.section-header.section-header-with-icon {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    margin-bottom: 48px;
    padding: 20px 0;
    border-left: 3px solid var(--biz-color, var(--primary-light, #FF6B35));
    padding-left: 24px;
    background: linear-gradient(90deg, var(--biz-color-glass, rgba(255,107,53,0.08)) 0%, transparent 60%);
    border-radius: 0 12px 12px 0;
}
.section-header-with-icon .section-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--biz-color, var(--primary-light, #FF6B35));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px var(--biz-color-shadow, rgba(255,107,53,0.35));
}
.section-header-with-icon .section-header-icon svg {
    width: 28px;
    height: 28px;
}
.section-header-with-icon .section-header-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.section-header-with-icon .section-tag {
    align-self: flex-start;
    margin-bottom: 0;
}
.section-header-with-icon .section-title {
    font-size: 1.85rem;
    margin-bottom: 0;
}
@media (max-width: 640px) {
    .section-header.section-header-with-icon {
        gap: 14px;
        padding: 16px 0;
        padding-left: 18px;
    }
    .section-header-with-icon .section-header-icon {
        width: 44px;
        height: 44px;
    }
    .section-header-with-icon .section-header-icon svg {
        width: 22px;
        height: 22px;
    }
    .section-header-with-icon .section-title {
        font-size: 1.4rem;
    }
}

/* ============== Stats ============== */
.stats-section {
    padding: 60px 0;
    background: var(--dark-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.stat-number sup {
    font-size: 1.4rem;
    margin-left: 2px;
    -webkit-text-fill-color: var(--accent);
    color: var(--accent);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

/* ============== Business Tabs ============== */
.business-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.business-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    --tab-color: var(--primary);
}

.business-tab:hover {
    border-color: var(--tab-color);
    color: var(--text);
}

.business-tab.active {
    background: var(--tab-color);
    border-color: var(--tab-color);
    color: #fff;
}

.tab-icon {
    font-size: 1.2rem;
}

.business-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    min-height: 400px;
}

.business-panel.active {
    display: grid;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.panel-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.panel-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.panel-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.panel-products h4 {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.product-tag {
    padding: 6px 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.product-tag:hover {
    background: var(--glass-hover);
    color: var(--text);
    border-color: var(--primary);
}

.panel-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.panel-visual {
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.illustration-icon {
    font-size: 8rem;
    opacity: 0.4;
    position: relative;
    z-index: 1;
}

.illustration-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring {
    position: absolute;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.ring-1 { width: 200px; height: 200px; }
.ring-2 { width: 300px; height: 300px; animation-delay: 1.3s; }
.ring-3 { width: 400px; height: 400px; animation-delay: 2.6s; }

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* ============== Products Grid ============== */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.product-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.18) 0%, rgba(255, 143, 77, 0.10) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%);
    background-size: 18px 18px;
    pointer-events: none;
}

.product-image img {
    position: relative;
    z-index: 2;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 14, 26, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-detail {
    color: var(--primary-light);
    font-weight: 500;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.badge-new {
    background: var(--accent);
    color: #fff;
}

.badge-hot {
    background: var(--primary);
    color: #fff;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: 40px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.product-sku {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============== Solutions Grid ============== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.solution-card {
    display: block;
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.solution-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.solution-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.solution-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.solution-bg {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 8rem;
    opacity: 0.05;
    transition: var(--transition);
}

.solution-card:hover .solution-bg {
    transform: translateY(-50%) scale(1.1);
    opacity: 0.08;
}

/* ============== News Grid ============== */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
}

.news-card {
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.news-card.news-featured {
    grid-row: 1 / 3;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.news-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--dark-lighter);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--primary-light);
}

.news-content {
    padding: 24px;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: block;
}

.news-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-link {
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============== About Preview ============== */
.about-preview {
    background: var(--dark-light);
}

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

.about-content > .section-tag {
    margin-bottom: 16px;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.about-image {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-stat {
    text-align: center;
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.about-stat .stat-label {
    font-size: 0.85rem;
}

/* ============== Partners ============== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 2 / 1;
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition-fast);
    filter: grayscale(1) opacity(0.6);
}

.partner-item:hover {
    filter: grayscale(0) opacity(1);
    border-color: var(--primary);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ============== Certifications ============== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.certification-item {
    background: var(--dark-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.certification-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.certification-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.certification-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.certification-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============== CTA ============== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ============== Footer ============== */
.footer {
    background: var(--dark-light);
    border-top: 1px solid var(--border);
}

.footer-main {
    padding: 56px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1.4fr;
    gap: 28px;
    align-items: start;
}
/* 联系信息列始终贴右对齐 — 即便中间的业务线列被跳过也不会跑到中间 */
.footer-contact {
    grid-column: -2 / -1;
    justify-self: end;
    text-align: left;
    width: 100%;
    max-width: 260px;
}
/* contact-item 默认 flex 起始对齐,保证 "图标 → 电话" 自然左对齐,
   让 h4 标题与第一行电话左缘对齐 */

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    letter-spacing: 0.02em;
}

.footer-links h4 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-links h4 a:hover {
    color: var(--primary-light);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links li {
    line-height: 1.4;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.78rem;
    transition: var(--transition-fast);
    word-break: keep-all;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-links a:hover {
    color: var(--primary-light);
}

/* "更多"链接 — 仅在列子项 > 6 时显示 */
.footer-links-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    color: var(--primary-light);
    font-size: 0.78rem;
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-links-more:hover {
    color: #fff;
}
.footer-links-more .footer-links-arrow {
    transition: transform 0.18s ease;
    display: inline-block;
}
.footer-links-more:hover .footer-links-arrow {
    transform: translateX(3px);
}

.footer-contact h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-icon {
    width: 32px;
    height: 32px;
    background: var(--glass);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item--address {
    align-items: flex-start;
    margin-top: 4px;
}
.contact-item-address {
    line-height: 1.6;
    word-break: break-word;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--text);
}

/* ============== Responsive ============== */
@media (max-width: 1024px) {
    .hero-slide h1 { font-size: 3rem; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-contact { grid-column: auto; justify-self: stretch; text-align: left; max-width: none; }
}

@media (max-width: 768px) {
    .header-container { height: 64px; gap: 20px; }
    .nav { display: none; }
    .mobile-menu { display: flex; }
    .hero { padding-top: 64px; }
    .hero-slide h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    .stats-grid { flex-wrap: wrap; gap: 30px; }
    .stat-divider { display: none; }
    .business-panel { grid-template-columns: 1fr; padding: 24px; }
    .panel-visual { display: none; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card.news-featured { grid-row: auto; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-contact { grid-column: auto; justify-self: stretch; text-align: left; max-width: none; }
}

/* =====================================================
   前台统一头部样式 (.site-header / .main-nav / .header-actions)
   与 partials/header_business.php 视觉一致
   - 移除 btn-contact
   - 搜索: 图标 → 点击展开
   - 语言切换: 中 / EN / RU (segmented pill)
   - 4 大业务线 + 新闻 + 关于我们(支持二级下拉)
   ===================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
}
.site-header.scrolled {
    background: rgba(10, 14, 26, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 64px;
}
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #0052CC 0%, #FF6B35 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 0.78rem;
    letter-spacing: -0.02em;
    position: relative;
    overflow: hidden;
}
.site-logo-icon--img { color: transparent; }
.site-logo-icon--img .site-logo-img-overlay {
    position: absolute;
    inset: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    object-fit: contain;
    display: block;
}
.site-logo-name { color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; align-self: center; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    margin-left: 8px;
}
/* 4 大类业务线 / 当前业务线板块 - 居左(与 logo 紧邻) */
.main-nav-left {
    display: flex;
    align-items: center;
    gap: 0;
}
/* 新闻中心 + 关于我们 - 推到 .header-actions 之前 */
.main-nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-item { position: relative; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 36px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}
/* 底部渐变下划线 hover(还原以前的样式) */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: linear-gradient(90deg, #0052CC, #FF6B35);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover,
.nav-item.active .nav-link {
    color: #fff;
}
.nav-link:hover::after,
.nav-item.active .nav-link::after {
    transform: scaleX(1);
}
.nav-arrow {
    font-size: 0.6rem;
    opacity: 0.5;
    margin-left: 2px;
    transition: transform 0.2s;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); opacity: 0.8; }

/* ============================================
   浮层布局方案 (v2 - fixed 全宽 + auto-fit 自动换行):
   - position: fixed, 顶部紧贴 header, 左右贴视口
   - max-width 1400px 居中, 与 .header-container 对齐
   - 内部 grid 用 auto-fit + minmax(180px, 1fr) 自动换行,
     视口窄时多行排布, 内容永远不会被截断
   - 不再依赖 JS 计算 left/right, 永远不会"乱跑"
   ============================================ */
.mega-dropdown {
    position: fixed;
    top: 64px;             /* header 高度,与 .header-container { height: 64px } 对齐 */
    left: 0;
    right: 0;
    margin: 0 auto;
    /* 宽度: 兼容老浏览器 (max-width) + 现代浏览器 (min 函数确保不超过容器最大宽度 1400px) */
    max-width: 1400px;
    width: calc(100vw - 32px);
    /* 去掉 translateY 动画 + transition — 避免视觉漂移 */
    transform: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    background: rgba(15, 19, 33, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    overflow: hidden;      /* 内部由 grid 控制列布局, 浮层本身不需要滚动 */
}
/* 现代浏览器: 用 min() 让宽度在视口缩小时自动收缩 */
@supports (width: min(100%, 100px)) {
    .mega-dropdown {
        width: min(1400px, calc(100vw - 32px));
    }
}
/* 关于我们 等少列下拉: 较窄的尺寸 */
.mega-dropdown-narrow {
    min-width: 480px;
    max-width: 620px;
}

/* =====================================================
   新闻中心 / 关于我们 - 独立浮层样式
   仅作用于 .mega-dropdown-news 与 .mega-dropdown-narrow,
   覆盖父级 .mega-dropdown 的 fixed 全宽策略,
   让浮层改为 absolute 紧贴导航项、宽度自适应内容。
   其它 mega-dropdown(4 大业务线)完全不受影响。
   ===================================================== */
/* 同时覆盖首页 .nav-item 和 业务页 .biz-nav-item-wrap:
   保证两个头部下"关于我们"看起来完全一致 */
.nav-item:has(.mega-dropdown-news) > .mega-dropdown,
.nav-item:has(.mega-dropdown-narrow) > .mega-dropdown,
.biz-nav-item-wrap:has(.mega-dropdown-news) > .mega-dropdown,
.biz-nav-item-wrap:has(.mega-dropdown-narrow) > .mega-dropdown {
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    width: max-content;
    max-width: min(620px, calc(100vw - 32px));
    margin: 8px 0 0;
    transform: none;
}
/* 关于我们浮层明确收窄 */
.nav-item:has(.mega-dropdown-narrow) > .mega-dropdown,
.biz-nav-item-wrap:has(.mega-dropdown-narrow) > .mega-dropdown {
    width: max-content;
    min-width: 240px;
    max-width: min(520px, calc(100vw - 32px));
}
/* 新闻中心浮层最小更窄 */
.nav-item:has(.mega-dropdown-news) > .mega-dropdown,
.biz-nav-item-wrap:has(.mega-dropdown-news) > .mega-dropdown {
    width: max-content;
    min-width: 180px;
    max-width: min(320px, calc(100vw - 32px));
}
/* 关于我们浮层内部网格: 浮层变窄后,缩小列最小宽度以保证 3 列仍可横排 */
.nav-item:has(.mega-dropdown-narrow) > .mega-dropdown .mega-cols-3,
.biz-nav-item-wrap:has(.mega-dropdown-narrow) > .mega-dropdown .mega-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
/* 关于我们 / 新闻中心 hover 触发时, 保持右边缘对齐 */
.nav-item:has(.mega-dropdown-news):hover > .mega-dropdown,
.nav-item:has(.mega-dropdown-narrow):hover > .mega-dropdown,
.biz-nav-item-wrap:has(.mega-dropdown-news):hover > .mega-dropdown,
.biz-nav-item-wrap:has(.mega-dropdown-narrow):hover > .mega-dropdown {
    transform: none;
}
/* 现代浏览器: 仍用 min() 兜底(覆盖上面 width) */
@supports (width: min(100%, 100px)) {
    .nav-item:has(.mega-dropdown-news) > .mega-dropdown,
    .nav-item:has(.mega-dropdown-narrow) > .mega-dropdown,
    .biz-nav-item-wrap:has(.mega-dropdown-news) > .mega-dropdown,
    .biz-nav-item-wrap:has(.mega-dropdown-narrow) > .mega-dropdown {
        width: min(620px, calc(100vw - 32px));
    }
    .nav-item:has(.mega-dropdown-narrow) > .mega-dropdown,
    .biz-nav-item-wrap:has(.mega-dropdown-narrow) > .mega-dropdown {
        width: min(520px, calc(100vw - 32px));
    }
    .nav-item:has(.mega-dropdown-news) > .mega-dropdown,
    .biz-nav-item-wrap:has(.mega-dropdown-news) > .mega-dropdown {
        width: min(320px, calc(100vw - 32px));
    }
}

/* 新闻中心 2 级: 一行一行竖排显示(不再横排) */
.mega-dropdown-news {
    min-width: 180px;
    padding: 10px 0;
}
.mega-dropdown-news .mega-news-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 180px;
}
.mega-dropdown-news .mega-news-link {
    display: block;
    padding: 10px 22px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
    border-left: 3px solid transparent;
}
.mega-dropdown-news .mega-news-link + .mega-news-link {
    border-top: none;
}
.mega-dropdown-news .mega-news-link:hover {
    color: #FF6B35;
    background: rgba(255, 107, 53, 0.08);
    border-left-color: #FF6B35;
    padding-left: 26px;
}
/* hover 时浮层淡入 — 不再做 transform 动画, 避免视觉漂移 */
.nav-item:hover > .mega-dropdown,
.nav-item.has-children:hover > .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}
/* 业务页顶部二级导航: hover 显隐 (同样去掉 transform 避免漂移) */
.biz-nav-item-wrap.has-children:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}
/* 浮层内部网格: auto-fit 自动换行
   - 视口宽时一行放 8 列 (≥ 8 × 180px + 边距 ≈ 1500px+)
   - 视口中等时一行放 5~6 列, 多余的列自动换到下一行
   - 视口很窄时一行放 3~4 列, 整体内容仍清晰可见, 无截断 */
.mega-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    padding: 20px;
    align-items: start;
}
/* 兼容旧类名 (mega-cols-1 ~ mega-cols-8): 仍走 auto-fit, 不影响布局 */
.mega-cols-1 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mega-cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mega-cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mega-cols-4 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mega-cols-5 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mega-cols-6 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mega-cols-7 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mega-cols-8 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
/* 业务线扁平下拉:N 列横排,每列宽=内容宽,不强制行数 */
.mega-cols-flat {
    display: grid;
    grid-auto-flow: row dense;
    grid-auto-columns: max-content;
    gap: 0;
    padding: 20px;
}
.mega-col {
    padding: 0 22px;
    /* 不强制 min-width, 让列等分容器可用宽度; 视口窄时由 grid auto-fit 自动换行 */
    min-width: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
/* 列标题保持单行省略, 视觉整洁 */
.mega-col-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mega-col-title-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
/* 列内列表项允许换行 — 列被压缩时产品名换行显示, 不被截断 */
.mega-col-list-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}
.mega-col:last-child { border-right: none; }
.mega-col-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    position: relative;
    transition: all 0.2s;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.mega-col-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.18) 0%, rgba(255, 143, 77, 0.18) 100%);
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.2s;
}
.mega-col-title-text {
    line-height: 1.2;
}
/* 列标题底部细线 hover 时变主题色 */
.mega-col-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--biz-color, #0052CC) 0%, var(--biz-color-light, #FF6B35) 100%);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mega-col-title:hover { color: var(--biz-color-light, #FF6B35); }
.mega-col-title:hover::after { width: 32px; }
.mega-col-title:hover .mega-col-icon {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.32) 0%, rgba(255, 143, 77, 0.32) 100%);
    transform: scale(1.08);
}
.mega-col-list { list-style: none; padding: 0; margin: 0; }
.mega-col-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.18s;
    position: relative;
    /* 移除 nowrap: 列被压缩时产品名换行; dot/icon 通过 align-items:center 居中 */
    line-height: 1.4;
}
.mega-col-list-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
    transition: all 0.2s;
}
.mega-col-list-text {
    flex: 1;
    min-width: 0;
    /* 允许文本换行 — 浮层被压窄时产品名换行显示,不再被截断 */
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    overflow-wrap: break-word;
}
.mega-col-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    flex-shrink: 0;
    letter-spacing: 0;
}
.mega-col-badge.badge-new {
    background: linear-gradient(135deg, #00B8D9 0%, #36C5F0 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 184, 217, 0.4);
}
.mega-col-badge.badge-hot {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F4D 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
}
/* 下拉项 hover:文字变白 + 主题色背景 + 左侧缩进 + 左侧主题色竖条 */
.mega-col-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 16px;
    background: linear-gradient(180deg, var(--biz-color, #0052CC) 0%, var(--biz-color-light, #FF6B35) 100%);
    border-radius: 2px;
    transform: translateY(-50%);
    transition: width 0.2s ease;
}
.mega-col-list li a:hover {
    color: #fff;
    background: var(--biz-color-glass, rgba(0, 101, 255, 0.12));
    padding-left: 16px;
}
.mega-col-list li a:hover::before {
    width: 3px;
}
.mega-col-list li a:hover .mega-col-list-dot {
    background: var(--biz-color-light, #FF6B35);
    box-shadow: 0 0 8px var(--biz-color-light, #FF6B35);
    transform: scale(1.3);
}

/* 三级菜单 CSS 已移除:首页 header 不再渲染 mega-col-grandchildren
   业务页 header_business.php 把产品平铺到同层 li,不依赖该浮层 */

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

/* ===== 语言切换 (与 partials/header_business.php 完全一致) ===== */
.site-header .lang-switch {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 2px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s;
}
.site-header .lang-switch:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}
.site-header .lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 20px;
    padding: 0 7px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.6875rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.18s;
    position: relative;
}
.site-header .lang-switch a:hover {
    color: #fff;
}
.site-header .lang-switch a.active {
    color: #fff;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F4D 100%);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.site-header .lang-switch a.active:hover {
    filter: brightness(1.08);
}
.site-header .lang-sep {
    width: 1px;
    height: 8px;
    margin: 0 1px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* ===== 搜索图标 + 展开 (与 partials/header_business.php 完全一致) ===== */
.site-header .biz-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 26px;
}
.site-header .biz-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 26px;
    padding: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s;
}
.site-header .biz-search-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.site-header .biz-search-toggle svg { display: block; }

.site-header .biz-search-form {
    display: none;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 4px 0 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    width: 280px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: bizSearchSlide 0.22s ease-out;
}
.site-header .biz-search.open .biz-search-toggle { display: none; }
.site-header .biz-search.open .biz-search-form {
    display: inline-flex;
    width: 280px;
}
.site-header .biz-search-form-icon {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}
.site-header .biz-search-input {
    flex: 1; min-width: 0; height: 100%; padding: 0;
    background: transparent; border: none; outline: none;
    color: #fff; font-size: 0.8rem; font-family: inherit;
}
.site-header .biz-search-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.site-header .biz-search-close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; padding: 0;
    background: transparent; border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem; line-height: 1; cursor: pointer; border-radius: 50%;
    transition: all 0.15s;
}
.site-header .biz-search-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
@keyframes bizSearchSlide {
    from { opacity: 0; transform: translateX(8px); }
    to { opacity: 1; transform: translateX(0); }
}

.mobile-toggle {
    display: none;
    width: 30px; height: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}

/* 移动端语言切换(大屏隐藏,≤1024px 显示在 ☰ 按钮左侧) */
.mobile-lang-switch {
    display: none;
    flex-direction: row;
    gap: 4px;
    align-items: center;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
}
.mobile-lang-switch a {
    padding: 5px 11px;
    border-radius: 14px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.2s;
    line-height: 1;
    border: none;
}
.mobile-lang-switch a:hover {
    color: #fff;
}
.mobile-lang-switch a.active {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F4D 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.35);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .site-header .header-container { padding: 0 16px; gap: 10px; }
    .site-header .main-nav { display: none; }
    .site-header .lang-switch { display: none; }
    .site-header .biz-search-toggle { display: none; }
    .site-header .biz-search.open .biz-search-toggle { display: none; }
    .site-header .biz-search.open .biz-search-form { display: inline-flex; width: 180px; }
    .site-header .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
    /* 语言切换 pill:在 ≤1024px 时显示在 ☰ 按钮左侧 */
    .site-header .mobile-lang-switch { display: inline-flex; }
    .site-header .main-nav.show {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0; right: 0;
        flex-direction: column;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(30px);
        padding: 12px;
        gap: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .site-header .main-nav.show .nav-item { width: 100%; }
    .site-header .main-nav.show .nav-link { width: 100%; justify-content: space-between; height: 42px; }
    .site-header .main-nav.show .mega-dropdown { display: none; }
    /* 移动端菜单内:隐藏 News / About Us 整组,避免平板/手机抽屉冗长 */
    .site-header .main-nav.show .main-nav-right { display: none; }
}

/* =====================================================
   前台通用页面元素
   - page-header (子页面顶部 banner)
   - breadcrumb (面包屑)
   - segmented pill (业务线/分类切换)
   - 产品/解决方案/新闻 grid (统一设计)
   ===================================================== */
.page-header {
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
    color: #fff;
}
.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.page-header .section-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}
.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.page-header p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 640px;
}

.breadcrumb {
    background: var(--dark-light);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--biz-color-light, var(--accent)); }
.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}
.breadcrumb span:not(.separator) {
    color: var(--biz-color-light, var(--accent));
}

/* Segmented pill 切换器(子页面统一使用) */
.seg-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.seg-tabs .seg-pill {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 19px;
    flex-wrap: wrap;
    gap: 2px;
}
.seg-tabs .seg-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    margin-right: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-mono);
}
.seg-tabs .seg-pill-item.active .seg-num {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* 通用产品 grid(子页面) */
.products-main-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
}

/* 分页 */
.pagination-wrapper { margin-top: 48px; display: flex; justify-content: center; }
.pagination {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
}
.page-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
.page-btn.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.page-ellipsis {
    color: var(--text-muted);
    padding: 0 8px;
}

/* 空状态 */
.no-data-state {
    grid-column: 1/-1;
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border);
    border-radius: 16px;
    color: var(--text-muted);
}
.no-data-state h3 {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}
.no-data-state .placeholder-icon {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 12px;
    font-family: var(--font-mono);
}

/* 排序栏 */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.products-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}
.products-count strong { color: var(--accent); }
.products-sort select {
    padding: 6px 28px 6px 12px;
    background: rgba(255, 255, 255, 0.04) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 10px center;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.products-sort select option { background: var(--dark-light); color: #fff; }

/* 产品 image placeholder */
.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.12) 0%, rgba(255, 107, 53, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image-placeholder .placeholder-icon {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-mono);
}
.product-image-placeholder.product-energy .placeholder-icon { color: rgba(255, 107, 53, 0.4); }
.product-image-placeholder.product-uav .placeholder-icon { color: rgba(0, 184, 217, 0.4); }
.product-image-placeholder.product-robot .placeholder-icon { color: rgba(101, 84, 192, 0.4); }
.product-image-placeholder.product-vision .placeholder-icon { color: rgba(0, 101, 255, 0.4); }

/* CTA(单按钮,不要联系我们) */
.cta-mini {
    padding: 60px 0;
    background: var(--dark-light);
    border-top: 1px solid var(--border);
}
.cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.cta-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .products-main-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-header { padding: 90px 0 40px; }
    .products-main-grid { grid-template-columns: 1fr; }
    .products-header { flex-direction: column; gap: 12px; align-items: stretch; }
    .seg-tabs { justify-content: flex-start; overflow-x: auto; }
    .seg-tabs .seg-pill { flex-wrap: nowrap; }
}

/* =====================================================
   新版首页样式 (2026-08 重设计)
   - 数字标签卡片 (01/02/03/04)
   - Segmented Pill 切换器 (中英俄文风格)
   - 4 大业务线横向卡片
   - 现代深色玻璃拟态
   ===================================================== */

/* ----- Hero 改造 ----- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 101, 255, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    z-index: 0;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: heroFloat 8s infinite;
}
.hero-particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 40%; left: 80%; animation-delay: 1.5s; }
.hero-particles span:nth-child(3) { top: 70%; left: 30%; animation-delay: 3s; background: var(--primary-light); }
.hero-particles span:nth-child(4) { top: 30%; left: 50%; animation-delay: 4.5s; background: #6554C0; }
.hero-particles span:nth-child(5) { top: 80%; left: 70%; animation-delay: 6s; background: #00B8D9; }
.hero-particles span:nth-child(6) { top: 50%; left: 20%; animation-delay: 7s; }
@keyframes heroFloat {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(-40px); }
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 100px 24px 60px;
    max-width: 1000px;
    margin: 0 auto;
}
.hero-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 30px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
    text-transform: uppercase;
}
.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.02em;
}
.hero-highlight {
    display: inline-block;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, #FF8F4D 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 790px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollHint 2s infinite;
}
@keyframes scrollHint {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ----- 4 大业务线 横向数字卡片 ----- */
.biz-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}
.biz-card {
    position: relative;
    display: block;
    padding: 32px 24px;
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: #fff;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    isolation: isolate;
}
.biz-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--card-color, #FF6B35) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
    z-index: -1;
}
.biz-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-color, #FF6B35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 0 1px var(--card-color, #FF6B35);
}
.biz-card:hover::before {
    opacity: 0.08;
}
.biz-card-num {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--card-color, #FF6B35) 0%, rgba(255, 255, 255, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}
.biz-card-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--card-color, #FF6B35);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}
.biz-card-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}
.biz-card-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 40px;
}
.biz-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: var(--card-color, #FF6B35);
    font-size: 1.1rem;
    transition: all 0.3s;
}
.biz-card:hover .biz-card-arrow {
    background: var(--card-color, #FF6B35);
    color: #fff;
    transform: translateX(4px);
}

/* ----- Segmented Pill 切换器(中英俄文风格) ----- */
.seg-pill {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 19px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
    gap: 2px;
}
.seg-pill-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 18px;
    background: transparent;
    border: none;
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: inherit;
    --seg-color: #FF6B35;
}
.seg-pill-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}
.seg-pill-item.active {
    color: #fff;
    background-color: var(--seg-color, #FF6B35);
    background-image: linear-gradient(135deg, var(--seg-color, #FF6B35) 0%, color-mix(in srgb, var(--seg-color, #FF6B35) 70%, #fff) 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 把 seg-pill 居中(放在 section-header 后) */
.products-section .seg-pill,
.solutions-section .seg-pill {
    display: flex;
    width: fit-content;
}

/* ----- Solutions 横向卡片 ----- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.solution-card {
    position: relative;
    display: block;
    padding: 36px 32px;
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: #fff;
    transition: all 0.35s;
    overflow: hidden;
    min-height: 220px;
    --card-color: #FF6B35;
}
.solution-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--card-color, #FF6B35) 0%, transparent 50%);
    opacity: 0.06;
    transition: opacity 0.35s;
}
.solution-card:hover .solution-card-bg {
    opacity: 0.12;
}
.solution-card-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--card-color, #FF6B35);
    opacity: 0.15;
    font-family: var(--font-mono);
    transition: all 0.35s;
}
.solution-card:hover .solution-card-num {
    opacity: 0.3;
    transform: scale(1.1);
}
.solution-card-content {
    position: relative;
    z-index: 1;
}
.solution-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.solution-card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}
.solution-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--card-color, #FF6B35);
    font-size: 0.9rem;
    font-weight: 600;
    transition: gap 0.3s;
}
.solution-card:hover .solution-card-arrow {
    gap: 12px;
}
.solution-card-arrow .arrow {
    transition: transform 0.3s;
}
.solution-card:hover .solution-card-arrow .arrow {
    transform: translateX(4px);
}

/* ----- News Grid ----- */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    margin-top: 40px;
}
.news-card {
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.news-card.news-featured {
    grid-row: span 2;
}
.news-card.news-featured .news-image {
    height: 320px;
}
.news-card.news-featured .news-content h3 {
    font-size: 1.5rem;
}
.news-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--dark-light);
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-card:hover .news-image img {
    transform: scale(1.05);
}
.news-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-family: var(--font-mono);
}
.news-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-link {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
}

/* ----- About 预览 ----- */
.about-preview .about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content .about-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.feature-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.85rem;
    font-family: var(--font-mono);
}
.feature-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.feature-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}
.about-visual {
    position: relative;
    padding: 40px;
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.about-visual-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(0, 101, 255, 0.1) 0%, transparent 50%);
}
.about-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.about-stat {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.about-stat .stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}
.about-stat .stat-value sup {
    font-size: 1rem;
    margin-left: 2px;
}
.about-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ----- CTA(单按钮) ----- */
.cta-section {
    background: linear-gradient(135deg, var(--dark-lighter) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 60%);
    pointer-events: none;
}
.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}
.cta-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-family: var(--font-mono);
}
.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
    line-height: 1.3;
}
.cta-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ----- Section footer (统一) ----- */
.section-footer {
    margin-top: 50px;
    text-align: center;
}

/* ----- Partners 简化 ----- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 16px;
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}
.partner-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0.6);
    opacity: 0.7;
    transition: all 0.2s;
}
.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ----- 响应式 ----- */
@media (max-width: 1024px) {
    .biz-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-card.news-featured { grid-row: span 1; grid-column: span 2; }
    .news-card.news-featured .news-image { height: 240px; }
    .about-features { grid-template-columns: 1fr 1fr; }
    .partners-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .hero-content { padding: 60px 20px 40px; }
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 0.95rem; }
    .hero-scroll-hint { display: none; }
    .biz-cards-grid { grid-template-columns: 1fr; gap: 16px; }
    .seg-pill {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .seg-pill-item { padding: 0 14px; font-size: 0.8rem; }
    .solutions-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card.news-featured { grid-column: span 1; }
    .news-card.news-featured .news-image { height: 200px; }
    .about-preview .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-features { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================
   留言回复通知弹窗
   ===================================================== */
.msg-notify-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 18, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    animation: msgNotifyFadeIn 0.25s ease-out;
}
.msg-notify-overlay.msg-notify-hide {
    opacity: 0;
    transition: opacity 0.25s;
}
@keyframes msgNotifyFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.msg-notify-modal {
    background: linear-gradient(180deg, #0F1628 0%, #0A0E1A 100%);
    border: 1px solid rgba(255, 107, 53, 0.18);
    border-radius: 18px;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,101,255,0.08);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    position: relative;
}

.msg-notify-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}
.msg-notify-close:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

/* 最小化按钮(放在关闭按钮左侧) */
.msg-notify-minimize {
    position: absolute;
    top: 14px;
    right: 54px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}
.msg-notify-minimize:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

.msg-notify-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.msg-notify-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F4D 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.3);
}

.msg-notify-title {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.msg-notify-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: #6B778C;
    line-height: 1.4;
}

.msg-notify-body {
    padding: 16px 24px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.msg-notify-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid var(--accent, #FF6B35);
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.msg-notify-card:last-child { margin-bottom: 0; }
.msg-notify-card + .msg-notify-card { margin-top: 2px; }

.msg-notify-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
}
.msg-notify-name {
    font-weight: 600;
    color: #FF8F4D;
}
.msg-notify-subject {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 4px;
}
.msg-notify-reply {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.msg-notify-actions {
    display: flex;
    gap: 10px;
    padding: 16px 24px 22px;
    background: rgba(0,0,0,0.18);
    border-top: 1px solid rgba(255,255,255,0.06);
    align-items: center;
}

.msg-notify-btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s, color 0.15s;
    font-family: inherit;
}
.msg-notify-btn:hover { transform: translateY(-1px); }
.msg-notify-btn:active { transform: translateY(0); }

.msg-notify-btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F4D 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}
.msg-notify-btn-primary:hover {
    background: linear-gradient(135deg, #FF8F4D 0%, #FF6B35 100%);
}

.msg-notify-btn-ghost {
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.msg-notify-btn-ghost:hover { background: rgba(255,255,255,0.12); }

.msg-notify-btn-link {
    flex: 0 0 auto;
    background: transparent;
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
    text-decoration: underline;
    padding: 6px 8px;
}
.msg-notify-btn-link:hover { color: rgba(255,255,255,0.7); }

.msg-notify-optout-done {
    text-align: center;
    padding: 60px 24px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* =====================================================
   弹窗内:对话流(对方回复 + 自己追问)
   ===================================================== */
.msg-notify-conversation {
    padding: 14px 20px 4px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    max-height: 38vh;
    min-height: 80px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg-conv {
    display: flex;
    width: 100%;
}
.msg-conv-them { justify-content: flex-start; }
.msg-conv-you  { justify-content: flex-end; }

.msg-conv-bubble {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.55;
    word-wrap: break-word;
    position: relative;
}
.msg-conv-bubble-them {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    border-bottom-left-radius: 4px;
}
.msg-conv-bubble-you {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F4D 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.msg-conv-subject {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
}
.msg-conv-bubble-you .msg-conv-subject {
    color: rgba(255,255,255,0.85);
}
.msg-conv-text {
    white-space: pre-wrap;
    word-wrap: break-word;
}
.msg-conv-time {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
    text-align: right;
}
.msg-conv-bubble-you .msg-conv-time {
    color: rgba(255,255,255,0.75);
}

/* 线程容器(同一对话的所有消息在一个 div 里,thread 之间分隔) */
.msg-thread {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 4px;
}
.msg-thread-header {
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 4px;
}
.msg-thread-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}
.msg-thread + .msg-thread {
    margin-top: 8px;
    border-top: 1px dashed rgba(255,255,255,0.08);
}

/* 消息标签(原留言 / 追问 #N / 已发送) */
.msg-conv-tag {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    margin-bottom: 6px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.65);
    text-transform: none;
    letter-spacing: 0.2px;
}
.msg-conv-bubble-you .msg-conv-tag {
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
}

.msg-conv-msg {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    padding: 4px 0;
}
.msg-conv-msg.success { color: #4FD18B; }
.msg-conv-msg.error   { color: #FF8F4D; }

/* 日期分隔条(前端弹窗内,跟后台 view 一致) */
.msg-conv-day-divider {
    text-align: center;
    margin: 14px 0 10px;
    position: relative;
}
.msg-conv-day-divider span {
    display: inline-block;
    padding: 3px 12px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
}

/* 待发/乐观插入:略透明 + 左侧细虚线标记 */
.msg-conv-bubble.is-pending {
    opacity: 0.78;
    box-shadow: inset 2px 0 0 rgba(255,255,255,0.18);
}

/* =====================================================
   弹窗内:追问输入区
   ===================================================== */
.msg-notify-input-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
    padding: 10px 16px 12px;
    background: rgba(0,0,0,0.22);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.msg-notify-textarea {
    flex: 1;
    resize: none;
    min-height: 38px;
    max-height: 90px;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 0.86rem;
    font-family: inherit;
    line-height: 1.45;
    transition: border 0.2s, background 0.2s;
    outline: none;
}
.msg-notify-textarea:focus {
    border-color: rgba(255,107,53,0.5);
    background: rgba(255,255,255,0.08);
}
.msg-notify-textarea::placeholder {
    color: rgba(255,255,255,0.35);
}
.msg-notify-send {
    flex: 0 0 auto;
    padding: 0 16px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F4D 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.2s;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}
.msg-notify-send:hover:not(:disabled) {
    transform: translateY(-1px);
}
.msg-notify-send:active:not(:disabled) {
    transform: translateY(0);
}
.msg-notify-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =====================================================
   右下角气泡(最小化状态)
   - 默认态:已联系过、无未读。柔和,无红点,不浮动
   - 有未读:发光红点 + 浮动动画
   ===================================================== */
.msg-notify-bubble {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F4D 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255,107,53,0.4), 0 0 0 4px rgba(255,107,53,0.12);
    z-index: 999998;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    opacity: 0.92;
}
/* 有未读情况 — 加红点 + 浮动 */
.msg-notify-bubble.has-unread {
    box-shadow: 0 10px 30px rgba(255,107,53,0.5), 0 0 0 4px rgba(255,107,53,0.18);
    opacity: 1;
    animation: msgBubbleBob 2.4s ease-in-out infinite;
}
.msg-notify-bubble:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 36px rgba(255,107,53,0.55), 0 0 0 4px rgba(255,107,53,0.22);
    opacity: 1;
}
.msg-notify-bubble:active {
    transform: translateY(-1px) scale(1.02);
}
@keyframes msgBubbleBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}
.msg-notify-bubble-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #FF3B30;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 0 0 2px #0F1628;
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    animation: msgBubblePulse 1.6s ease-in-out infinite;
}
@keyframes msgBubblePulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.12); }
}

@media (max-width: 640px) {
    .msg-notify-modal { border-radius: 16px; }
    .msg-notify-head { padding: 20px 18px 14px; }
    .msg-notify-body { padding: 14px 18px; }
    .msg-notify-conversation { padding: 12px 14px 4px; max-height: 36vh; }
    .msg-notify-input-row { padding: 8px 12px 10px; }
    .msg-notify-actions { padding: 14px 18px 18px; flex-wrap: wrap; }
    .msg-notify-btn-link { width: 100%; text-align: center; }
    .msg-notify-bubble { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* =====================================================================
   首页 (site-header--home) — 导航浮层
   --------------------------------------------------------------------
   浮层视觉外观与 4 大业务线 / 业务页完全一致 (橙渐变背景、图标、圆点、
   hover 主题色背景、列标题底部细线等全部沿用 .mega-dropdown 母版).
   此处只做一项调整: 把首页 .mega-cols 的列最小宽从业务页的 280px
   缩小到 180px, 让首页门面导航浮层更紧凑.
   .site-header--home 仅挂在 partials/header.php 的 <header> 上,
   故本覆盖只在首页生效, 不影响 4 大业务线页 / 业务页 / 内页.
   ===================================================================== */
.site-header--home .mega-cols,
.site-header--home .mega-cols-1,
.site-header--home .mega-cols-2,
.site-header--home .mega-cols-3,
.site-header--home .mega-cols-4,
.site-header--home .mega-cols-5,
.site-header--home .mega-cols-6,
.site-header--home .mega-cols-7,
.site-header--home .mega-cols-8 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* =====================================================================
   产品卡片 - 各业务线独特悬停效果
   ===================================================================== */

/* 默认样式重置 */
.product-card {
    --biz-color: #FF6B35;
}

/* 01 能源计量 - 滑上 + 橙色底部光效 */
.hover-slide-up {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hover-slide-up:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.25);
    border-color: var(--biz-color, #FF6B35);
}

.hover-slide-up .product-info {
    position: relative;
}

.hover-slide-up .product-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--biz-color, #FF6B35), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-slide-up:hover .product-info::after {
    opacity: 1;
}

.hover-slide-up .product-overlay {
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.1) 0%, rgba(10, 14, 26, 0.95) 100%);
}

/* 02 无人机 - 缩放 + 轻微旋转 + 蓝调光效 */
.hover-zoom-rotate {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.hover-zoom-rotate:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(0, 184, 217, 0.3);
}

.hover-zoom-rotate .product-image img {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-zoom-rotate:hover .product-image img {
    transform: scale(1.15);
}

.hover-zoom-rotate .product-overlay {
    background: radial-gradient(circle at center, rgba(0, 184, 217, 0.2) 0%, rgba(10, 14, 26, 0.9) 70%);
}

.hover-zoom-rotate .view-detail {
    background: var(--biz-color, #00B8D9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

/* 03 工业机器人 - 边框发光 + 脉冲动画 */
.hover-border-glow {
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    border: 2px solid transparent;
}

.hover-border-glow:hover {
    border-color: var(--biz-color, #6554C0);
    box-shadow:
        0 0 20px rgba(101, 84, 192, 0.3),
        0 0 40px rgba(101, 84, 192, 0.2),
        inset 0 0 20px rgba(101, 84, 192, 0.1);
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(101, 84, 192, 0.3),
            0 0 40px rgba(101, 84, 192, 0.2),
            inset 0 0 20px rgba(101, 84, 192, 0.1);
    }
    50% {
        box-shadow:
            0 0 30px rgba(101, 84, 192, 0.5),
            0 0 60px rgba(101, 84, 192, 0.3),
            inset 0 0 30px rgba(101, 84, 192, 0.15);
    }
}

.hover-border-glow .product-overlay {
    background: linear-gradient(135deg, rgba(101, 84, 192, 0.3) 0%, rgba(10, 14, 26, 0.9) 100%);
}

/* 04 机器视觉 - 3D翻转效果 */
.hover-3d-flip {
    perspective: 1000px;
}

.hover-3d-flip:hover {
    transform: rotateY(5deg) translateY(-5px);
    box-shadow: -10px 10px 30px rgba(0, 82, 204, 0.3);
}

.hover-3d-flip .product-image {
    transform-style: preserve-3d;
}

.hover-3d-flip:hover .product-image {
    transform: rotateX(5deg);
}

.hover-3d-flip .product-overlay {
    background: linear-gradient(225deg, rgba(0, 82, 204, 0.3) 0%, rgba(10, 14, 26, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hover-3d-flip .view-detail {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    border: 2px solid rgba(0, 82, 204, 0.5);
    padding: 10px 20px;
    border-radius: 25px;
}

.hover-3d-flip:hover .view-detail {
    background: rgba(0, 82, 204, 0.2);
    border-color: #0052CC;
}

/* 悬停时图片遮罩优化 */
.product-card:not(.hover-zoom-rotate):not(.hover-3d-flip):hover .product-image img {
    transform: scale(1.08);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

/* 产品卡片统一悬停文字效果 */
.product-card .product-info h3 {
    transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: var(--biz-color);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .hover-slide-up:hover,
    .hover-zoom-rotate:hover,
    .hover-border-glow:hover,
    .hover-3d-flip:hover {
        transform: none;
    }

    .hover-zoom-rotate:hover .product-image img {
        transform: scale(1.05);
    }

    .hover-3d-flip:hover {
        transform: none;
    }

    .hover-3d-flip:hover .product-image {
        transform: none;
    }
}
