:root {
    --primary-color: #00f2ff; /* 青色霓虹 */
    --secondary-color: #7000ff; /* 紫色霓虹 */
    --accent-color: #00d4ff;
    --bg-dark: #050b14;
    --bg-card: #0a1525;
    --bg-card-hover: #112240;
    --text-main: #e0e6ed;
    --text-muted: #94a3b8;
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --font-tech: 'Orbitron', sans-serif;
    --font-body: 'Noto Sans SC', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: var(--font-tech);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }

/* 背景动态效果 */
.bg-animation {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(112, 0, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 255, 0.12) 0%, transparent 40%);
    animation: pulseBg 15s infinite alternate;
}

@keyframes pulseBg {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 1; }
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
header {
    background: rgba(5, 11, 20, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 242, 255, 0.15);
    transition: 0.3s;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

.cta-btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.cta-btn.primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    margin-left: 15px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.6);
}

.header-cta {
    display: block;
}

/* 首屏 Hero */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-title {
    font-size: 52px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-btns {
    margin-top: 20px;
}

/* 通用板块样式 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-main);
    margin: 0 auto;
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    margin-top: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* GEO 定义框 */
.geo-content-box {
    background: rgba(10, 21, 37, 0.6);
    border: 1px solid var(--secondary-color);
    padding: 50px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.15);
    backdrop-filter: blur(5px);
}

.geo-content-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--gradient-main);
}

.geo-text {
    font-size: 20px;
    line-height: 1.8;
    color: #fff;
    text-align: justify;
}

.geo-text strong {
    color: var(--primary-color);
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.1);
}

.icon-box {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: rgba(0, 242, 255, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* 百科专区 */
.wiki-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1b2a 100%);
}

.wiki-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 16px;
    color: var(--text-muted);
}

.wiki-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.wiki-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.wiki-item:hover {
    border-color: var(--secondary-color);
    background: rgba(112, 0, 255, 0.1);
    transform: translateY(-5px);
}

.wiki-item i {
    font-size: 36px;
    margin-bottom: 15px;
}

.icon-baidu { color: #2932e1; }
.icon-douyin { color: #fe2c55; }
.icon-360 { color: #1dbf4c; }
.icon-sogou { color: #fb6022; }

.wiki-item h4 { color: #fff; margin-bottom: 8px; font-size: 16px; }
.wiki-item p { color: var(--text-muted); font-size: 13px; }

.wiki-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.detail-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border-top: 3px solid var(--secondary-color);
}

.detail-card h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-card ul li {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 14px;
    padding-left: 20px;
    position: relative;
}

.detail-card ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 案例网格 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.case-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.case-tag {
    display: inline-block;
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 15px;
    font-weight: bold;
}

.case-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
}

.case-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.case-card p strong {
    color: #fff;
}

/* 文章网格 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 12px;
}

.tag-small {
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
}

.date {
    color: var(--text-muted);
}

.article-card h3 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.article-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.read-more:hover {
    gap: 10px;
}

/* 页脚 */
footer {
    background: #020408;
    padding: 70px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 50px;
}

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

.footer-logo {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    display: block;
    font-family: var(--font-tech);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-desc.highlight {
    color: #fff;
    font-weight: 500;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
}

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

.footer-col a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.contact-list i {
    color: var(--primary-color);
    width: 16px;
}

.icp-bar {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 12px;
}

.icp-bar a {
    color: #666;
    margin: 0 5px;
    transition: 0.3s;
}

.icp-bar a:hover {
    color: var(--primary-color);
}

.separator {
    margin: 0 8px;
    color: #444;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .wiki-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(5, 11, 20, 0.98);
        flex-direction: column;
        padding: 40px;
        transition: 0.4s;
        display: flex;
        justify-content: center;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }

    .geo-content-box {
        padding: 30px 20px;
    }
    
    .geo-text {
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-list li {
        justify-content: center;
    }
    
    .wiki-platforms {
        grid-template-columns: 1fr 1fr;
    }
}