/* ========================================
   微点科技官网 - 核心技术页面样式
   全新设计 - 技术生态展示
   ======================================== */

/* Hero Decorations */
.hero-decoration:nth-child(1) {
    top: 15%;
    left: 10%;
}

.hero-decoration:nth-child(2) {
    top: 20%;
    right: 12%;
}

.hero-decoration:nth-child(3) {
    bottom: 25%;
    left: 8%;
}

.hero-decoration:nth-child(4) {
    bottom: 18%;
    right: 10%;
}

/* ========================================
   Technology Ecosystem Section
   ======================================== */
.ecosystem-section {
    background: var(--surface);
    padding: 100px 8%;
}

.ecosystem-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.ecosystem-intro h2 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.ecosystem-intro p {
    font-size: 1.125rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.eco-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--surface-container-lowest);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-ambient);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.eco-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elevated);
}

.eco-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
}

.eco-card.featured .eco-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--on-primary);
}

.eco-card.featured .eco-subtitle,
.eco-card.featured .eco-desc {
    color: rgba(255, 255, 255, 0.85);
}

.eco-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    color: var(--primary);
}

.eco-card.featured .eco-icon {
    color: var(--on-primary);
}

.eco-icon svg {
    width: 100%;
    height: 100%;
}

.eco-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--surface-container-high);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.eco-card h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.eco-subtitle {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.eco-card.featured .eco-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.eco-desc {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

/* ========================================
   Wecode Section - Compact Design
   ======================================== */
.wecode-section {
    background:
        linear-gradient(180deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 102, 255, 0.03) 24%, rgba(0, 102, 255, 0) 48%),
        var(--surface-container-low);
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
}

.wecode-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: min(760px, 92vh);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.022) 44%, rgba(255, 255, 255, 0.008) 72%, transparent 100%),
        radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.072) 0%, rgba(0, 102, 255, 0.03) 38%, transparent 82%);
    opacity: 0.76;
    pointer-events: none;
    z-index: 0;
    animation: wecodeAmbientDrift 16s linear infinite;
}

.wecode-section::after {
    content: '';
    position: absolute;
    top: -140px;
    left: 50%;
    width: min(680px, 78vw);
    height: 420px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 102, 255, 0.16) 0%, rgba(99, 102, 241, 0.1) 35%, transparent 72%);
    filter: blur(18px);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
    animation: wecodeAmbientPulse 9s ease-in-out infinite;
}

/* Dot Grid Canvas Background */
.wecode-section .dot-grid-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.995) 0%, rgba(0, 0, 0, 0.96) 68%, rgba(0, 0, 0, 0.74) 82%, rgba(0, 0, 0, 0.3) 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.995) 0%, rgba(0, 0, 0, 0.96) 68%, rgba(0, 0, 0, 0.74) 82%, rgba(0, 0, 0, 0.3) 92%, transparent 100%);
}

@keyframes wecodeAmbientDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, 10px, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes wecodeAmbientPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(0.96);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.04);
    }
}

/* Ensure content is above canvas but allows mouse events to bubble */
.wecode-section .wecode-header,
.wecode-section .wecode-stats,
.wecode-section .features-compact,
.wecode-section .barriers-inline,
.wecode-section .synergy-block {
    position: relative;
    z-index: 1;
}

.wecode-section>*:not(.dot-grid-canvas) {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.wecode-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wecode-header .desc {
    max-width: 700px;
    margin: 0 auto;
}

.product-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.product-badge.alt {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
}

.product-badge.engine {
    background: linear-gradient(135deg, #059669 0%, #34d399 100%);
}

.wecode-header h2 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.wecode-header h2 span {
    font-size: 1.5rem;
    color: var(--on-surface-muted);
    font-weight: 400;
    margin-left: 0.5rem;
}

.wecode-header .subtitle {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.wecode-header .desc {
    font-size: 1rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
}

/* Stats Row */
.wecode-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    background: var(--surface-container-lowest);
    border: 1px solid rgba(0, 102, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-ambient);
    text-align: center;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -10px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.16) 0%, transparent 72%);
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(0, 102, 255, 0.18);
}

.stat-item:hover::before {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.stat-value {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
}

/* Section Title */
.section-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
    color: var(--on-surface);
}

/* Features Grid Compact */
.features-compact {
    margin-bottom: 4rem;
}

.features-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-item {
    background: var(--surface-container-lowest);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--surface-container-high);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 80, 203, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.feature-text h4 {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
    line-height: 1.5;
}

/* Interactive Demo Block */
.interactive-demo-block {
    margin: 4.5rem auto;
    background: var(--surface-container-lowest);
    border-radius: 20px;
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-elevated);
    border: 1px solid rgba(0, 80, 203, 0.08);
}

.demo-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.demo-header h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--on-surface);
    margin-bottom: 0.75rem;
}

.demo-header p {
    font-size: 0.9375rem;
    color: var(--on-surface-variant);
}

.demo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.demo-vs {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
}

.demo-card {
    flex: 1;
    background: var(--surface-container-low);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    border: 1px dashed rgba(0, 0, 0, 0.05);
}

.demo-card-header {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.demo-card-header .badge {
    font-size: 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-weight: 500;
}

.demo-stage {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-stage:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
}

.wecode-demo .demo-stage:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.code-wrapper {
    width: 100%;
    height: 100%;
    color: var(--on-surface);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 模拟破坏发生时，底层图码的物理受损感（中间保持清晰） */
.demo-stage:hover .code-wrapper {
    filter: opacity(0.85);
    transform: scale(0.98);
}

/* 普通二维码：渲染尺寸固定为 29 的整数倍（116px），
   保证每个 1×1 方块精确对齐屏幕像素，配合 crispEdges 消除发虚 */
.qr-demo .code-wrapper.qr-code {
    width: 116px;
    height: 116px;
    margin: 0 auto;
}

.qr-demo .code-wrapper.qr-code img {
    width: 100%;
    height: 100%;
    display: block;
}

.code-wrapper.we-code {
    color: var(--primary);
}

.damage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 极致方案：内阴影模拟“挖出”感而非“覆盖”感 */
    /* 通过 SVG 滤镜在边缘内部产生阴影，使其看起来像是纸张表面被刮掉露出了白色的底色 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cfilter id='r' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.08' numOctaves='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='6' xChannelSelector='R' yChannelSelector='G' result='rough'/%3E%3CfeOffset in='rough' dx='0.8' dy='0.8' result='off'/%3E%3CfeGaussianBlur in='off' stdDeviation='1' result='blur'/%3E%3CfeComposite in='rough' in2='blur' operator='out' result='sh'/%3E%3CfeFlood flood-color='black' flood-opacity='0.3' result='c'/%3E%3CfeComposite in='c' in2='sh' operator='in' result='shfinal'/%3E%3CfeComposite in='shfinal' in2='rough' operator='over'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23r)' fill='%23ffffff'%3E%3Cpath d='M-10,-10 L170,-10 L190,30 L160,50 L170,70 L120,50 L70,70 L40,50 L-10,30 Z'/%3E%3Cpath d='M-10,210 L120,210 L90,160 L140,130 L110,110 L60,150 L-10,120 Z'/%3E%3Cpath d='M210,-10 L210,210 L170,180 L190,140 L160,100 L180,60 L210,-10 Z'/%3E%3Cpath d='M-10,20 L30,50 L10,80 L40,110 L-10,140 Z'/%3E%3Cpath d='M40,90 L160,150 L155,155 L35,95 Z'/%3E%3Cpath d='M110,40 L60,140 L55,138 L105,38 Z'/%3E%3Ccircle cx='160' cy='160' r='15'/%3E%3Ccircle cx='30' cy='180' r='10'/%3E%3Ccircle cx='20' cy='80' r='8'/%3E%3Ccircle cx='150' cy='40' r='12'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 105% 105%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

.demo-stage:hover .damage-overlay {
    animation: organicTear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes organicTear {
    0% {
        opacity: 0;
        transform: scale(1.2) rotate(-3deg);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}



.scan-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #10b981;
    box-shadow: 0 0 12px #10b981, 0 0 24px #10b981;
    opacity: 0;
    transform: translateY(-10px);
    z-index: 3;
}

.qr-demo .scan-beam {
    background: #ef4444;
    box-shadow: 0 0 12px #ef4444, 0 0 24px #ef4444;
}

/* 正常扫描动效（微点码用，因为抗破坏） */
.wecode-demo .demo-stage:hover .scan-beam {
    animation: scanAnimation 1.5s infinite linear;
    opacity: 1;
}

/* 失败卡顿扫描动效（普通二维码用） */
.qr-demo .demo-stage:hover .scan-beam {
    animation: scanFail 1.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

@keyframes scanAnimation {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(160px);
    }
}

@keyframes scanFail {
    0% {
        transform: translateY(0);
        opacity: 1;
        box-shadow: 0 0 12px #ef4444;
    }

    20% {
        transform: translateY(40px);
        opacity: 0.4;
    }

    30% {
        transform: translateY(35px);
        opacity: 1;
        box-shadow: 0 0 24px #ef4444;
    }

    40% {
        transform: translateY(80px);
        opacity: 0.2;
    }

    50% {
        transform: translateY(75px);
        opacity: 0.8;
    }

    60% {
        transform: translateY(110px);
        opacity: 0;
    }

    100% {
        transform: translateY(160px);
        opacity: 0;
    }
}

.demo-result {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    min-height: 24px;
}

.status-icon {
    width: 20px;
    height: 20px;
    display: none;
}

.status-text {
    display: none;
}

.status-icon.success-icon {
    color: #10b981;
    display: block;
}

.status-text.default {
    display: block;
    color: var(--on-surface-variant);
}

/* Hover States for QR */
.qr-demo .demo-stage:hover~.demo-result .success-icon {
    display: none;
}

.qr-demo .demo-stage:hover~.demo-result .fail-icon {
    display: block;
    color: #ef4444;
}

.qr-demo .demo-stage:hover~.demo-result .default {
    display: none;
}

.qr-demo .demo-stage:hover~.demo-result .damage {
    display: block;
    color: #ef4444;
}

/* Hover States for Wecode */
.wecode-demo .demo-stage:hover~.demo-result .default {
    display: none;
}

.wecode-demo .demo-stage:hover~.demo-result .damage {
    display: block;
    color: #10b981;
}

@media (max-width: 768px) {
    .demo-container {
        flex-direction: column;
    }

    .demo-card {
        width: 100%;
    }

    .demo-vs {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}

/* Barriers Inline */

.barriers-intro {
    font-size: 0.9375rem;
    color: var(--on-surface-variant);
    margin-bottom: 1.5rem;
}

.barriers-row {
    display: flex;
    gap: 1rem;
}

.barrier-item {
    flex: 1;
    background: var(--surface-container-lowest);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.barrier-item:hover {
    background: var(--surface-container-high);
}

.barrier-num {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
}

.barrier-content h4 {
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.barrier-content p {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
}

/* Synergy Block */
.synergy-block {
    margin-top: 4rem;
}

.synergy-intro {
    font-size: 0.9375rem;
    color: var(--on-surface-variant);
    margin-bottom: 1.5rem;
    text-align: center;
}

.synergy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.synergy-card {
    background: var(--surface-container-lowest);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--shadow-ambient);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.synergy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

/* Versus Layout */
.synergy-versus {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.synergy-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.75rem;
    border-radius: 12px;
}

.synergy-side.left {
    background: var(--surface-container-low);
}

.synergy-side.right {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08), rgba(0, 122, 255, 0.04));
    border: 1px solid rgba(0, 122, 255, 0.15);
}

.synergy-side h4 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0.5rem 0 0.375rem;
}

.synergy-side p {
    font-size: 0.75rem;
    color: var(--on-surface-variant);
    line-height: 1.5;
    margin: 0;
}

.synergy-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    flex-shrink: 0;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

/* Icons */
.synergy-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-container-high);
    border-radius: 10px;
    color: var(--on-surface-muted);
}

.synergy-icon.wecode {
    background: var(--primary);
    color: white;
}

.synergy-icon svg {
    width: 18px;
    height: 18px;
}

/* Result */
.synergy-result {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 80%, #6366f1));
    border-radius: 10px;
    color: white;
}

.synergy-result svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.synergy-result span {
    font-size: 0.8125rem;
    line-height: 1.4;
}

.synergy-result strong {
    font-weight: 600;
}

/* Tech Chart Container */
.tech-chart-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 0.5rem;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-chart-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Integrates white-bg charts seamlessly */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.synergy-card:hover .tech-chart-container img {
    transform: scale(1.03);
}

/* Synergy Scene Details */
.synergy-scene {
    background: rgba(0, 80, 203, 0.04);
    border: 1px dashed rgba(0, 80, 203, 0.2);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--on-surface-variant);
    transition: all 0.3s ease;
}

.synergy-card:hover .synergy-scene {
    background: rgba(0, 80, 203, 0.08);
    border-color: rgba(0, 80, 203, 0.3);
}

.scene-icon {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 0.375rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.scene-text {
    font-size: 0.8125rem;
    font-weight: 500;
}

/* ========================================
   Fingerprint Section
   ======================================== */
.fingerprint-section {
    background: var(--surface);
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
}

/* Line Pattern Canvas Background */
.fingerprint-section .line-pattern-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content is above canvas */
.fingerprint-section .fingerprint-grid {
    position: relative;
    z-index: 1;
}

.fingerprint-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.fingerprint-visual {
    background: linear-gradient(135deg, var(--surface-container-low) 0%, var(--surface-container-high) 100%);
    border-radius: 24px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Fingerprint Visual Background Elements */
.fp-visual-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fp-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 80, 203, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 80, 203, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.fp-texture-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0, 80, 203, 0.02) 70%);
}

/* Target Painting Background */
.fp-target-painting {
    position: absolute;
    width: 50%;
    height: 60%;
    left: 25%;
    top: 20%;
    background: var(--surface-container-lowest);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    background-image: repeating-linear-gradient(45deg,
            rgba(0, 80, 203, 0.02) 0px,
            rgba(0, 80, 203, 0.02) 2px,
            transparent 2px,
            transparent 8px), radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0%, #fef3c7 100%);
    opacity: 0.8;
    z-index: 1;
    transform: rotate(-3deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

/* Image wrapper replacing painting texture */
.fp-high-res-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* 聚焦图片上半部分，规避右下角水印 */
    border-radius: 6px;
    mix-blend-mode: darken;
    transition: transform 0.6s ease;
}

.fingerprint-visual:hover .fp-target-painting {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

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

.scan-animation {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-ring {
    position: absolute;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: scanPulse 3s infinite;
}

.scan-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.scan-ring:nth-child(2) {
    width: 140%;
    height: 140%;
    animation-delay: 1s;
}

.scan-ring:nth-child(3) {
    width: 180%;
    height: 180%;
    animation-delay: 2s;
}

@keyframes scanPulse {

    0%,
    100% {
        opacity: 0.1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

.scan-icon {
    font-size: 3rem;
    position: relative;
    z-index: 2;
}

.scan-core {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 80, 203, 0.3);
}

.scan-label {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--on-surface-variant);
    text-align: center;
}

.fp-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 80, 203, 0.08);
    border-radius: 8px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.accuracy-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: var(--surface-container-lowest);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
}

.badge-value {
    margin-left: auto;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-weight: 600;
    color: var(--on-surface);
}

.fingerprint-info h2 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.fingerprint-info .subtitle {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.fingerprint-info .desc {
    font-size: 1rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.fingerprint-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fp-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.fp-item:hover {
    background: var(--surface-container-low);
}

.fp-icon {
    color: var(--primary);
    font-size: 0.875rem;
    margin-top: 0.125rem;
}

.fp-icon svg {
    display: block;
}

.fp-item strong {
    font-size: 0.9375rem;
    display: block;
    margin-bottom: 0.125rem;
}

.fp-item p {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
    line-height: 1.5;
}

/* ========================================
   Engine Section
   ======================================== */
.engine-section {
    background: linear-gradient(180deg, var(--surface-container-low) 0%, var(--surface) 100%);
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
}

/* Neural Network Canvas Background */
.engine-section .neural-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content is above canvas */
.engine-section .engine-header,
.engine-section .engine-capabilities {
    position: relative;
    z-index: 1;
}

.engine-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.engine-header h2 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.engine-header .subtitle {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.engine-header .desc {
    font-size: 1rem;
    color: var(--on-surface-variant);
    line-height: 1.7;
}

.engine-capabilities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.capability-card.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
}

.capability-card {
    background: var(--surface-container-lowest);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-ambient);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-container) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.capability-card:hover::before {
    opacity: 1;
}

.capability-card.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
}

.capability-card.highlight::before {
    display: none;
}

.capability-card.highlight p {
    color: rgba(255, 255, 255, 0.85);
}

.cap-visual {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.cap-number {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.cap-icon {
    color: var(--primary);
}

.capability-card.highlight .cap-number,
.capability-card.highlight .cap-icon {
    color: var(--on-primary);
}

.capability-card h3 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.capability-card p {
    font-size: 0.8125rem;
    color: var(--on-surface-variant);
    line-height: 1.5;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {

    .ecosystem-intro h2,
    .wecode-header h2,
    .fingerprint-info h2,
    .engine-header h2 {
        font-size: 1.875rem;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .eco-card.featured {
        order: -1;
    }

    .features-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .barriers-row {
        flex-wrap: wrap;
    }

    .barrier-item {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .synergy-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .fingerprint-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .fingerprint-visual {
        order: -1;
        height: 300px;
    }

    .engine-capabilities {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .ecosystem-section,
    .wecode-section,
    .fingerprint-section,
    .engine-section {
        padding: 80px 1.5rem;
    }

    .ecosystem-intro h2,
    .wecode-header h2,
    .fingerprint-info h2,
    .engine-header h2 {
        font-size: 1.5rem;
    }

    .eco-card {
        padding: 1.5rem;
    }

    .wecode-stats {
        gap: 1rem;
    }

    .stat-item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: auto;
        padding: 1.25rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .features-grid-compact {
        grid-template-columns: 1fr;
    }

    .barriers-row {
        flex-direction: column;
    }

    .barrier-item {
        flex: 1 1 100%;
    }

    .engine-capabilities {
        grid-template-columns: 1fr;
    }
}