/* 基础样式重置和全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3B82F6; /* 蓝色主色调 */
    --secondary-color: #8B5CF6; /* 紫色辅助色 */
    --accent-color: #06B6D4; /* 青色强调色 */
    --dark-bg: #0F172A;
    --darker-bg: #020617;
    --text-light: #F1F5F9;
    --text-muted: #94A3B8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.4);
    --transition-base: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 粒子背景样式 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.6;
}

/* 主内容区 */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 页面标题样式 */
.page-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.main-title .highlight {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    position: relative;
}

.main-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.main-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 2rem auto 0;
}

/* 产品按钮区域 */
/* 按钮区域样式 - 左右布局 */
.buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    position: relative;
    z-index: 10;
    gap: 150px; /* 大间距 */
    flex-wrap: nowrap;
}

@media (min-width: 768px) {
    .product-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 按钮样式 */
.product-button {
    position: relative;
    min-width: 300px;
    padding: 40px 30px;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    outline: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-size: 200% 200%;
    text-decoration: none;
    z-index: 1;
}

/* 按钮顶部线条效果 */
.product-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

/* 按钮悬停效果 */
.product-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    animation: gradientShift 1.5s ease infinite;
}

/* 按钮悬停时顶部线条效果 */
.product-button:hover::before {
    transform: scaleX(1);
}

/* 按钮图标样式 */
.product-button i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.product-button:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* 按钮2样式 - 媒体助理 */
.product-button.media {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.product-button.media::before {
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.product-button.media:hover {
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

/* 波纹效果 */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    z-index: 5;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 移除多余的按钮图标样式 */
/* 已经在上面定义过了 */

/* 产品名称样式 */
.product-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* 产品描述样式 */
.product-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0.9;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* 移除不需要的悬停文本 */

/* 移除不需要的悬停文本效果 */

/* 产品功能亮点 */
.product-features {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-wrap: nowrap; /* 保持左右布局不换行 */
    gap: 60px;
    justify-content: center;
    margin: 80px auto 60px;
    align-items: stretch;
}

.feature-section {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

.feature-section:hover {
    box-shadow: 0 0 40px rgba(100, 100, 255, 0.15);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
}

.media-features .section-title::after {
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.seo-features .section-title i {
    color: var(--primary-color);
}

.media-features .section-title i {
    color: var(--secondary-color);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 15px;
}

@media (min-width: 768px) {
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition-base);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
    min-height: 200px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

.media-features .feature-card::before {
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.seo-features .feature-card:hover {
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.media-features .feature-card:hover {
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.feature-card i {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.seo-features .feature-card i {
    color: var(--primary-color);
}

.media-features .feature-card i {
    color: var(--secondary-color);
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 简单页脚 */
.simple-footer {
    position: relative;
    z-index: 1;
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
    width: 100%;
    border-top: 1px solid var(--glass-border);
}

/* 动画效果 */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 响应式设计优化 */
@media (max-width: 1024px) {
    .product-features {
        flex-wrap: wrap; /* 在中等屏幕上改为垂直布局 */
        gap: 40px;
    }
    
    .feature-section {
        width: 100%;
        max-width: 600px;
    }
}

/* 响应式设计 - 小屏幕适配 */
@media (max-width: 768px) {
    .buttons-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }
    
    .product-button {
        min-width: 250px;
        width: 100%;
        max-width: 400px;
    }
    
    .main-content {
        padding: 3rem 1.5rem;
    }
    
    .page-header {
        margin-bottom: 3rem;
    }
    
    .feature-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .product-btn {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    
    .product-btn h2 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}

/* 增强视觉效果的装饰元素 */
.product-btn::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.product-btn:hover::after {
    opacity: 0.3;
}

.seo-assistant-btn::after {
    background: linear-gradient(135deg, var(--primary-color), transparent);
}

.media-assistant-btn::after {
    background: linear-gradient(135deg, var(--secondary-color), transparent);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* 加载动画效果 */
.feature-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 为不同卡片添加延迟动画 */
.features-grid .feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3) {
    animation-delay: 0.3s;
}