/* ===== 产品页全新样式 ===== */

.prod-hero {
    padding: 100px 0;
    background-image: url('/static/image/hero-bg1.png');
    background-size: cover;
    background-position: center;
    color: #1a1a2e;
    text-align: center;
}

.prod-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(26, 26, 46, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 24px;
    border: 1px solid rgba(26, 26, 46, 0.15);
}

.prod-hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.prod-hero-desc {
    font-size: 18px;
    color: #333;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.prod-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.prod-btn-main {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.prod-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.4);
}

.prod-btn-sub {
    display: inline-block;
    padding: 16px 40px;
    background: rgba(26, 26, 46, 0.08);
    color: #1a1a2e;
    border: 1px solid rgba(26, 26, 46, 0.2);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.prod-btn-sub:hover {
    background: rgba(26, 26, 46, 0.15);
    border-color: rgba(26, 26, 46, 0.3);
}

.prod-platforms {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.prod-platforms-label {
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.prod-platforms-list {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.prod-platform-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #334155;
    font-weight: 500;
}

.prod-platform-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.prod-section-head {
    text-align: center;
    margin-bottom: 48px;
}

.prod-section-head h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.prod-section-head p {
    font-size: 17px;
    color: #64748b;
}

.prod-section-head.light h2 {
    color: #fff;
}

.prod-section-head.light p {
    color: #94a3b8;
}

.prod-features {
    padding: 80px 0;
    background: #f8fafc;
}

.prod-features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prod-feature-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 48px;
    transition: all 0.3s;
}

.prod-feature-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.prod-tab-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.prod-tab-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.prod-tab-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 32px;
}

.prod-tab-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prod-tab-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}

.prod-tab-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.prod-tab-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    position: relative;
    margin-top: 2px;
}

.prod-tab-check::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 8px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.prod-tab-item strong {
    display: block;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 4px;
}

.prod-tab-item span {
    font-size: 13px;
    color: #94a3b8;
}

.prod-tab-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.prod-score-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 360px;
    overflow: hidden;
}

.prod-score-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.prod-score-body {
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.prod-score-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(#6366f1 0deg 280deg, #e2e8f0 280deg 360deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.prod-score-ring::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
}

.prod-score-value {
    font-size: 28px;
    font-weight: 700;
    color: #6366f1;
    position: relative;
    z-index: 1;
}

.prod-score-label {
    font-size: 11px;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}

.prod-score-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prod-score-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.prod-score-bar > span {
    width: 60px;
    color: #64748b;
    flex-shrink: 0;
}

.prod-score-bar > em {
    width: 24px;
    text-align: right;
    color: #0f172a;
    font-weight: 600;
    font-style: normal;
}

.prod-bar {
    flex: 1;
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
}

.prod-bar > div {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 3px;
}

.prod-score-grade {
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 14px;
    color: #64748b;
    text-align: center;
}

.prod-score-grade span {
    color: #6366f1;
    font-weight: 700;
    font-size: 16px;
}

.prod-platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 320px;
}

.prod-pf-card {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    text-align: center;
    transition: all 0.3s;
}

.prod-pf-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.prod-pf-card.active {
    border-color: #6366f1;
}

.prod-pf-name {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
}

.prod-pf-score {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.prod-pf-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 10px;
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
}

.prod-pf-card.active .prod-pf-status {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
}

.prod-compare-chart {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prod-compare-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prod-compare-label {
    width: 70px;
    font-size: 12px;
    color: #64748b;
    flex-shrink: 0;
    text-align: right;
}

.prod-compare-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prod-compare-bar {
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    transition: all 0.4s ease;
}

.prod-compare-bar.your {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.prod-compare-bar.rival {
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}

.prod-source-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 420px;
}

.prod-source-step {
    text-align: center;
    flex: 1;
}

.prod-source-num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    margin: 0 auto 10px;
}

.prod-source-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.prod-source-desc {
    font-size: 11px;
    color: #94a3b8;
}

.prod-source-arrow {
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    position: relative;
    flex-shrink: 0;
}

.prod-source-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid #8b5cf6;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.prod-source-node-highlight {
    margin-top: 28px;
    padding: 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
    animation: prod-source-pulse 3s ease-in-out infinite;
}

@keyframes prod-source-pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(99, 102, 241, 0.6);
    }
}

.prod-source-node-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
}

.prod-source-node-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.prod-source-node-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.prod-source-node-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.prod-source-node-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.prod-source-node-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.95);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.prod-source-node-benefit:last-child {
    border-bottom: none;
}

.prod-source-node-benefit-icon {
    font-size: 14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.prod-source-node-card .prod-tab-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-source-node-card .prod-source-node-highlight {
    margin-top: 0;
    width: 100%;
    max-width: 360px;
}

.prod-kb-structure {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.prod-kb-node {
    padding: 12px 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.prod-kb-node.root {
    padding: 16px 40px;
    font-size: 16px;
}

.prod-kb-children {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
}

.prod-kb-children .prod-kb-node {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    font-size: 12px;
    padding: 10px 8px;
}

.prod-kb-leaves {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: 100%;
}

.prod-kb-leaf {
    padding: 8px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 11px;
    color: #64748b;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.prod-steps {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.prod-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.prod-steps-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    justify-content: center;
}

.prod-step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    width: 220px;
    transition: all 0.3s;
    position: relative;
}

.prod-step-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.prod-step-num {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.prod-step-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 auto 20px;
}

.prod-step-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.prod-step-card p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
}

.prod-step-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    align-self: center;
    position: relative;
}

.prod-step-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid rgba(139, 92, 246, 0.3);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.prod-metrics {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

.prod-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.prod-metric-value {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.prod-metric-label {
    font-size: 15px;
    color: #64748b;
}

@media (max-width: 1024px) {
    .prod-tab-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .prod-tab-visual {
        order: -1;
    }

    .prod-feature-card {
        padding: 32px;
    }

    .prod-steps-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .prod-step-connector {
        display: none;
    }

    .prod-step-card {
        width: calc(50% - 10px);
    }
}

.prod-source-network {
    width: 100%;
    max-width: 360px;
    height: 280px;
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    overflow: hidden;
}

.prod-network-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.prod-network-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.prod-network-center-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    animation: prod-center-pulse 2s ease-in-out infinite;
}

@keyframes prod-center-pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 36px rgba(99, 102, 241, 0.6);
        transform: scale(1.05);
    }
}

.prod-network-center-label {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-top: 8px;
}

.prod-network-center-badge {
    padding: 3px 12px;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    margin-top: 4px;
}

.prod-network-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s;
    z-index: 5;
    transform: translate(-50%, -50%);
}

.prod-network-node:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.6);
}

.prod-network-node-icon {
    font-size: 16px;
}

.prod-network-node span {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}

.prod-network-node.node-1 {
    top: 12.5%;
    left: 50%;
}

.prod-network-node.node-2 {
    top: 28.6%;
    left: 84.7%;
}

.prod-network-node.node-3 {
    top: 71.4%;
    left: 84.7%;
}

.prod-network-node.node-4 {
    top: 87.5%;
    left: 50%;
}

.prod-network-node.node-5 {
    top: 71.4%;
    left: 15.3%;
}

.prod-network-node.node-6 {
    top: 28.6%;
    left: 15.3%;
}

.prod-distribution-info {
    width: 100%;
    max-width: 360px;
    margin-top: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.prod-distribution-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    text-align: center;
}

.prod-distribution-stats {
    display: flex;
    justify-content: space-around;
}

.prod-dist-stat {
    text-align: center;
}

.prod-dist-value {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prod-dist-label {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.prod-source-node-card .prod-tab-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

@media (max-width: 768px) {
    .prod-hero {
        padding: 80px 0 60px;
    }

    .prod-hero-title {
        font-size: 32px;
    }

    .prod-hero-desc {
        font-size: 15px;
    }

    .prod-feature-card {
        padding: 24px;
    }

    .prod-section-head h2 {
        font-size: 28px;
    }

    .prod-steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .prod-step-card {
        width: 100%;
        max-width: 300px;
    }

    .prod-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .prod-metric-value {
        font-size: 32px;
    }

    .prod-source-flow {
        flex-direction: column;
        gap: 16px;
    }

    .prod-source-arrow {
        transform: rotate(90deg);
    }

    .prod-kb-children,
    .prod-kb-leaves {
        grid-template-columns: repeat(2, 1fr);
    }

    .prod-platform-grid {
        max-width: 100%;
    }

    .prod-network-node span {
        font-size: 9px;
    }

    .prod-network-node.node-5,
    .prod-network-node.node-6 {
        display: none;
    }
}
