/* ==================== 技术平台页面专用样式 ==================== */

/* Hero 区域 */
.tech-hero {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: white;
    padding: 200px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.tech-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #6ee7b7;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.tech-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.tech-hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    font-weight: 400;
}

.tech-hero-desc {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.tech-hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.0625rem;
}

.btn-outline:hover {
    background: white;
    color: #0f172a;
    border-color: white;
}

.btn.large {
    padding: 1.25rem 3.5rem;
    font-size: 1.125rem;
}

/* Hero 统计卡片 */
.tech-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
    margin-top: 4rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6ee7b7 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
}

/* 平台能力概览 */
.platform-capabilities {
    padding: 8rem 0;
    background: #f8fafc;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.capability-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #10b981;
}

.capability-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.capability-card h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.capability-card p {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* 技术架构 */
.tech-architecture {
    padding: 8rem 0;
    background: white;
}

.architecture-diagram {
    max-width: 1100px;
    margin: 0 auto;
}

.arch-layer {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.arch-layer:hover {
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.arch-layer.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    border-color: #10b981;
}

.layer-label {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.layer-desc {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.layer-components {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.layer-components.grid-wide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.arch-component {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    text-align: center;
    transition: all 0.3s ease;
}

.arch-component:hover {
    background: #10b981;
    color: white;
    border-color: #10b981;
    transform: scale(1.05);
}

.arch-component.large {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.arch-arrow {
    text-align: center;
    font-size: 2rem;
    color: #94a3b8;
    margin: 1rem 0;
    line-height: 1;
}

/* 核心技术 */
.core-tech {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.tech-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.tech-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tech-icon {
    font-size: 3.5rem;
}

.tech-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
}

.tech-body {
    padding: 2.5rem;
}

.tech-body p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tags li {
    background: #f1f5f9;
    color: #475569;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-item {
    color: #059669;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem;
    background: #ecfdf5;
    border-radius: 6px;
    text-align: center;
}

/* 设备生态 */
.device-ecosystem {
    padding: 8rem 0;
    background: white;
}

.ecosystem-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.flow-step {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.step-label {
    font-weight: 600;
    color: #1e293b;
}

.flow-arrow {
    font-size: 2rem;
    color: #94a3b8;
}

.device-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.device-category {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.device-category:hover {
    background: white;
    border-color: #10b981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    transform: translateY(-4px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.device-category h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.device-category ul {
    list-style: none;
}

.device-category li {
    color: #64748b;
    font-size: 0.875rem;
    padding: 0.375rem 0;
}

/* 技术优势 */
.tech-advantages {
    padding: 8rem 0;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: white;
}

.tech-advantages .section-title,
.tech-advantages .section-subtitle {
    color: white;
}

.tech-advantages .section-subtitle {
    color: #94a3b8;
}

.advantages-list {
    max-width: 900px;
    margin: 0 auto;
}

.advantage-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateX(8px);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6ee7b7 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.advantage-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.advantage-content p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.advantage-metrics {
    display: flex;
    gap: 3rem;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #6ee7b7;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* CTA 区域 */
.tech-cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: white;
    text-align: center;
}

.tech-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.tech-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .tech-hero-title {
        font-size: 2.5rem;
    }

    .tech-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .tech-grid {
        grid-template-columns: 1fr;
    }

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

    .layer-components.grid-wide {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .tech-hero-title {
        font-size: 2rem;
    }

    .tech-hero-subtitle {
        font-size: 1.125rem;
    }

    .tech-hero-desc {
        font-size: 1rem;
    }

    .tech-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .tech-hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.5rem;
    }

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

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

    .layer-components {
        flex-direction: column;
    }

    .layer-components.grid-wide {
        grid-template-columns: 1fr;
    }

    .arch-component {
        width: 100%;
    }

    .ecosystem-flow {
        flex-direction: column;
    }

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

    .device-categories {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .advantage-number {
        font-size: 2rem;
    }

    .advantage-metrics {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-hero-content,
.stat-card,
.capability-card,
.tech-card,
.device-category,
.advantage-item {
    animation: fadeInUp 0.6s ease-out;
}

.tech-hero-content {
    animation-delay: 0.1s;
}

.stat-card:nth-child(1) { animation-delay: 0.2s; }
.stat-card:nth-child(2) { animation-delay: 0.3s; }
.stat-card:nth-child(3) { animation-delay: 0.4s; }
.stat-card:nth-child(4) { animation-delay: 0.5s; }
