/* ============================================
   XX科技有限公司 - 企业官网 样式表
   蓝白色调 | 响应式布局 | 简洁商务
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* 深蓝科技主色 */
    --primary:      #00b4ff;
    --primary-dark: #0077ff;
    --primary-light: rgba(0,212,255,0.10);
    --white:        #ffffff;
    --bg:           #070d1a;
    --bg-deep:      #050a16;
    --text:         #dfe8f5;
    --text-light:   rgba(185,212,240,0.78);
    --border:       rgba(0,212,255,0.22);
    --radius:       8px;
    --shadow:       0 2px 12px rgba(0,0,0,0.08);
    --max-width:    1200px;

    /* 科技感视觉变量（产品/新闻卡片改版） */
    --neon-blue:    #00d4ff;
    --neon-cyan:    #00ffd5;
    --neon-violet:  #7b2ff7;
    --card-bg-1:    #0e1a33;
    --card-bg-2:    #12304e;
    --card-border:  rgba(0,212,255,0.25);
    --card-glow:    rgba(0,212,255,0.35);
    --card-text:    #e6f7ff;
    --card-text-dim: rgba(200,220,240,0.78);
}

html { background: var(--bg-deep); }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: transparent;
    line-height: 1.7;
    font-size: 16px;
}

/* 全站科技感背景装饰层：网格 + 霓虹光斑（z-index:-1 置于内容之下，不遮挡内容） */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(0,212,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.045) 1px, transparent 1px),
        radial-gradient(ellipse at 18% 8%,  rgba(0,212,255,0.10), transparent 42%),
        radial-gradient(ellipse at 82% 22%, rgba(123,47,247,0.08), transparent 40%),
        radial-gradient(ellipse at 65% 82%, rgba(0,255,213,0.06), transparent 45%);
    background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%, 100% 100%;
}

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

a { color: #5ec8ff; text-decoration: none; transition: color 0.2s, text-shadow 0.2s; }
a:hover { color: var(--neon-cyan); text-shadow: 0 0 12px rgba(0,212,255,0.45); }
img { max-width: 100%; height: auto; vertical-align: middle; }
ul, ol { list-style: none; }

/* ---------- Top Bar ---------- */
.top-bar {
    background: linear-gradient(90deg, #050a16, #0a1d3a 50%, #050a16);
    border-bottom: 1px solid rgba(0,212,255,0.16);
    color: #9fc7e8;
    font-size: 13px;
    padding: 6px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left {
    display: flex;
    gap: 20px;
}
.top-bar-right {
    display: flex;
    align-items: center;
}

/* 语言切换器 */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lang-btn {
    color: #9fc7e8;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s;
}
.lang-btn:hover {
    color: #fff;
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.25);
}
.lang-btn.active {
    color: #04121f;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
    font-weight: 500;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.35);
}
.lang-divider {
    color: #3a5a78;
    font-size: 12px;
}

/* ---------- Header / Nav ---------- */
.header {
    background: rgba(8, 15, 32, 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.30);
    box-shadow: 0 1px 0 rgba(0, 212, 255, 0.15), 0 12px 32px rgba(0, 0, 0, 0.35);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.logo-text, .logo h1 {
    font-size: 22px;
    color: var(--neon-blue);
    font-weight: 700;
    text-shadow: 0 0 16px rgba(0, 212, 255, 0.45);
}
.nav { display: flex; gap: 4px; }
.nav a {
    display: block;
    padding: 8px 18px;
    border-radius: var(--radius);
    color: #cfe3f5;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.25s ease;
}
.nav a:hover,
.nav a.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(0, 255, 213, 0.08));
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.35), inset 0 0 10px rgba(0, 212, 255, 0.10);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.30);
    font-size: 24px;
    color: #cfe3f5;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    background: linear-gradient(180deg, #081020, #040912 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.22);
    color: #9fb8d0;
    margin-top: 60px;
}
/* footer 顶部霓虹光带 */
.footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-cyan), var(--neon-violet), transparent);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.65);
    pointer-events: none;
}
/* footer 科技网格装饰层 */
.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
.footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding: 48px 20px;
}
.footer-col h3 { color: #eaf6ff; margin-bottom: 12px; font-size: 20px; text-shadow: 0 0 12px rgba(0, 212, 255, 0.30); }
.footer-col h4 { color: #eaf6ff; margin-bottom: 12px; font-size: 16px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: #9fb8d0; font-size: 14px; }
.footer-col ul li a:hover { color: var(--neon-blue); text-shadow: 0 0 10px rgba(0, 212, 255, 0.5); }
.footer-col p { font-size: 14px; margin-bottom: 4px; line-height: 1.8; color: #8fa7bf; }
.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(0, 212, 255, 0.12);
    padding: 16px 20px;
    text-align: center;
    font-size: 13px;
    color: #7a94ad;
}

/* ---------- Page Banner ---------- */
.page-banner {
    background:
        radial-gradient(ellipse at 22% 35%, rgba(0, 212, 255, 0.22), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(123, 47, 247, 0.16), transparent 45%),
        linear-gradient(135deg, #081226 0%, #0c2547 55%, #062a4a 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.25);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}
.page-banner h2 {
    font-size: 32px;
    margin-bottom: 8px;
    text-shadow: 0 0 22px rgba(0, 212, 255, 0.55), 0 2px 8px rgba(0, 0, 0, 0.4);
}
.page-banner p  { font-size: 16px; opacity: 0.85; }

/* ---------- Section Titles ---------- */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 28px;
    color: #eaf6ff;
    text-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-cyan), transparent);
    border-radius: 2px;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.65);
}
.section-title p { color: var(--text-light); margin-top: 8px; }

/* ---------- Home Banner ---------- */
.home-banner {
    background:
        radial-gradient(ellipse at 25% 30%, rgba(0, 212, 255, 0.20), transparent 50%),
        radial-gradient(ellipse at 75% 20%, rgba(123, 47, 247, 0.14), transparent 45%),
        radial-gradient(ellipse at 50% 95%, rgba(0, 255, 213, 0.10), transparent 50%),
        linear-gradient(135deg, #050d20 0%, #0a1f42 45%, #063a5e 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.25);
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}
.home-banner h2 {
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.55), 0 0 60px rgba(0, 212, 255, 0.25);
}
.home-banner p  { font-size: 20px; opacity: 0.9; max-width: 700px; margin: 0 auto; }

/* ---------- 首页幻灯片（轮播） ---------- */
.home-slider {
    position: relative;
    width: 100%;
    height: 520px;        /* 提高高度，从400px改为520px */
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 25%, rgba(0, 212, 255, 0.18), transparent 50%),
        radial-gradient(ellipse at 75% 70%, rgba(123, 47, 247, 0.14), transparent 45%),
        linear-gradient(135deg, #050d20, #0a1f42 55%, #062a4a);
}
.slides { position: relative; width: 100%; height: 100%; }
.slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.slide-item.active { opacity: 1; }
.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.slide-placeholder {
    width: 100%;
    height: 100%;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: none;
    display: flex;
    align-items: center;
}
.slide-overlay .container { color: #fff; }
.slide-overlay h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    line-height: 1.2;
}
.slide-overlay p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 20px;
    max-width: 600px;
}
.slide-btn {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, #00a8ff 0%, var(--neon-blue) 45%, var(--neon-cyan) 100%);
    color: #04121f !important;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: box-shadow 0.2s, transform 0.2s;
}
.slide-btn:hover {
    background: linear-gradient(135deg, #00b8ff 0%, #00e0ff 45%, var(--neon-cyan) 100%);
    box-shadow: 0 0 26px rgba(0, 212, 255, 0.60), 0 4px 18px rgba(0, 255, 213, 0.28);
    transform: translateY(-1px);
}

/* 文字位置样式（文字层叠在图片上） */
.text-pos-center-bottom { align-items: flex-end; padding-bottom: 60px; }
.text-pos-center-middle { align-items: center; }
.text-pos-center-top   { align-items: flex-start; padding-top: 60px; }
.text-pos-left-bottom  { align-items: flex-end; justify-content: flex-start; padding: 0 0 60px 10%; }
.text-pos-left-middle  { align-items: center; justify-content: flex-start; padding: 0 0 0 10%; }
.text-pos-right-bottom { align-items: flex-end; justify-content: flex-end; padding: 0 10% 60px 0; }
.text-pos-right-middle { align-items: center; justify-content: flex-end; padding: 0 10% 0 0; }
.text-pos-center-bottom .container,
.text-pos-center-top   .container,
.text-pos-left-bottom  .container,
.text-pos-right-bottom .container { text-align: center; }
.text-pos-left-bottom  .container,
.text-pos-left-middle  .container { text-align: left; }
.text-pos-right-bottom .container,
.text-pos-right-middle .container { text-align: right; }

/* 箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(8, 15, 32, 0.55);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.20);
    transition: background 0.2s, box-shadow 0.2s;
}
.slider-arrow:hover {
    background: rgba(0, 212, 255, 0.25);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
}
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* 指示点 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(200, 225, 255, 0.45);
    border: 1px solid rgba(0, 212, 255, 0.40);
    cursor: pointer;
    transition: all 0.3s;
}
.dot.active {
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.80);
    transform: scale(1.3);
}

/* 响应式 */
@media (max-width: 768px) {
    .home-slider { height: 320px; }
    .slide-overlay h2 { font-size: 28px; }
    .slide-overlay p { font-size: 16px; }
    .slider-arrow { width: 36px; height: 36px; font-size: 16px; }
}

/* ---------- Cards (News / Products) ---------- */
.section { padding: 60px 0; }
.section-bg { background: linear-gradient(180deg, rgba(9, 16, 34, 0.90), rgba(12, 26, 50, 0.90)); }

/* 全站深蓝统一：覆盖静态模板残留的浅色内联区块背景（含无空格变体） */
section[style*="background: #ffffff"],
section[style*="background:#ffffff"],
section[style*="background: #f5f7fa"],
section[style*="background:#f5f7fa"],
section[style*="background: #e3f2fd"],
section[style*="background:#e3f2fd"] {
    background: linear-gradient(180deg, rgba(9, 16, 34, 0.90), rgba(12, 26, 50, 0.90)) !important;
}
/* 上述区块内残留的浅色正文（如公司介绍 #666）同步提亮 */
section[style*="background: #ffffff"] div[style*="color:#666"],
section[style*="background: #ffffff"] div[style*="color: #666"],
section[style*="background: #f5f7fa"] div[style*="color:#666"],
section[style*="background: #f5f7fa"] div[style*="color: #666"] {
    color: rgba(205, 228, 248, 0.88) !important;
}
/* 首页 SEO 尾部模块（内联浅色）统一深蓝 */
.home-seo-footer {
    background: #070d1a !important;
    border-top-color: rgba(0, 212, 255, 0.18) !important;
}
.home-seo-footer h1 { color: #cfe9ff !important; }
.home-seo-footer p { color: rgba(180, 210, 235, 0.72) !important; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.news-card, .product-card {
    position: relative;
    background: linear-gradient(145deg, var(--card-bg-1), var(--card-bg-2));
    border-radius: 14px;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.07);
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.news-card:hover, .product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,212,255,0.65);
    box-shadow:
        0 0 16px var(--card-glow),
        0 0 40px rgba(0,212,255,0.18),
        0 18px 36px rgba(0,0,0,0.38);
}

/* 渐变描边发光（mask 增强，不支持时隐藏以免遮挡内容） */
.news-card::before, .product-card::before { display: none; }
@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    .news-card::before, .product-card::before {
        content: '';
        display: block;
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        border-radius: 14px;
        padding: 1px;
        background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan) 45%, var(--neon-violet));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.35s ease;
    }
    .news-card:hover::before, .product-card:hover::before { opacity: 1; }
}
.news-card .card-img {
    height: 200px;
    background: linear-gradient(135deg, #0c1830, #11334f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    font-size: 48px;
    overflow: hidden;
}
.news-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), filter 0.4s ease;
}
.news-card:hover .card-img img {
    transform: scale(1.05);
    filter: brightness(1.08) saturate(1.08);
}
.news-card .card-body, .product-card .card-body {
    padding: 20px;
    transition: transform 0.35s ease;
}
.news-card:hover .card-body, .product-card:hover .card-body {
    transform: translateY(-2px);
}
.news-card .card-body h3 { font-size: 18px; margin-bottom: 8px; }
.news-card .card-body h3 a { color: var(--card-text); transition: color 0.25s ease; }
.news-card .card-body h3 a:hover { color: var(--neon-blue); }
.news-card .card-body .date {
    font-size: 13px;
    color: rgba(0,212,255,0.75);
    margin-bottom: 8px;
}
.news-card .card-body .summary {
    font-size: 14px;
    color: var(--card-text-dim);
    line-height: 1.6;
    transition: color 0.3s ease;
}
.news-card:hover .card-body .summary {
    color: rgba(220,240,255,0.92);
}

.product-card .card-img {
    height: 220px;
    background: linear-gradient(135deg, #0c1a35 0%, #0f2c4a 55%, #0a3d5c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), filter 0.4s ease;
}
.product-card:hover .card-img img {
    transform: scale(1.06);
    filter: brightness(1.08) saturate(1.12);
}
.product-card .card-body h3 { font-size: 18px; margin-bottom: 6px; }
.product-card .card-body h3 a { color: var(--card-text); transition: color 0.25s ease; }
.product-card .card-body h3 a:hover { color: var(--neon-blue); text-shadow: 0 0 12px rgba(0,212,255,0.45); }
.product-card .card-body .category {
    font-size: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--neon-blue), #0077ff);
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 0 0 10px rgba(0,212,255,0.35);
    letter-spacing: 0.3px;
}
.product-card .card-body .summary {
    font-size: 14px;
    color: var(--card-text-dim);
    line-height: 1.6;
    transition: color 0.3s ease;
}
.product-card:hover .card-body .summary {
    color: rgba(220,240,255,0.92);
}

/* ---------- News List Page ---------- */
.news-list { padding: 40px 0; }
.news-list-item {
    background: linear-gradient(145deg, rgba(13, 27, 51, 0.88), rgba(18, 42, 74, 0.80));
    border: 1px solid rgba(0, 212, 255, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.30);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.news-list-item:hover {
    box-shadow: 0 6px 28px rgba(0, 212, 255, 0.20);
    border-color: rgba(0, 212, 255, 0.45);
}
.news-list-item .news-thumb {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: rgba(0, 212, 255, 0.10);
    overflow: hidden;
}
.news-list-item .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-list-info h3 { font-size: 20px; margin-bottom: 8px; }
.news-list-info h3 a { color: var(--text); }
.news-list-info h3 a:hover { color: var(--primary); }
.news-list-info .meta { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.news-list-info .summary { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ---------- Product Grid Page ---------- */
.product-grid-page { padding: 40px 0; }

/* ---------- Detail Pages ---------- */
.detail-page { padding: 40px 0; }
.detail-page .detail-header { margin-bottom: 30px; }
.detail-page .detail-header h2 { font-size: 28px; margin-bottom: 12px; }
.detail-page .detail-header .meta {
    font-size: 14px;
    color: var(--text-light);
}
.detail-page .detail-cover {
    text-align: center;
    margin-bottom: 30px;
}
.detail-page .detail-cover img {
    max-width: 100%;
    border-radius: var(--radius);
    max-height: 400px;
    object-fit: cover;
}
.detail-page .detail-body {
    background: linear-gradient(145deg, rgba(13, 27, 51, 0.88), rgba(18, 42, 74, 0.80));
    border: 1px solid rgba(0, 212, 255, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px;
    line-height: 2;
    font-size: 16px;
}
.detail-page .detail-body h4 { margin: 20px 0 10px; font-size: 18px; }
.detail-page .detail-body ul { list-style: disc; padding-left: 20px; margin: 10px 0; }
.detail-page .detail-body ul li { margin-bottom: 4px; }

/* ---------- About Page ---------- */
.about-content {
    background: linear-gradient(145deg, rgba(13, 27, 51, 0.88), rgba(18, 42, 74, 0.80));
    border: 1px solid rgba(0, 212, 255, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px;
    line-height: 2;
    font-size: 16px;
}
.about-content p { margin-bottom: 16px; }
.about-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.about-info-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(13, 27, 51, 0.85), rgba(18, 42, 74, 0.75));
    border: 1px solid rgba(0, 212, 255, 0.20);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.about-info-card .icon { font-size: 40px; margin-bottom: 10px; }
.about-info-card h4 { font-size: 20px; color: var(--neon-blue); margin-bottom: 4px; }
.about-info-card p { font-size: 14px; color: var(--text-light); }

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}
.contact-info {
    padding: 40px;
    background: linear-gradient(145deg, rgba(13, 27, 51, 0.88), rgba(18, 42, 74, 0.80));
    border: 1px solid rgba(0, 212, 255, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.30);
    border-radius: var(--radius);
}
.contact-info h3 { margin-bottom: 20px; font-size: 22px; }
.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--text-light);
}
.contact-info .info-item strong { color: var(--text); display: block; margin-bottom: 2px; }

.contact-form {
    padding: 40px;
    background: linear-gradient(145deg, rgba(13, 27, 51, 0.88), rgba(18, 42, 74, 0.80));
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.30);
}
.contact-form h3 { margin-bottom: 20px; font-size: 22px; }

/* ---------- Form Elements ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #b8d4ec;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: rgba(6, 12, 26, 0.55);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(160, 190, 215, 0.5);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15), 0 0 16px rgba(0, 212, 255, 0.30);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.btn {
    display: inline-block;
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, #00a8ff 0%, var(--neon-blue) 45%, var(--neon-cyan) 100%);
    color: #04121f;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #00b8ff 0%, #00e0ff 45%, var(--neon-cyan) 100%);
    box-shadow: 0 0 26px rgba(0, 212, 255, 0.60), 0 4px 18px rgba(0, 255, 213, 0.28);
    transform: translateY(-1px);
}
.btn-block { width: 100%; }

/* alert（深色玻璃风格） */
.alert {
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-success { background: rgba(0, 120, 90, 0.18); color: #7dffd0; border: 1px solid rgba(0, 255, 213, 0.35); }
.alert-error   { background: rgba(190, 40, 60, 0.16); color: #ff9aab; border: 1px solid rgba(255, 80, 100, 0.35); }

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid rgba(0, 212, 255, 0.22);
    color: var(--text);
    background: rgba(13, 27, 51, 0.85);
}
.pagination a:hover {
    background: linear-gradient(135deg, #00a8ff, var(--neon-cyan));
    color: #04121f;
    border-color: transparent;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.45);
}
.pagination span.active {
    background: linear-gradient(135deg, #00a8ff, var(--neon-cyan));
    color: #04121f;
    border-color: transparent;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(8, 15, 32, 0.96);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0, 212, 255, 0.30);
        flex-direction: column;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
        padding: 12px 0;
    }
    .nav.open { display: flex; }
    .nav a { border-radius: 0; padding: 12px 20px; }

    .home-banner { padding: 60px 20px; }
    .home-banner h2 { font-size: 28px; }
    .home-banner p  { font-size: 16px; }

    .footer-inner { grid-template-columns: 1fr; gap: 24px; }

    .news-list-item { flex-direction: column; }
    .news-list-item .news-thumb { width: 100%; height: 180px; }

    .contact-grid { grid-template-columns: 1fr; }

    .detail-page .detail-body { padding: 20px; }

    .card-grid { grid-template-columns: 1fr; }
}


/* ---------- 全局科技感细节 ---------- */
/* 文本选中色 */
::selection {
    background: rgba(0, 212, 255, 0.35);
    color: #ffffff;
}

/* 全局链接/按钮焦点态（键盘可访问性 + 霓虹发光） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.45);
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #060c18; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0a3a66, #0d5f96);
    border-radius: 5px;
    border: 2px solid #060c18;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-blue), #0d5f96);
}
html { scrollbar-width: thin; scrollbar-color: #0d5f96 #060c18; }

/* 表单下拉选项深色 */
.form-group select option {
    background: #0d1b36;
    color: var(--text);
}

/* 旧浏览器优雅降级：不支持 backdrop-filter 时保留不透明深色底 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .header { background: rgba(8, 15, 32, 0.97); }
}
@media (max-width: 768px) {
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        .nav { background: rgba(8, 15, 32, 0.98); }
    }
}
