/* ========================================
   梦创科技 - 暗黑科技主题
   ======================================== */

/* CSS Variables */
:root {
    --bg-dark: #0a0a0a;
    --bg-gray: #1c1c1c;
    --bg-card: #141414;
    --primary: #3b82f6;
    --primary-light: rgba(59, 130, 246, 0.1);
    --primary-glow: rgba(59, 130, 246, 0.15);
    --text-white: #ffffff;
    --text-light: #e5e5e5;
    --text-gray: #a3a3a3;
    --text-muted: #737373;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(59, 130, 246, 0.5);
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

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

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

/* ========================================
   导航栏 - 玻璃拟态
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(10, 10, 10, 0.95); }
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-white);
}
.nav-brand .icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.nav-brand .sub { font-size: 11px; color: var(--text-muted); font-weight: 400; margin-left: 8px; letter-spacing: 1px; }

.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link {
    padding: 10px 18px;
    font-size: 14px;
    color: var(--text-gray);
    border-radius: 8px;
    transition: all 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--text-white); background: rgba(255,255,255,0.05); }

.nav-cta {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-left: 16px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}
.nav-cta:hover { background: #2563eb; transform: translateY(-2px); box-shadow: 0 6px 30px rgba(59, 130, 246, 0.4); }

/* Mobile Menu Toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--text-white); font-size: 24px; cursor: pointer; padding: 8px; }

/* 移动端响应式导航 */
@media (max-width: 768px) {
    .navbar .container {
        height: 70px;
        position: relative;
    }
    
    /* 悬浮下拉菜单 */
    .nav-menu {
        display: flex;
        position: absolute;
        top: calc(100% + 10px);
        right: 24px;
        left: auto;
        bottom: auto;
        width: 260px;
        max-height: calc(100vh - 100px);
        background: var(--bg-gray);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.1);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 12px;
        gap: 6px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s ease;
        z-index: 9999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* 菜单小三角 */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: -8px;
        right: 20px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid var(--bg-gray);
    }
    
    .nav-link {
        display: block;
        padding: 14px 18px;
        font-size: 15px;
        color: var(--text-light);
        border-radius: 10px;
        border: none;
        background: transparent;
        text-align: left;
        font-weight: 500;
        transition: all 0.2s;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--text-white);
        background: var(--primary-light);
    }
    
    /* 移动端隐藏顶部CTA按钮 */
    .navbar .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: var(--bg-gray);
        border: 1px solid var(--border-color);
        z-index: 10000;
        position: relative;
    }
    
    .nav-toggle.active {
        background: var(--primary);
        border-color: var(--primary);
    }
    
    /* 移动端菜单内的联系我们按钮 */
    .nav-link-cta {
        background: var(--primary) !important;
        color: var(--text-white) !important;
        text-align: center !important;
        margin-top: 6px;
        border-radius: 10px !important;
    }
    .nav-link-cta:hover {
        background: #2563eb !important;
    }
}

/* ========================================
   按钮样式
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary {
    background: var(--text-white);
    color: var(--bg-dark);
}
.btn-primary:hover { background: #e5e5e5; transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-blue {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}
.btn-blue:hover { background: #2563eb; transform: translateY(-2px); }

/* ========================================
   首页轮播 Hero
   ======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(10,10,10,0.8) 100%);
}
.hero-slide.active { opacity: 1; }

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.hero-title .gradient {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.hero-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 24px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Slider Dots */
.hero-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}
.hero-dot.active { background: var(--primary); box-shadow: 0 0 10px var(--primary); }

/* ========================================
   Section 通用样式
   ======================================== */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); }
.section-gray { background: var(--bg-gray); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ========================================
   产品卡片 - 科技光效
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.tech-card {
    position: relative;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.4s;
}
.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 0 40px var(--primary-glow);
}
.tech-card:hover::before { opacity: 0.2; }

.tech-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}
.tech-card-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-card);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}
.tech-card-tag {
    font-size: 11px;
    font-family: monospace;
    color: var(--text-muted);
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
}

.tech-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}
.tech-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.tech-card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.tech-card-features li {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.tech-card-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

.tech-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.tech-card-link:hover { gap: 12px; }

/* 产品图片卡片 */
.product-card {
    position: relative;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 0 40px var(--primary-glow);
}
.product-card-image {
    height: 240px;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-image .placeholder { font-size: 64px; opacity: 0.2; }

.product-card-body { padding: 24px; }
.product-card-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}
.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}
.product-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-specs {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.product-card-specs .spec {
    font-size: 12px;
    color: var(--text-muted);
}
.product-card-specs .spec strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2px;
}

/* 首页推荐产品卡片（带大图） */
.product-card-featured {
    position: relative;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.product-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}
.product-card-featured:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 0 50px var(--primary-glow);
}
.product-card-featured:hover::before { opacity: 0.15; }

.product-card-featured .product-card-image {
    height: 220px;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-card-featured .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card-featured:hover .product-card-image img { transform: scale(1.08); }
.product-card-featured .product-card-image .placeholder { font-size: 80px; opacity: 0.15; }

.product-card-featured .product-card-content {
    padding: 28px;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card-featured .product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.product-card-featured .product-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}
.product-card-featured h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.3;
}
.product-card-featured p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 16px;
    flex: 1;
}
.product-card-featured .product-card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.product-card-featured .product-card-features li {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-card-featured .product-card-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    font-size: 12px;
}
.product-card-featured .product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s;
}
.product-card-featured:hover .product-card-link { gap: 12px; }

/* ========================================
   数据统计条
   ======================================== */
.stats-section {
    padding: 60px 0;
    background: rgba(59, 130, 246, 0.05);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-item .value {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
}
.stat-item .label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   整机产品线样式
   ======================================== */
.section-gray-dark {
    background: #0f0f0f;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.product-line-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.product-line-item {
    display: flex;
    align-items: center;
    gap: 60px;
}
.product-line-item.reverse {
    flex-direction: row-reverse;
}

.product-line-image {
    flex: 1;
    position: relative;
}
.product-line-image a {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-gray);
    border: 1px solid rgba(255,255,255,0.05);
}
.product-line-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.7s;
}
.product-line-image a:hover img {
    transform: scale(1.05);
}
.product-line-image .placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    opacity: 0.2;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
}
.product-line-image .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    pointer-events: none;
}
.product-line-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
}

.product-line-info {
    flex: 1;
}
.product-line-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}
.product-line-info > p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 24px;
}

.product-line-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.feature-box {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 16px;
}
.feature-box h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
}
.feature-box p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.product-line-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s;
}
.product-line-link:hover {
    gap: 12px;
}
.product-line-link span {
    transition: transform 0.3s;
}
.product-line-link:hover span {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .product-line-item,
    .product-line-item.reverse {
        flex-direction: column;
        gap: 32px;
    }
    .product-line-features {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 640px) {
    .product-line-features {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   核心技术样式（暗黑主题）
   ======================================== */
.section-tech {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tech-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-feature-card {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.tech-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.4s;
}
.tech-feature-card:nth-child(1)::before { background: #ec4899; }
.tech-feature-card:nth-child(2)::before { background: #6366f1; }
.tech-feature-card:nth-child(3)::before { background: #3b82f6; }
.tech-feature-card:nth-child(4)::before { background: #ef4444; }

.tech-feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.tech-feature-card:hover::before {
    opacity: 0.3;
}

.tech-feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.tech-feature-label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.tech-feature-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.tech-feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .tech-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .tech-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: #000;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}
.footer-brand .logo .icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}
.footer-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-social-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}
.footer-social-item:hover {
    background: var(--primary-light);
    border-color: var(--border-hover);
    color: var(--text-white);
}
.footer-social-item .icon {
    font-size: 18px;
}
.footer-social-item .text {
    font-weight: 500;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
}
.footer-col a:hover { color: var(--primary); }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}
.footer-contact .icon {
    color: var(--primary);
    margin-top: 2px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--text-gray); }

/* 社交媒体弹窗 */
.social-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.social-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: var(--bg-gray);
}
.footer-social-item:hover .social-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px);
}
.social-popup-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}
.social-popup-qr {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    margin: 0 auto 12px;
}
.social-popup-qr img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}
.social-popup-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.social-popup .visit-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
}
.social-popup .visit-btn:hover {
    background: #2563eb;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* 移动端导航已在上方定义，这里只需补充其他样式 */
    .nav-toggle { display: flex; }
    
    .hero-title { font-size: 36px; }
    .hero-desc { font-size: 16px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 28px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ========================================
   页面：产品列表
   ======================================== */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.05), transparent);
    text-align: center;
}
.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
}
.page-header p {
    font-size: 18px;
    color: var(--text-muted);
}

/* 产品列表网格 */
.products-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* 产品卡片（产品中心页面） */
.products-list .product-card {
    position: relative;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.products-list .product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
    pointer-events: none;
}
.products-list .product-card:hover {
    transform: translateY(-12px);
    border-color: var(--border-hover);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 40px var(--primary-glow);
}
.products-list .product-card:hover::before {
    opacity: 0.2;
}

.products-list .product-card-image {
    height: 220px;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.products-list .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.products-list .product-card:hover .product-card-image img {
    transform: scale(1.1);
}
.products-list .product-card-image .placeholder {
    font-size: 72px;
    opacity: 0.15;
}

.products-list .product-card-body {
    padding: 24px;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.products-list .product-card-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 14px;
}
.products-list .product-card-category::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.products-list .product-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s;
}
.products-list .product-card:hover h3 {
    color: var(--primary);
}

.products-list .product-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-list .product-card-specs {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.products-list .product-card-specs .spec {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.products-list .product-card-specs .spec strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    transition: color 0.3s;
}
.products-list .product-card:hover .product-card-specs .spec strong {
    color: var(--primary);
}

/* 查看详情按钮覆盖层 */
.products-list .product-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(10,10,10,0.95), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 2;
}
.products-list .product-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}
.products-list .product-card .card-overlay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
}

@media (max-width: 1024px) { .products-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .products-list { grid-template-columns: 1fr; } }

/* ========================================
   页面：产品详情
   ======================================== */
.product-detail { padding: 120px 0 80px; }
.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}
.product-gallery {
    position: relative;
    background: var(--bg-gray);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 100px; opacity: 0.1; }
.product-badge-featured {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.product-info .category { color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.product-info h1 { font-size: 36px; font-weight: 800; color: var(--text-white); margin-bottom: 20px; }
.product-info .desc { font-size: 16px; color: var(--text-gray); line-height: 1.9; margin-bottom: 32px; }

.product-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.product-spec-item {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}
.product-spec-item:hover { border-color: var(--border-hover); }
.product-spec-item .icon { font-size: 24px; margin-bottom: 8px; }
.product-spec-item .value { font-size: 24px; font-weight: 800; color: var(--primary); }
.product-spec-item .label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.product-actions { display: flex; gap: 16px; }

/* 产品特性 */
.features-section {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    margin-bottom: 48px;
}
.features-section h2 { text-align: center; font-size: 24px; font-weight: 700; color: var(--text-white); margin-bottom: 40px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-item {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.feature-item:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.feature-item .icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin: 0 auto 16px;
}
.feature-item h3 { font-size: 14px; font-weight: 600; color: var(--text-white); }

/* 产品详情内容 */
.content-section { margin-bottom: 48px; }
.content-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.content-section-header::before {
    content: '';
    width: 4px;
    height: 28px;
    background: var(--primary);
    border-radius: 2px;
}
.content-section-header h2 { font-size: 24px; font-weight: 700; color: var(--text-white); margin: 0; }

.content-block { margin-bottom: 40px; }
.content-block.text-block {
    padding: 32px;
    background: var(--bg-gray);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}
.content-block.text-block p {
    font-size: 16px;
    line-height: 2;
    color: var(--text-gray);
    white-space: pre-wrap;
    margin: 0;
}
.content-block.image-block { text-align: center; }
.content-block.image-block img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.content-block .caption {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    font-style: italic;
}
.content-block.video-block { text-align: center; }
.content-block.video-block video {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* 下载资料区 */
.downloads-section {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 48px;
}
.downloads-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.download-list { display: flex; flex-direction: column; gap: 12px; }
.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: all 0.3s;
}
.download-item:hover { border-color: var(--border-hover); transform: translateX(4px); }
.download-info { display: flex; align-items: center; gap: 16px; }
.download-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.download-title { font-weight: 600; color: var(--text-white); font-size: 15px; }
.download-meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.download-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
.download-btn:hover { background: #2563eb; transform: translateY(-2px); box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3); }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s;
}
.back-link:hover { color: var(--primary); background: var(--primary-light); }

/* 响应式 */
@media (max-width: 1024px) {
    .product-hero-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .product-specs-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .product-actions { flex-direction: column; }
}

/* ========================================
   页面：关于我们
   ======================================== */
.about-hero {
    padding: 160px 0 80px;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.08), transparent);
}
.about-hero-content { max-width: 800px; }
.about-hero h1 { font-size: 48px; font-weight: 800; color: var(--text-white); margin-bottom: 24px; }
.about-hero p { font-size: 18px; color: var(--text-gray); line-height: 1.9; }

.about-section { padding: 80px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    background: var(--bg-gray);
    border-radius: 20px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    opacity: 0.2;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.value-card {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}
.value-card:hover { border-color: var(--border-hover); transform: translateY(-8px); }
.value-card .icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}
.value-card h3 { font-size: 18px; font-weight: 700; color: var(--text-white); margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ========================================
   页面：新闻
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.news-card {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
}
.news-card:hover { border-color: var(--border-hover); transform: translateY(-8px); }
.news-card-image {
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    opacity: 0.2;
}
.news-card-body { padding: 24px; }
.news-card-date { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.news-card h3 { font-size: 18px; font-weight: 700; color: var(--text-white); margin-bottom: 12px; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

/* ========================================
   页面：下载中心
   ======================================== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 768px) { .downloads-grid { grid-template-columns: 1fr; } }

/* ========================================
   页面：联系我们
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info-card {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
}
.contact-info-card h3 { font-size: 24px; font-weight: 700; color: var(--text-white); margin-bottom: 32px; }
.contact-info-list { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; }
.contact-info-item .icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-info-item h4 { font-size: 14px; font-weight: 600; color: var(--text-white); margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.contact-form {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
}
.contact-form h3 { font-size: 24px; font-weight: 700; color: var(--text-white); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--text-light); margin-bottom: 8px; }
.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 14px;
    transition: all 0.3s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { min-height: 120px; resize: vertical; }

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