/* 官网首页（企业风格） */
:root {
    --bg0: #0b1220;
    --bg1: #3b4cc0;
    --brand: #4f46e5;
    --brand2: #2563eb;
    --text: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --card: #ffffff;
    --shadow: 0 18px 60px rgba(2, 6, 23, 0.18);
}

.home-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background:
        radial-gradient(1200px 600px at 20% -20%, rgba(79, 70, 229, 0.55), transparent 60%),
        radial-gradient(900px 480px at 85% 10%, rgba(37, 99, 235, 0.45), transparent 55%),
        linear-gradient(180deg, #070b18 0%, #0b1220 48%, #0b1220 100%);
    color: #fff;
    align-items: stretch;
}

/* 顶部导航（背景铺满左右边缘） */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(140%) blur(14px);
    background: rgba(7, 11, 24, 0.82);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.site-header-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 26px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-sizing: border-box;
}
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: #fff;
}
.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, rgba(79, 70, 229, 1), rgba(37, 99, 235, 1));
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.38);
}
.brand-text {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.02em;
}
.brand-badge {
    font-size: 14px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: rgba(255, 255, 255, 0.98);
    letter-spacing: 0.02em;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-nav-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}
.site-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.site-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.site-actions .btn-primary,
.site-actions .btn-ghost {
    padding: 14px 28px;
    font-size: 16px;
    min-height: 50px;
    min-width: 110px;
    justify-content: center;
}
.site-actions .btn-ghost {
    min-width: 96px;
}

/* 按钮（官网专用，不影响后台/登录页） */
.btn-primary,
.btn-ghost,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}
.btn-lg {
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 15px;
}
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, rgba(79, 70, 229, 1), rgba(37, 99, 235, 1));
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.32);
}
.btn-primary:hover {
    filter: brightness(1.05);
}
.btn-ghost {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}
.btn-outline {
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* 主体布局 */
.home-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 72px;
    width: 100%;
    box-sizing: border-box;
}

/* Hero */
.hero {
    padding: 56px 0 28px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
    align-items: center;
    justify-items: stretch;
}
.hero-kicker {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}
.hero-title {
    margin: 0 0 14px;
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: -0.02em;
}
.hero-desc {
    margin: 0 0 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.8;
    max-width: 56ch;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.hero-highlights {
    display: grid;
    gap: 10px;
    padding-top: 6px;
}
.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}
.dot-blue { background: #60a5fa; }
.dot-purple { background: #a78bfa; }
.dot-slate { background: #94a3b8; }

.hero-panel .panel-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.04);
}
.panel-title {
    font-weight: 800;
    font-size: 14px;
}
.panel-pill {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.22);
    border: 1px solid rgba(79, 70, 229, 0.35);
    color: rgba(255, 255, 255, 0.92);
}
.panel-body {
    padding: 12px 12px 6px;
    display: grid;
    gap: 10px;
}
.panel-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.14);
}
.panel-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    flex-shrink: 0;
}
.panel-meta { min-width: 0; }
.panel-name {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 4px;
}
.panel-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.6;
}
.panel-foot {
    padding: 12px 16px 16px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

/* Section */
.section {
    padding: 48px 0;
}
.section-alt {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-left: none;
    border-right: none;
}
.section-head {
    margin-bottom: 18px;
}
.section-head-center {
    text-align: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.section-head-center .section-subtitle {
    text-align: center;
}
.section-title {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.98);
}
.section-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.8;
}

/* 能力卡片 */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}
.cap-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 18px 16px 16px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.18);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.cap-card:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.35);
    background: rgba(255, 255, 255, 0.08);
}
.cap-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.22);
    border: 1px solid rgba(79, 70, 229, 0.30);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 12px;
}
.cap-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 900;
}
.cap-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

/* 场景 */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}
.solution-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}
.solution-card-1::before { background: linear-gradient(180deg, #60a5fa, #3b82f6); }
.solution-card-2::before { background: linear-gradient(180deg, #a78bfa, #8b5cf6); }
.solution-card-3::before { background: linear-gradient(180deg, #34d399, #10b981); }
.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
    border-color: rgba(148, 163, 184, 0.35);
}
.solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.95);
}
.solution-card-1 .solution-icon { background: linear-gradient(135deg, rgba(96, 165, 250, 0.35), rgba(59, 130, 246, 0.25)); }
.solution-card-2 .solution-icon { background: linear-gradient(135deg, rgba(167, 139, 250, 0.35), rgba(139, 92, 246, 0.25)); }
.solution-card-3 .solution-icon { background: linear-gradient(135deg, rgba(52, 211, 153, 0.35), rgba(16, 185, 129, 0.25)); }
.solution-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.01em;
}
.solution-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.72;
}

/* 安全 */
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}
.security-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 18px 16px;
}
.security-title {
    font-weight: 900;
    margin-bottom: 8px;
    font-size: 15px;
}
.security-desc {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.7;
}

/* CTA */
.home-cta {
    padding: 36px 0 20px;
}
.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.22), rgba(37, 99, 235, 0.14));
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
}
.cta-copy {
    min-width: 0;
}
.cta-copy h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.98);
}
.cta-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: stretch;
}
.cta-actions .btn-primary,
.cta-actions .btn-outline {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cta-actions .btn-outline {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.45);
}
.cta-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* FAQ（与产品能力、应用场景等模块统一） */
.faq {
    margin-top: 28px;
    display: grid;
    gap: 16px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.faq-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(148, 163, 184, 0.28);
}
.faq-item[open] {
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.18);
}
.faq-item summary {
    cursor: pointer;
    font-weight: 800;
    font-size: 15px;
    outline: none;
    padding: 18px 20px 18px 48px;
    position: relative;
    list-style: none;
    color: rgba(255, 255, 255, 0.95);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.2s ease;
}
.faq-item[open] summary::before {
    transform: translateY(-50%) rotate(-135deg);
}
.faq-q {
    display: block;
}
.faq-body {
    padding: 0 20px 20px 48px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.78;
}
.faq-item[open] .faq-body {
    padding-top: 4px;
}

/* Footer（背景铺满左右边缘） */
.site-footer {
    width: 100%;
    margin-top: 64px;
    padding: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(7, 11, 24, 0.75);
}
.site-footer-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 20px 28px;
    box-sizing: border-box;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.footer-brand {
    max-width: 320px;
}
.footer-logo {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.98);
}
.footer-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.7;
}
.footer-nav {
    display: flex;
    gap: 48px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: #fff;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
}
.footer-icp {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    text-decoration: none;
}
.footer-icp:hover {
    color: rgba(255, 255, 255, 0.9);
}
.footer-copy {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

/* 响应式 */
@media (max-width: 980px) {
    .site-nav { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .cap-grid,
    .solution-grid,
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-brand { max-width: none; margin: 0 auto; }
    .footer-nav { justify-content: center; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; padding-top: 20px; }
}
/* 手机端：导航只显示 JD，隐藏「极速下载器」「企业版」 */
@media (max-width: 768px) {
    .site-header-inner .brand-text,
    .site-header-inner .brand-badge {
        display: none;
    }
    .site-header-inner .brand {
        gap: 0;
    }
}
@media (max-width: 560px) {
    .site-header-inner { padding: 16px 12px; gap: 16px; }
    .brand-mark { width: 44px; height: 44px; font-size: 15px; }
    .site-header-inner .brand-text,
    .site-header-inner .brand-badge {
        display: none;
    }
    .site-actions .btn-primary,
    .site-actions .btn-ghost { padding: 12px 20px; font-size: 14px; min-height: 44px; }
    .home-main { padding: 0 16px 48px; }
    .hero { padding: 36px 0 20px; }
    .hero-title { font-size: 28px; line-height: 1.2; }
    .hero-desc { font-size: 15px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn-primary,
    .hero-cta .btn-outline { width: 100%; justify-content: center; }
    .cap-grid,
    .solution-grid,
    .security-grid { grid-template-columns: 1fr; }
    .cta-card { flex-direction: column; align-items: stretch; padding: 28px 20px; }
    .cta-card .btn-primary,
    .cta-card .btn-outline { width: 100%; justify-content: center; }
    .site-footer-inner { padding: 32px 16px 24px; }
    .footer-bottom { padding-top: 16px; }
}
@media (max-width: 380px) {
    .site-header-inner { padding: 12px 10px; }
    .brand-mark { width: 38px; height: 38px; font-size: 13px; }
    .brand-text { font-size: 16px; }
    .hero-title { font-size: 24px; }
    .home-main { padding: 0 12px 40px; }
    .section-title { font-size: 20px; }
}

/* 首页滚动条：圆角、细窄，不显块状 */
.home-page {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}
.home-page::-webkit-scrollbar {
    width: 8px;
}
.home-page::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}
.home-page::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.home-page::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
