/* =====================================================
   API Shanhe Cloud - 科技感首页样式
   完整的科技风格设计系统
   ===================================================== */

/* ========== 全局变量 ========== */

:root {
    --primary-blue: #2196F3;
    --primary-cyan: #00BCD4;
    --primary-orange: #ff6b35;
    --tech-dark: #0a0e27;
    --tech-purple: #1a1f3a;
    --tech-gradient: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* ========== 全局重置 ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--tech-dark);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ========== 顶部导航 ========== */

.tech-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s;
}

.tech-navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.tech-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.tech-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
}

.tech-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.tech-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.tech-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.tech-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-cyan));
    transition: width 0.3s;
}

.tech-nav-link:hover {
    color: white;
}

.tech-nav-link:hover::after {
    width: 100%;
}

.tech-nav-cta {
    display: flex;
    gap: 1rem;
}

.btn-tech {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-tech-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.btn-tech-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(33, 150, 243, 0.5);
}

.btn-tech-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-tech-outline:hover {
    background: var(--glass-bg);
    border-color: var(--primary-blue);
}

/* ========== Hero区域 ========== */

.tech-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    overflow: hidden;
}

/* 背景动画 */
.tech-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tech-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(33, 150, 243, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 150, 243, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.tech-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tech-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleFloat 10s ease-in-out infinite;
}

.tech-particle:nth-child(odd) {
    background: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Hero内容 */
.tech-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
}

.tech-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-cyan);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.tech-hero-badge i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.tech-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 50%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.tech-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.tech-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 核心特性 ========== */

.tech-features {
    padding: 100px 2rem;
    position: relative;
    background: var(--tech-dark);
}

.tech-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tech-section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(0, 188, 212, 0.2) 100%);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
}

.tech-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-section-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

.tech-features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.tech-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(0, 188, 212, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.tech-feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.2);
}

.tech-feature-card:hover::before {
    opacity: 1;
}

.tech-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

.tech-feature-card:nth-child(2) .tech-feature-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c61 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.tech-feature-card:nth-child(3) .tech-feature-icon {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.tech-feature-card:nth-child(4) .tech-feature-icon {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.tech-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.tech-feature-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ========== 产品服务 ========== */

.tech-products {
    padding: 100px 2rem;
    background: var(--tech-purple);
    position: relative;
}

.tech-product-item {
    max-width: 1200px;
    margin: 0 auto 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-product-item:last-child {
    margin-bottom: 0;
}

.tech-product-item:nth-child(even) {
    direction: rtl;
}

.tech-product-item:nth-child(even) > * {
    direction: ltr;
}

.tech-product-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s;
}

.tech-product-item.visible .tech-product-content {
    opacity: 1;
    transform: translateY(0);
}

.tech-product-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(33, 150, 243, 0.15);
    border: 1px solid rgba(0, 188, 212, 0.35);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-cyan);
    margin-bottom: 1.2rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 24px rgba(0, 188, 212, 0.12);
}

.tech-product-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-product-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.tech-product-features {
    list-style: none;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.tech-product-features li {
    padding: 0.6rem 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.25s;
}

.tech-product-features li:hover {
    background: rgba(0, 188, 212, 0.10);
    border-color: rgba(0, 188, 212, 0.35);
    transform: translateY(-2px);
}

.tech-product-features li i {
    color: var(--primary-cyan);
    font-size: 1.05rem;
}

.tech-product-image {
    position: relative;
    height: 400px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.tech-product-image:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 20px 60px rgba(33, 150, 243, 0.3);
}

/* 旧版单图标 fallback（直接子图标） */
.tech-product-image > i {
    font-size: 8rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== 产品抽象视觉（图像 / 密钥） ========== */

.tech-visual {
    font-size: 1rem;
    padding: 0;
}

.tech-visual--image { --visual-glow: rgba(255, 107, 53, 0.32); }
.tech-visual--key   { --visual-glow: rgba(33, 150, 243, 0.32); }

/* 网格底纹 */
.tech-visual-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 72%);
}

/* 径向光晕（主题色呼吸） */
.tech-visual-glow {
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at 50% 50%, var(--visual-glow) 0%, transparent 60%);
    filter: blur(24px);
    animation: techVisualBreath 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes techVisualBreath {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50%      { transform: scale(1.14); opacity: 1; }
}

/* 中心核心图标 */
.tech-visual-core {
    position: relative;
    z-index: 2;
    width: 134px;
    height: 134px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    animation: techVisualCoreFloat 5s ease-in-out infinite;
}

@keyframes techVisualCoreFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.tech-visual-core i {
    font-size: 4.3rem;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(0, 188, 212, 0.45));
}

.tech-visual--image .tech-visual-core i {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(255, 107, 53, 0.42));
}

/* 漂浮光球 */
.tech-visual-orb {
    position: absolute;
    left: var(--orb-x);
    top: var(--orb-y);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orb-c);
    box-shadow: 0 0 16px var(--orb-c);
    animation: techVisualOrb 4s ease-in-out infinite;
    animation-delay: var(--orb-d);
    z-index: 1;
}

@keyframes techVisualOrb {
    0%, 100% { transform: translate(0, 0); opacity: 0.45; }
    50%      { transform: translate(8px, -12px); opacity: 1; }
}

/* 像素方块（图像生成象征） */
.tech-visual-pixel {
    position: absolute;
    left: var(--p-x);
    top: var(--p-y);
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: var(--p-c);
    box-shadow: 0 0 14px var(--p-c);
    animation: techVisualPixel 3s ease-in-out infinite;
    animation-delay: var(--p-d);
    z-index: 1;
}

@keyframes techVisualPixel {
    0%, 100% { transform: scale(0.5); opacity: 0; }
    50%      { transform: scale(1); opacity: 0.9; }
}

/* 数据流条（密钥象征） */
.tech-visual-bar {
    position: absolute;
    left: var(--b-x);
    top: var(--b-y);
    width: var(--b-w);
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(0, 188, 212, 0), rgba(0, 188, 212, 0.85), rgba(0, 188, 212, 0));
    animation: techVisualBar 2.4s ease-in-out infinite;
    animation-delay: var(--b-d);
    z-index: 1;
}

@keyframes techVisualBar {
    0%, 100% { transform: translateX(-12px); opacity: 0; }
    50%      { transform: translateX(0); opacity: 1; }
}

/* 信息标签（承载真实信息，非纯装饰） */
.tech-visual-tag {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    animation: techVisualTagFloat 5s ease-in-out infinite;
}

.tech-visual-tag i {
    font-size: 14px;
    color: var(--primary-cyan);
}

.tech-visual--image .tech-visual-tag i {
    color: var(--primary-orange);
}

.tech-visual-tag--tl {
    top: 20px;
    left: 20px;
}

.tech-visual-tag--br {
    bottom: 20px;
    right: 20px;
    animation-delay: 1s;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

@keyframes techVisualTagFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* 无障碍：尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    .tech-visual-glow,
    .tech-visual-core,
    .tech-visual-orb,
    .tech-visual-pixel,
    .tech-visual-bar,
    .tech-visual-tag {
        animation: none !important;
    }
}

/* ========== 数据统计 ========== */

.tech-stats {
    padding: 80px 2rem;
    background: linear-gradient(180deg, var(--tech-purple) 0%, var(--tech-dark) 100%);
    position: relative;
    overflow: hidden;
}

/* 背景网格 */
.tech-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(33, 150, 243, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 150, 243, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(30px); }
}

.tech-stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.tech-stat-item {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s;
    overflow: hidden;
}

.tech-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(0, 188, 212, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.tech-stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.3);
}

.tech-stat-item:hover::before {
    opacity: 1;
}

.tech-stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: iconFloat 3s ease-in-out infinite;
}

.tech-stat-item:nth-child(2) .tech-stat-icon {
    animation-delay: 0.2s;
}

.tech-stat-item:nth-child(3) .tech-stat-icon {
    animation-delay: 0.4s;
}

.tech-stat-item:nth-child(4) .tech-stat-icon {
    animation-delay: 0.6s;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tech-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.tech-stat-number::after {
    content: attr(data-suffix);
    font-size: 1.5rem;
    color: var(--primary-cyan);
}

.tech-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
}

.tech-stat-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

/* 统计卡片的不同颜色主题 */
.tech-stat-item:nth-child(1) .tech-stat-icon {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    -webkit-background-clip: text;
}

.tech-stat-item:nth-child(2) .tech-stat-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c61 100%);
    -webkit-background-clip: text;
}

.tech-stat-item:nth-child(3) .tech-stat-icon {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    -webkit-background-clip: text;
}

.tech-stat-item:nth-child(4) .tech-stat-icon {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
}

/* ========== 帮助文档预览 ========== */

.tech-help {
    padding: 100px 2rem;
    background: var(--tech-dark);
}

.tech-help-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tech-help-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.tech-help-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.2);
}

.tech-help-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tech-help-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tech-help-count {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ========== CTA区域 ========== */

.tech-cta {
    padding: 100px 2rem;
    background: linear-gradient(180deg, var(--tech-dark) 0%, var(--tech-purple) 100%);
    text-align: center;
    position: relative;
}

.tech-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.tech-cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-cta-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

/* ========== 响应式 ========== */

@media (max-width: 1024px) {
    .tech-hero-title {
        font-size: 3rem;
    }

    .tech-product-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-product-item:nth-child(even) {
        direction: ltr;
    }

    .tech-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .tech-nav-links {
        display: none;
    }

    .tech-hero {
        padding: 100px 1rem 60px;
    }

    .tech-hero-title {
        font-size: 2.5rem;
    }

    .tech-hero-cta {
        flex-direction: column;
    }

    .tech-features-grid,
    .tech-help-grid {
        grid-template-columns: 1fr;
    }

    .tech-stats-grid {
        grid-template-columns: 1fr;
    }

    .tech-cta-title {
        font-size: 2rem;
    }

    .tech-section-title {
        font-size: 2rem;
    }
}

/* =====================================================
   首页扩充区块：使用场景 / 模型矩阵 / 代码接入
   ===================================================== */

/* ========== 使用场景 ========== */
.tech-scenarios {
    padding: 100px 2rem;
    background: var(--tech-dark);
    position: relative;
}

.tech-scenarios-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-scenario-card {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.tech-scenario-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.08), rgba(0, 188, 212, 0.08));
    opacity: 0;
    transition: opacity 0.35s;
}

.tech-scenario-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 50px rgba(33, 150, 243, 0.2);
}

.tech-scenario-card:hover::before {
    opacity: 1;
}

.tech-scenario-card > * {
    position: relative;
    z-index: 1;
}

.tech-scenario-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    box-shadow: 0 10px 28px rgba(33, 150, 243, 0.35);
}

.tech-scenario-card:nth-child(2) .tech-scenario-icon {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c61);
    box-shadow: 0 10px 28px rgba(255, 107, 53, 0.35);
}

.tech-scenario-card:nth-child(3) .tech-scenario-icon {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.35);
}

.tech-scenario-card:nth-child(4) .tech-scenario-icon {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.35);
}

.tech-scenario-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.tech-scenario-desc {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.tech-scenario-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-scenario-tags span {
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    color: var(--primary-cyan);
    background: rgba(0, 188, 212, 0.10);
    border: 1px solid rgba(0, 188, 212, 0.25);
    border-radius: 999px;
}

/* ========== 模型矩阵 ========== */
.tech-models {
    padding: 100px 2rem;
    background: var(--tech-purple);
    position: relative;
}

.tech-models-tabs {
    max-width: 1200px;
    margin: 0 auto 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.tech-model-tab {
    padding: 0.6rem 1.3rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s;
}

.tech-model-tab:hover {
    color: #fff;
    border-color: rgba(0, 188, 212, 0.5);
}

.tech-model-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(33, 150, 243, 0.35);
}

.tech-models-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.tech-model-card {
    padding: 1.4rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.tech-model-card.is-hidden {
    display: none;
}

.tech-model-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 188, 212, 0.5);
    box-shadow: 0 16px 40px rgba(0, 188, 212, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.tech-model-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    gap: 0.5rem;
}

.tech-model-name {
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-model-ctx {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 999px;
    font-family: 'Courier New', monospace;
}

.tech-model-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.9rem;
    flex: 1;
}

.tech-model-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.tech-model-chips span {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 6px;
}

.tech-model-chips .chip-cat {
    color: var(--primary-cyan);
    background: rgba(0, 188, 212, 0.10);
    border-color: rgba(0, 188, 212, 0.25);
}

.tech-model-chips .chip-price {
    color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.10);
    border-color: rgba(255, 107, 53, 0.25);
    font-family: 'Courier New', monospace;
}

.tech-models-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 3rem 1rem;
    font-size: 0.95rem;
}

/* ========== 代码接入 ========== */
.tech-code {
    padding: 100px 2rem;
    background: var(--tech-dark);
    position: relative;
}

.tech-code-window {
    max-width: 920px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.tech-code-titlebar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
}

.tech-code-dots {
    display: flex;
    gap: 0.4rem;
}

.tech-code-dots i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.tech-code-dots i:nth-child(1) { background: #ff5f56; }
.tech-code-dots i:nth-child(2) { background: #ffbd2e; }
.tech-code-dots i:nth-child(3) { background: #27c93f; }

.tech-code-filename {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    flex: 1;
}

.tech-code-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tech-code-copy:hover {
    background: rgba(0, 188, 212, 0.15);
    border-color: rgba(0, 188, 212, 0.4);
    color: #fff;
}

.tech-code-copy.is-copied {
    color: #27c93f;
    border-color: rgba(39, 201, 63, 0.5);
}

.tech-code-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    overflow-x: auto;
}

.tech-code-tab {
    padding: 0.8rem 1.1rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.tech-code-tab:hover {
    color: rgba(255, 255, 255, 0.9);
}

.tech-code-tab.is-active {
    color: var(--primary-cyan);
    border-bottom-color: var(--primary-cyan);
}

.tech-code-body {
    position: relative;
}

.tech-code-block {
    display: none;
    margin: 0;
    padding: 1.5rem 1.2rem;
    overflow-x: auto;
}

.tech-code-block.is-active {
    display: block;
}

.tech-code-block code {
    font-family: 'Courier New', Consolas, Monaco, monospace;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #e2e8f0;
    white-space: pre;
}

/* ========== 扩充区块响应式 ========== */
@media (max-width: 1024px) {
    .tech-scenarios-grid {
        grid-template-columns: 1fr;
    }

    .tech-models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tech-models-grid {
        grid-template-columns: 1fr;
    }

    .tech-code-block {
        padding: 1.2rem 1rem;
    }

    .tech-code-block code {
        font-size: 0.8rem;
    }
}
