/* ========================================
   FlyingMouse Format 飞鼠格式 - 样式表
   配色：粉色主调 + 米白背景 + 黑色粗边框
   ======================================== */

/* ---------- CSS 重置 ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #FFF9F2;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

svg {
    flex-shrink: 0;
}

/* ---------- 颜色变量 ---------- */
:root {
    --pink: #FF6B9D;
    --pink-light: #FFC2D6;
    --pink-dark: #E8558A;
    --cream: #FFF9F2;
    --cream-dark: #FDF0E3;
    --ink: #1a1a1a;
    --ink-light: #444;
    --mint: #D4F4E2;
    --mint-dark: #8DE0B3;
    --card-bg: #FFFFFF;
    --border: #1a1a1a;
    --shadow: 6px 6px 0 #1a1a1a;
    --shadow-lg: 8px 8px 0 #1a1a1a;
    --shadow-pink: 6px 6px 0 var(--pink);
    --radius: 12px;
    --radius-lg: 20px;
}

/* ---------- 通用容器 ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 导航栏 ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 249, 242, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border: 2.5px solid var(--border);
    border-radius: 50%;
    background: var(--pink-light);
}

.logo-text {
    color: var(--pink);
    letter-spacing: -0.3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: var(--pink-light);
}

.nav-download-btn {
    background: var(--pink);
    color: #fff;
    border: 2.5px solid var(--border);
    box-shadow: 3px 3px 0 var(--border);
    padding: 8px 20px;
}

.nav-download-btn:hover {
    background: var(--pink-dark);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--border);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero 首屏 ---------- */
.hero {
    padding: 130px 0 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--pink-light) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.4;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--mint);
    border: 2.5px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 28px;
    box-shadow: 3px 3px 0 var(--border);
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: #32CD32;
    border-radius: 50%;
    border: 2px solid var(--border);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.15); }
}

.hero-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.title-brand {
    color: var(--pink);
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.hero-description {
    font-size: 17px;
    color: var(--ink-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--ink);
    background: linear-gradient(transparent 60%, var(--pink-light) 60%);
    padding: 0 2px;
}

/* 元信息 */
.hero-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--card-bg);
    border: 2.5px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 4px 4px 0 var(--border);
}

.meta-icon {
    width: 28px;
    height: 28px;
    color: var(--pink);
}

.meta-label {
    font-size: 12px;
    color: var(--ink-light);
    font-weight: 600;
}

.meta-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
}

/* 按钮组 */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    border: 3px solid var(--border);
    transition: all 0.2s ease;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-extra-large {
    padding: 20px 40px;
    font-size: 19px;
    width: 100%;
}

.btn-primary {
    background: var(--pink);
    color: #fff;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--pink-dark);
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--border);
}

.btn-outline {
    background: var(--card-bg);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.btn-outline:hover {
    background: var(--pink-light);
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-lg);
}

/* 截图区域 */
.hero-screenshot {
    position: relative;
}

.screenshot-frame {
    border: 3px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: var(--card-bg);
    transform: rotate(1deg);
    transition: transform 0.3s ease;
}

.screenshot-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.screenshot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--cream-dark);
    border-bottom: 3px solid var(--border);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.dot.red { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green { background: #28C840; }

.window-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink-light);
    margin-left: 8px;
}

.screenshot-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--cream) 100%);
}

/* ---------- 通用 Section ---------- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--ink-light);
}

/* ---------- 功能区域 ---------- */
.features {
    padding: 100px 0;
    background: var(--card-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--cream);
    border: 3px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--pink-light) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 0.5;
}

.feature-card.highlight {
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--cream) 100%);
    grid-column: span 3;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border: 3px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.icon-image { background: #FFE4E8; color: #FF6B8A; }
.icon-doc { background: #E3F2FF; color: #4A9EFF; }
.icon-table { background: #E8FBF2; color: #2CC987; }
.icon-ppt { background: #FFF5E0; color: #FF9F43; }
.icon-pdf { background: #FFE4E4; color: #FF5757; }
.icon-text { background: #F0E8FF; color: #8855FF; }
.icon-media { background: #E8F5FF; color: #33A1FF; }
.icon-zip { background: #FEF5D6; color: #D4A017; }
.icon-batch { background: var(--pink); color: #fff; }

.feature-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-desc {
    font-size: 15px;
    color: var(--ink-light);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ---------- 用户评价 ---------- */
.reviews {
    padding: 100px 0;
    background: var(--cream);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.review-card {
    background: var(--card-bg);
    border: 3px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-radius: 50%;
    background: var(--pink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}

.review-name {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 2px;
}

.review-stars {
    color: #FFB800;
    font-size: 15px;
    letter-spacing: 1px;
}

.review-text {
    font-size: 15px;
    color: var(--ink-light);
    line-height: 1.8;
}

/* ---------- FAQ ---------- */
.faq {
    padding: 100px 0;
    background: var(--card-bg);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 3px solid var(--border);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-pink);
}

.faq-item.active {
    background: #fff;
}

.faq-question {
    width: 100%;
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 17px;
    text-align: left;
    gap: 16px;
}

.faq-arrow {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--pink);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 26px 24px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--ink-light);
    line-height: 1.8;
    border-top: 2px dashed var(--pink-light);
    padding-top: 18px;
}

/* ---------- 下载区域 ---------- */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--pink-light) 100%);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: "🐿️";
    position: absolute;
    font-size: 200px;
    opacity: 0.06;
    right: -40px;
    bottom: -60px;
}

.download-card {
    background: var(--card-bg);
    border: 3px solid var(--border);
    border-radius: 28px;
    padding: 48px 44px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.75fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.download-left {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.download-logo {
    flex-shrink: 0;
}

.logo-img-lg {
    width: 90px;
    height: 90px;
    border: 3px solid var(--border);
    border-radius: 20px;
    background: var(--pink-light);
    box-shadow: 4px 4px 0 var(--border);
}

.download-title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 10px;
}

.download-subtitle {
    font-size: 15px;
    color: var(--ink-light);
    margin-bottom: 14px;
}

.download-meta-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    display: inline-block;
    padding: 6px 14px;
    background: var(--cream);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.download-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#mainDownloadBtn {
    background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
}

#mainDownloadBtn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}

#mainDownloadBtn strong {
    font-size: 20px;
}

#mainDownloadBtn small {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

.download-tip {
    font-size: 14px;
    color: var(--ink-light);
    text-align: center;
}

/* ---------- 下载区域 · 二维码扫码 ---------- */
.download-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    background: var(--cream);
    border: 3px solid var(--border);
    border-radius: 20px;
    box-shadow: 4px 4px 0 var(--border);
}

.qr-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: var(--pink);
    color: #fff;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 2px 2px 0 var(--border);
}

.qr-icon {
    width: 16px;
    height: 16px;
}

.qr-frame {
    width: 140px;
    height: 140px;
    background: #fff;
    border: 3px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 4px 4px 0 var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.qr-frame:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--pink);
}

.qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.qr-tip {
    font-size: 12px;
    color: var(--ink-light);
    text-align: center;
    line-height: 1.5;
    font-weight: 600;
}

/* ---------- 页脚 ---------- */
.footer {
    background: var(--ink);
    color: #ddd;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    margin-bottom: 14px;
}

.footer-logo .logo-img {
    background: var(--pink);
}

.footer-desc {
    color: #aaa;
    font-size: 14px;
    max-width: 320px;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-link-group h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-link-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-group a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-link-group a:hover {
    color: var(--pink-light);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--pink);
    color: #fff;
    border: 3px solid var(--border);
    border-radius: 50%;
    box-shadow: 4px 4px 0 var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--pink-dark);
    transform: translateY(-4px);
    box-shadow: 6px 6px 0 var(--border);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 1024px) {
    .hero-title { font-size: 36px; }
    .title-brand { font-size: 28px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card.highlight { grid-column: span 2; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .download-card { grid-template-columns: 1fr; padding: 36px 28px; }
    .section-title { font-size: 32px; }
}

@media (max-width: 768px) {
    /* 导航 */
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--cream);
        border-bottom: 3px solid var(--border);
        flex-direction: column;
        padding: 20px 24px;
        gap: 12px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .nav-link { width: 100%; text-align: center; padding: 12px; }

    /* Hero */
    .hero { padding: 100px 0 60px; }
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 30px; }
    .title-brand { font-size: 24px; }
    .hero-meta { gap: 12px; }
    .meta-item { flex: 1; min-width: 140px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    /* 功能 */
    .features { padding: 70px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card.highlight { grid-column: span 1; }
    .section-title { font-size: 28px; }

    /* 评价 */
    .reviews { padding: 70px 0; }
    .reviews-grid { grid-template-columns: 1fr; }

    /* FAQ */
    .faq { padding: 70px 0; }
    .faq-question { font-size: 15px; padding: 18px 20px; }

    /* 下载 */
    .download { padding: 70px 0; }
    .download-left { flex-direction: column; gap: 18px; }
    .download-title { font-size: 22px; }
    .btn-extra-large { padding: 18px 28px; font-size: 17px; }

    /* 页脚 */
    .footer { padding: 48px 0 20px; }
    .footer-content { grid-template-columns: 1fr; gap: 36px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }

    /* 回到顶部 */
    .back-to-top { width: 44px; height: 44px; bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
    .hero-title { font-size: 26px; }
    .title-brand { font-size: 20px; }
    .section-title { font-size: 24px; }
    .feature-card { padding: 24px 20px; }
    .footer-links { grid-template-columns: 1fr; gap: 24px; }
    .download-card { padding: 28px 20px; border-radius: 20px; }
    .btn-large { padding: 14px 24px; font-size: 15px; }
}
