/* ========================================
   禁漫天堂 · 漫界净土 设计系统
   jmtt.cq.cn
   Mars-era visual identity
   ======================================== */

*, *::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: #FDF9F3;
    color: #2D2D2D;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 88px 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(180deg, #F5F0FF 0%, #FDF9F3 100%);
}

/* ===== 导航 ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 251, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 122, 89, 0.12);
    box-shadow: 0 4px 24px rgba(255, 122, 89, 0.06);
}

.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: 900;
    font-size: 1.35rem;
    text-decoration: none;
    color: #2D2D2D;
    letter-spacing: 1px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #FF7A59, #FF9B6A);
    box-shadow: 0 4px 12px rgba(255, 122, 89, 0.35);
    color: #fff;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: #6B6B6B;
    transition: color 0.3s;
    position: relative;
    padding: 4px 0;
}

.main-nav a:hover {
    color: #FF7A59;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #FF7A59, #8B7FD4);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, #FF7A59, #FF9B6A);
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 122, 89, 0.35);
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 89, 0.45);
    color: #fff !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 14px;
    background: #F5F0FF;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #2D2D2D;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF0EA 45%, #F0EDFF 100%);
    padding: 110px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 89, 0.18) 0%, transparent 70%);
    top: -120px;
    right: 8%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 127, 212, 0.18) 0%, transparent 70%);
    bottom: -80px;
    left: 2%;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    min-width: 300px;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(255, 122, 89, 0.15), rgba(139, 127, 212, 0.15));
    color: #FF7A59;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.4rem;
    line-height: 1.18;
    margin-bottom: 22px;
    font-weight: 900;
    letter-spacing: -2px;
    color: #2D2D2D;
}

.hero h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #FF7A59, #8B7FD4);
    margin-top: 16px;
}

.hero p {
    font-size: 1.12rem;
    opacity: 0.65;
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 24px 64px rgba(255, 122, 89, 0.18);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary {
    background: linear-gradient(135deg, #FF7A59, #FF9B6A);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 122, 89, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 122, 89, 0.45);
}

.btn-outline {
    background: transparent;
    border: 2px solid #8B7FD4;
    color: #8B7FD4;
}

.btn-outline:hover {
    background: #8B7FD4;
    color: #fff;
    transform: translateY(-3px);
}

/* ===== 标签/标题 ===== */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 14px;
    text-transform: uppercase;
    color: #FF7A59;
    position: relative;
    padding-left: 28px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #FF7A59, #8B7FD4);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.25;
    color: #2D2D2D;
}

.section-desc {
    max-width: 600px;
    opacity: 0.65;
    margin-bottom: 48px;
    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: 24px;
    padding: 32px;
    background: #FFFFFF;
    border: 1px solid rgba(255, 122, 89, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF7A59, #8B7FD4, #3EC3B5);
    opacity: 0;
    transition: opacity 0.35s;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255, 122, 89, 0.12);
    border-color: transparent;
}

.category-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 122, 89, 0.12), rgba(139, 127, 212, 0.12));
    color: #FF7A59;
}

.category-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, rgba(139, 127, 212, 0.12), rgba(62, 195, 181, 0.12));
    color: #8B7FD4;
}

.category-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, rgba(62, 195, 181, 0.12), rgba(255, 122, 89, 0.12));
    color: #3EC3B5;
}

.category-card:nth-child(4) .card-icon {
    background: linear-gradient(135deg, rgba(255, 122, 89, 0.12), rgba(62, 195, 181, 0.12));
    color: #FF7A59;
}

.category-card h3,
.content-wall-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2D2D2D;
}

.category-card p,
.content-wall-body p {
    font-size: 0.92rem;
    opacity: 0.6;
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-link {
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    color: #FF7A59;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 12px;
}

/* ===== 特性块 ===== */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(139, 127, 212, 0.15);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.03);
}

.feature-text {
    position: relative;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.3;
    color: #2D2D2D;
}

.feature-text p {
    opacity: 0.65;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1.02rem;
}

.feature-list li::before {
    content: '✓';
    font-weight: 900;
    color: #3EC3B5;
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(62, 195, 181, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== 数据条 ===== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.stat-item {
    padding: 32px 24px;
    border-radius: 24px;
    border: none;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FF7A59, #FF9B6A);
    opacity: 0.6;
}

.stat-item:nth-child(2)::after {
    background: linear-gradient(90deg, #8B7FD4, #B8AEE6);
}

.stat-item:nth-child(3)::after {
    background: linear-gradient(90deg, #3EC3B5, #7ADBC9);
}

.stat-item:nth-child(4)::after {
    background: linear-gradient(90deg, #FF9B6A, #FFC9A8);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FF7A59, #FF9B6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(2) .stat-number {
    background: linear-gradient(135deg, #8B7FD4, #B8AEE6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(3) .stat-number {
    background: linear-gradient(135deg, #3EC3B5, #7ADBC9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(4) .stat-number {
    background: linear-gradient(135deg, #FF9B6A, #FFC9A8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.92rem;
    opacity: 0.6;
    margin-top: 8px;
    font-weight: 500;
}

/* ===== 内容墙 ===== */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.content-wall-item {
    border-radius: 24px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    cursor: pointer;
}

.content-wall-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(139, 127, 212, 0.15);
}

.content-wall-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.content-wall-item:hover img {
    transform: scale(1.05);
}

.content-wall-body {
    padding: 24px;
}

.content-wall-body p {
    margin-bottom: 0;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(139, 127, 212, 0.15);
    border-radius: 18px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #FFFFFF;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 122, 89, 0.3);
    box-shadow: 0 4px 16px rgba(255, 122, 89, 0.08);
}

.faq-item.open {
    border-color: rgba(255, 122, 89, 0.2);
    box-shadow: 0 8px 24px rgba(139, 127, 212, 0.12);
}

.faq-item .faq-question {
    padding: 20px 24px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.02rem;
    color: #2D2D2D;
}

.faq-item .faq-question::after {
    content: '+';
    font-size: 1.6rem;
    color: #8B7FD4;
    font-weight: 400;
    transition: transform 0.3s, color 0.3s;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
    color: #FF7A59;
}

.faq-item .faq-answer {
    padding: 0 24px 20px;
    display: none;
    opacity: 0.65;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ===== CTA横幅 ===== */
.cta-banner {
    padding: 64px 40px;
    text-align: center;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #FF7A59 0%, #FF9B6A 40%, #8B7FD4 100%);
    box-shadow: 0 20px 50px rgba(255, 122, 89, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    top: -60px;
    right: -60px;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -40px;
    left: 10%;
    pointer-events: none;
}

.cta-banner h2 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-banner p {
    position: relative;
    z-index: 2;
    opacity: 0.9;
    max-width: 480px;
    margin: 0 auto 30px;
}

.cta-banner .btn-primary {
    background: #ffffff;
    color: #FF7A59;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.cta-banner .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== 页脚 ===== */
.site-footer {
    padding: 64px 0 32px;
    background: #FFF3EC;
    border-top: 1px solid rgba(255, 122, 89, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #2D2D2D;
}

.site-footer .footer-brand p {
    font-weight: 400;
    opacity: 0.6;
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2D2D2D;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #FF7A59;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 122, 89, 0.15);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===== 工具类 ===== */
.text-accent {
    color: #FF7A59;
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.65;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .section { padding: 64px 0; }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-content,
    .hero-image {
        flex: 0 0 100%;
        min-width: 0;
        max-width: 100%;
    }

    .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;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #FFF9F0;
        padding: 24px;
        border-bottom: 1px solid rgba(255, 122, 89, 0.1);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
        gap: 16px;
    }

    .main-nav.open {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .cards-grid,
    .content-wall,
    .stats-bar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-banner {
        padding: 48px 24px;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 8px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .nav-cta {
        text-align: center;
        margin-top: 8px;
    }
}