/* 通用组件样式 */

/* Products组件样式 - 模块化设计 */
.products {
    padding: var(--spacing-2xl) 0 0 0;
    background: var(--white);
}

/* 产品模块通用样式 */
.product-module {
    padding: var(--spacing-2xl) 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    position: relative;
    overflow: hidden;
}

.product-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(40px);
    z-index: -1;
}

.product-module::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    z-index: -1;
    animation: shimmer 8s ease-in-out infinite;
}

.product-module.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.product-content.reverse {
    flex-direction: row-reverse;
}

/* 产品文本区域 */
.product-text {
    padding: var(--spacing-xl);
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.product-name {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.1;
}

.product-tagline {
    font-size: 1.3rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.product-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

/* 产品视觉区域 */
.product-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
    min-height: 600px;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e0;
    transition: all 0.3s ease;
}

.product-image-placeholder:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    transform: scale(1.02);
}

.product-image-placeholder i {
    font-size: 3rem;
    color: #a0aec0;
    margin-bottom: var(--spacing-md);
}

.product-image-placeholder p {
    color: #718096;
    font-weight: 500;
    margin: 0;
}

/* 真实产品图片样式 */
.product-image {
    width: 100%;
    height: 600px;
    max-width: 650px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.product-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.product-image:hover .product-img {
    transform: scale(1.03);
}

/* 产品操作按钮 */
.product-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* Link-GSF 模块样式 - 蓝紫极光 */
.product-gsf {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.12) 0%, 
        rgba(37, 99, 235, 0.10) 25%, 
        rgba(96, 165, 250, 0.08) 50%,
        rgba(147, 197, 253, 0.06) 75%,
        rgba(59, 130, 246, 0.10) 100%);
    color: var(--text-primary);
}

.product-gsf::before {
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.06) 0%, 
        transparent 30%,
        rgba(37, 99, 235, 0.05) 60%,
        rgba(147, 197, 253, 0.04) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: inherit;
}

.product-gsf .product-text {
    color: var(--text-primary);
}

.product-gsf .product-name,
.product-gsf .product-tagline {
    color: var(--text-primary);
}

.product-gsf .product-intro {
    color: var(--text-secondary);
}

.product-highlights {
    margin-bottom: var(--spacing-xl);
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.highlight-item i {
    color: #48bb78;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.highlight-item span {
    color: var(--text-primary);
    line-height: 1.5;
}

/* Link-Trace 模块样式 - 简洁白色 */
.product-trace {
    background: var(--white);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.product-trace::before {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: inherit;
}

.product-trace::after {
    display: none;
}

.product-trace .product-text {
    color: var(--text-primary);
}

.product-trace .product-name,
.product-trace .product-tagline {
    color: var(--text-primary);
}

.product-trace .product-intro {
    color: var(--text-secondary);
}

.product-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat-box {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Link-Me 模块样式 - 纯蓝色系 */
.product-me {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.12) 0%, 
        rgba(29, 78, 216, 0.10) 25%, 
        rgba(59, 130, 246, 0.08) 50%,
        rgba(125, 211, 252, 0.06) 75%,
        rgba(37, 99, 235, 0.10) 100%);
    color: var(--text-primary);
}

.product-me::before {
    background: linear-gradient(45deg, 
        rgba(37, 99, 235, 0.06) 0%, 
        transparent 30%,
        rgba(29, 78, 216, 0.05) 60%,
        rgba(125, 211, 252, 0.04) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: inherit;
}

.product-me .product-text {
    color: var(--text-primary);
}

.product-me .product-name,
.product-me .product-tagline {
    color: var(--text-primary);
}

.product-me .product-intro {
    color: var(--text-secondary);
}

.product-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.feature-box {
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-box:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-box i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.feature-box h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.feature-box p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Link-8 AI 模块样式 - 绿青极光 */
.product-ai {
    background: var(--white);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.product-ai::before {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: inherit;
}

.product-ai::after {
    display: none;
}

.product-ai .product-text {
    color: var(--text-primary);
}

.product-ai .product-name,
.product-ai .product-tagline {
    color: var(--text-primary);
}

.product-ai .product-intro {
    color: var(--text-secondary);
}

.ai-benefits {
    margin-bottom: var(--spacing-xl);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.benefit-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.benefit-content h6 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Features组件样式 */
.features {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    background: var(--light-gray);
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background: var(--white);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: var(--white);
    font-size: 32px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ组件样式 */
.faq {
    padding: var(--spacing-2xl) 0;
    background: var(--light-gray);
}

.faq-list {
    max-width: 800px;
    margin: var(--spacing-2xl) auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    padding: var(--spacing-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question i {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--light-gray);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 极光动画效果 */
@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(180deg);
        opacity: 0.6;
    }
}

@keyframes aurora {
    0%, 100% {
        transform: translateX(0) scale(1);
        opacity: 0.4;
    }
    33% {
        transform: translateX(30px) scale(1.1);
        opacity: 0.6;
    }
    66% {
        transform: translateX(-20px) scale(0.95);
        opacity: 0.5;
    }
}

/* 玻璃反光效果 */
.product-module:hover::after {
    animation-duration: 4s;
}

.product-module:hover::before {
    animation: aurora 6s ease-in-out infinite;
}

/* 产品模块悬停增强效果 */
.product-module:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .product-content.reverse {
        direction: ltr;
    }
    
    .product-visual {
        order: -1;
        height: 250px;
    }
    
    .product-text {
        padding: var(--spacing-lg);
    }
    
    .product-name {
        font-size: 2.2rem;
    }
    
    .product-tagline {
        font-size: 1.1rem;
    }
    
    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .product-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-features-grid {
        gap: var(--spacing-md);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .feature-card {
        padding: var(--spacing-lg);
    }
    
    .faq-question {
        padding: var(--spacing-md);
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 var(--spacing-md) var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .product-module {
        padding: var(--spacing-xl) 0;
    }
    
    .product-name {
        font-size: 1.8rem;
    }
    
    .product-tagline {
        font-size: 1rem;
    }
    
    .product-stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin: 0 auto var(--spacing-md);
    }
} 