/* 吃瓜社区 - 夏日多巴胺撞色设计系统 */
/* 主色调：珊瑚粉 #FF6B6B + 柠檬黄 #FFD93D + 薄荷绿 #6BCB77 + 天空蓝 #4D96FF */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF8E1 50%, #F0FFF4 100%);
    color: #2D3436;
    min-height: 100vh;
}

/* 核心布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
}

/* 导航 - 糖果渐变条 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF) 1;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
    color: #FF6B6B;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    color: white;
    -webkit-text-fill-color: white;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2D3436;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B6B, #FFD93D);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-nav a:hover {
    color: #FF6B6B;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    border-radius: 50px !important;
    color: #fff !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #FF6B6B;
    cursor: pointer;
}

/* 首页Hero - 气泡背景 */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFF8E1 50%, #E8F5E9 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.15), transparent);
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 217, 61, 0.15), transparent);
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6BCB77, #4D96FF);
    color: white;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D, #6BCB77);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.8;
    max-width: 560px;
    margin-bottom: 36px;
    color: #636E72;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 按钮 - 多巴胺风格 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid #FF6B6B;
    color: #FF6B6B;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* 标签/标题 */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    background: linear-gradient(135deg, #FF6B6B22, #FFD93D22);
    color: #FF6B6B;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, #2D3436, #636E72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    max-width: 600px;
    opacity: 0.7;
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #636E72;
}

/* 卡片网格 - 糖果卡片 */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.category-card {
    border-radius: 20px;
    padding: 32px;
    border: none;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.15);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #FFF5F5, #FFF8E1);
    color: #FF6B6B;
}

.card-link {
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    color: #4D96FF;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
    color: #FF6B6B;
}

/* 特性块 */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(77, 150, 255, 0.15);
    transition: transform 0.5s ease;
}

.feature-image:hover {
    transform: scale(1.02);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-text {
    padding: 20px 0;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list li::before {
    content: '✓';
    font-weight: 700;
    color: #6BCB77;
    font-size: 1.2rem;
}

/* 数据条 - 彩色玻璃 */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 32px 20px;
    border-radius: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.stat-item:nth-child(1) { border-bottom: 4px solid #FF6B6B; }
.stat-item:nth-child(2) { border-bottom: 4px solid #FFD93D; }
.stat-item:nth-child(3) { border-bottom: 4px solid #6BCB77; }
.stat-item:nth-child(4) { border-bottom: 4px solid #4D96FF; }

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 8px;
    color: #636E72;
    font-weight: 500;
}

/* 内容墙 */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.content-wall-item {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-wall-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.15);
}

.content-wall-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-wall-item:hover img {
    transform: scale(1.05);
}

.content-wall-body {
    padding: 24px;
}

.content-wall-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.content-wall-body p {
    font-size: 0.9rem;
    opacity: 0.7;
    color: #636E72;
}

/* FAQ - 彩色折叠 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: none;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    cursor: pointer;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.1);
}

.faq-item .faq-question {
    padding: 20px 24px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #FFF5F5, #FFF8E1);
    color: #2D3436;
    font-size: 1rem;
}

.faq-item .faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #FF6B6B;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-item .faq-answer {
    padding: 0 24px 20px;
    display: none;
    opacity: 0.8;
    color: #636E72;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 0.8; transform: translateY(0); }
}

/* CTA横幅 - 渐变彩虹 */
.cta-banner {
    padding: 64px 24px;
    text-align: center;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-banner h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    font-size: 1.1rem;
}

.cta-banner .btn-primary {
    background: #fff;
    color: #FF6B6B;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 页脚 */
.site-footer {
    padding: 60px 0 28px;
    background: linear-gradient(135deg, #2D3436, #636E72);
    color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #FFD93D;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #FF6B6B;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 40px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* 工具类 */
.text-accent {
    color: #FF6B6B;
}

.text-center {
    text-align: center;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.7;
    color: #636E72;
    line-height: 1.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 响应式 */
@media (max-width: 1024px) {
    .feature-block {
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .feature-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: linear-gradient(135deg, #FFF5F5, #FFF8E1);
    }
    
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        border-bottom: 3px solid transparent;
        border-image: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF) 1;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .content-wall {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .cards-grid,
    .content-wall,
    .stats-bar {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stat-item {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}