/* ========================================
   开发系列产品页样式 - 科技感/工业风设计
   ======================================== */

/* 开发系列主题色 */
:root {
    --dev-primary: #00d4ff;
    --dev-secondary: #0099cc;
    --dev-accent: #ff6b35;
    --dev-bg: #0a0e17;
    --dev-bg-light: #111827;
    --dev-text: #e5e7eb;
    --dev-text-muted: #9ca3af;
    --dev-border: rgba(0, 212, 255, 0.2);
    --dev-glow: rgba(0, 212, 255, 0.3);
}

/* 开发系列页面基础 */
.dev-product {
    background: var(--dev-bg);
    color: var(--dev-text);
}

/* 产品头部区域 */
.dev-product-hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e17 0%, #111827 50%, #0a0e17 100%);
}

.dev-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.dev-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.dev-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--dev-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.dev-product-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* 产品头部内容 */
.dev-product-header {
    max-width: 600px;
}

.dev-product-badge {
    margin-bottom: 24px;
}

.badge-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--dev-primary);
    color: var(--dev-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: 'HarmonyOS Sans SC', monospace;
}

.dev-product-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--dev-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dev-product-subtitle {
    font-size: 1.5rem;
    color: var(--dev-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.dev-product-description {
    font-size: 1.125rem;
    color: var(--dev-text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* 产品统计数据 */
.dev-product-stats {
    display: flex;
    gap: 40px;
}

.dev-stat-item {
    text-align: center;
}

.dev-stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dev-primary);
    font-family: 'HarmonyOS Sans SC', monospace;
    text-shadow: 0 0 20px var(--dev-glow);
}

.dev-stat-label {
    font-size: 0.875rem;
    color: var(--dev-text-muted);
    margin-top: 8px;
}

/* 产品展示区 */
.dev-product-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dev-product-image {
    position: relative;
    z-index: 2;
}

.dev-product-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 212, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 电路装饰 */
.dev-circuit-lines {
    position: absolute;
    inset: -50px;
    pointer-events: none;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--dev-primary), transparent);
    height: 1px;
    opacity: 0.5;
}

.line-1 {
    width: 200px;
    top: 30%;
    left: 0;
    animation: circuitFlow 3s linear infinite;
}

.line-2 {
    width: 150px;
    top: 50%;
    right: 0;
    animation: circuitFlow 3s linear infinite 1s;
}

.line-3 {
    width: 180px;
    bottom: 30%;
    left: 10%;
    animation: circuitFlow 3s linear infinite 2s;
}

@keyframes circuitFlow {
    0% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(200%); }
}

.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--dev-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--dev-primary);
    animation: nodePulse 2s ease-in-out infinite;
}

.node-1 { top: 30%; left: 200px; }
.node-2 { top: 50%; right: 150px; animation-delay: 0.5s; }
.node-3 { bottom: 30%; left: 190px; animation-delay: 1s; }

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* 章节标题样式 */
.dev-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.dev-section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dev-primary);
    font-family: 'Courier New', monospace;
    margin-bottom: 16px;
    padding: 4px 12px;
    border: 1px solid var(--dev-border);
    background: rgba(0, 212, 255, 0.05);
}

.dev-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.dev-section-subtitle {
    font-size: 1rem;
    color: var(--dev-text-muted);
}

/* 产品介绍区域 */
.dev-intro {
    padding: 100px 0;
    background: var(--dev-bg-light);
    border-top: 1px solid var(--dev-border);
    border-bottom: 1px solid var(--dev-border);
}

.dev-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.dev-intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dev-text);
}

/* 产品特性区域 */
.dev-features {
    padding: 100px 0;
    background: var(--dev-bg);
}

.dev-features-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.dev-feature-item {
    position: relative;
}

.dev-feature-number {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0, 212, 255, 0.1);
    font-family: 'Courier New', monospace;
    line-height: 1;
    z-index: 0;
}

.dev-feature-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dev-feature-item.reverse .dev-feature-content {
    direction: rtl;
}

.dev-feature-item.reverse .dev-feature-text {
    direction: ltr;
}

.dev-feature-item.reverse .dev-feature-image {
    direction: ltr;
}

.dev-feature-image {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 153, 204, 0.05) 100%);
    border: 1px solid var(--dev-border);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.dev-feature-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 212, 255, 0.2));
}

.dev-feature-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.dev-feature-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dev-text-muted);
    margin-bottom: 24px;
}

.dev-feature-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.spec-badge {
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--dev-border);
    color: var(--dev-primary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
}

/* 视频区域 */
.dev-video {
    padding: 100px 0;
    background: var(--dev-bg-light);
    border-top: 1px solid var(--dev-border);
}

.dev-video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.dev-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.dev-video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.dev-video-decoration {
    position: absolute;
    inset: -20px;
    pointer-events: none;
}

.video-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--dev-primary);
}

.corner-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* 技术规格区域 */
.dev-specs {
    padding: 100px 0;
    background: var(--dev-bg);
}

.dev-specs-table {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(0, 212, 255, 0.03);
    border: 1px solid var(--dev-border);
    border-radius: 16px;
    overflow: hidden;
}

.dev-specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.dev-specs-table td {
    padding: 20px 32px;
    border-bottom: 1px solid var(--dev-border);
    font-size: 1rem;
    transition: background 0.3s ease;
}

.dev-specs-table tr:last-child td {
    border-bottom: none;
}

.dev-specs-table tr:hover td {
    background: rgba(0, 212, 255, 0.05);
}

.dev-specs-table td:first-child {
    color: var(--dev-text-muted);
    width: 40%;
}

.dev-specs-table td:last-child {
    color: #fff;
    font-weight: 600;
    text-align: right;
}

/* 页脚 */
.dev-footer {
    background: var(--dev-bg-light);
    border-top: 1px solid var(--dev-border);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .dev-product-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .dev-product-header {
        max-width: 100%;
    }

    .dev-product-title {
        font-size: 3rem;
    }

    .dev-product-stats {
        justify-content: center;
    }

    .dev-product-showcase {
        order: -1;
    }

    .dev-feature-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dev-feature-item.reverse .dev-feature-content {
        direction: ltr;
    }

    .dev-specs-table td {
        padding: 16px 24px;
    }
}

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

    .dev-product-title {
        font-size: 2.25rem;
    }

    .dev-product-subtitle {
        font-size: 1.125rem;
    }

    .dev-product-stats {
        flex-direction: column;
        gap: 24px;
    }

    .dev-section-title {
        font-size: 1.75rem;
    }

    .dev-feature-number {
        font-size: 4rem;
    }

    .dev-specs-table td {
        padding: 14px 20px;
        font-size: 0.9375rem;
    }
}

/* 渐进动画 */
.dev-product-hero .dev-product-header,
.dev-product-hero .dev-product-showcase,
.dev-intro-content,
.dev-feature-item,
.dev-video-container,
.dev-specs-table {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.dev-product-hero .dev-product-header.reveal.active,
.dev-product-hero .dev-product-showcase.reveal.active,
.dev-intro-content.reveal.active,
.dev-feature-item.reveal.active,
.dev-video-container.reveal.active,
.dev-specs-table.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
