/* core-content.css - 暗色琉璃主题核心内容区样式 */

/* 使用与index.css一致的CSS变量 */
:root {
    --dark-bg-primary: #0A0A1A;
    --dark-bg-secondary: #1A1A3A;
    --dark-bg-gradient: linear-gradient(135deg, #0A0A1A 0%, #1A1A3A 100%);
    --glass-bg-light: rgba(255, 255, 255, 0.08);
    --glass-bg-medium: rgba(255, 255, 255, 0.12);
    --glass-bg-heavy: rgba(255, 255, 255, 0.15);
    --glass-border-light: rgba(255, 255, 255, 0.15);
    --glass-border-medium: rgba(255, 255, 255, 0.2);
    --glass-border-heavy: rgba(255, 255, 255, 0.25);
    
    --neon-primary: #00D4FF;
    --neon-secondary: #FF00FF;
    --neon-accent: #00FF9D;
    --neon-gradient: linear-gradient(135deg, #00D4FF 0%, #FF00FF 100%);
    
    --text-light: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.5);
    
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 12px 36px rgba(0, 0, 0, 0.4);
    --shadow-glow-primary: 0 0 30px rgba(0, 212, 255, 0.4);
    --shadow-glow-secondary: 0 0 30px rgba(255, 0, 255, 0.4);
    --shadow-glow-accent: 0 0 30px rgba(0, 255, 157, 0.4);
}

/* 通用容器 */
.core-section {
    padding: 6rem 0;
    width: 100%;
    background: var(--dark-bg-gradient);
    position: relative;
    overflow: hidden;
}

.core-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.core-section:nth-child(even) {
    background: linear-gradient(135deg, #0A0A1A 0%, #151530 100%);
}

.core-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-light);
    position: relative;
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--neon-gradient);
    border-radius: 3px;
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* 现代卡片网格 - 毛玻璃效果 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.feature-card {
    background: var(--glass-bg-light);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--glass-border-light);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--neon-gradient);
    z-index: 2;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(255, 0, 255, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: var(--shadow-heavy), var(--shadow-glow-primary);
    border-color: var(--glass-border-heavy);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2.5rem;
    background: var(--neon-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
}

.feature-icon i {
    color: white;
    font-size: 42px;
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    position: relative;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.feature-img, .feature-gif {
    width: 100%;
    max-width: 300px;
    height: 200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid var(--glass-border-light);
}

.feature-card:hover .feature-img,
.feature-card:hover .feature-gif {
    transform: scale(1.08);
    box-shadow: var(--shadow-medium), 0 0 30px rgba(0, 212, 255, 0.3);
    border-color: var(--neon-primary);
}

/* 模块入口按钮区 - 现代设计 */
.module-portals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin: 5rem 0;
}

.module-portal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.module-portal-btn:hover {
    transform: translateY(-15px);
}

.module-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--neon-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.module-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.module-icon i {
    color: white;
    font-size: 52px;
    position: relative;
    z-index: 2;
}

.module-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    padding: 1rem 2.5rem;
    background: var(--glass-bg-medium);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border-medium);
}

.module-portal-btn:hover .module-name {
    background: var(--glass-bg-heavy);
    color: var(--neon-primary);
    box-shadow: var(--shadow-medium), 0 0 30px rgba(0, 212, 255, 0.4);
    border-color: var(--neon-primary);
    transform: scale(1.1);
}

/* 加入我们和技术支持 - 现代设计 */
.cta-section {
    background: var(--dark-bg-gradient);
    padding: 8rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 0, 255, 0.15) 0%, transparent 50%);
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cta-description {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.7;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.cta-btn {
    padding: 1.5rem 4rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.cta-btn-primary {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(255, 0, 255, 0.2) 100%);
    color: var(--text-light);
    border: 2px solid var(--neon-primary);
}

.cta-btn-primary:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(255, 0, 255, 0.3) 100%);
    color: white;
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-heavy), var(--shadow-glow-primary), 0 0 40px rgba(0, 212, 255, 0.5);
    border-color: var(--neon-secondary);
}

.cta-btn-secondary {
    background: var(--glass-bg-medium);
    color: var(--text-light);
    border: 2px solid var(--glass-border-medium);
}

.cta-btn-secondary:hover {
    background: var(--glass-bg-heavy);
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-heavy), 0 0 30px rgba(255, 255, 255, 0.2);
    border-color: var(--glass-border-heavy);
}

/* 产品展示区 */
.product-showcase {
    padding: 6rem 0;
    background: var(--dark-bg-gradient);
    position: relative;
}

.product-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 40%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(255, 0, 255, 0.08) 0%, transparent 50%);
}

.product-row {
    max-width: 1100px;
    margin: 0 auto 4rem;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    background: var(--glass-bg-light);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border-light);
}

.product-row:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy), var(--shadow-glow-primary);
    border-color: var(--neon-primary);
}

.image-with-overlay {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-row:hover .background-image {
    transform: scale(1.08);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem;
    color: white;
    z-index: 3;
}

.product-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: var(--text-muted);
}

.product-desc {
    font-size: 1.2rem;
    max-width: 700px;
    line-height: 1.6;
    color: var(--text-muted);
}

.section-icon-img.large {
    position: absolute;
    top: 50%;
    right: 4rem;
    transform: translateY(-50%);
    width: 140px;
    height: 140px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-row:hover .section-icon-img.large {
    transform: translateY(-50%) scale(1.15);
    filter: drop-shadow(0 8px 30px rgba(0, 212, 255, 0.6));
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.8rem;
    }
    
    .cta-title {
        font-size: 3rem;
    }
    
    .product-title {
        font-size: 2.5rem;
    }
    
    .section-icon-img.large {
        width: 120px;
        height: 120px;
        right: 3rem;
    }
}

@media (max-width: 768px) {
    .core-section {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .module-portals {
        gap: 3rem;
    }
    
    .module-icon {
        width: 120px;
        height: 120px;
    }
    
    .module-icon i {
        font-size: 44px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
    
    .product-row {
        margin: 0 1.5rem 3rem;
    }
    
    .overlay-content {
        padding: 3rem;
    }
    
    .product-title {
        font-size: 2.2rem;
    }
    
    .section-icon-img.large {
        width: 100px;
        height: 100px;
        right: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
    
    .feature-icon {
        width: 90px;
        height: 90px;
    }
    
    .feature-icon i {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-description {
        font-size: 1.2rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .overlay-content {
        padding: 2rem;
    }
}
