* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.logo-area {
    text-decoration: none;
    color: inherit;
}

.faq-list code {
    background: #fff3e4;
    padding: 1px 6px;
    border-radius: 6px;
    font-size: 0.92em;
}

footer a {
    color: #c26a1a;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.sidebar .rec-item {
    text-decoration: none;
    color: inherit;
}

body {
    background: #fef9f0;
    color: #2c241a;
    scroll-behavior: smooth;
}

/* 大圆角+柔和阴影+留白 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

/* 导航栏 */
nav {
    background: rgba(255, 248, 235, 0.96);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    margin: 20px auto 20px;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #ffedd5;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 6px 12px rgba(255, 45, 155, 0.28);
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(130deg, #FF2D9B, #E0007A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #5a3e2b;
    transition: 0.2s;
    border-radius: 40px;
    padding: 6px 14px;
}

.nav-links a:hover {
    background: #ffedd5;
    color: #c26a1a;
}

/* 3D旋转轮播 */
.carousel-3d {
    background: #fff3e4;
    border-radius: 60px;
    padding: 40px 20px;
    margin: 30px 0;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    perspective: 1000px;
    width: 100%;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-track {
    position: relative;
    width: 260px;
    height: 260px;
    transform-style: preserve-3d;
    animation: rotate3d 28s infinite linear;
}

.carousel-item {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 28px;
    background: white;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 3px solid rgba(255, 245, 215, 0.9);
    transition: all 0.3s;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 九宫格拆图：360° / 9 = 40° */
.carousel-item:nth-child(1) { transform: rotateY(0deg) translateZ(310px); }
.carousel-item:nth-child(2) { transform: rotateY(40deg) translateZ(310px); }
.carousel-item:nth-child(3) { transform: rotateY(80deg) translateZ(310px); }
.carousel-item:nth-child(4) { transform: rotateY(120deg) translateZ(310px); }
.carousel-item:nth-child(5) { transform: rotateY(160deg) translateZ(310px); }
.carousel-item:nth-child(6) { transform: rotateY(200deg) translateZ(310px); }
.carousel-item:nth-child(7) { transform: rotateY(240deg) translateZ(310px); }
.carousel-item:nth-child(8) { transform: rotateY(280deg) translateZ(310px); }
.carousel-item:nth-child(9) { transform: rotateY(320deg) translateZ(310px); }

@keyframes rotate3d {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* 渐变头部 */
.hero-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 45, 155, 0.14), transparent 60%),
        linear-gradient(125deg, #FFF0F6, #FFE0EF, #FFD4C8);
    border-radius: 56px;
    padding: 2.8rem 2rem 2.6rem;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 15px 25px rgba(196, 0, 106, 0.08);
    border: 1px solid rgba(255, 45, 155, 0.12);
}

.hero-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: block;
    margin: 0 auto 18px;
    box-shadow: 0 10px 24px rgba(255, 45, 155, 0.3);
}

.hero-gradient h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #2a1620;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.hero-en {
    font-weight: 700;
    background: linear-gradient(130deg, #FF2D9B, #C4006A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: 1.1rem;
    margin-top: 14px;
    color: #6b4558;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn-primary {
    background: linear-gradient(135deg, #FF2D9B, #D60072);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(255, 45, 155, 0.32);
}

.hero-btn-primary:hover {
    box-shadow: 0 12px 24px rgba(255, 45, 155, 0.4);
}

.hero-btn-secondary {
    background: #fff;
    color: #C4006A !important;
    border: 1.5px solid rgba(255, 45, 155, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.hero-btn-secondary:hover {
    background: #fff5fa;
    border-color: #FF2D9B;
}

/* 数据卡片 */
.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 50px 0;
    justify-content: center;
}

.stat-card {
    flex: 1;
    min-width: 180px;
    background: white;
    padding: 28px 16px;
    border-radius: 42px;
    text-align: center;
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
    border: 1px solid #ffe2be;
    text-decoration: none;
    color: inherit;
    display: block;
}

.stat-card:hover {
    transform: translateY(-6px);
}

.stat-number {
    font-size: 2.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E67E22, #F39C12);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    margin-top: 12px;
    font-weight: 600;
    color: #876b4f;
}

/* 下载按钮多色 */
.download-area {
    text-align: center;
    margin: 40px 0;
}

.multi-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.down-btn {
    padding: 14px 34px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    background: #FFB347;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.1);
}

.down-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    color: white;
}

.down-btn:nth-child(1) { background: #E67E22; }
.down-btn:nth-child(2) { background: #1ABC9C; }
.down-btn:nth-child(3) { background: #9B59B6; }
.down-btn:nth-child(4) { background: #E74C3C; }

/* 左右栏布局 */
.two-columns {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin: 50px 0;
}

.main-content {
    flex: 2.5;
    min-width: 260px;
}

.sidebar {
    flex: 1.2;
    min-width: 240px;
}

.module-card {
    background: white;
    border-radius: 40px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.module-card.no-top-margin {
    margin-top: 0;
}

.module-title {
    font-size: 1.7rem;
    font-weight: 700;
    border-left: 8px solid #F4A261;
    padding-left: 18px;
    margin-bottom: 24px;
}

.intro-text {
    line-height: 1.5;
    margin-bottom: 20px;
}

.feature-box {
    background: #FEF2E4;
    border-radius: 28px;
    padding: 20px;
}

/* 分类板块+图片子模块 */
.category-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.cat-item {
    background: #fffaf5;
    border-radius: 38px;
    padding: 16px;
}

.cat-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #b45f1b;
    margin-bottom: 18px;
    display: inline-block;
    background: #ffeedd;
    padding: 4px 20px;
    border-radius: 40px;
    text-decoration: none;
}

a.cat-name:hover {
    background: #ffd9b8;
    color: #8a4510;
}

.sub-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.sub-card {
    background: white;
    border-radius: 28px;
    width: calc(33% - 12px);
    min-width: 110px;
    flex: 1;
    padding: 14px;
    text-align: center;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.sub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.sub-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 10px;
    background: #ffe3c6;
}

.sub-card span {
    font-weight: 600;
    font-size: 0.85rem;
    color: #916e48;
}

/* 评论滚动区 10条默认+滚动 */
.comment-section {
    background: #fffaf2;
    border-radius: 44px;
    padding: 20px;
    margin-top: 20px;
}

.comment-scroll {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 10px;
}

.single-comment {
    background: white;
    border-radius: 28px;
    padding: 14px 18px;
    margin-bottom: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    border: 1px solid #ffe1bc;
}

.comment-author {
    font-weight: 700;
    color: #c96f1a;
}

.comment-content {
    margin-top: 6px;
}

/* 长尾问题h3 */
.faq-list h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 18px 0 8px;
    color: #2c241a;
    cursor: pointer;
}

.faq-list p {
    color: #6f553b;
    margin-bottom: 10px;
    padding-left: 12px;
}

/* 右侧推荐/最新模块 */
.right-mod {
    background: white;
    border-radius: 38px;
    padding: 24px;
    margin-bottom: 28px;
}

.right-mod h3 {
    font-size: 1.5rem;
    border-bottom: 3px dashed #FFB347;
    display: inline-block;
    margin-bottom: 18px;
}

.rec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
}

.rec-img {
    width: 55px;
    height: 55px;
    border-radius: 24px;
    background: #f7dbb5;
    object-fit: cover;
}

/* 合作伙伴logo */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-around;
    margin: 20px 0;
}

.partner {
    background: white;
    border-radius: 70px;
    padding: 10px 24px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #5a3e2b;
    transition: transform 0.15s, box-shadow 0.15s;
}

a.partner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 45, 155, 0.12);
    color: #c4006a;
}

/* 底部版权 */
footer {
    background: #2f241b;
    color: #e6cfb5;
    border-radius: 48px 48px 20px 20px;
    padding: 40px 32px 28px;
    margin-top: 60px;
}

footer hr {
    border-color: #c9955e;
    margin: 16px 0;
}

.publish-date {
    font-size: 0.875rem;
}

@media (max-width: 800px) {
    .container {
        padding: 1rem;
    }

    .nav-links {
        gap: 12px;
        margin-top: 10px;
    }

    .sub-card {
        width: calc(50% - 12px);
    }

    .hero-gradient {
        padding: 2rem 1.2rem 1.8rem;
        border-radius: 36px;
    }

    .hero-logo {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .hero-gradient h1 {
        font-size: 1.7rem;
    }

    .hero-lead {
        font-size: 0.98rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
    }
}

button {
    cursor: pointer;
}
