/* ============================================
   缘之空动漫在线观看 - 秋色之空设计系统
   风格：秋日渐变 + 透明玻璃 + 柔和光影
   主色：#e8c8a0（秋叶金） #d4a574（暖棕）
   强调：#7ab8b8（空青色）
   背景：渐变米白到浅杏
   ============================================ */

*, *::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(165deg, #fef9f0 0%, #fcf3e6 40%, #f8ede0 100%);
    color: #4a3f35;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(255, 245, 235, 0.5);
    backdrop-filter: blur(4px);
}

/* ========== 导航 ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 248, 240, 0.88);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    box-shadow: 0 2px 20px rgba(212, 165, 116, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: #5a4a3a;
    letter-spacing: 0.5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #d4a574, #e8c8a0);
    color: #fff;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5a4a3a;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a574, #7ab8b8);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #7ab8b8;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    border-radius: 50px;
    color: #fff !important;
    font-weight: 600;
    background: linear-gradient(135deg, #d4a574, #c4956a);
    box-shadow: 0 4px 14px rgba(212, 165, 116, 0.35);
    transition: all 0.3s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.45);
    color: #fff !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #5a4a3a;
    cursor: pointer;
    padding: 8px;
}

/* ========== Hero ========== */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 68px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 200, 160, 0.3), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(122, 184, 184, 0.2), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(122, 184, 184, 0.15));
    color: #7ab8b8;
    border: 1px solid rgba(122, 184, 184, 0.2);
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #5a4a3a, #7ab8b8, #d4a574);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.7;
    max-width: 560px;
    margin-bottom: 36px;
    color: #6a5a4a;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.2);
    position: relative;
}

.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: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #d4a574, #c4956a);
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(212, 165, 116, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #d4a574;
    color: #5a4a3a;
}

.btn-outline:hover {
    background: rgba(212, 165, 116, 0.1);
    border-color: #c4956a;
    transform: translateY(-2px);
}

/* ========== 标签/标题 ========== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: #7ab8b8;
    padding: 4px 0;
    border-bottom: 2px solid rgba(122, 184, 184, 0.3);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    font-weight: 700;
    color: #4a3f35;
    letter-spacing: -0.3px;
}

.section-desc {
    max-width: 600px;
    opacity: 0.7;
    margin-bottom: 44px;
    color: #6a5a4a;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ========== 卡片网格 ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.category-card {
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(212, 165, 116, 0.15);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a574, #7ab8b8);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.15);
    border-color: rgba(122, 184, 184, 0.3);
}

.category-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #f0e4d6, #e8d8c8);
    color: #7ab8b8;
}

.card-link {
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    color: #d4a574;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
    color: #c4956a;
}

/* ========== 特性块 ========== */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(212, 165, 116, 0.15);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-text {
    padding: 20px 0;
}

.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #5a4a3a;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✦';
    font-weight: 700;
    color: #7ab8b8;
    font-size: 1.1rem;
}

/* ========== 数据条 ========== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.stat-item {
    padding: 32px 20px;
    border-radius: 20px;
    border: 1px solid rgba(212, 165, 116, 0.15);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d4a574, #7ab8b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 8px;
    color: #6a5a4a;
    letter-spacing: 0.5px;
}

/* ========== 内容墙 ========== */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.content-wall-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 165, 116, 0.12);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    transition: all 0.4s ease;
}

.content-wall-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(212, 165, 116, 0.15);
    border-color: rgba(122, 184, 184, 0.25);
}

.content-wall-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-wall-item:hover img {
    transform: scale(1.05);
}

.content-wall-body {
    padding: 22px;
}

.content-wall-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #4a3f35;
}

.content-wall-body p {
    font-size: 0.9rem;
    opacity: 0.7;
    color: #6a5a4a;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(122, 184, 184, 0.3);
}

.faq-item .faq-question {
    padding: 18px 24px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4a3f35;
    font-size: 1rem;
}

.faq-item .faq-question::after {
    content: '+';
    font-size: 1.3rem;
    color: #d4a574;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-item .faq-answer {
    padding: 0 24px 18px;
    display: none;
    opacity: 0.7;
    color: #6a5a4a;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ========== CTA横幅 ========== */
.cta-banner {
    padding: 64px 32px;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #d4a574, #b88a6a, #7ab8b8);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1), transparent 60%);
    pointer-events: none;
}

.cta-banner h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.cta-banner .btn-primary {
    background: #fff;
    color: #5a4a3a;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover {
    background: #fef9f0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ========== 页脚 ========== */
.site-footer {
    padding: 64px 0 32px;
    background: linear-gradient(180deg, rgba(248, 237, 224, 0.5), rgba(240, 228, 214, 0.3));
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand {
    padding-right: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.7;
    color: #6a5a4a;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #4a3f35;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #6a5a4a;
    font-size: 0.88rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: #7ab8b8;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 165, 116, 0.15);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #6a5a4a;
    opacity: 0.6;
}

/* ========== 工具类 ========== */
.text-accent {
    color: #7ab8b8;
}

.text-center {
    text-align: center;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.7;
    color: #6a5a4a;
    line-height: 1.7;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .feature-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .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;
    }
    
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: rgba(255, 248, 240, 0.98);
        backdrop-filter: blur(16px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(212, 165, 116, 0.15);
        box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .cta-banner {
        padding: 48px 20px;
    }
    
    .cta-banner h2 {
        font-size: 1.5rem;
    }
}

@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;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .stat-item {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}