/* ============================================
   GEO AI 搜索优化 - 前端样式
   AI / 高端 / 科技感 / 深空蓝紫渐变
============================================ */

:root {
    --bg-deep: #050816;
    --bg-darker: #0a0e27;
    --bg-card: rgba(15, 23, 42, 0.6);
    --border: rgba(99, 102, 241, 0.2);
    --border-strong: rgba(99, 102, 241, 0.4);
    --primary: #6366f1;
    --primary-light: #818cf8;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --pink: #ec4899;
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --text-soft: #cbd5e1;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-2: linear-gradient(135deg, #ec4899 0%, #6366f1 50%, #06b6d4 100%);
    --gradient-soft: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(6,182,212,0.15) 100%);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--accent); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ============ 背景层 ============ */
#particleCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 80%);
}

/* ============ Header ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(5, 8, 22, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }.logo-icon {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    background: var(--gradient-1);
    border-radius: 10px;
    font-weight: 800;
    color: #fff;
    box-shadow: var(--shadow-glow);
}
.logo-text { font-size: 18px; background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-img { height: 40px; width: auto; max-width: 190px; object-fit: contain; display: block; filter: drop-shadow(0 0 8px rgba(99,102,241,.35)); }
.logo-img-footer { height: 38px; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a { color: var(--text-soft); font-size: 14px; font-weight: 500; }
.nav-menu a:hover { color: #fff; }
.nav-menu .nav-cta {
    padding: 8px 18px;
    background: var(--gradient-1);
    border-radius: 8px;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }
.nav-admin {
    opacity: .55;
    font-size: 13px !important;
    transition: opacity .2s;
}
.nav-admin:hover { opacity: 1; color: #fff !important; }

/* ============ Hero ============ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    z-index: 2;
}
.hero-bg-gradient {
    position: absolute;
    top: -20%;
    left: 50%;
    width: 1400px;
    height: 1400px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(6, 182, 212, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.18) 0%, transparent 40%);
    filter: blur(60px);
    z-index: -1;
    animation: heroGradient 20s ease-in-out infinite;
}
@keyframes heroGradient {
    0%, 100% { transform: translateX(-50%) rotate(0); }
    50%      { transform: translateX(-50%) rotate(180deg) scale(1.1); }
}

.hero-content { text-align: center; position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.hero-badge .dot {
    width: 8px; height: 8px; background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientMove 6s ease infinite;
}
@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-dim);
    max-width: 820px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all .3s;
    cursor: pointer;
    border: 0;
}
.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--primary-light); }

/* Platforms */
.platforms { margin-top: 60px; }
.platforms-label {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 0.05em;
}
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.platform-card {
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all .3s;
    cursor: default;
}
.platform-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.1);
}
.platform-icon {
    width: 50px; height: 50px;
    margin: 0 auto 12px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: grid; place-items: center;
    color: #fff; font-weight: 700; font-size: 14px;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}
.platform-logo {
    width: 50px; height: 50px;
    margin: 0 auto 12px;
    border-radius: 12px;
    overflow: hidden;
    display: grid; place-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.platform-logo img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform .3s;
}
.platform-card:hover .platform-logo img { transform: scale(1.1); }
.platform-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.platform-desc { font-size: 12px; color: var(--text-dim); line-height: 1.5; }

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    font-size: 12px;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============ Section 通用 ============ */
.section { padding: 100px 0; position: relative; z-index: 2; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background: var(--gradient-1);
    border-radius: 100px;
}
.section-subtitle {
    color: var(--text-dim);
    font-size: 16px;
    margin-top: 24px;
}

/* ============ Advantage ============ */
.advantage { background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.03) 100%); }
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.adv-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all .4s;
    overflow: hidden;
}
.adv-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
}
.adv-card:hover .adv-glow { opacity: 1; }
.adv-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.25), transparent 60%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.adv-num {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}
.adv-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.adv-card p { color: var(--text-dim); font-size: 14px; line-height: 1.7; }

/* ============ Cases ============ */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    position: relative;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all .4s;
    animation: cardIn .6s ease backwards;
    animation-delay: calc(var(--i) * 0.1s);
    overflow: hidden;
}
@keyframes cardIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.case-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-light);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.3);
}
.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-soft);
    color: var(--accent-light);
    font-size: 12px;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.case-card h3 { font-size: 18px; margin-bottom: 12px; }
.case-summary { color: var(--text-soft); font-size: 14px; margin-bottom: 12px; }
.case-detail { color: var(--text-dim); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.case-arrow {
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
    transition: transform .3s;
}
.case-card:hover .case-arrow { transform: translateX(8px); }

/* ============ Agents ============ */
.agents { background: linear-gradient(180deg, rgba(236, 72, 153, 0.03) 0%, transparent 100%); }
.agents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.agent-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all .4s;
    animation: cardIn .6s ease backwards;
    animation-delay: calc(var(--i) * 0.1s);
    position: relative;
}
.agent-card:hover {
    transform: translateY(-6px);
    border-color: var(--pink);
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.2);
}
.agent-region {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(236, 72, 153, 0.15);
    color: var(--pink);
    font-size: 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.agent-card h3 { font-size: 20px; margin-bottom: 12px; }
.agent-summary { color: var(--accent-light); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.agent-detail { color: var(--text-dim); font-size: 13px; line-height: 1.7; }
.agents-cta { text-align: center; }
.agents-cta p { color: var(--text-dim); margin-bottom: 20px; font-size: 16px; }

/* ============ News ============ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all .4s;
    cursor: pointer;
    animation: cardIn .6s ease backwards;
    animation-delay: calc(var(--i) * 0.1s);
}
.news-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.2);
}
.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 12px;
}
.news-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}
.news-link { color: var(--accent-light); font-size: 14px; font-weight: 600; }

/* ============ FAQ ============ */
.faq { background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.03) 100%); }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: border-color .3s;
}
.faq-item[open] { border-color: var(--primary-light); }
.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 16px; font-weight: 600; flex: 1; }
.faq-toggle {
    width: 28px; height: 28px;
    background: var(--gradient-soft);
    border-radius: 8px;
    display: grid; place-items: center;
    color: var(--primary-light);
    font-size: 18px;
    transition: transform .3s;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-a {
    padding: 0 24px 20px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.8;
}

/* ============ About ============ */
.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-info .section-title { text-align: left; display: block; margin-bottom: 30px; }
.about-info .section-title::after { left: 0; transform: none; }
.about-info p {
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 40px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat {
    text-align: center;
    padding: 20px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    backdrop-filter: blur(10px);
}
.stat-num {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 12px;
    color: var(--text-dim);
}

.about-visual {
    position: relative;
    height: 400px;
}
.orb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at 30% 30%, #818cf8 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, #06b6d4 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, #ec4899 0%, transparent 40%);
    filter: blur(20px);
    animation: orbRotate 20s linear infinite;
}
.orb::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: radial-gradient(circle, transparent 40%, rgba(99, 102, 241, 0.1) 60%, transparent 80%);
}
@keyframes orbRotate {
    from { transform: translate(-50%, -50%) rotate(0); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============ Contact ============ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}
.contact-card {
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all .3s;
    cursor: pointer;
}
.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}
.contact-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.contact-label {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 8px;
}
.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}
.contact-value.small { font-size: 13px; }

.qr-wrap {
    display: flex;
    justify-content: center;
}
.qr-card {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
    box-shadow: var(--shadow-glow);
}
.qr-box {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin: 0 auto 16px;
    display: grid; place-items: center;
}
.qr-box img { width: 100%; height: 100%; }
.qr-tip {
    color: var(--text-soft);
    font-size: 14px;
    margin-top: 4px;
}
.qr-tip.small {
    font-size: 12px;
    color: var(--text-dim);
}

/* ============ Footer ============ */
.footer {
    background: rgba(5, 8, 22, 0.5);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 60px;
    position: relative; z-index: 2;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-desc {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 320px;
}
.footer h4 {
    font-size: 15px;
    margin-bottom: 16px;
    color: #fff;
}
.footer a, .footer p {
    display: block;
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 8px;
    transition: color .25s;
}
.footer a:hover { color: var(--accent-light); }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-dim);
    font-size: 12px;
}
.footer-bottom a.footer-icp {
    color: var(--text-dim);
    text-decoration: none;
    transition: color .25s;
}
.footer-bottom a.footer-icp:hover { color: var(--accent-light); }

/* ============ Floating CTA ============ */
.floating-cta {
    position: fixed;
    right: 24px;
    bottom: 30px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: #fff;
    border: 0;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
    transition: transform .3s;
}
.float-btn:hover { transform: scale(1.1); }

.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}
.qr-modal.show { display: flex; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.qr-modal-inner {
    position: relative;
    padding: 30px;
    background: var(--bg-darker);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    text-align: center;
    max-width: 280px;
}
.qr-modal-inner img { width: 200px; height: 200px; background: #fff; padding: 12px; border-radius: 12px; }
.qr-modal-inner p { color: var(--text-soft); margin-top: 12px; }
.qr-modal-inner .small { font-size: 12px; color: var(--text-dim); }
.qr-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: 0;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .platforms-grid { grid-template-columns: repeat(4, 1fr); }
    .advantage-grid, .cases-grid, .agents-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-wrap { grid-template-columns: 1fr; }
    .about-visual { height: 300px; }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .logo { gap: 8px; }
    .logo-img { max-width: 120px; height: 32px; }
    .logo-img-footer { height: 32px; }
    .logo-text { font-size: 15px; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg-darker); padding: 20px; gap: 16px; }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: block; }
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-grid, .cases-grid, .agents-grid, .news-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .hero { padding-top: 120px; }
    .section { padding: 70px 0; }
}

/* ==================== 文章详情页（AI 高端科技风） ==================== */
.article-page {
    position: relative;
    z-index: 2;
    padding: 140px 0 80px;
    min-height: 70vh;
}
.article-wrap { max-width: 900px; }

/* ---- 阅读进度条 ---- */
.article-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--gradient-1);
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.7);
    z-index: 999;
    border-radius: 0 3px 3px 0;
}

/* ---- 玻璃拟态主容器 ---- */
.article-card {
    position: relative;
    background: linear-gradient(165deg, rgba(17, 25, 49, 0.78) 0%, rgba(8, 12, 32, 0.92) 100%);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(99, 102, 241, 0.24);
    border-radius: 24px;
    padding: 52px 56px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}
/* 顶部流光线条 */
.article-card::before {
    content: '';
    position: absolute;
    top: 0; left: 8%; right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #818cf8 30%, #22d3ee 60%, #ec4899 85%, transparent);
    border-radius: 2px;
}
/* 角落光晕装饰 */
.article-glow {
    position: absolute;
    top: -150px; right: -150px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 65%);
    pointer-events: none;
}
.article-glow::after {
    content: '';
    position: absolute;
    left: -220px; top: 170px;
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.14), transparent 65%);
    pointer-events: none;
}

/* ---- 面包屑 ---- */
.article-breadcrumb {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 22px;
}
.article-breadcrumb a {
    color: var(--text-dim);
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.18);
    transition: all .3s ease;
}
.article-breadcrumb a:hover {
    color: #fff;
    border-color: var(--primary-light);
    background: rgba(99, 102, 241, 0.2);
}
.article-breadcrumb .crumb-sep { color: var(--primary-light); opacity: .6; }
.article-breadcrumb .crumb-now { color: var(--text-soft); }

/* ---- 标题 ---- */
.article-title {
    position: relative;
    font-size: clamp(24px, 3.4vw, 40px);
    line-height: 1.35;
    font-weight: 800;
    background: linear-gradient(120deg, #fff 20%, #c7d2fe 55%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 22px;
    text-shadow: 0 8px 40px rgba(99, 102, 241, 0.15);
}

/* ---- 元信息徽章 ---- */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.16);
    margin-bottom: 30px;
}
.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 15px;
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--text-soft);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.meta-tag {
    color: #67e8f9;
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(6, 182, 212, 0.12);
}

/* ---- 封面图（渐变描边） ---- */
.article-cover {
    position: relative;
    border-radius: 18px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.65), rgba(6, 182, 212, 0.5) 50%, rgba(236, 72, 153, 0.4));
    margin: 0 0 34px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.article-cover img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

/* ---- 正文 ---- */
.article-content {
    position: relative;
    font-size: 16px;
    line-height: 2;
    color: #dbe2f0;
}
.article-content p { margin-bottom: 20px; }
.article-content strong { color: #fff; }
.article-content h2 {
    font-size: 23px;
    line-height: 1.5;
    margin: 40px 0 18px;
    padding: 12px 16px;
    color: #fff;
    border-left: 3px solid;
    border-image: linear-gradient(180deg, #818cf8, #22d3ee) 1;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.16), transparent 80%);
    border-radius: 0 10px 10px 0;
}
.article-content h3 {
    font-size: 18px;
    color: #fff;
    margin: 32px 0 14px;
    line-height: 1.5;
}
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 10px; }
.article-content li::marker { color: var(--accent); }
.article-content blockquote {
    position: relative;
    margin: 0 0 24px;
    padding: 18px 24px 18px 28px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    color: var(--text-soft);
}
.article-content blockquote::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gradient-1);
    border-radius: 3px 0 0 3px;
}
.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 14px 0;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.article-content a {
    color: var(--accent-light);
    border-bottom: 1px dashed rgba(34, 211, 238, 0.5);
}
.article-content code {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--accent-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.article-empty { color: var(--text-dim); }

/* ---- 上一篇 / 下一篇（玻璃卡片 + 悬浮光效） ---- */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 44px 0 22px;
}
.article-nav a {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(99, 102, 241, 0.18);
    transition: all .35s ease;
}
.article-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s;
    background: radial-gradient(140px 60px at 50% 0%, rgba(99, 102, 241, 0.25), transparent 70%);
    pointer-events: none;
}
.article-nav a:hover {
    border-color: rgba(99, 102, 241, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4), 0 0 24px rgba(99, 102, 241, 0.15);
}
.article-nav a:hover::before { opacity: 1; }
.article-nav-prev { text-align: left; }
.article-nav-next { text-align: right; align-items: flex-end; }
.article-nav .nav-label { font-size: 12px; color: var(--text-dim); letter-spacing: .5px; }
.article-nav .nav-title {
    font-size: 14.5px;
    color: #fff;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-back { text-align: center; margin-top: 10px; }

/* ---- 文章不存在（404） ---- */
.article-notfound { position: relative; text-align: center; padding: 50px 0; }
.notfound-code {
    display: block;
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #818cf8, #22d3ee 60%, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 30px rgba(99, 102, 241, 0.35));
    margin-bottom: 16px;
}
.article-notfound h1 { font-size: 24px; color: #fff; margin-bottom: 12px; }
.article-notfound p { color: var(--text-dim); margin-bottom: 30px; }

@media (max-width: 768px) {
    .article-card { padding: 34px 24px; border-radius: 18px; }
    .article-nav { grid-template-columns: 1fr; }
    .article-page { padding-top: 112px; }
}
