/* ==========================================
   "琉璃万花筒" — zaixianguankan.ac.cn 设计系统
   明亮 · 温暖 · 有机 · 非传统
   ========================================== */

/* 基础重置 */
*, *::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: #FFF8F0;
    color: #2D2A26;
    line-height: 1.6;
}

::selection {
    background: #FF6B4A;
    color: #FFF8F0;
}

/* 核心布局 — 必须居中 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    position: relative;
}

.section:nth-child(even) {
    background: #F5F0E8;
}

/* 装饰性背景圆点 — 万花筒元素 */
.section::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.08) 0%, transparent 70%);
    top: 40px;
    right: -80px;
    z-index: 0;
}

.section > .container {
    position: relative;
    z-index: 1;
}

/* 导航 — 固定顶部 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 248, 240, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(46, 196, 182, 0.15);
    box-shadow: 0 2px 30px rgba(255, 107, 74, 0.04);
}

.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.35rem;
    text-decoration: none;
    color: #2D2A26;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #FF6B4A 0%, #FF9E7A 50%, #2EC4B6 100%);
    color: #FFF;
    box-shadow: 0 4px 12px rgba(255, 107, 74, 0.3);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
    color: #2D2A26;
    position: relative;
}

.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6B4A;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.main-nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: #FF6B4A;
}

.nav-cta {
    padding: 10px 24px;
    border-radius: 50px;
    color: #FFF8F0 !important;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B4A, #FF8E6E);
    box-shadow: 0 4px 16px rgba(255, 107, 74, 0.35);
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(255, 107, 74, 0.45);
}

.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid #2EC4B6;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #2EC4B6;
    border-radius: 2px;
    transition: 0.3s;
}

/* 首页Hero */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #FFF8F0 0%, #FFF0E8 55%, #E8F4F2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '✦';
    position: absolute;
    font-size: 18rem;
    color: rgba(255, 107, 74, 0.06);
    right: -60px;
    bottom: -60px;
    transform: rotate(15deg);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 36px solid rgba(46, 196, 182, 0.08);
    top: -120px;
    right: -80px;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    background: rgba(46, 196, 182, 0.14);
    color: #1B8C80;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -2px;
    color: #2D2A26;
}

.hero h1 .highlight {
    background: linear-gradient(120deg, #FF6B4A, #2EC4B6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.65;
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 14px;
}

.hero-image {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transform: rotate(2deg);
    box-shadow: 20px 20px 0 rgba(46, 196, 182, 0.2);
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    color: #FFF8F0;
    background: linear-gradient(135deg, #FF6B4A, #FF9E7A);
    box-shadow: 0 4px 20px rgba(255, 107, 74, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 74, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #2EC4B6;
    color: #1B8C80;
}

.btn-outline:hover {
    background: rgba(46, 196, 182, 0.1);
    transform: translateY(-3px);
}

/* 标签/标题 */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 16px;
    color: #FF6B4A;
    text-transform: uppercase;
    position: relative;
    padding-left: 28px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 3px;
    background: #FF6B4A;
    border-radius: 2px;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 16px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-desc {
    max-width: 600px;
    opacity: 0.65;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* 卡片网格 */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.category-card {
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(46, 196, 182, 0.15);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF6B4A, #2EC4B6);
    opacity: 0;
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: 0 16px 40px rgba(255, 107, 74, 0.12), 0 4px 16px rgba(46, 196, 182, 0.08);
    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: 20px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.12), rgba(46, 196, 182, 0.12));
}

.card-link {
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    color: #FF6B4A;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    transition: 0.2s;
}

.card-link:hover {
    gap: 12px;
}

/* 特性块 */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 12px 12px 0 rgba(255, 107, 74, 0.15);
    transform: rotate(-1deg);
}

.feature-image::after {
    content: '↗';
    position: absolute;
    width: 56px;
    height: 56px;
    background: #FF6B4A;
    border-radius: 50%;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #FFF8F0;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-text {}

.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #3A3632;
}

.feature-list li::before {
    content: '◆';
    font-weight: 400;
    color: #2EC4B6;
    font-size: 0.6rem;
}

/* 数据条 */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 32px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(46, 196, 182, 0.2);
    transition: 0.3s;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(46, 196, 182, 0.15);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FF6B4A, #2EC4B6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 8px;
}

/* 内容墙 */
.content-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.content-wall-item {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(46, 196, 182, 0.15);
    background: #FFF;
    transition: 0.3s ease;
}

.content-wall-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 40px rgba(255, 107, 74, 0.15);
}

.content-wall-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: 0.4s;
}

.content-wall-item:hover img {
    transform: scale(1.05);
}

.content-wall-body {
    padding: 20px;
}

.content-wall-body h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(46, 196, 182, 0.18);
    transition: 0.3s;
}

.faq-item:hover {
    border-color: #FF6B4A;
}

.faq-item .faq-question {
    padding: 20px 24px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.faq-item .faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: #FF6B4A;
    font-weight: 400;
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-item .faq-answer {
    padding: 0 24px 20px;
    display: none;
    opacity: 0.7;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    display: block;
}

/* CTA横幅 */
.cta-banner {
    padding: 72px 24px;
    text-align: center;
    border-radius: 28px;
    background: linear-gradient(135deg, #FF6B4A 0%, #FF9E7A 50%, #2EC4B6 100%);
    color: #FFF8F0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '●';
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -40px;
    left: -40px;
}

.cta-banner::after {
    content: '●';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 20px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    bottom: -30px;
    right: 40px;
}

.cta-banner h2 {
    color: #FFF8F0;
    font-size: 2.4rem;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.cta-banner p {
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-banner .btn-primary {
    background: #FFF8F0;
    color: #FF6B4A;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
}

/* 页脚 */
.site-footer {
    padding: 72px 0 28px;
    background: #2D5A57;
    color: #E8F4F2;
    border-radius: 40px 40px 0 0;
    margin-top: 40px;
}

.site-footer .container {
    max-width: 1200px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    padding-right: 40px;
}

.footer-brand .logo {
    color: #E8F4F2;
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.6;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col {}

.footer-col h4 {
    color: #FFF;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    color: rgba(232, 244, 242, 0.7);
    text-decoration: none;
    padding: 5px 0;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #FFB09A;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(232, 244, 242, 0.12);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* 工具类 */
.text-accent {
    color: #FF6B4A;
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.seo-description {
    max-width: 600px;
    margin: 0 auto 48px;
    opacity: 0.65;
    line-height: 1.7;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* 额外视觉元素 — 万花筒装饰圆 */
.deco-dots {
    display: flex;
    gap: 8px;
    margin: 28px 0;
}

.deco-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.deco-dots span:nth-child(1) { background: #FF6B4A; }
.deco-dots span:nth-child(2) { background: #2EC4B6; }
.deco-dots span:nth-child(3) { background: #FFC14A; }

/* ⚠️ 响应式 */
@media (max-width: 992px) {
    .section-title { font-size: 2.2rem; }
    .hero h1 { font-size: 3.2rem; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }

    .feature-block { grid-template-columns: 1fr; gap: 40px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255, 248, 240, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        border-bottom: 1px solid rgba(46, 196, 182, 0.2);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

    .main-nav.open { display: flex; }

    .menu-toggle { display: flex; }

    .hero { min-height: 80vh; text-align: center; }

    .hero-content { max-width: 100%; margin: 0 auto; }

    .hero h1 { font-size: 2.6rem; }

    .hero p { margin-left: auto; margin-right: auto; }

    .hero-buttons { justify-content: center; }

    .hero-image { margin-top: 40px; transform: rotate(1deg); }

    .footer-grid { gap: 28px; }
}

@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; }

    .hero h1 { font-size: 2rem; letter-spacing: -1px; }

    .section-title { font-size: 1.8rem; }

    .cta-banner h2 { font-size: 1.6rem; }

    .stat-number { font-size: 2.2rem; }

    .logo { font-size: 1.1rem; }

    .logo-icon { width: 32px; height: 32px; }
}