/* =============================================
   硕保玮科技 — 淡蓝色科技商务主题
   覆盖原有的深色暗黑风格
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== 基础背景 ===== */
body {
    background: 
        radial-gradient(ellipse at 20% 90%, rgba(37,99,235,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 10%, rgba(124,58,237,0.02) 0%, transparent 50%),
        linear-gradient(135deg, #eef4ff 0%, #f4f9ff 50%, #e8f0fe 100%) !important;
    color: #334155 !important;
}

/* ===== 科技网络背景 ===== */
.bg-grid {
    background-image: url('/images/bg-tech.svg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    pointer-events: none !important;
    z-index: 0;
}
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.8;
    z-index: -1;
}

/* ===== 导航栏 ===== */
.navbar, .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04) !important;
}
.navbar-links a { color: #475569 !important; }
.navbar-links a:hover { color: #2563eb !important; }
.navbar-links a::after { background: #2563eb !important; }
.nav-links a { color: #475569 !important; }
.nav-links a:hover { color: #2563eb !important; }

/* ===== 区块背景 ===== */
.services, .products-showcase, section[style*="rgba(255,255,255,0.02)"] {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(8px) !important;
}
.about, .stats {
    background: rgba(255, 255, 255, 0.5) !important;
}
.stats {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* ===== 卡片 ===== */
.solution-card, .service-card, .case-card {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04), 0 1px 2px rgba(0,0,0,0.03) !important;
    backdrop-filter: blur(4px) !important;
}
.solution-card:hover, .service-card:hover, .case-card:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(37, 99, 235, 0.15) !important;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0,0,0,0.04) !important;
}

/* ===== 文本颜色 ===== */
h1, h2, h3, .stat-number, .case-card .company,
.solution-card h3, .service-card h3, .feature-box h3,
.hero h1, .section-title, .gradient-text,
.hero-small h1, section h1, .about h2 {
    background: linear-gradient(135deg, #1e40af, #7c3aed) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
.hero p, p, .section-subtitle, .solution-card p, .service-card p,
.case-card .desc, .about-text p, .stat-label, .feature-box li,
.feature-box p, .about-stat span, .contact-info p,
.content p, .hero-small p, .services p, .about p {
    color: #475569 !important;
}
.case-card .project {
    color: #2563eb !important;
}

/* ===== Hero ===== */
.hero-badge {
    background: rgba(37, 99, 235, 0.06) !important;
    border: 1px solid rgba(37, 99, 235, 0.12) !important;
    color: #1d4ed8 !important;
}
.btn-outline {
    color: #334155 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
}
.btn-outline:hover {
    border-color: #2563eb !important;
    background: rgba(37, 99, 235, 0.04) !important;
}
.hero::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04), transparent 70%) !important;
}
.hero::after {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.03), transparent 70%) !important;
}

/* ===== 页脚 ===== */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(8px) !important;
}
.footer p, .footer a { color: #64748b !important; }

/* ===== 联系页 ===== */
.info-card, .form-box {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04) !important;
}
.info-card .label { color: #64748b !important; }
.info-card .value { color: #1e293b !important; }
.form-group label { color: #475569 !important; }
.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #1e293b !important;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.06) !important;
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: #94a3b8 !important;
}

/* ===== 联系人卡片（覆盖内联style） ===== */
div[style*="rgba(37,99,235,0.05)"] {
    background: #eef4ff !important;
    border-color: rgba(37, 99, 235, 0.15) !important;
}
div[style*="rgba(16,185,129,0.05)"] {
    background: #ecfdf5 !important;
    border-color: rgba(16, 185, 129, 0.15) !important;
}
div[style*="rgba(234,179,8,0.05)"] {
    background: #fefce8 !important;
    border-color: rgba(234, 179, 8, 0.15) !important;
}
a[href^="tel:"], a[href^="mailto:"] {
    color: #1e293b !important;
    text-decoration: none !important;
}

/* ===== 关于页 ===== */
.about-visual, .value-card {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04) !important;
}
.value-card h3 { color: #2563eb !important; }
.value-card p { color: #475569 !important; }

/* ===== 解决方案子页 ===== */
.feature-box {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}
.back-link { color: #2563eb !important; }
.back-link:hover { color: #1d4ed8 !important; }

/* ===== 产品展示卡片 ===== */

/* ===== 地图弹窗适配 ===== */
.map-picker-overlay { background: rgba(0, 0, 0, 0.25) !important; }
.map-picker-box {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
}
.map-picker-box h3 { color: #1e293b !important; }
.map-picker-box p { color: #475569 !important; }
.map-btn {
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #334155 !important;
}
.map-btn:hover {
    background: #eef2ff !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
}
.map-close { color: #64748b !important; }
.map-close:hover { color: #475569 !important; }

/* ===== 其他 ===== */
.nav-toggle span { background: #334155 !important; }
.page-overlay { background: #eef4ff !important; }
::selection { background: #2563eb !important; color: #fff !important; }

/* ===== 移动端菜单 ===== */

/* ===== 产品展示卡片 ===== */
.product-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04), 0 1px 2px rgba(0,0,0,0.03) !important;
}
.product-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(37, 99, 235, 0.15) !important;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0,0,0,0.04) !important;
}
.product-card h3 {
    color: #1e293b !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
.product-card p {
    color: #475569 !important;
    font-size: 13px !important;
    margin-top: 8px !important;
}

/* ===== 服务卡片 ===== */
.service-card {
    position: relative !important;
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .navbar-links {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }
}

/* ===== 联系人页电话/邮箱数字颜色（高优先级覆盖） ===== */
.contact-person a[href^="tel:"],
.contact-person a[href^="mailto:"] {
    color: #1e293b !important;
}

/* ============================================
★ 统一卡片模板 — 所有卡片统一风格 ★
============================================ */
.solution-card, .service-card, .case-card, 
.product-card, .contact-section-card, 
.value-card, .feature-box {
    position: relative !important;
    overflow: hidden !important;
}

/* 蓝色顶条 - 默认隐藏，悬停显示 */
.solution-card::before, .service-card::before, .case-card::before,
.product-card::before, .contact-section-card::before,
.value-card::before, .feature-box::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 3px !important;
    background: linear-gradient(90deg, #2563eb, #7c3aed) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* 悬停时显示顶条 */
.solution-card:hover::before, .service-card:hover::before, .case-card:hover::before,
.product-card:hover::before, .contact-section-card:hover::before,
.value-card:hover::before, .feature-box:hover::before {
    opacity: 1 !important;
}

/* 统一卡片基础样式 */
.solution-card, .service-card, .case-card,
.product-card, .contact-section-card,
.value-card, .feature-box {
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
}

/* 统一卡片悬停效果 */
.solution-card:hover, .service-card:hover, .case-card:hover,
.product-card:hover, .contact-section-card:hover,
.value-card:hover, .feature-box:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(37, 99, 235, 0.15) !important;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(0,0,0,0.04) !important;
}

/* ===== 联系区域 ===== */

.contact-section-card {
    background: #ffffff !important;
    padding: 28px !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04), 0 1px 2px rgba(0,0,0,0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
}
.contact-section-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 28px !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04), 0 1px 2px rgba(0,0,0,0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    overflow: hidden !important;
}

.contact-section-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
}
.contact-section-icon {
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.08)) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}
.contact-section-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #1e40af, #7c3aed) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
.contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 12px 0 !important;
}
.contact-item-icon {
    width: 36px !important;
    height: 36px !important;
    background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(124,58,237,0.06)) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 16px !important;
}
.contact-item-content {
    flex: 1 !important;
    min-width: 0 !important;
}
.contact-item-label {
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    margin-bottom: 4px !important;
}
.contact-item-value {
    font-size: 15px !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
}
.contact-item-phone {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 2px !important;
}
.contact-item-email {
    font-size: 14px !important;
    color: #475569 !important;
}
.contact-divider {
    height: 1px !important;
    background: linear-gradient(90deg, rgba(37,99,235,0.08), transparent) !important;
    margin: 4px 0 !important;
}

/* ===== 表单在统一卡片内 ===== */
.contact-section-card .form-group { margin-bottom: 14px !important; }
.contact-section-card .form-group label {
    font-size: 13px !important;
    color: #475569 !important;
    margin-bottom: 6px !important;
    font-weight: 500 !important;
    display: block !important;
}
.contact-section-card .form-group input,
.contact-section-card .form-group textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    color: #1e293b !important;
    font-size: 14px !important;
    font-family: inherit !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    box-sizing: border-box !important;
}
.contact-section-card .form-group input:focus,
.contact-section-card .form-group textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.06) !important;
}
.contact-section-card .form-group textarea {
    min-height: 100px !important;
    resize: vertical !important;
}
.contact-section-card .form-group input::placeholder,
.contact-section-card .form-group textarea::placeholder {
    color: #94a3b8 !important;
}

/* ===== 联系区域两栏对齐 ===== */
.contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    align-items: start !important;
}