/* ================================
   白房子软件开发官网 - 深色科技风主样式文件
   配色方案：深蓝 #0A0E27、黑灰 #0D1117、亮银/蓝紫渐变
   科技感特效：网格背景、扫描线、发光边框、玻璃拟态、粒子动画
   ================================ */

/* ================================
   CSS重置和基础样式
   ================================ */
* {
    margin: 0; /* 清除所有元素的外边距 */
    padding: 0; /* 清除所有元素的内边距 */
    box-sizing: border-box; /* 盒模型设置为border-box */
}

/* 定义CSS变量 - 全局配色方案和效果 */
:root {
    --color-deep-blue: #0A0E27; /* 主色调：深蓝色 */
    --color-dark-gray: #0D1117; /* 辅助色：深黑灰色 */
    --color-accent-1: #6366F1; /* 强调色1：蓝紫色 */
    --color-accent-2: #8B5CF6; /* 强调色2：紫色 */
    --color-accent-3: #6EE7B7; /* 强调色3：青绿色 */
    --color-accent-4: #38BDF8; /* 强调色4：天蓝色 */
    --color-text-primary: #E2E8F0; /* 主文字颜色 */
    --color-text-secondary: #94A3B8; /* 次要文字颜色 */
    --color-border: #1E293B; /* 边框颜色 */
    --color-border-glow: rgba(99, 102, 241, 0.4); /* 发光边框颜色 */
    --gradient-main: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%); /* 主渐变 */
    --gradient-tech: linear-gradient(135deg, #6366F1 0%, #38BDF8 50%, #6EE7B7 100%); /* 科技三色渐变 */
    --gradient-glow: 0 0 30px rgba(99, 102, 241, 0.3); /* 发光阴影 */
    --gradient-glow-strong: 0 0 60px rgba(99, 102, 241, 0.5), 0 0 120px rgba(99, 102, 241, 0.2); /* 强发光 */
}

/* HTML和Body基础样式 */
html {
    scroll-behavior: smooth; /* 启用平滑滚动 */
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; /* 整个网站统一字体 */
    /* 整体页面背景从上到下由深蓝渐变到深灰，增加深度感 */
    background: linear-gradient(180deg, var(--color-deep-blue) 0%, var(--color-dark-gray) 100%);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px; /* 整个网站统一基础字体大小 */
}

/* 全局统一所有元素字体继承 */
h1, h2, h3, h4, h5, h6,
p, span, a, li, label, input, textarea, button {
    font-family: inherit; /* 统一继承 body 字体 */
}

/* 全局科技感网格背景 - 应用于body */
body::before {
    content: '';
    position: fixed; /* 固定定位覆盖整个页面 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 细微的网格线背景，营造科技感 */
    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; /* 网格间距60px */
    pointer-events: none; /* 不阻挡鼠标事件 */
    z-index: 0; /* 在最底层 */
}

/* 容器样式 - 增加两侧留白 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px; /* 增加左右内边距，留出更多空白 */
    position: relative; /* 为内部绝对定位元素提供参考 */
    z-index: 1; /* 在网格背景之上 */
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ================================
   头部导航样式 - 增强科技感
   ================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* 玻璃拟态效果 - 半透明背景+模糊 */
    background-color: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(20px); /* 增强模糊效果 */
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

/* 导航栏底部发光线条 */
.site-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    /* 蓝紫渐变发光线 */
    background: var(--gradient-main);
    opacity: 0.6;
    box-shadow: 0 0 10px var(--color-accent-1), 0 0 20px rgba(99, 102, 241, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px; /* 增加左右内边距，与容器保持一致 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo样式 - 添加发光效果 */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
    transition: text-shadow 0.3s ease;
}

.site-logo:hover {
    /* Logo悬停时添加发光文字效果 */
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.logo-icon {
    font-size: 1.5rem;
}

/* 桌面端导航链接 - 添加下划线动画 */
.desktop-nav {
    display: none;
    gap: 40px;
}

.nav-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    position: relative; /* 为伪元素定位 */
    transition: color 0.3s ease;
    padding: 5px 0;
}

/* 导航链接底部发光下划线 */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0; /* 默认宽度为0 */
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--color-accent-1);
}

.nav-link:hover {
    color: var(--color-accent-3);
}

/* 悬停时下划线展开 */
.nav-link:hover::after {
    width: 100%;
}

/* 汉堡菜单按钮样式 */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--gradient-main); /* 渐变色汉堡线 */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 移动端导航菜单 */
.mobile-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 20px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 15px 0;
    color: var(--color-text-primary);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--color-accent-3);
    padding-left: 15px; /* 悬停时右移 */
}

/* ================================
   Hero区域样式 - 增强粒子背景和光效
   ================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--color-deep-blue);
    overflow: hidden;
    padding-top: 70px;
}

/* Hero动态背景 - 发光球增强 */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px); /* 增强模糊效果 */
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px; /* 增大发光球尺寸 */
    height: 500px;
    background: radial-gradient(circle, var(--color-accent-1), transparent 70%);
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-accent-2), transparent 70%);
    top: 45%;
    right: 5%;
    animation-delay: 2s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent-4), transparent 70%);
    bottom: 5%;
    left: 40%;
    animation-delay: 4s;
}

/* 浮动动画 - 增加更多运动 */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-10px, -40px) scale(0.95);
    }
    75% {
        transform: translate(30px, -15px) scale(1.02);
    }
}

/* 扫描线动画 - 科技感特效 */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 从上到下移动的扫描线 */
    background: linear-gradient(
        transparent 0%,
        rgba(99, 102, 241, 0.05) 50%,
        transparent 100%
    );
    background-size: 100% 200px;
    animation: scanline 6s linear infinite;
}

@keyframes scanline {
    0% {
        background-position: 0 -200px;
    }
    100% {
        background-position: 0 100vh;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* Hero标题 - 增强发光效果 */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 2px; /* 增加字间距 */
}

.title-highlight {
    background: var(--gradient-tech); /* 三色科技渐变 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* 文字发光效果 */
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    /* 打字机光标效果 */
    animation: subtitleFade 2s ease-out;
}

@keyframes subtitleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA按钮 - 增强发光和脉冲效果 */
.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gradient-main);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--gradient-glow);
    position: relative;
    overflow: hidden;
}

/* 按钮内部光效扫过动画 */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* 光效扫过效果 */
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--gradient-glow-strong);
}

/* ================================
   通用Section样式 - 添加分隔线光效
   ================================ */
section {
    padding: 80px 0;
    position: relative;
}

/* Section标题 - 增强发光效果 */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-text-primary);
    position: relative;
}

/* 标题底部装饰线 */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--color-accent-1); /* 发光效果 */
}

/* ================================
   业务体系样式 - 增强卡片光效
   ================================ */
.services-section {
    /* 顶部保留Hero区域的深蓝色，逐渐过渡到本区域的深灰色 */
    background: linear-gradient(
        180deg,
        var(--color-deep-blue) 0%,
        var(--color-deep-blue) 80px,
        var(--color-dark-gray) 220px,
        var(--color-dark-gray) 100%
    );
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

/* 业务卡片 - 玻璃拟态+发光边框 */
.service-card {
    /* 玻璃拟态效果 */
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* 卡片顶部发光线条 */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0; /* 默认隐藏 */
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-glow);
    box-shadow: var(--gradient-glow), inset 0 0 30px rgba(99, 102, 241, 0.05);
    background: rgba(10, 14, 39, 0.8);
}

/* 悬停时显示顶部发光线 */
.service-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 15px var(--color-accent-1);
}

/* 图标容器 - 添加发光背景 */
.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    /* 图标背景光晕 */
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1); /* 悬停时图标放大 */
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

.service-card h3 {
    font-size: 1.3rem; /* 统一卡片标题字体大小 */
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.service-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ================================
   核心优势样式 - 增强数据动效
   ================================ */
.advantages-section {
    /* 顶部保留上一区域(services)的深灰色，逐渐过渡到本区域的深蓝色 */
    background: linear-gradient(
        180deg,
        var(--color-dark-gray) 0%,
        var(--color-dark-gray) 80px,
        var(--color-deep-blue) 220px,
        var(--color-deep-blue) 100%
    );
    position: relative;
}

/* 优势区域背景装饰 - 角落光效 */
.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* 优势卡片 - 添加脉冲边框效果 */
.advantage-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

/* 卡片边框脉冲动画 */
.advantage-card::before {
    content: '';
    position: absolute;
    inset: -1px; /* 覆盖边框 */
    border-radius: 16px;
    padding: 1px;
    /* 渐变边框 */
    background: var(--gradient-main);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.advantage-card:hover::before {
    opacity: 1;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--gradient-glow);
}

/* 数字显示 - 增强发光效果 */
.advantage-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.4));
}

.advantage-unit {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent-3);
    text-shadow: 0 0 10px rgba(110, 231, 183, 0.3);
}

.advantage-desc {
    color: var(--color-text-secondary);
    margin-top: 10px;
    font-size: 1.05rem; /* 统一正文字体大小 */
}

/* ================================
   典型案例样式 - 增强卡片悬浮效果
   ================================ */
.cases-section {
    /* 顶部保留上一区域(advantages)的深蓝色，逐渐过渡到本区域的深灰色 */
    background: linear-gradient(
        180deg,
        var(--color-deep-blue) 0%,
        var(--color-deep-blue) 80px,
        var(--color-dark-gray) 220px,
        var(--color-dark-gray) 100%
    );
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

/* 案例卡片 - 增强悬浮和光效 */
.case-card {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

/* 案例卡片发光边框 */
.case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: var(--gradient-tech);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--gradient-glow-strong);
}

.case-card:hover::after {
    opacity: 1;
}

.case-cover {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

/* 封面图上的渐变遮罩 */
.case-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, rgba(10, 14, 39, 0.8));
}

.case-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-cover img {
    transform: scale(1.08);
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.case-card:hover .case-info h3 {
    color: var(--color-accent-4); /* 悬停时标题变天蓝色 */
}

.case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* 技术标签 - 增强发光效果 */
.tech-tag {
    background: rgba(99, 102, 241, 0.15);
    color: var(--color-accent-3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.case-card:hover .tech-tag {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.2);
}

.cases-more {
    text-align: center;
    margin-top: 40px;
}

.more-link {
    color: var(--color-accent-3);
    font-size: 1.05rem; /* 统一正文字体大小 */
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.more-link:hover {
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(110, 231, 183, 0.5);
}

/* ================================
   联系方式区域样式 - 增强光效
   ================================ */
.contact-section {
    /* 顶部保留上一区域(cases)的深灰色，逐渐过渡到本区域的深蓝色 */
    background: linear-gradient(
        180deg,
        var(--color-dark-gray) 0%,
        var(--color-dark-gray) 80px,
        var(--color-deep-blue) 220px,
        var(--color-deep-blue) 100%
    );
    position: relative;
}

/* 联系区域背景装饰 */
.contact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(110, 231, 183, 0.08), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.contact-desc {
    color: var(--color-text-secondary);
    font-size: 1.05rem; /* 统一正文字体大小 */
    text-align: center;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 联系方式条目 - 添加悬停效果 */
.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem; /* 统一正文字体大小 */
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-detail-item:hover {
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.detail-icon {
    font-size: 1.5rem;
}

.qrcode-area {
    text-align: center;
}

/* 二维码容器 - 添加发光边框 */
.qrcode-box {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
}

.qrcode-box:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    border-color: var(--color-accent-1);
}

.qrcode-img {
    width: 180px; /* 固定宽度 */
    height: auto; /* 高度自适应图片比例 */
    max-height: 380px; /* 限制最大高度避免过长 */
    object-fit: contain; /* 保持图片比例完整显示 */
}

.qrcode-text {
    margin-top: 15px;
    color: var(--color-accent-3);
    font-size: 0.95rem;
}

/* ================================
   页脚样式 - 增强科技感
   ================================ */
.site-footer {
    /* 顶部保留上一区域(contact)的深蓝色，逐渐过渡到页脚更深色 */
    background: linear-gradient(
        180deg,
        var(--color-deep-blue) 0%,
        var(--color-deep-blue) 80px,
        #060918 220px,
        #060918 100%
    );
    border-top: 1px solid var(--color-border);
    padding: 80px 0; /* 统一与其他section的页边距 */
    position: relative;
}

/* 页脚顶部发光线 */
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-main);
    opacity: 0.4;
    box-shadow: 0 0 10px var(--color-accent-1);
}

/* 页脚容器 - 限制宽度并增加两侧留白 */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px; /* 与容器和内导航保持一致的内边距 */
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
    text-align: center; /* 页脚内容居中对齐 */
    align-items: center; /* 垂直居中 */
}

.footer-about h3 {
    font-size: 1.3rem; /* 统一栏目标题字体大小 */
    margin-bottom: 10px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--color-text-secondary);
    max-width: 400px; /* 增加最大宽度，居中显示 */
    margin: 0 auto; /* 居中 */
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 15px;
    font-size: 1.3rem; /* 统一栏目标题字体大小 */
    color: var(--color-accent-4);
}

.footer-link {
    display: block;
    color: var(--color-text-secondary);
    margin-bottom: 10px;
    transition: all 0.3s ease;
    padding-left: 0;
}

.footer-link:hover {
    color: var(--color-accent-3);
    padding-left: 10px;
}

.footer-contact p {
    color: var(--color-text-secondary);
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 25px;
    text-align: center;
}

.icp-link {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.icp-link:hover {
    color: var(--color-accent-3);
}

.copyright {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* ================================
   案例列表页样式 - 增强筛选和卡片效果
   ================================ */
.cases-list-section {
    padding-top: 120px;
    background-color: var(--color-dark-gray);
    min-height: 100vh;
}

.page-title {
    font-size: 2.2rem; /* 统一页面标题与section标题一致 */
    text-align: center;
    margin-bottom: 15px;
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

/* 筛选按钮 - 增强发光效果 */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 24px;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-main);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

/* 案例筛选卡片 - 增强悬浮效果 */
.case-filter-card {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.case-filter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-tech);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.case-filter-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-glow);
    box-shadow: var(--gradient-glow);
}

.case-filter-card:hover::before {
    opacity: 1;
}

.case-filter-card.hidden {
    display: none;
}

.case-filter-cover {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.case-filter-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(transparent, rgba(10, 14, 39, 0.8));
}

.case-filter-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-filter-card:hover .case-filter-cover img {
    transform: scale(1.05);
}

.case-filter-info {
    padding: 25px;
}

.case-filter-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.case-filter-card:hover .case-filter-info h3 {
    color: var(--color-accent-4);
}

.case-filter-desc {
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.case-filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.view-detail-btn {
    color: var(--color-accent-3);
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.view-detail-btn:hover {
    text-shadow: 0 0 10px rgba(110, 231, 183, 0.5);
}

/* ================================
   案例详情页样式 - 全面增强科技感
   ================================ */
.case-detail-hero {
    padding-top: 140px;
    padding-bottom: 60px;
    /* 背景从上到下渐变，顶部稍暗增加纵深感，底部与内容区域自然衔接 */
    background: linear-gradient(
        180deg,
        #080B1E 0%,
        var(--color-deep-blue) 60%,
        var(--color-deep-blue) 100%
    );
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 详情页Hero背景光效 */
.case-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.case-detail-title {
    font-size: 2.2rem; /* 统一详情页标题与section标题一致 */
    margin-bottom: 10px;
    position: relative;
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-detail-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.05rem; /* 统一正文字体大小 */
    position: relative;
}

.case-detail-content {
    /* 顶部保留Hero区域的深蓝色，用更长的过渡区间平滑渐变到内容区域的深灰色 */
    background: linear-gradient(
        180deg,
        var(--color-deep-blue) 0%,
        var(--color-deep-blue) 30px,
        var(--color-dark-gray) 300px,
        var(--color-dark-gray) 100%
    );
    padding-bottom: 80px;
}

/* 详情区域 - 完全透明，让页面渐变背景无缝贯穿 */
.detail-section {
    margin-bottom: 30px;
    position: relative;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.detail-section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--color-accent-4);
    position: relative;
}

/* 标题前的小装饰点 */
.detail-section-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-accent-1);
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 10px var(--color-accent-1);
    vertical-align: middle;
}

.detail-text {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* 技术亮点列表 - 与上下文字样式一致 */
.tech-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.tech-list li {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 4px 0 4px 20px;
    position: relative;
}

.tech-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--color-accent-1);
    border-radius: 50%;
    opacity: 0.5;
}

.arch-placeholder {
    margin-top: 25px;
    /* 轻微半透明背景，让架构图区域与渐变背景自然融合 */
    background: rgba(10, 14, 39, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* 架构图区域发光边框 */
.arch-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: var(--gradient-main);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.arch-image {
    width: 100%;
    border-radius: 12px;
}

/* 指标数据卡片 - 增强发光和动效 */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.metric-card {
    /* 无背景色，让页面渐变背景完全透出，仅保留毛玻璃模糊效果 */
    background: none;
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* 指标卡片底部发光线 */
.metric-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric-card:hover {
    border-color: var(--color-border-glow);
    box-shadow: var(--gradient-glow);
    transform: translateY(-3px);
}

.metric-card:hover::after {
    opacity: 1;
    box-shadow: 0 0 10px var(--color-accent-1);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
}

.metric-label {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* 客户证言 - 增强样式 */
.testimonial-block {
    /* 无背景色，让页面渐变背景完全透出，仅保留毛玻璃模糊效果 */
    background: none;
    backdrop-filter: blur(8px);
    border-left: 3px solid var(--color-accent-3);
    padding: 30px;
    border-radius: 0 12px 12px 0;
    position: relative;
    box-shadow: 0 0 20px rgba(110, 231, 183, 0.1);
}

/* 证言引号装饰 */
.testimonial-block::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    color: var(--color-accent-3);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.testimonial-block p {
    font-size: 1.05rem; /* 统一正文字体大小 */
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.8;
}

/* 相关案例推荐卡片 */
.related-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.related-case-card {
    /* 无背景色，让页面渐变背景完全透出，仅保留毛玻璃模糊效果 */
    background: none;
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.related-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gradient-main);
    transition: height 0.4s ease;
}

.related-case-card:hover {
    border-color: var(--color-border-glow);
    box-shadow: var(--gradient-glow);
}

.related-case-card:hover::before {
    height: 100%;
}

.related-case-card h4 {
    font-size: 1.3rem; /* 统一卡片标题字体大小 */
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.related-case-card:hover h4 {
    color: var(--color-accent-4);
}

.related-link-arrow {
    color: var(--color-accent-3);
    font-weight: 500;
}

/* ================================
   联系页面样式 - 增强表单科技感
   ================================ */
.contact-page-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--color-dark-gray);
    min-height: 100vh;
}

.contact-page-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.form-title,
.info-title {
    font-size: 1.3rem; /* 统一栏目标题字体大小 */
    margin-bottom: 30px;
    color: var(--color-accent-4);
}

/* 表单容器 - 玻璃拟态效果 */
.contact-form {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 35px;
    position: relative;
}

/* 表单顶部发光线 */
.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 0 10px var(--color-accent-1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-text-primary);
    font-weight: 500;
}

/* 输入框 - 增强聚焦效果 */
.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--color-text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2), inset 0 0 15px rgba(99, 102, 241, 0.05);
    background: rgba(255, 255, 255, 0.05);
}

/* 提交按钮 - 增强光效 */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient-main);
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--gradient-glow-strong);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.info-icon {
    font-size: 1.8rem;
}

.info-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.info-value {
    font-size: 1.05rem; /* 统一正文字体大小 */
}

.qrcode-side-area {
    text-align: center;
}

.qrcode-side-box {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
}

.qrcode-side-box:hover {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.qrcode-side-img {
    width: 180px; /* 固定宽度 */
    height: auto; /* 高度自适应图片比例 */
    max-height: 380px; /* 限制最大高度避免过长 */
    object-fit: contain; /* 保持图片比例完整显示 */
}

.qrcode-side-text {
    margin-top: 15px;
    color: var(--color-accent-3);
}

/* ================================
   移动端适配样式 (h5页面)
   ================================ */
@media (max-width: 767px) {
    /* 移动端统一字体大小 */
    .section-title {
        font-size: 1.8rem; /* 移动端标题字体 */
    }
    
    .page-title {
        font-size: 1.8rem; /* 移动端页面标题统一 */
    }
    
    .case-detail-title {
        font-size: 1.8rem; /* 移动端详情页标题统一 */
    }
    
    .service-card h3,
    .case-info h3,
    .case-filter-info h3,
    .related-case-card h4,
    .footer-about h3,
    .footer-links h4,
    .footer-contact h4,
    .form-title,
    .info-title {
        font-size: 1.2rem; /* 移动端卡片/栏目标题统一 */
    }
    
    /* 移动端统一 section 内边距 */
    section {
        padding: 50px 0; /* 移动端 section 页边距统一 */
    }
    
    .site-footer {
        padding: 50px 0; /* 移动端 footer 与 section 边距统一 */
    }
}

/* ================================
   响应式样式 - 768px 断点
   ================================ */
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    
    .hamburger-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .contact-info {
        flex: 1;
    }
    
    .qrcode-area {
        flex-shrink: 0;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: center; /* 居中对齐三个栏目 */
        gap: 80px; /* 栏目之间的间距 */
    }
    
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .related-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-page-wrapper {
        flex-direction: row;
    }
    
    .contact-form-area {
        flex: 1.3;
    }
    
    .contact-info-side {
        flex: 1;
    }
}

/* ================================
   响应式样式 - 1024px 断点
   ================================ */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================================
   全局滚动显示动画
   ================================ */
/* 元素进入视口时的淡入动画 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
