/* 全局变量与核心样式 */
:root {
    /* 核心色彩系统 */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    
    /* 文字色彩 */
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --text-on-primary: #ffffff;
    
    /* 背景色彩 */
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.7);
    
    /* 装饰性元素 */
    --border-color: #e5e7eb;
    --border-light: #f1f5f9;
    
    /* 阴影系统 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
    
    /* 动画与过渡 */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 圆角 */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
}

/* 重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 背景动画容器 */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg-main);
}

.gradient-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(37, 99, 235, 0.05) 0%, 
        rgba(59, 130, 246, 0.02) 30%, 
        transparent 70%);
    animation: gradientMove 20s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes gradientMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(5%, 5%) rotate(5deg); }
    100% { transform: translate(-5%, -5%) rotate(-5deg); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    will-change: transform, opacity;
    animation: float 15s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.2; }
    90% { opacity: 0.2; }
    100% { transform: translateY(-100vh) translateX(50px) rotate(360deg); opacity: 0; }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    border-bottom-color: rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    padding: 0 2rem;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.025em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.highlight {
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    margin: 0.5rem;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
    z-index: -1;
}

.btn.primary:hover::before {
    left: 100%;
}

.btn.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.45);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn.secondary:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* 关于部分 */
.about {
    padding: 120px 0;
    background: var(--bg-alt);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--text-main);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.about-main {
    min-width: 0;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 时间轴样式优化 */
.experience-timeline {
    margin-top: 3rem;
    position: relative;
    padding-left: 20px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
    padding-left: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -39px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.2);
}

/* 时间轴卡片效果 */
.timeline-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.timeline-content .date {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.timeline-item:hover .timeline-content {
    background: white;
    transform: translateX(10px) translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

/* 技能卡片效果 */
.about-skills {
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.about-skills h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    position: relative;
    padding-left: 15px;
}

.about-skills h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

/* 统计数据响应式网格 */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    padding: 1.25rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.stat-item:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.stat-item:hover i,
.stat-item:hover .number,
.stat-item:hover .unit,
.stat-item:hover .label {
    color: white;
}

/* 技能条样式增强 */
.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.skill-info i {
    margin-right: 8px;
    color: var(--primary-color);
}

.skill-bar {
    height: 10px;
    background: #eef2f6;
    border-radius: var(--radius-full);
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0, 0.2, 1);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: block;
}

.stat-item .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    display: inline-block;
}

.stat-item .unit {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item .label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* 响应式媒体查询优化 */
@media (max-width: 1200px) {
    .about-content {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-sidebar {
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-timeline {
        padding-left: 15px;
    }
    
    .timeline-dot {
        left: -34px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .about-skills {
        padding: 1.5rem;
    }
}

/* 服务部分 */
.services {
    padding: 120px 0;
    background: var(--bg-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    background: var(--bg-alt);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    background: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 评价部分 */
.testimonials {
    padding: 120px 0;
    background: var(--bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.client-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ 部分 */
.faq {
    padding: 120px 0;
    background: var(--bg-main);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 1rem;
}

.faq-answer p {
    color: var(--text-muted);
}

/* 联系部分 */
.contact {
    padding: 120px 0;
    background: var(--bg-alt);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
}

.method-item span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.method-item p {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--text-main);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* 动画增强 */
.hero h1, .hero p, .hero .cta-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.hero h1 { animation-delay: 0.2s; }
.hero p { animation-delay: 0.4s; }
.hero .cta-buttons { animation-delay: 0.6s; }

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

/* 项目部分 */
.projects {
    padding: 120px 0;
    background: var(--bg-main);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(37, 99, 235, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
    backdrop-filter: blur(4px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.75rem;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.project-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* 博客部分 */
.blog-preview {
    padding: 120px 0;
    background: var(--bg-alt);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(37, 99, 235, 0.2);
}

.blog-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-card h3 a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-card h3 a:hover {
    color: var(--primary-color);
}

/* 下载专区优化 */
.downloads {
    padding: 120px 0;
    background: var(--bg-alt);
    position: relative;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.download-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.download-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(37, 99, 235, 0.05) 50%);
    pointer-events: none;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.download-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-light);
}

.download-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.download-card:hover .download-image img {
    transform: scale(1.05);
}

.download-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: var(--primary-light);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    transition: var(--transition-base);
}

.download-card:hover .download-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: white;
}

.download-info-header h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.download-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.download-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.specs {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.specs li {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.specs li i {
    color: #10b981;
    font-size: 0.8rem;
}

.download-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
}

.download-actions {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.download-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
    white-space: nowrap;
    border: none;
    color: white;
}

.download-actions .btn-win {
    background-color: #0078d4;
}

.download-actions .btn-win:hover {
    background-color: #005a9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.download-actions .btn-mac {
    background-color: #333333;
}

.download-actions .btn-mac:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.download-actions .btn-linux {
    background-color: #f1c40f;
    color: #333;
}

.download-actions .btn-linux:hover {
    background-color: #d4ac0d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.3);
}

.download-actions .btn i {
    font-size: 1rem;
}

.download-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.download-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn.primary.small {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

/* 页脚 */
.footer {
    background: var(--text-main);
    color: white;
    padding: 80px 0 40px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.social-links a:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
    transform: translateX(120%);
    transition: var(--transition-base);
}

.toast.active {
    transform: translateX(0);
}

/* 响应式 */
@media (max-width: 992px) {
    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .download-card {
        flex-direction: column;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .hero {
        padding-top: 100px;
    }

    .testimonial-card {
        padding: 2rem;
    }
}

/* 额外的视觉细节 */
::selection {
    background: var(--primary-color);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 10px;
    border: 2px solid var(--bg-alt);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

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

/* 导航栏活动链接 */
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

/* 动画效果 */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
}
