/* ===== FUN88 DESIGN SYSTEM — 暖陶珊瑚 × 薄荷绿 ===== */

/* 基础重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #fefaf6;
    --bg-alt: #fdf5ed;
    --surface: #ffffff;
    --text: #3d3533;
    --text-secondary: #6b5f5b;
    --text-muted: #9a8c87;
    --primary: #d4735a;
    --primary-hover: #c4624a;
    --primary-light: #fdf0eb;
    --accent: #6dbd90;
    --accent-light: #eaf7ef;
    --accent-deep: #4a9d6e;
    --border: #ede6e0;
    --border-subtle: #f3eeea;
    --shadow-sm: 0 1px 3px rgba(61, 53, 51, 0.06);
    --shadow-md: 0 4px 20px rgba(61, 53, 51, 0.08);
    --shadow-lg: 0 8px 40px rgba(61, 53, 51, 0.1);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-display: 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
    --font-body: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    font-family: var(--font-body);
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 选择文字 */
::selection {
    background: var(--primary-light);
    color: var(--primary);
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== 核心布局 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}
.section:nth-child(even) {
    background: var(--bg-alt);
}

/* ===== 导航 ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(254, 250, 246, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.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: var(--text);
    letter-spacing: -0.02em;
    transition: opacity 0.2s;
}
.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #fdf0eb 0%, #fce4db 100%);
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(212, 115, 90, 0.15);
}

.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: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
}
.main-nav a:hover {
    color: var(--primary);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width 0.3s ease;
}
.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 9px 22px !important;
    border-radius: 25px !important;
    color: #fff !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, var(--primary) 0%, #c4624a 100%) !important;
    box-shadow: 0 4px 14px rgba(212, 115, 90, 0.3);
    transition: all 0.3s ease !important;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 115, 90, 0.4) !important;
    color: #fff !important;
}
.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== Hero ===== */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 68px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -180px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 240, 235, 0.7) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 247, 239, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
    background: var(--accent-light);
    color: var(--accent-deep);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -0.03em;
    font-weight: 800;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #e8916a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 560px;
    margin-bottom: 32px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
    border: 6px solid #fff;
}
.hero-image:hover {
    transform: rotate(0deg);
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, #c4624a 100%);
    box-shadow: 0 4px 16px rgba(212, 115, 90, 0.28);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(212, 115, 90, 0.4);
    background: linear-gradient(135deg, #e07e5e 0%, var(--primary) 100%);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary-hover);
    color: var(--primary-hover);
    transform: translateY(-3px);
}

.btn-accent {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    box-shadow: 0 4px 16px rgba(109, 189, 144, 0.28);
}
.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(109, 189, 144, 0.4);
}

/* ===== 标签/标题 ===== */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 5px 14px;
    border-radius: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 14px;
    color: var(--text);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.section-desc {
    max-width: 600px;
    opacity: 0.7;
    margin-bottom: 40px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== 卡片网格 ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.category-card {
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border);
    transition: all 0.35s ease;
    background: var(--surface);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #e8916a 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 0 0 4px 0;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.category-card:hover::before {
    transform: scaleX(1);
}
.category-card:nth-child(3n+1)::before {
    background: linear-gradient(90deg, var(--primary) 0%, #e8916a 100%);
}
.category-card:nth-child(3n+2)::before {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
}
.category-card:nth-child(3n+3)::before {
    background: linear-gradient(90deg, #e8a850 0%, #d4933a 100%);
}

.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: var(--primary-light);
    color: var(--primary);
}
.category-card:nth-child(3n+2) .card-icon {
    background: var(--accent-light);
    color: var(--accent-deep);
}
.category-card:nth-child(3n+3) .card-icon {
    background: #fef9f2;
    color: #d4933a;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.card-link {
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s;
}
.card-link:hover {
    gap: 8px;
}
.category-card:nth-child(3n+2) .card-link {
    color: var(--accent-deep);
}

/* ===== 特性块 ===== */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.feature-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}
.feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 3px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
}
.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-text h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.feature-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}
.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.feature-list li::before {
    content: '✓';
    font-weight: 700;
    color: var(--accent-deep);
    font-size: 1rem;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
}

/* ===== 数据条 ===== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}
.stat-item:hover::after {
    width: 80px;
}
.stat-item:nth-child(2)::after {
    background: var(--accent);
}
.stat-item:nth-child(3)::after {
    background: #e8a850;
}
.stat-item:nth-child(4)::after {
    background: var(--accent-deep);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 8px;
    color: var(--text-muted);
}

/* ===== 内容墙 ===== */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.content-wall-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.35s ease;
    background: var(--surface);
}
.content-wall-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.content-wall-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.content-wall-body {
    padding: 22px 20px;
}
.content-wall-body h4 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text);
}
.content-wall-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.content-wall-body .card-link {
    margin-top: 12px;
    display: inline-block;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    background: var(--surface);
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.faq-item .faq-question {
    padding: 18px 22px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    font-size: 1rem;
    user-select: none;
}
.faq-item .faq-question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}
.faq-item .faq-answer {
    padding: 0 22px 18px;
    display: none;
    opacity: 0.7;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}
.faq-item.open .faq-answer {
    display: block;
}
.faq-item.open .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}
.faq-item.open {
    border-color: var(--primary);
    background: var(--primary-light);
}

/* ===== CTA横幅 ===== */
.cta-banner {
    padding: 60px 32px;
    text-align: center;
    border-radius: var(--radius-xl);
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, #c4624a 40%, #e8916a 100%);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}
.cta-banner h2 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}
.cta-banner .btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}
.cta-banner .btn-primary:hover {
    background: #fff;
    color: var(--primary-hover);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ===== 页脚 ===== */
.site-footer {
    padding: 56px 0 28px;
    background: #2d2724;
    color: #c4b8b3;
}
.site-footer .container {
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #a89890;
}
.footer-col h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}
.footer-col a {
    display: block;
    color: #a89890;
    text-decoration: none;
    font-size: 0.88rem;
    padding: 5px 0;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: var(--primary);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #7a6b65;
}

/* ===== 工具类 ===== */
.text-accent {
    color: var(--primary);
}
.text-center {
    text-align: center;
}
.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.7;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}
.mt-0 {
    margin-top: 0;
}
.mb-0 {
    margin-bottom: 0;
}

/* ===== 装饰性分割线 ===== */
.section-divider {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, #e8916a 100%);
    margin: 16px 0 24px;
}
.text-center .section-divider {
    margin: 16px auto 24px;
}

/* ===== 标签/徽章 ===== */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
}
.badge-accent {
    background: var(--accent-light);
    color: var(--accent-deep);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero {
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero p {
        margin: 0 auto 28px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .feature-block {
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .feature-block {
        grid-template-columns: 1fr;
    }
    .feature-image {
        order: -1;
    }
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .main-nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: rgba(254, 250, 246, 0.98);
        backdrop-filter: blur(18px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .main-nav.open a {
        font-size: 1rem;
        padding: 8px 0;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .cta-banner h2 {
        font-size: 1.5rem;
    }
    .section {
        padding: 56px 0;
    }
}

@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;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .hero h1 {
        font-size: 1.7rem;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .hero-image {
        border-radius: var(--radius);
    }
    .stat-number {
        font-size: 2rem;
    }
    .header-inner {
        padding: 0 16px;
    }
    .container {
        padding: 0 16px;
    }
    .category-card {
        padding: 24px 20px;
    }
    .cta-banner {
        padding: 40px 20px;
    }
}

/* ===== 动画关键帧 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

/* ===== 额外微交互 ===== */
.category-card:active {
    transform: scale(0.98);
}
.btn:active {
    transform: scale(0.96) !important;
}
.stat-item:active {
    transform: scale(0.97);
}