/* 
   main.css - 东方软件(DFSoft)全站基础样式表 
   KISS原则：全局通用重置 + CSS变量 + 核心组件类
*/

:root {
    /* 主题色系 - 科技蓝与高级灰 */
    --primary-color: #0056D2;
    --primary-light: #337AEE;
    --primary-dark: #003B94;
    --accent-color: #00E5FF;

    /* 文字颜色 */
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --text-light: #A0A0A0;
    --text-white: #FFFFFF;

    /* 背景颜色 */
    --bg-main: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #0A1128;
    --bg-card: #FFFFFF;

    /* 边框与阴影 */
    --border-color: #E2E8F0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 50px -12px rgba(0, 86, 210, 0.25);

    /* 动画与过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* 字体族 */
    --font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ================= 基础重置 ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ================= 布局工具类 ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
    min-height: 100vh;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* 渐入动画占位 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* ================= 按钮样式 ================= */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.btn-sm {
    padding: 6px 18px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(0, 86, 210, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 210, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--text-main);
    transform: translateY(-2px);
}

/* ================= 导航栏 Header ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.navbar.scrolled .logo {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    position: relative;
}

.navbar.scrolled .nav-links a:not(.btn) {
    color: var(--text-main);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--text-white);
}

.navbar.scrolled .nav-links a:not(.btn):hover,
.navbar.scrolled .nav-links a:not(.btn).active {
    color: var(--primary-color);
}

/* 导航底边动画 */
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-fast);
}

.navbar.scrolled .nav-links a:not(.btn)::after {
    background-color: var(--primary-color);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: var(--transition-fast);
}

.navbar.scrolled .mobile-menu-toggle span {
    background-color: var(--text-main);
}

/* ================= 首屏 Hero ================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #020617; /* Deep Slate 950 */
    color: var(--text-white);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 80%, rgba(30, 64, 175, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 85% 20%, rgba(0, 229, 255, 0.15) 0%, transparent 60%),
        #020617;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    /* 3D Tech Grid */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(1000px) rotateX(60deg) scale(0.8);
    animation: grid-move 30s linear infinite;
    transform-origin: center top;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, #020617 0%, transparent 100%);
    pointer-events: none;
}

@keyframes grid-move {
    0% { transform: perspective(1000px) rotateX(60deg) scale(1) translateY(0); }
    100% { transform: perspective(1000px) rotateX(60deg) scale(1) translateY(50px); }
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 1;
    pointer-events: none;
    animation: pulse-glow 10s infinite alternate ease-in-out;
}

.sphere-1 {
    top: 10%; right: 15%;
    width: 500px; height: 500px;
    background: rgba(0, 229, 255, 0.12);
    animation-delay: -2s;
}

.sphere-2 {
    bottom: 5%; left: 10%;
    width: 700px; height: 700px;
    background: rgba(30, 64, 175, 0.18);
}

@keyframes pulse-glow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    100% { transform: scale(1.1) translate(-2%, 5%); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    /* 文字渐变 */
    background: linear-gradient(to right, #ffffff, #e0f2fe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--text-white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* ================= 业务通用组件 ================= */
.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    height: 4px;
    width: 60px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ================= 关于我们 ================= */
.about-section {
    background-color: #FFFFFF;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Subtle dot matrix topography */
    background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -15%; left: -5%; width: 110%; height: 60%;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.02), transparent);
    border-top: 1px solid rgba(59, 130, 246, 0.08);
    transform: rotate(-2deg);
    z-index: 0;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: left;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    20%,
    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

/* ================= 展台式解决方案 (方案A) ================= */
.solutions-section {
    position: relative;
    background-color: #F8FAFC; /* Slate 50 */
    overflow: hidden;
}

.solutions-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        /* Technical diagonal hatch */
        repeating-linear-gradient(45deg, rgba(30, 64, 175, 0.015) 0px, rgba(30, 64, 175, 0.015) 1px, transparent 1px, transparent 12px),
        /* Bright center illumination */
        radial-gradient(ellipse at 50% 0%, rgba(255,255,255, 0.9) 0%, rgba(248,250,252, 0.4) 80%);
    z-index: 0;
}

.solutions-glow {
    position: absolute;
    width: 1200px; height: 1200px;
    background: conic-gradient(from 180deg at 50% 50%, rgba(30, 64, 175, 0.03) 0deg, rgba(0, 229, 255, 0.03) 180deg, rgba(30, 64, 175, 0.03) 360deg);
    top: -600px; right: -600px;
    filter: blur(60px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: rotate-conic 30s linear infinite;
}

@keyframes rotate-conic {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.solutions-section .container,
.solutions-section .container-wide {
    position: relative;
    z-index: 1;
}

.solution-exhibition-wrapper {
    display: grid;
    /* 采用左菜单-中大屏展台-右菜单 的硬核仪表盘结构（3列） */
    grid-template-columns: 320px 1fr 320px;
    gap: 24px;
    align-items: stretch;
    max-width: 100%;
}

.solution-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.solution-menu-item {
    display: flex;
    align-items: center;
    padding: 18px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.solution-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    z-index: 0;
    transition: width var(--transition-normal);
}

.solution-menu-item.active,
.solution-menu-item:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.solution-menu-item.active::before {
    width: 100%;
}

.menu-icon-wrap {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #CCDDF6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
}

.solution-menu-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.solution-menu-item.active .menu-icon-wrap,
.solution-menu-item:hover .menu-icon-wrap {
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* 增加轻微悬浮感 */
}

/* 移除高亮时图标变白的逻辑，保持参考图中的原始配色 */
.solution-menu-item.active .solution-menu-icon,
.solution-menu-item:hover .solution-menu-icon {
    /* 保持原样或进行轻微增强，不使用 invert(1) */
    transform: scale(1.05);
}

.menu-text-wrap {
    position: relative;
    z-index: 1;
    flex: 1;
}

.menu-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
    transition: color var(--transition-normal);
}

.menu-short-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition-normal);
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.solution-menu-item.active .menu-title,
.solution-menu-item.active .menu-short-desc {
    color: var(--text-white);
}

/* 右侧大图展台 */
.solution-display {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-dark);
    height: 100%;
}

.display-content {
    width: 100%;
    height: 100%;
    min-height: 440px;
    position: relative;
    transition: opacity var(--transition-normal);
}

#display-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 3s ease;
    /* 缓慢放大效果 - 已加快 */
}

.solution-display:hover #display-image {
    transform: scale(1.05);
}

.display-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 40px;
    background: linear-gradient(to top, rgba(10, 17, 40, 0.9) 0%, rgba(10, 17, 40, 0.6) 60%, transparent 100%);
    color: var(--text-white);
}

#display-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#display-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
}

@media (max-width: 1200px) {
    .solution-exhibition-wrapper {
        grid-template-columns: 300px 1fr 300px;
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .solution-exhibition-wrapper {
        grid-template-columns: 1fr;
    }

    .display-content {
        min-height: 400px;
        grid-row: 1;
        /* 在移动端优先把大图放最上面 */
    }
}

/* ================= 新闻区块 ================= */
.news-section {
    background-color: #F1F5F9; /* Slate 100 for premium feel */
    position: relative;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(241, 245, 249, 0) 100%);
    z-index: 0;
    pointer-events: none;
}

.news-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.03) 0%, transparent 70%); /* Amber tint */
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    /* 融合设计：无边框干扰，采用极浅同色系阴影模拟悬浮 */
    box-shadow: 0 4px 20px rgba(0, 86, 210, 0.03);
    border: none;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    /* 隐约泛出科技蓝倒影 */
    box-shadow: 0 10px 30px rgba(0, 86, 210, 0.08);
}

.news-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-main);
    /* 最多显示两行 */
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
}

.loading-state {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    grid-column: 1 / -1;
}

/* ================= 页脚 Footer ================= */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-brand h2 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 450px;
}

/* ─── Footer 社交图标 + 微信悬浮二维码 ─── */
.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.social-icon-item {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.social-icon-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* 悬浮弹出二维码气泡 —— 向右侧弹出，避免遮挡上方 logo */
.qr-popup {
    position: absolute;
    left: calc(100% + 16px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    background: #fff;
    border-radius: 12px;
    padding: 14px 14px 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    white-space: nowrap;
    z-index: 100;
}

/* 气泡左侧小三角 */
.qr-popup::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 7px solid transparent;
    border-right-color: #fff;
}

.qr-popup img {
    width: 140px;
    height: 140px;
    max-width: none;
    display: block;
    border-radius: 6px;
}

.qr-popup span {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.social-icon-item:hover .qr-popup {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.link-group h3 {
    color: var(--text-white);
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.link-group>a,
.link-group p {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.link-group a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

/* ================= 响应式 ================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path var(--transition-normal);
        gap: 20px;
    }

    .navbar.scrolled .nav-links {
        background: var(--bg-main);
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links a:not(.btn) {
        color: var(--text-main);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-top {
        flex-direction: column;
    }
}

/* ===============================================================
   SECTION BACKGROUNDS V2 — 四屏独立背景体系
   Hero: 星云深黑 | Solutions: 冰蓝白 | About: 暖米白 | News: 薰衣草紫白
================================================================ */

/* ─────────────────────────────────────────────────────────────
   SECTION 1 · HERO — 深太空星云 + 等离子流 + 数据脉冲线
───────────────────────────────────────────────────────────── */
.hero-section {
    background-color: #030712 !important; /* 极深宇宙黑 */
}
.hero-bg {
    background: radial-gradient(ellipse 120% 80% at 50% -10%,
        rgba(56, 30, 175, 0.55) 0%,
        rgba(14, 48, 144, 0.30) 40%,
        transparent 70%),
        radial-gradient(ellipse 60% 60% at 80% 80%,
        rgba(8, 145, 178, 0.20) 0%,
        transparent 60%) !important;
}
.hero-bg::before,
.hero-bg::after { display: none !important; }

/* 等离子 blob 层 — 更紧凑的颜色, 增加品牌蓝 */
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    filter: blur(90px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
.blob-1 {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.9) 0%, transparent 65%);
    width: 75vw; height: 75vw;
    top: -35%; left: -15%;
    animation: plasma-drift-1 28s ease-in-out infinite alternate;
}
.blob-2 {
    background: radial-gradient(circle, rgba(67, 56, 202, 0.85) 0%, transparent 65%);
    width: 65vw; height: 65vw;
    bottom: -35%; right: -15%;
    animation: plasma-drift-2 35s ease-in-out infinite alternate-reverse;
}
.blob-3 {
    background: radial-gradient(circle, rgba(8, 145, 178, 0.8) 0%, transparent 65%);
    width: 55vw; height: 55vw;
    top: 5%; left: 38%;
    animation: plasma-drift-3 22s ease-in-out infinite alternate;
}

@keyframes plasma-drift-1 {
    0%   { transform: scale(1)    translate(0%, 0%)    rotate(0deg);   opacity: 0.35; }
    33%  { transform: scale(1.12) translate(8%, 6%)    rotate(3deg);   opacity: 0.60; }
    66%  { transform: scale(0.92) translate(4%, -8%)   rotate(-2deg);  opacity: 0.50; }
    100% { transform: scale(1.06) translate(-5%, 4%)   rotate(4deg);   opacity: 0.40; }
}
@keyframes plasma-drift-2 {
    0%   { transform: scale(1)    translate(0%, 0%)    rotate(0deg);   opacity: 0.40; }
    40%  { transform: scale(1.08) translate(-6%, -5%)  rotate(-3deg);  opacity: 0.65; }
    80%  { transform: scale(0.95) translate(5%, 7%)    rotate(2deg);   opacity: 0.45; }
    100% { transform: scale(1.04) translate(-3%, -3%)  rotate(-2deg);  opacity: 0.35; }
}
@keyframes plasma-drift-3 {
    0%   { transform: scale(1)    translate(0%, 0%);   opacity: 0.35; }
    50%  { transform: scale(1.15) translate(-8%, 4%);  opacity: 0.60; }
    100% { transform: scale(0.88) translate(6%, -6%);  opacity: 0.30; }
}

/* Canvas 粒子神经网络 */
.hero-particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ── 电力公式漂浮层 ── */
.hero-formulas {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}
.formula {
    position: absolute;
    font-family: 'Courier New', 'Monaco', monospace;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    user-select: none;
    animation: formula-float linear infinite;
}
.formula sub  { font-size: 0.65em; vertical-align: sub; }
.formula sup  { font-size: 0.65em; vertical-align: super; }
/* 电力公式 — 高亮 */
.formula.ep { color: rgba(147,197,253,0.60); }
/* 数学背景公式 — 低调 */
.formula.mf { color: rgba(99,179,237,0.22); }

/* ── 35个公式：位置 + 速度（加快约1.8x） ── */
/* 电力公式组 */
.f1  { top: 8%;  left: 3%;  animation-duration:12s; animation-delay:  0s; font-size:0.92rem; }
.f2  { top:22%;  left: 8%;  animation-duration: 9s; animation-delay: -3s; font-size:0.86rem; }
.f3  { top:38%;  left: 2%;  animation-duration:11s; animation-delay: -6s; }
.f4  { top:52%;  left:12%;  animation-duration: 8s; animation-delay: -1s; font-size:1.02rem; }
.f5  { top:68%;  left: 5%;  animation-duration:10s; animation-delay: -4s; }
.f6  { top:15%;  left:28%;  animation-duration:13s; animation-delay: -8s; font-size:0.96rem; }
.f7  { top:30%;  left:35%;  animation-duration: 9s; animation-delay: -2s; }
.f8  { top:72%;  left:22%;  animation-duration:14s; animation-delay: -7s; font-size:0.78rem; }
.f9  { top:10%;  left:52%;  animation-duration:11s; animation-delay: -9s; font-size:0.82rem; }
.f10 { top:85%;  left:45%;  animation-duration: 9s; animation-delay: -5s; font-size:0.86rem; }
.f11 { top:35%;  left:68%;  animation-duration:12s; animation-delay:-11s; }
.f12 { top:25%;  left:62%;  animation-duration:10s; animation-delay: -3s; font-size:0.80rem; }
.f13 { top:72%;  left:76%;  animation-duration: 8s; animation-delay: -6s; }
.f14 { top: 5%;  left:38%;  animation-duration:13s; animation-delay:-12s; }
.f15 { top:78%;  left:36%;  animation-duration:10s; animation-delay: -2s; }
.f16 { top:18%;  left:45%;  animation-duration:11s; animation-delay:-14s; }
.f17 { top:58%;  left:18%;  animation-duration: 8s; animation-delay: -4s; font-size:1.06rem; }
.f18 { top:92%;  left:62%;  animation-duration:12s; animation-delay: -8s; }
.f19 { top:45%;  left:22%;  animation-duration:10s; animation-delay:-16s; font-size:0.84rem; }
.f20 { top:32%;  left:18%;  animation-duration: 9s; animation-delay: -9s; font-size:0.80rem; }
/* 数学背景公式组 */
.f21 { top: 4%;  left:18%;  animation-duration:15s; animation-delay: -5s; }
.f22 { top:25%;  left: 2%;  animation-duration:18s; animation-delay:-12s; }
.f23 { top:50%;  left:65%;  animation-duration:16s; animation-delay: -7s; font-size:0.72rem; }
.f24 { top:75%;  left:55%;  animation-duration:14s; animation-delay: -3s; }
.f25 { top:88%;  left:28%;  animation-duration:17s; animation-delay:-18s; }
.f26 { top:15%;  left:68%;  animation-duration:13s; animation-delay: -9s; font-size:0.72rem; }
.f27 { top:40%;  left:42%;  animation-duration:16s; animation-delay: -4s; }
.f28 { top:62%;  left:12%;  animation-duration:15s; animation-delay:-13s; font-size:0.72rem; }
.f29 { top:20%;  left:55%;  animation-duration:14s; animation-delay: -6s; font-size:0.72rem; }
.f30 { top:80%;  left: 8%;  animation-duration:18s; animation-delay:-10s; }
.f31 { top:35%;  left:58%;  animation-duration:15s; animation-delay:-15s; font-size:0.72rem; }
.f32 { top:10%;  left:62%;  animation-duration:13s; animation-delay: -2s; }
.f33 { top:68%;  left:45%;  animation-duration:16s; animation-delay:-20s; font-size:0.72rem; }
.f34 { top:48%;  left:72%;  animation-duration:14s; animation-delay: -8s; font-size:0.70rem; }
.f35 { top:90%;  left:75%;  animation-duration:17s; animation-delay:-11s; font-size:0.70rem; }

@keyframes formula-float {
    0%   { transform: translateY(0)    rotate(0deg);    opacity: 0.0; }
    8%   { opacity: 1; }
    50%  { transform: translateY(-22px) rotate(1.2deg); opacity: 1; }
    92%  { opacity: 1; }
    100% { transform: translateY(-44px) rotate(-0.4deg); opacity: 0.0; }
}
@media (prefers-reduced-motion: reduce) {
    .formula { animation: none; opacity: 0.12; }
}

/* ── AI 数字大脑（顶视双半球）── */
.hero-ai-brain {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 440px;
    z-index: 3;
    pointer-events: none;
}
.ai-brain-svg {
    width: 100%;
    height: 100%;
    animation: brain-breathe 7s ease-in-out infinite;
    overflow: visible;
}

/* 节点呼吸脉冲 */
.brain-node {
    animation: node-pulse 3s ease-in-out infinite;
}
.brain-node:nth-child(odd)  { animation-delay: -1.5s; }
.brain-node:nth-child(3n)   { animation-delay: -0.8s; }
.brain-node:nth-child(4n)   { animation-delay: -2.2s; }
/* 数据光点流动 */
.pulse-dot { animation: pulse-flow 2.8s ease-in-out infinite; }
.pulse-1   { animation-delay: 0s;    animation-duration: 2.8s; }
.pulse-2   { animation-delay: -0.9s; animation-duration: 3.2s; }
.pulse-3   { animation-delay: -1.8s; animation-duration: 2.4s; }

@keyframes brain-breathe {
    0%,100% { opacity:0.85; filter: drop-shadow(0 0 30px rgba(56,150,240,0.35)) drop-shadow(0 0 8px rgba(99,179,237,0.20)); }
    50%      { opacity:1.00; filter: drop-shadow(0 0 55px rgba(56,150,240,0.55)) drop-shadow(0 0 20px rgba(99,179,237,0.30)) drop-shadow(0 0 5px rgba(167,139,250,0.20)); }
}
@keyframes node-pulse {
    0%,100% { opacity: 0.55; r: attr(r); }
    50%      { opacity: 1.00; }
}
@keyframes pulse-flow {
    0%,100% { opacity: 0.2;  transform: scale(0.6); }
    50%      { opacity: 1.0;  transform: scale(1.4); }
}
@media (prefers-reduced-motion: reduce) {
    .ai-brain-svg { animation: none; opacity: 0.80; }
    .brain-node, .pulse-dot { animation: none; }
}


/* 数据脉冲光带 */
.aurora-lines {
    position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none;
}
.line {
    position: absolute; height: 1px; width: 0;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), rgba(167, 139, 250, 0.3), transparent);
    animation: data-pulse 10s ease-in-out infinite;
    opacity: 0;
}
.line-1 { top: 18%; animation-delay: 0s; }
.line-2 { top: 42%; animation-delay: 3.2s; }
.line-3 { top: 68%; animation-delay: 6.5s; }

@keyframes data-pulse {
    0%   { width: 0;     left: -5%;   opacity: 0; }
    8%   { opacity: 0.9; width: 180px; }
    88%  { opacity: 0.7; width: 260px; }
    100% { left: 112%;  width: 0;     opacity: 0; }
}

/* 高级噪点膜层 */
.noise-overlay {
    position: absolute; inset: 0; pointer-events: none; z-index: 3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
}


/* ─────────────────────────────────────────────────────────────
   SECTION 2 · SOLUTIONS — 冰蓝白底 + 蓝色光线扫射 + SVG线框装饰
───────────────────────────────────────────────────────────── */
.solutions-section {
    background-color: #F0F6FF !important;
    position: relative;
    overflow: hidden;
}
.solutions-section::before { display: none !important; }

/* SVG 线框装饰层 */
.sol-deco-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

/* 旋转棱镜辉光束 — 蓝调冷色 */
.solutions-glow-tr {
    position: absolute;
    top: -10%; right: -8%;
    width: 700px; height: 700px;
    background: radial-gradient(ellipse at center,
        rgba(59, 130, 246, 0.22) 0%,
        rgba(147, 197, 253, 0.12) 45%,
        transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none; z-index: 0;
    animation: glow-breathe-blue 12s ease-in-out infinite alternate;
}
.solutions-glow-bl {
    position: absolute;
    bottom: -10%; left: -8%;
    width: 600px; height: 600px;
    background: radial-gradient(ellipse at center,
        rgba(14, 165, 233, 0.18) 0%,
        rgba(186, 230, 253, 0.10) 50%,
        transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none; z-index: 0;
    animation: glow-breathe-blue 16s ease-in-out infinite alternate-reverse;
}
@keyframes glow-breathe-blue {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1;   transform: scale(1.12); }
}

/* 光线扫射效果 — solutions-section 内的扫射光束 */
.solutions-section::after {
    content: '';
    position: absolute;
    top: -50%; left: -30%;
    width: 200%; height: 200%;
    background: conic-gradient(
        from 225deg at 70% 30%,
        transparent 0deg,
        rgba(59, 130, 246, 0.04) 15deg,
        rgba(147, 197, 253, 0.06) 30deg,
        transparent 45deg,
        transparent 180deg,
        rgba(14, 165, 233, 0.03) 200deg,
        rgba(186, 230, 253, 0.05) 215deg,
        transparent 230deg
    );
    animation: prism-rotate 45s linear infinite;
    pointer-events: none; z-index: 0;
}
@keyframes prism-rotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 细密微纹底纹 */
.solutions-section .solutions-glow { display: none !important; }
.solutions-section .container,
.solutions-section .container-wide {
    position: relative;
    z-index: 1;
}

/* 产品卡片 glass 风格 */
.solution-menu-item {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.12) !important;
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.06);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.solution-menu-item:hover {
    background: rgba(255, 255, 255, 0.88) !important;
    border-color: rgba(37, 99, 235, 0.22) !important;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12) !important;
    transform: translateX(8px);
}
.solution-menu-item.active {
    background: #ffffff !important;
    border-color: rgba(0, 86, 210, 0.25) !important;
    box-shadow: 0 10px 36px rgba(0, 86, 210, 0.14) !important;
    transform: translateX(8px);
}
.solution-menu-item.active .menu-title,
.solution-menu-item:hover .menu-title  { color: var(--primary-color) !important; }
.solution-menu-item.active .menu-short-desc,
.solution-menu-item:hover .menu-short-desc { color: var(--text-muted) !important; }
.solution-menu-item.active .menu-icon-wrap,
.solution-menu-item:hover .menu-icon-wrap  { background: rgba(0, 86, 210, 0.08) !important; }
.solution-menu-item::before { display: none; }


/* ─────────────────────────────────────────────────────────────
   SECTION 3 · ABOUT — 纯白底 + 品牌蓝大封面块 + 装饰圆
───────────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────
   SECTION 3 · ABOUT — 极致精简几何背景 (dfweb-3 风格)
   采用超大圆角斜切块作为视觉分隔，强化文本可读性与品牌科技感
───────────────────────────────────────────────────────────── */
.about-section {
    background-color: #FFFFFF !important;
    position: relative;
    overflow: hidden;
}

.about-section::before,
.about-section::after {
    display: none !important;
}

.about-geo-1 {
    position: absolute;
    top: 80px;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: #F1F5F9;
    border-radius: 100px;
    transform: rotate(12deg);
    z-index: 0;
    pointer-events: none;
}

.about-geo-2 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 40vw;
    height: 40vw;
    background: rgba(239, 246, 255, 0.5);
    border-radius: 80px;
    transform: rotate(-12deg);
    z-index: 0;
    pointer-events: none;
}

.about-section .container {
    position: relative;
    z-index: 1;
}


/* ─────────────────────────────────────────────────────────────
   SECTION 4 · NEWS — 薰衣草紫白底 + 波纹涟漪 + 紫调辉光
───────────────────────────────────────────────────────────── */
.news-section {
    background-color: #F7F5FF !important; /* 薰衣草紫白，区别于三者 */
    color: inherit !important;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(167, 139, 250, 0.15);
}

/* 中心大辉光 */
.news-section::after {
    content: '';
    position: absolute;
    top: 10%; left: 50%;
    width: 800px; height: 800px;
    background: radial-gradient(ellipse at center,
        rgba(139, 92, 246, 0.10) 0%,
        rgba(167, 139, 250, 0.06) 40%,
        transparent 70%);
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none; z-index: 0;
    animation: violet-breathe 14s ease-in-out infinite alternate;
}
@keyframes violet-breathe {
    0%   { opacity: 0.5; transform: translateX(-50%) scale(1); }
    100% { opacity: 1;   transform: translateX(-50%) scale(1.15); }
}

/* 交互式跟随辉光 */
.news-section::before {
    content: '';
    position: absolute;
    top: var(--y, 50%); left: var(--x, 50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle,
        rgba(139, 92, 246, 0.12) 0%,
        rgba(167, 139, 250, 0.06) 45%,
        transparent 65%);
    transform: translate(-50%, -50%);
    pointer-events: none; opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.news-section:hover::before { opacity: 1; }

/* 波纹扩散层 — 伪 canvas 多圈涟漪 */
.news-section .news-ripple {
    position: absolute;
    bottom: -5%; right: -5%;
    width: 120vw; height: 120vw;
    border-radius: 50%;
    pointer-events: none; z-index: 0;
    background: transparent;
    box-shadow:
        0 0 0 2px rgba(139, 92, 246, 0.04),
        0 0 0 40px rgba(139, 92, 246, 0.03),
        0 0 0 80px rgba(139, 92, 246, 0.025),
        0 0 0 120px rgba(167, 139, 250, 0.02),
        0 0 0 160px rgba(167, 139, 250, 0.015);
    animation: ripple-expand 20s linear infinite;
    transform-origin: center center;
}
@keyframes ripple-expand {
    0%   { transform: scale(0.72); opacity: 0.8; }
    50%  { transform: scale(0.88); opacity: 0.5; }
    100% { transform: scale(0.72); opacity: 0.8; }
}

/* 文字颜色保证 */
.news-section .section-title  { color: var(--text-main) !important; }
.news-section .section-desc   { color: var(--text-muted) !important; }
.news-section .section-tag    { color: #7C3AED !important; } /* 紫调 tag */
.news-section .section-divider { background: #7C3AED !important; }
.news-grid { position: relative; z-index: 2; }

/* 新闻卡片 — 紫调磨砂玻璃 */
.news-section .news-card {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(167, 139, 250, 0.15) !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.06) !important;
}
.news-section .news-card:hover {
    box-shadow: 0 10px 36px rgba(139, 92, 246, 0.12) !important;
    border-color: rgba(139, 92, 246, 0.25) !important;
}
.news-section .news-date  { color: #7C3AED !important; }
.news-section .news-title { color: var(--text-main) !important; }
.news-section .news-desc  { color: var(--text-muted) !important; }
.news-section .news-more  { color: #7C3AED !important; }

/* 查看更多按钮 — 紫调 outline */
.news-section .btn-outline {
    border-color: #7C3AED !important;
    color: #7C3AED !important;
}
.news-section .btn-outline:hover {
    background: #7C3AED !important;
    color: #fff !important;
}

/* ─── prefers-reduced-motion 无障碍降级 ─── */
@media (prefers-reduced-motion: reduce) {
    .aurora-blob,
    .hero-grid,
    .line,
    .solutions-glow-tr,
    .solutions-glow-bl,
    .solutions-section::after,
    .about-geo-1,
    .about-geo-2,
    .about-section::before,
    .news-section::after,
    .news-section .news-ripple {
        animation: none !important;
        transition: none !important;
    }
}