/* AOS动画库样式 */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

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

/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 30%, #e3f2fd 100%);
    background-attachment: fixed;
    color: #2c3e50;
    overflow-x: hidden;
    line-height: 1.6;
}

/* 粒子背景容器 */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 英雄区域 ===== */
.hero-section {
    min-height: 35vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: 
        radial-gradient(ellipse 120% 80% at 50% 40%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
        linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.6) 100%);
    padding: 20px 0 15px;
    overflow: hidden;
}

/* 浮动装饰元素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(15px);
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 1;
    }
}

/* 标题区域 */
.title-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* 头像图片 */
.avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    animation: avatarFloat 3s ease-in-out infinite;
}

.avatar-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

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

/* 主标题 */
.main-title {
    font-size: 4.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.15));
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 副标题 */
.subtitle {
    font-size: 1.5rem;
    color: #475569;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.01em;
    line-height: 1.5;
    opacity: 0.9;
}

/* CTA按钮 */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    color: #ffffff;
    padding: 20px 48px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4), 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: buttonPulse 3s ease-in-out infinite;
}

.button-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.rocket-icon {
    font-size: 1.2em;
    animation: rocketFloat 2s ease-in-out infinite;
}

.button-text {
    position: relative;
}

.sparkle {
    position: absolute;
    right: -8px;
    top: -8px;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkleEffect 2s ease-in-out infinite;
}

.sparkle::before {
    content: '✨';
    position: absolute;
    font-size: 12px;
    top: -6px;
    left: -6px;
    animation: sparkleRotate 3s linear infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: all 0.8s ease;
    transform: skewX(-45deg);
    animation: sweepLight 4s ease-in-out infinite;
}

.cta-button::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 70%);
    border-radius: 60px;
    opacity: 0;
    animation: borderGlow 3s ease-in-out infinite;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 25px 70px rgba(37, 99, 235, 0.6), 0 10px 25px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 50%, #1e3a8a 100%);
    border-color: rgba(255, 255, 255, 0.5);
    animation-play-state: paused;
}

/* 按钮动画关键帧 */
@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4), 0 4px 12px rgba(37, 99, 235, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 50px rgba(37, 99, 235, 0.5), 0 6px 15px rgba(37, 99, 235, 0.3);
    }
}

@keyframes sweepLight {
    0%, 20% {
        left: -100%;
        opacity: 0;
    }
    50% {
        left: 0%;
        opacity: 1;
    }
    80%, 100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

@keyframes rocketFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-3px) rotate(5deg);
    }
}

@keyframes sparkleEffect {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes sparkleRotate {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) scale(0.8);
        opacity: 0.6;
    }
}

/* ===== 社交媒体区域 ===== */
.social-section {
    padding: 50px 0;
    background: rgba(248, 250, 252, 0.6);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.social-media {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-text {
    color: #475569;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0.85;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    border: 1.5px solid rgba(148, 163, 184, 0.2);
    width: 70px;
    height: 70px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 1);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 197, 253, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.social-icon:hover::before {
    opacity: 1;
}

.icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
    color: #64748b;
    transition: all 0.3s ease;
}

.social-icon:hover .icon-wrapper {
    transform: scale(1.1);
}

/* 抖音官方颜色 */
.social-icon.douyin:hover {
    background: linear-gradient(135deg, #fe2c55, #ff6b9d);
    border-color: rgba(254, 44, 85, 0.3);
}

.social-icon.douyin:hover svg {
    color: #ffffff;
}

/* 快手官方颜色 */
.social-icon.kuaishou:hover {
    background: linear-gradient(135deg, #ff6600, #ff9500);
    border-color: rgba(255, 102, 0, 0.3);
}

.social-icon.kuaishou:hover svg {
    color: #ffffff;
}

/* B站官方颜色 */
.social-icon.bilibili:hover {
    background: linear-gradient(135deg, #00a1d6, #4fc3f7);
    border-color: rgba(0, 161, 214, 0.3);
}

.social-icon.bilibili:hover svg {
    color: #ffffff;
}

/* ===== 工具分类区域 ===== */
.tools-section {
    padding: 60px 0;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(20px);
    position: relative;
}

.tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

/* 区域标题 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 3rem;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 1px;
}

/* 工具网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* 工具卡片 */
.tool-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.tool-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 1);
}

/* 工具图标 */
.tool-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    transform: scale(1) rotateY(0deg);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

/* 工具标题 */
.tool-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.tool-card:hover .tool-title {
    color: #1e3a8a;
}

/* 工具描述 */
.tool-desc {
    color: #64748b;
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: center;
}



/* ===== 底部 ===== */
.footer {
    padding: 40px 0;
    text-align: center;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer-text {
    color: #64748b;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 30vh;
        padding: 15px 0 20px;
    }
    
    .title-section {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .avatar-image {
        width: 80px;
        height: 80px;
    }
    
    .main-title {
        font-size: 2.5rem;
        margin-bottom: 0;
    }
    
    .subtitle {
        font-size: 1.2rem;
        padding: 0 20px;
        margin-bottom: 1.2rem;
    }
    
    .tools-section {
        padding: 20px 0;
    }
    
    .social-section {
        padding: 30px 0;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tool-card {
        padding: 30px 20px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .social-icons {
        gap: 20px;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
    }
    
    .icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .tools-section,
    .features-section {
        padding: 60px 0;
    }
}

/* ===== 自定义滚动条 ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

/* ===== 选择文本样式 ===== */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #1e40af;
}

::-moz-selection {
    background: rgba(59, 130, 246, 0.3);
    color: #1e40af;
} 