/* dev.css - 软件开发页面特有样式 */

/* 1. 英雄区样式 */
.hero-section {
    background: linear-gradient(to bottom,
            rgba(5, 15, 30, 0) 0%,
            rgba(5, 15, 30, 0.4) 30%,
            rgba(5, 15, 30, 0.4) 100%);
}

.code-visual .code-line {
    text-align: center;
}

.code-visual .line-segment {
    height: 4px;
    margin: 0 auto;
}

.code-visual .line-segment.short {
    width: 60px;
}

.code-visual .line-segment.medium {
    width: 100px;
}

.code-visual .line-segment.long {
    width: 140px;
}

.code-visual .line-text {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* 2. 价值主张区样式 */
.value-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-card:hover {
    transform: rotateZ(3deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(66, 133, 244, 0.2);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 auto;
}

/* 3. 服务场景区样式 */
.service-card {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: rotateZ(3deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

/* 服务卡片按钮样式 */
.service-card .btn-outline-primary {
    border-width: 2px;
}

.service-card .btn-outline-info {
    border-width: 2px;
}

.service-card .btn-outline-warning {
    border-width: 2px;
}

.service-card .btn-outline-success {
    border-width: 2px;
}

/* 4. 技术能力区样式 */
.tech-category {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-category:hover {
    transform: rotateZ(3deg);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.tech-tags .badge {
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tech-tags .badge:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* 5. 合作模式区样式 */
.step-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    background: rgba(5, 15, 30, 0.4);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: rotateZ(3deg);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(5, 15, 30, 0.6);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: relative;
}

/* 6. 行动区样式 */
.action-section {
    background: linear-gradient(to top,
            rgba(5, 15, 30, 0) 0%,
            rgba(5, 15, 30, 0.4) 30%,
            rgba(5, 15, 30, 0.4) 100%);
}

.action-card {
    transition: all 0.3s ease;
}

.action-card:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.email-contact a {
    transition: all 0.2s ease;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-block;
}

.email-contact a:hover {
    background: rgba(66, 133, 244, 0.1);
    color: #8ab4f8 !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section h1.display-4 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .value-card,
    .service-card,
    .tech-category,
    .step-card {
        margin-bottom: 1.5rem;
    }

    .action-card {
        padding: 2rem !important;
    }
}