/**
 * 软件介绍页面专用样式
 * Software Introduction Page Styles
 * 
 * @package Developer_Starter
 */

/* ============================================
   主视觉区域 Hero Section
   ============================================ */
.template-software-intro .software-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
}

.software-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.hero-floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -20px) scale(1.05);
    }

    50% {
        transform: translate(0, 30px) scale(0.95);
    }

    75% {
        transform: translate(-20px, -10px) scale(1.02);
    }
}

.software-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.badge-icon {
    font-size: 16px;
}

.software-hero-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.software-hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.software-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.software-hero-actions .btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.software-hero-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    color: #fff;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.software-hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.software-hero-actions .btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.software-hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ============================================
   快速导航卡片
   ============================================ */
.software-quick-nav {
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-nav-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.nav-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.nav-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
}

.nav-card-content p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* ============================================
   功能亮点区域
   ============================================ */
.software-highlights {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-item {
    background: #fff;
    padding: 36px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.highlight-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.highlight-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.highlight-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.highlight-item p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CTA 区域
   ============================================ */
.software-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

.cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.cta-actions .btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cta-actions .btn-light {
    background: #fff;
    color: #0f172a;
}

.cta-actions .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* ============================================
   编辑提示
   ============================================ */
.software-edit-notice {
    padding: 40px 0;
    background: #fef3c7;
}

.edit-notice-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid #fbbf24;
}

.edit-notice-box p {
    margin: 0;
    color: #92400e;
    font-size: 14px;
}

/* ============================================
   暗黑模式
   ============================================ */
html.dark-mode .quick-nav-card {
    background: #1e293b;
}

html.dark-mode .nav-card-content h3 {
    color: #f1f5f9;
}

html.dark-mode .nav-card-content p {
    color: #94a3b8;
}

html.dark-mode .software-highlights {
    background: #0f172a;
}

html.dark-mode .section-title {
    color: #f1f5f9;
}

html.dark-mode .highlight-item {
    background: #1e293b;
    border-color: #334155;
}

html.dark-mode .highlight-item h3 {
    color: #f1f5f9;
}

html.dark-mode .highlight-item p {
    color: #94a3b8;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1200px) {
    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .software-hero {
        min-height: auto;
        padding: 100px 0 120px;
    }

    .software-hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 40px;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .software-hero {
        padding: 80px 0 100px;
    }

    .software-hero-title {
        font-size: 2rem;
    }

    .software-hero-desc {
        font-size: 1rem;
    }

    .software-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .software-quick-nav {
        margin-top: -40px;
    }

    .quick-nav-grid {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .software-highlights {
        padding: 60px 0;
    }

    .software-cta-section {
        padding: 60px 0;
    }

    .cta-wrapper {
        padding: 30px 20px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .edit-notice-box {
        flex-direction: column;
        text-align: center;
    }
}