/* ============================================
   甘肃荣新信息科技有限公司 - 官网样式
   设计风格：科技感 / 暗色系 / 玻璃态 / 动效
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.45);
    --accent-1: #6366f1;
    --accent-2: #06b6d4;
    --accent-3: #8b5cf6;
    --accent-4: #10b981;
    --accent-5: #f59e0b;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* ========== 粒子背景 ========== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ========== 导航栏 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-smooth);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 100px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.15);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ========== Hero 区域 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 32px 80px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
    pointer-events: none;
}

/* Hero 左右分栏容器 */
.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-content {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: left;
    padding-right: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-4);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(32px, 4.5vw, 58px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--accent-1);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus,
.stat-percent {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-2);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-medium);
}

/* ========== Hero 右侧视觉 ========== */
.hero-visual {
    flex: 0 0 50%;
    max-width: 50%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 网络架构图 ========== */
.hero-arch-diagram {
    position: relative;
    width: 100%;
    aspect-ratio: 520 / 440;
    max-width: 560px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(8, 8, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 0 40px rgba(99, 102, 241, 0.12),
        0 0 80px rgba(6, 182, 212, 0.06),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
}

/* 背景网格 */
.arch-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
    background-size: 25px 25px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 25px 25px, 25px 25px; }
}

/* SVG 连线层 */
.arch-svg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.arch-lines line {
    stroke-width: 1.2;
    stroke-opacity: 0.3;
    stroke-dasharray: 6 4;
    animation: linePulse 2s ease-in-out infinite;
}

.arch-line.line-1 { stroke: #6366f1; animation-delay: 0s; }
.arch-line.line-2 { stroke: #06b6d4; animation-delay: 0.2s; }
.arch-line.line-3 { stroke: #8b5cf6; animation-delay: 0.4s; }
.arch-line.line-4 { stroke: #10b981; animation-delay: 0.6s; }
.arch-line.line-5 { stroke: #f59e0b; animation-delay: 0.8s; }
.arch-line.line-6 { stroke: #6366f1; animation-delay: 0.3s; }
.arch-line.line-7 { stroke: #06b6d4; animation-delay: 0.5s; }
.arch-line.line-8 { stroke: #8b5cf6; animation-delay: 0.7s; }
.arch-line.line-9 { stroke: #f59e0b; animation-delay: 0.9s; }
.arch-line.line-10 { stroke: #10b981; animation-delay: 1.1s; }
.arch-line.line-h { stroke: #6366f1; animation-delay: 0.15s; stroke-dasharray: 4 6; }
.arch-line.line-b { stroke: #8b5cf6; animation-delay: 0.55s; stroke-dasharray: 4 6; }

@keyframes linePulse {
    0%, 100% { stroke-opacity: 0.15; }
    50% { stroke-opacity: 0.5; }
}

/* 流动粒子 */
.arch-particles circle {
    fill: #6366f1;
    filter: url(#glow);
}

.particle.p1 { fill: #6366f1; }
.particle.p2 { fill: #06b6d4; }
.particle.p3 { fill: #8b5cf6; }
.particle.p4 { fill: #10b981; }
.particle.p5 { fill: #f59e0b; }
.particle.p6 { fill: #6366f1; }
.particle.p7 { fill: #06b6d4; }
.particle.p8 { fill: #8b5cf6; }

/* 节点通用 */
.arch-node {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: nodeFloat 4s ease-in-out infinite;
}

.arch-node .node-glow {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    animation: glowPulse 2.5s ease-in-out infinite;
}

.arch-node .node-ring {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    animation: ringSpin 6s linear infinite;
}

@keyframes ringSpin {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

.arch-node i {
    font-size: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}

.arch-node span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* 云服务器 - 顶部中央 */
.node-cloud {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}
.node-cloud .node-glow { background: radial-gradient(circle, rgba(99,102,241,0.5), transparent); }
.node-cloud i { color: #6366f1; border-color: rgba(99,102,241,0.3); }

/* 防火墙1 - 左中 */
.node-firewall1 {
    top: 140px;
    left: 20px;
    animation-delay: 0.5s;
}
.node-firewall1 .node-glow { background: radial-gradient(circle, rgba(6,182,212,0.5), transparent); }
.node-firewall1 i { color: #06b6d4; border-color: rgba(6,182,212,0.3); }

/* 防火墙2 - 右中 */
.node-firewall2 {
    top: 140px;
    right: 20px;
    animation-delay: 1s;
}
.node-firewall2 .node-glow { background: radial-gradient(circle, rgba(6,182,212,0.5), transparent); }
.node-firewall2 i { color: #06b6d4; border-color: rgba(6,182,212,0.3); }

/* 核心交换机 - 中间 */
.node-switch {
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.75s;
}
.node-switch .node-glow { background: radial-gradient(circle, rgba(139,92,246,0.5), transparent); }
.node-switch i { color: #8b5cf6; border-color: rgba(139,92,246,0.3); }

/* 安防设备 - 左下 */
.node-camera {
    bottom: 100px;
    left: 15px;
    animation-delay: 1.5s;
}
.node-camera .node-glow { background: radial-gradient(circle, rgba(16,185,129,0.5), transparent); }
.node-camera i { color: #10b981; border-color: rgba(16,185,129,0.3); }

/* 消防设备 - 中下 */
.node-fire {
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.75s;
}
.node-fire .node-glow { background: radial-gradient(circle, rgba(245,158,11,0.5), transparent); }
.node-fire i { color: #f59e0b; border-color: rgba(245,158,11,0.3); }

/* 客户端 - 右下 */
.node-client {
    bottom: 105px;
    right: 80px;
    animation-delay: 2s;
}
.node-client .node-glow { background: radial-gradient(circle, rgba(99,102,241,0.5), transparent); }
.node-client i { color: #6366f1; border-color: rgba(99,102,241,0.3); }

/* 移动端 - 最右下 */
.node-mobile {
    bottom: 100px;
    right: 10px;
    animation-delay: 2.25s;
}
.node-mobile .node-glow { background: radial-gradient(circle, rgba(6,182,212,0.5), transparent); }
.node-mobile i { color: #06b6d4; border-color: rgba(6,182,212,0.3); }

@keyframes nodeFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

/* 非居中节点的浮动修正 */
.node-firewall1 { animation-name: nodeFloatSide; }
.node-firewall2 { animation-name: nodeFloatSide; }
.node-camera { animation-name: nodeFloatSide; }
.node-client { animation-name: nodeFloatSide; }
.node-mobile { animation-name: nodeFloatSide; }

@keyframes nodeFloatSide {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.3); }
}

/* 响应式 */
@media (max-width: 1200px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .hero-content {
        flex: 0 0 auto;
        max-width: 640px;
        text-align: center;
        padding-right: 0;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }
    .hero-arch-diagram {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ========== 滚动指示器 ========== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border-medium);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 4px;
    height: 4px;
    background: var(--accent-1);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: 0; opacity: 1; }
    100% { top: 36px; opacity: 0; }
}

/* ========== 通用区块标题 ========== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-1);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ========== 业务领域 ========== */
.services {
    position: relative;
    z-index: 1;
    padding: 100px 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    cursor: pointer;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: all var(--transition-smooth);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover .card-glow {
    background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
}

.card-icon {
    margin-bottom: 24px;
}

.icon-bg {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
}

.card-tags li {
    font-size: 11px;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 100px;
    color: var(--accent-1);
    font-weight: 500;
}

.services-extra {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.extra-item:hover {
    border-color: var(--accent-1);
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.08);
}

.extra-item i {
    color: var(--accent-1);
    font-size: 16px;
}

/* ========== 关于我们 ========== */
.about {
    position: relative;
    z-index: 1;
    padding: 100px 32px;
    overflow: hidden;
}

.about-bg-deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.about-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.feature:hover {
    border-color: var(--accent-1);
    background: rgba(99, 102, 241, 0.05);
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-icon i {
    font-size: 20px;
    color: var(--accent-4);
}

.feature h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-frame {
    width: 340px;
    height: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.visual-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.3;
}

.frame-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 关于我们 - 科技架构 SVG */
.about-tech-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tech-dots {
    position: absolute;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    opacity: 0.3;
}

.tech-dots span {
    width: 4px;
    height: 4px;
    background: var(--accent-2);
    border-radius: 50%;
    animation: dotBlink 2s ease-in-out infinite;
}

.tech-dots span:nth-child(odd) { animation-delay: 0.5s; }
.tech-dots span:nth-child(3n) { animation-delay: 1s; }

@keyframes dotBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.floating-badge {
    position: absolute;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: badgeFloat 4s ease-in-out infinite;
}

.floating-badge i {
    font-size: 16px;
    color: var(--accent-5);
}

.badge-top {
    top: -10px;
    right: -20px;
    animation-delay: 0s;
}

.badge-bottom {
    bottom: -10px;
    left: -20px;
    animation-delay: 2s;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ========== 优势数据 ========== */
.advantages {
    position: relative;
    z-index: 1;
    padding: 0 32px 80px;
}

.advantages-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.adv-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.adv-card:hover {
    border-color: var(--accent-1);
    transform: translateY(-4px);
}

.adv-num {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.adv-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.adv-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== 项目案例 ========== */
.cases {
    position: relative;
    z-index: 1;
    padding: 100px 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.case-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.case-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.case-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth);
}

.case-img-placeholder i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.3);
}

.case-card:hover .case-img-placeholder {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.case-overlay span {
    padding: 10px 24px;
    background: var(--accent-1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-info {
    padding: 20px 24px 24px;
}

.case-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-info h4 {
    font-size: 17px;
    font-weight: 600;
    margin: 8px 0;
}

.case-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========== 合作伙伴 ========== */
.partners {
    position: relative;
    z-index: 1;
    padding: 60px 0 100px;
    overflow: hidden;
}

.partners-scroll {
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

.partners-track {
    display: flex;
    gap: 48px;
    animation: partnerScroll 25s linear infinite;
    width: max-content;
}

@keyframes partnerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 28px;
    min-width: 120px;
}

.partner-logo i {
    font-size: 32px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.partner-logo span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.partner-logo:hover i {
    color: var(--accent-1);
}

.partner-logo:hover span {
    color: var(--text-secondary);
}

/* ========== 联系我们 ========== */
.contact {
    position: relative;
    z-index: 1;
    padding: 100px 32px;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.contact-info-item:hover {
    border-color: var(--accent-1);
}

.ci-icon {
    width: 44px;
    height: 44px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ci-icon i {
    font-size: 18px;
    color: var(--accent-1);
}

.contact-info-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 36px;
}

.contact-form-wrapper h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-1);
    background: rgba(99, 102, 241, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========== 页脚 ========== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    padding: 64px 32px 0;
}

.footer-top {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

/* 页脚 Logo 行 */
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img svg {
    width: 100%;
    height: 100%;
}

.footer-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-icon-link {
    position: relative;
    width: 38px;
    height: 38px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.footer-icon-link:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
    background: rgba(99, 102, 241, 0.1);
}

/* Tooltip 提示文字 */
.footer-icon-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 30, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 100;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Tooltip 小箭头 */
.footer-icon-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(99, 102, 241, 0.3);
}

.footer-icon-link:hover .footer-icon-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-1);
}

.footer-qr-group {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-qr {
    text-align: center;
    position: relative;
}

.qr-code {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-qr:hover .qr-code {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.25);
}

/* 二维码放大预览浮层 */
.qr-zoom-preview {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-zoom-preview::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.qr-zoom-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.qr-zoom-preview i {
    font-size: 72px;
    color: #333;
}

.footer-qr:hover .qr-zoom-preview {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-code i {
    font-size: 48px;
    color: #333;
}

.footer-qr span {
    font-size: 11px;
    color: var(--text-muted);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== 回到顶部 ========== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: white;
    transform: translateY(-3px);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .services-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }
    .advantages-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        z-index: 1000;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        font-size: 20px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-container {
        gap: 40px;
    }
    .hero-arch-diagram {
        max-width: 400px;
    }

    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .advantages-inner {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
}
