/* 首页专用样式表 */

:root {
    --primary-color: #0066ff;
    --primary-dark: #0044cc;
    --primary-light: #4d94ff;
    --accent-color: #00ccff;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212;
    --bg-darker: #080808;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --border-color: #333333;
}

/* 通用元素样式 */
.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.section-description {
    color: #aaaaaa;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* 英雄区域增强 */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,102,255,0.2) 0%, rgba(0,0,0,0.8) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button.primary-btn {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
}

.cta-button.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid var(--accent-color);
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--primary-color);
}

/* 工具卡片增强 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 102, 255, 0.2);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-tags span {
    background-color: rgba(0, 102, 255, 0.2);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* 应用卡片增强 */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.application-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--bg-card-hover);
}

.application-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.application-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.learn-more {
    margin-top: auto;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-block;
    padding-top: 1rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    transform: translateX(5px);
}

/* 案例卡片增强 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--bg-card-hover);
}

.case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

.case-results {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.result-label {
    font-size: 0.9rem;
    color: #aaaaaa;
    text-align: center;
}

/* CTA区域增强 */
.contact-cta {
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    padding: 5rem 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .case-results {
        flex-direction: column;
        gap: 1rem;
    }
    
    .result-item {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    
    .result-number {
        font-size: 1.5rem;
    }
}

/* 粒子动画增强 */
.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-30px) translateX(15px);
    }
    50% {
        transform: translateY(-15px) translateX(30px);
    }
    75% {
        transform: translateY(15px) translateX(15px);
    }
} 