/* 基础样式 */
:root {
    --primary-color: #0a0a1a;
    --secondary-color: #1a1a3a;
    --accent-color: #00f0ff;
    --accent-color-2: #8a2be2;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--accent-color), var(--accent-color-2));
    --card-bg: rgba(255,255,255,0.04);
    --border-color: rgba(255,255,255,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

a { color: var(--accent-color); text-decoration: none; transition: color .3s; }
a:hover { color: var(--accent-color-2); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ============ 头部导航 ============ */
.header {
    background: rgba(10,10,26,.95);
    backdrop-filter: blur(12px);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(0,240,255,.15);
    padding: 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    gap: 20px;
}

.logo a {
    font-size: 22px; font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav ul { display: flex; gap: 24px; flex-wrap: wrap; }
.nav a { color: var(--text-color); font-size: 14px; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; transition: all .3s; }
.nav a:hover { color: var(--accent-color); border-bottom-color: var(--accent-color); }

.search-box { display: flex; }
.search-box input {
    padding: 7px 12px; width: 180px;
    border: 1px solid rgba(0,240,255,.3);
    background: rgba(255,255,255,.05);
    color: var(--white); border-radius: 4px 0 0 4px;
    outline: none; font-size: 13px;
}
.search-box button {
    padding: 7px 14px;
    background: var(--gradient);
    border: none; color: var(--white);
    border-radius: 0 4px 4px 0;
    cursor: pointer; font-size: 13px;
    white-space: nowrap;
}

/* 面包屑 */
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-color); }

/* ============ Banner ============ */
.banner {
    padding: 90px 0 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,240,255,.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(138,43,226,.12) 0%, transparent 60%),
                var(--primary-color);
    text-align: center;
    position: relative; overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute; inset: 0;
    background: url('/assets/images/banner.jpg') center/cover no-repeat;
    opacity: .18;
}

.banner-content { position: relative; z-index: 1; }

.banner h1 {
    font-size: 52px; font-weight: 900; line-height: 1.2;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px; color: var(--text-muted);
    max-width: 700px; margin: 0 auto 36px;
}

.banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    padding: 14px 36px; border-radius: 6px;
    background: var(--gradient);
    color: var(--white); font-size: 16px; font-weight: 600;
    transition: opacity .3s; cursor: pointer; border: none;
}
.btn-primary:hover { opacity: .85; color: var(--white); }
.btn-outline {
    padding: 14px 36px; border-radius: 6px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color); font-size: 16px; font-weight: 600;
    transition: all .3s; cursor: pointer;
}
.btn-outline:hover { background: rgba(0,240,255,.1); }

/* ============ 通用 Section ============ */
.section { padding: 80px 0; }
.section-alt { background: rgba(255,255,255,.02); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 34px; color: var(--white); margin-bottom: 14px; }
.section-header h2 span { color: var(--accent-color); }
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ============ 视频卡片 ============ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.video-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,240,255,.1);
    border-color: rgba(0,240,255,.3);
}

.video-thumb {
    position: relative; width: 100%; height: 175px;
    background: #000; overflow: hidden;
}
.video-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .85; transition: opacity .3s;
    loading: lazy;
}
.video-card:hover .video-thumb img { opacity: .5; }

.play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 52px; height: 52px;
    background: rgba(0,240,255,.85);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: opacity .3s; cursor: pointer;
}
.play-btn::after {
    content: '';
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid var(--white);
    margin-left: 5px;
}
.video-card:hover .play-btn { opacity: 1; }

.video-badge {
    position: absolute; top: 10px; left: 10px;
    background: rgba(138,43,226,.85);
    color: var(--white); font-size: 11px;
    padding: 3px 8px; border-radius: 3px;
}

.video-info { padding: 18px; }
.video-title { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; line-height: 1.4; }
.video-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.video-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.video-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag {
    font-size: 11px; padding: 2px 8px;
    border: 1px solid rgba(0,240,255,.3);
    border-radius: 3px; color: var(--accent-color);
}

/* ============ 产品矩阵 ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px; padding: 30px;
    transition: all .3s;
}
.product-card:hover {
    border-color: rgba(0,240,255,.4);
    box-shadow: 0 8px 24px rgba(0,240,255,.08);
}
.product-icon { font-size: 40px; margin-bottom: 16px; }
.product-card h3 { font-size: 20px; color: var(--white); margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--text-muted); }

/* ============ 技术引擎 ============ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px; padding: 24px;
    text-align: center; transition: all .3s;
}
.tech-card:hover { border-color: rgba(138,43,226,.4); transform: translateY(-4px); }
.tech-num {
    font-size: 42px; font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}
.tech-card h3 { font-size: 16px; color: var(--white); margin-bottom: 8px; }
.tech-card p { font-size: 13px; color: var(--text-muted); }

/* ============ 解决方案 ============ */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px; overflow: hidden;
    transition: all .3s;
}
.solution-card:hover { border-color: rgba(0,240,255,.3); transform: translateY(-4px); }
.solution-img { height: 160px; overflow: hidden; }
.solution-img img { width: 100%; height: 100%; object-fit: cover; }
.solution-body { padding: 22px; }
.solution-body h3 { font-size: 18px; color: var(--white); margin-bottom: 10px; }
.solution-body p { font-size: 14px; color: var(--text-muted); }

/* ============ 流程步骤 ============ */
.process-list {
    display: flex; gap: 0;
    flex-wrap: wrap; justify-content: center;
}
.process-step {
    flex: 1; min-width: 160px; max-width: 200px;
    text-align: center; padding: 30px 20px;
    position: relative;
}
.process-step:not(:last-child)::after {
    content: '→';
    position: absolute; right: -10px; top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color); font-size: 20px;
}
.step-num {
    width: 50px; height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 20px; font-weight: 700; color: var(--white);
    margin: 0 auto 16px;
}
.process-step h3 { font-size: 16px; color: var(--white); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-muted); }

/* ============ 案例 ============ */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.case-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px; padding: 28px;
    transition: all .3s;
}
.case-card:hover { border-color: rgba(0,240,255,.3); }
.case-tag {
    display: inline-block;
    font-size: 12px; padding: 3px 10px;
    background: rgba(0,240,255,.1);
    border: 1px solid rgba(0,240,255,.3);
    border-radius: 3px; color: var(--accent-color);
    margin-bottom: 14px;
}
.case-card h3 { font-size: 18px; color: var(--white); margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.case-result { font-size: 13px; color: var(--accent-color); font-weight: 600; }

/* ============ 动态新闻 ============ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.news-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px; overflow: hidden;
    transition: all .3s;
}
.news-card:hover { border-color: rgba(0,240,255,.3); transform: translateY(-4px); }
.news-card-img { height: 160px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 20px; }
.news-date { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.news-card h3 { font-size: 16px; color: var(--white); margin-bottom: 8px; line-height: 1.4; }
.news-card p { font-size: 13px; color: var(--text-muted); }

/* ============ 用户评论 ============ */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.review-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px; padding: 24px;
    border-left: 3px solid var(--accent-color);
    transition: all .3s;
}
.review-card:hover { border-color: var(--accent-color); box-shadow: 0 4px 16px rgba(0,240,255,.08); }
.review-stars { color: #ffd700; margin-bottom: 12px; font-size: 14px; }
.review-text { font-size: 14px; color: var(--text-muted); font-style: italic; margin-bottom: 16px; line-height: 1.6; }
.review-author { font-weight: 700; color: var(--accent-color); font-size: 14px; }
.review-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ============ FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px; margin-bottom: 12px;
    overflow: hidden;
}
.faq-q {
    padding: 18px 22px;
    font-size: 16px; font-weight: 600; color: var(--white);
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: background .3s;
}
.faq-q:hover { background: rgba(0,240,255,.05); }
.faq-q::after { content: '+'; font-size: 20px; color: var(--accent-color); }
.faq-q.open::after { content: '−'; }
.faq-a { padding: 0 22px 18px; color: var(--text-muted); font-size: 14px; display: none; line-height: 1.7; }

/* ============ 联系我们 ============ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px; padding: 24px;
    text-align: center; transition: all .3s;
}
.contact-card:hover { border-color: rgba(0,240,255,.3); }
.contact-icon { font-size: 32px; margin-bottom: 12px; }
.contact-card h3 { font-size: 15px; color: var(--white); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--text-muted); }

/* ============ 页脚 ============ */
.footer {
    background: #05050f;
    padding: 60px 0 24px;
    border-top: 1px solid var(--border-color);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px; margin-bottom: 40px;
}
.footer-col h3 { color: var(--white); margin-bottom: 18px; font-size: 16px; }
.footer-col p, .footer-col li { color: var(--text-muted); margin-bottom: 8px; font-size: 14px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--accent-color); }
.footer-bottom {
    text-align: center; padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted); font-size: 13px;
}
.footer-bottom p { margin-bottom: 6px; }

/* ============ 内页通用 ============ */
.page-hero {
    padding: 60px 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,240,255,.1) 0%, transparent 60%),
                var(--primary-color);
    text-align: center; border-bottom: 1px solid var(--border-color);
}
.page-hero h1 { font-size: 40px; color: var(--white); margin-bottom: 14px; }
.page-hero h1 span { color: var(--accent-color); }
.page-hero p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
    .nav ul { gap: 14px; }
    .banner h1 { font-size: 34px; }
    .section-header h2 { font-size: 26px; }
    .process-step:not(:last-child)::after { display: none; }
}

@media (max-width: 600px) {
    .banner h1 { font-size: 26px; }
    .banner p { font-size: 15px; }
    .search-box input { width: 120px; }
    .nav ul { gap: 10px; }
    .nav a { font-size: 12px; }
}
