/*!
 * =====================================================
 * 润铸电气科技（莱州）有限公司 - 企业官网样式表
 * =====================================================
 *
 * 💡 小白提示：此文件包含所有网页样式
 * 💡 如需修改颜色、字体、间距等，直接修改对应的CSS变量即可
 *
 * 目录结构：
 * 1. CSS变量定义
 * 2. 基础重置与全局样式
 * 3. 导航栏样式
 * 4. Hero首屏样式
 * 5. 通用区块样式
 * 6. 企业简介样式
 * 7. 办公环境样式
 * 8. 企业资质样式
 * 9. 设备展示样式
 * 10. 产品展示样式
 * 11. 合作伙伴样式
 * 12. 联系方式样式
 * 13. 页脚样式
 * 14. 返回顶部按钮
 * 15. 动画效果
 * 16. 响应式适配（手机/平板）
 */

/* ==================== 1. CSS变量定义 ==================== */
:root {
    /* ========== 💡 小白提示：修改主色调只需改这几个颜色值 ========== */
    /* 主色调 - 科技蓝 */
    --primary-color: #0072c6;
    --primary-dark: #005a9e;
    --primary-light: #4da3e8;
    --primary-light-bg: #e8f4fc;

    /* 辅助色 */
    --secondary-color: #00a8e8;
    --accent-color: #ff6b35;

    /* 中性色 */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --border-color: #e0e6ed;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 50%;

    /* 间距 */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==================== 2. 基础重置与全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

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

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

/* 容器 */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 区块通用样式 */
.section {
    padding: var(--section-padding);
}

/* ==================== 3. 导航栏样式 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* LOGO样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-slogan {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-link {
    padding: 8px 11px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--primary-light-bg);
}

/* ==================== 下拉菜单样式 ==================== */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown > .nav-link::after {
    content: ' ▾';
    font-size: 0.7em;
    margin-left: 2px;
    opacity: 0.6;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 8px 0;
    margin-top: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
    list-style: none;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 13.5px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0;
    background: transparent !important;
}

.dropdown-menu li a:hover {
    background: var(--primary-light-bg) !important;
    color: var(--primary-color);
    padding-left: 22px;
}

.dropdown-menu li a.active {
    color: var(--primary-color);
    background: var(--primary-light-bg) !important;
    font-weight: 600;
}

/* ==================== 18. FAQ 样式 ==================== */
.faq-list {
    max-width: 900px;
    margin: 30px auto 0;
}
.faq-item {
    background: white;
    padding: 25px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
}
.faq-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-align: left;
}
.faq-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
    text-align: left;
}

/* ==================== 19. 地图切换按钮（外部位置） ==================== */
.map-toggle-btn-external {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.map-toggle-btn-external:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.map-toggle-btn-external svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* 移动端汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==================== 4. Hero首屏样式 ==================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 40%, #0d2149 100%);
    background-size: 200% 200%;
    animation: heroGradientShift 15s ease infinite;
    overflow: hidden;
}

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

/* 科技网格背景 - 3D透视动态网格 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(0, 114, 198, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 114, 198, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center center;
    animation: gridPerspectiveMove 25s linear infinite;
}

/* 水平扫描线效果 */
.hero-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-scanline::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 168, 232, 0.6) 20%,
        rgba(0, 168, 232, 0.8) 50%,
        rgba(0, 168, 232, 0.6) 80%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(0, 168, 232, 0.5),
                0 0 40px rgba(0, 168, 232, 0.3);
    animation: scanlineMove 4s ease-in-out infinite;
}

.hero-scanline::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg,
        rgba(0, 168, 232, 0.03) 0%,
        transparent 100%);
    animation: scanlineGlow 4s ease-in-out infinite;
}

/* 渐变遮罩 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 114, 198, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 168, 232, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    animation: overlayPulse 8s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* 科技光效 - 顶部左边 */
.hero-glow-1 {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(0, 114, 198, 0.4) 0%, transparent 60%);
    filter: blur(60px);
    animation: glowPulse 6s ease-in-out infinite;
}

/* 科技光效 - 底部右边 */
.hero-glow-2 {
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 168, 232, 0.35) 0%, transparent 60%);
    filter: blur(80px);
    animation: glowPulse 6s ease-in-out infinite 3s;
}

/* 第三层光效 - 中心光晕 */
.hero-glow-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(0, 114, 198, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    animation: glowCenter 8s ease-in-out infinite;
}

/* 浮动粒子 */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(0, 168, 232, 0.9);
    border-radius: 50%;
    animation: floatParticle 20s linear infinite;
    box-shadow: 0 0 6px rgba(0, 168, 232, 0.8),
                0 0 12px rgba(0, 168, 232, 0.4);
}

/* 粒子发光拖尾效果 */
.particle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleGlow 2s ease-in-out infinite;
}

.particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 18s; width: 4px; height: 4px; }
.particle:nth-child(2) { left: 12%; animation-delay: 1s; animation-duration: 22s; }
.particle:nth-child(3) { left: 20%; animation-delay: 2s; animation-duration: 16s; width: 2px; height: 2px; }
.particle:nth-child(4) { left: 28%; animation-delay: 0.5s; animation-duration: 20s; }
.particle:nth-child(5) { left: 36%; animation-delay: 3s; animation-duration: 24s; width: 5px; height: 5px; }
.particle:nth-child(6) { left: 44%; animation-delay: 1.5s; animation-duration: 17s; }
.particle:nth-child(7) { left: 52%; animation-delay: 2.5s; animation-duration: 19s; width: 2px; height: 2px; }
.particle:nth-child(8) { left: 60%; animation-delay: 4s; animation-duration: 21s; }
.particle:nth-child(9) { left: 68%; animation-delay: 0.8s; animation-duration: 23s; width: 4px; height: 4px; }
.particle:nth-child(10) { left: 76%; animation-delay: 1.8s; animation-duration: 15s; }
.particle:nth-child(11) { left: 84%; animation-delay: 3.5s; animation-duration: 18s; width: 3px; height: 3px; }
.particle:nth-child(12) { left: 92%; animation-delay: 2.2s; animation-duration: 20s; }

@keyframes gridPerspectiveMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(80px);
    }
}

/* @keyframes scanlineMove {
    0% {
        top: -2px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes scanlineGlow {
    0% {
        top: -60px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
} */

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.15); }
}

@keyframes glowCenter {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    50% {
        transform: translateY(45vh) scale(1.2);
        opacity: 0.8;
    }
    95% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) scale(0.3);
        opacity: 0;
    }
}

@keyframes particleGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0.2;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-title-small {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(0, 168, 232, 0.9);
    letter-spacing: 6px;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
}

.hero-title-small::before,
.hero-title-small::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.5));
}

.hero-title-small::before {
    right: calc(100% + 20px);
}

.hero-title-small::after {
    left: calc(100% + 20px);
    background: linear-gradient(90deg, rgba(0, 168, 232, 0.5), transparent);
}

.hero-title-main {
    display: block;
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 12px;
    text-shadow:
        0 0 20px rgba(0, 114, 198, 0.8),
        0 0 40px rgba(0, 114, 198, 0.5),
        0 0 60px rgba(0, 168, 232, 0.3);
    position: relative;
    padding: 0 20px;
    animation: titleShine 4s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% {
        text-shadow:
            0 0 20px rgba(0, 114, 198, 0.8),
            0 0 40px rgba(0, 114, 198, 0.5),
            0 0 60px rgba(0, 168, 232, 0.3);
    }
    50% {
        text-shadow:
            0 0 30px rgba(0, 114, 198, 1),
            0 0 60px rgba(0, 114, 198, 0.7),
            0 0 90px rgba(0, 168, 232, 0.5);
    }
}

/* 文字光效 - 渐变模糊效果 */
/* .hero-title-main::before {
    content: '润铸电气科技';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 12px;
    color: transparent;
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(0,168,232,0.6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: blur(8px);
    opacity: 0.6;
    z-index: -1;
    animation: textGlowPulse 3s ease-in-out infinite;
} */

@keyframes textGlowPulse {
    0%, 100% { opacity: 0.5; filter: blur(8px); }
    50% { opacity: 0.8; filter: blur(10px); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 50px;
    letter-spacing: 4px;
    font-weight: 300;
    position: relative;
    display: inline-block;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '◆';
    font-size: 0.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 168, 232, 0.6);
}

.hero-subtitle::before { left: -30px; }
.hero-subtitle::after { right: -30px; }

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 114, 198, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 114, 198, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(0, 168, 232, 0.8), transparent);
    margin: 0 auto 15px;
}

.scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 10px auto 0;
    border-right: 2px solid rgba(0, 168, 232, 0.8);
    border-bottom: 2px solid rgba(0, 168, 232, 0.8);
    transform: rotate(45deg);
    animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollArrow {
    0%, 100% {
        opacity: 0.4;
        transform: rotate(45deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(5px);
    }
}

/* ==================== 5. 通用区块样式 ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--primary-light-bg);
    border-radius: var(--radius-full);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ==================== 6. 企业简介样式 ==================== */
.about-section {
    background: var(--bg-white);
}

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

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

/* 数据统计 */
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* ==================== 7. 办公环境样式 ==================== */
.office-section {
    background: var(--bg-white);
}

.office-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.office-featured {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.office-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal);
}

.office-featured:hover .office-main-img {
    transform: scale(1.05);
}

.office-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.office-featured:hover .office-featured-overlay {
    opacity: 1;
}

.office-featured-overlay span {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.office-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.office-thumb {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.office-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.office-thumb:hover img {
    transform: scale(1.1);
}

.office-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.office-thumb:hover .office-thumb-overlay {
    opacity: 1;
}

.office-thumb-overlay span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 办公环境特点 */
.office-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.office-feature-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.office-feature-card:hover {
    background: var(--primary-light-bg);
    transform: translateY(-5px);
}

.office-feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: var(--radius-md);
}

.office-feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
}

.office-feature-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.office-feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==================== 8. 企业资质样式 ==================== */
.qualifications-section {
    background: var(--bg-light);
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.qualification-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.qualification-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.qualification-badge {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
}

.qualification-badge svg {
    width: 30px;
    height: 30px;
    stroke: white;
}

.qualification-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.qualification-type {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--primary-light-bg);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
}

.qualification-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 资质承诺 */
.qualifications-promise {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 40px;
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    color: white;
}

.promise-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
}

.promise-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
}

.promise-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.promise-content p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* ==================== 9. 设备展示样式 ==================== */
.equipment-section {
    background: var(--bg-white);
}

.equipment-grid {
    display: grid;
    /* 💡 小白提示：修改列数只需改 minmax 值，280px 是最小宽度 */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.equipment-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.equipment-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.equipment-card:hover .equipment-image img {
    transform: scale(1.1);
}

.equipment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 114, 198, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.equipment-overlay span {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.equipment-info {
    padding: 20px;
}

.equipment-info h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.equipment-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==================== 8. 产品展示样式 ==================== */
.products-section {
    background: var(--bg-white);
}

/* 产品分类筛选按钮 */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-light);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--primary-color);
    background: var(--primary-light-bg);
}

.filter-btn.active {
    color: white;
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 114, 198, 0.3);
}

/* 产品网格 - 使用 auto-fit 自动适应 */
.products-grid {
    /* 💡 小白提示：这个 CSS Grid 会自动计算每行能放多少产品卡片 */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* 产品卡片 - 左右布局 */
.product-card {
    display: flex;
    flex-direction: row;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    min-height: 180px;
}

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

.product-card.hidden {
    display: none;
}

.product-image {
    position: relative;
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

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

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
}

.product-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.product-specs span {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.product-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.product-link:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

/* ==================== 9. 合作伙伴样式 ==================== */
.partners-section {
    background: var(--bg-light);
}

.partners-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

/* 合作伙伴滚动轨道 */
.partners-track {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-item {
    flex-shrink: 0;
    text-align: center;
    transition: transform var(--transition-fast);
}

.partner-item:hover {
    transform: scale(1.05);
}

.partner-logo {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 15px;
    margin-bottom: 10px;
}

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

.partner-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==================== 10. 联系方式样式 ==================== */
.contact-section {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.contact-card:hover {
    background: var(--primary-light-bg);
    transform: translateY(-5px);
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: var(--radius-md);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-info p {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
}

/* 地图占位 */
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

/* 地图控制按钮 */
.map-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.map-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.map-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.map-toggle-btn svg {
    width: 16px;
    height: 16px;
}

.map-toggle-btn:has(span:empty) {
    padding: 8px;
}

.map-toggle-btn:has(span:empty) span {
    display: none;
}

/* 隐藏地图时的布局优化 */
.contact-content.map-hidden {
    grid-template-columns: 1fr;
}

.contact-content.map-hidden .contact-cards {
    grid-template-columns: repeat(2, 1fr);
}

.contact-content.map-hidden .contact-map {
    display: none;
}

/* 地图全宽显示时的移动端适配 */
@media (max-width: 768px) {
    .contact-content.map-hidden .contact-cards {
        grid-template-columns: 1fr;
    }
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background: linear-gradient(135deg, var(--primary-light-bg) 0%, var(--bg-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}

.map-content {
    text-align: center;
    color: var(--primary-color);
}

.map-content svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.map-content p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.map-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==================== 11. 页脚样式 ==================== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.footer-logo-slogan {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

.footer-links ul li a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

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

/* ==================== 12. 返回顶部按钮 ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* ==================== 13. 动画效果 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==================== 14. 响应式适配 ==================== */

/* 平板设备 */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }

    .hero-title-main {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-badge {
        right: 20px;
    }

    /* 办公环境响应式 */
    .office-showcase {
        grid-template-columns: 1fr;
    }

    .office-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .office-features {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 资质响应式 */
    .qualifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机设备 */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    /* 汉堡菜单激活 */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

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

    .nav-link {
        display: block;
        padding: 15px;
        text-align: center;
    }

    /* Hero区域 */
    .hero-title-main {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }

    .hero-title-main::before {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }

    /* 透视网格适配 */
    .hero::before {
        background-size: 40px 40px;
    }

    .hero-title-small {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .hero-title-small::before,
    .hero-title-small::after {
        display: none;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }

    .hero-subtitle::before,
    .hero-subtitle::after {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 220px;
        padding: 14px 30px;
    }

    .hero-glow-1,
    .hero-glow-2 {
        opacity: 0.5;
    }

    /* 区块标题 */
    .section-title {
        font-size: 1.8rem;
    }

    /* 企业简介 */
    .about-stats {
        flex-direction: column;
        gap: 25px;
    }

    /* 办公环境手机适配 */
    .office-showcase {
        grid-template-columns: 1fr;
    }

    .office-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .office-features {
        grid-template-columns: 1fr;
    }

    /* 资质手机适配 */
    .qualifications-grid {
        grid-template-columns: 1fr;
    }

    .qualifications-promise {
        flex-direction: column;
        text-align: center;
    }

    /* 设备网格 */
    .equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* 产品筛选 */
    .product-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* 产品网格 */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    /* 产品卡片 - 移动端改为上下布局 */
    .product-card {
        flex-direction: column;
        min-height: auto;
    }

    .product-image {
        width: 100%;
        height: 180px;
    }

    /* 联系方式 */
    .contact-cards {
        grid-template-columns: 1fr;
    }

    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        margin-bottom: 30px;
    }

    /* 返回顶部 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .hero-title-main {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .hero-title-main::before {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .hero::before {
        background-size: 30px 30px;
    }

    .particle:nth-child(5) {
        width: 3px;
        height: 3px;
    }

    .scroll-indicator {
        display: none;
    }

    .equipment-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .partner-logo {
        width: 120px;
        height: 60px;
    }
}

/* ==================== 17. 核心业务矩阵样式（新增） ==================== */
.business-matrix-section {
    background: var(--bg-light);
}

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

.business-card {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.business-card.highlight {
    border: 2px solid var(--primary-color);
    background: linear-gradient(180deg, var(--primary-light-bg) 0%, var(--bg-white) 30%);
}

.business-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    letter-spacing: 1px;
}

.business-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light-bg);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.business-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary-color);
}

.business-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.business-summary {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.business-features {
    list-style: none;
    margin-bottom: 25px;
}

.business-features li {
    position: relative;
    padding-left: 22px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.business-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.business-link {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.business-link:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

@media (max-width: 1024px) {
    .business-grid {
        grid-template-columns: 1fr;
    }
}
