/*
 * -----------------------------------------------------------
 * 囤囤鼠 - 温暖可爱风样式
 * -----------------------------------------------------------
 */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap');

/* 基础样式 */
:root {
    --color-primary: #D97706; /* 暖橙色 - 主色 */
    --color-secondary: #F59E0B; /* 金橙色 - 次要色 */
    --color-accent: #FB923C; /* 活力橙 - 强调 */
    --color-pink: #F9A8D4; /* 柔粉色 - 可爱点缀 */
    --color-background: #FFF7ED; /* 暖米白背景 */
    --color-surface: #FFFFFF;
    --color-text: #292524;
    --color-text-muted: #78716C;
    --color-border: #FED7AA;
}

body {
    font-family: 'Nunito', 'Noto Sans SC', sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--color-background);
    color: var(--color-text);
    position: relative;
    overflow-x: hidden;
}

/* 可爱背景装饰 - 暖橙色调 */
body::before {
    content: '';
    position: fixed;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #FBBF24, #FED7AA);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #FCD34D, #FDE68A);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: 0;
    animation: float 8s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* 头部样式 - 温暖可爱风格 */
header {
    background: linear-gradient(180deg, #FFFFFF 0%, transparent 100%);
    color: var(--color-text);
    padding: 50px 20px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

header .logo {
    width: 100px;
    border-radius: 28px;
    height: auto;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.15);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

header h1 {
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: var(--color-primary);
    text-shadow: 2px 2px 0 var(--color-border);
}

header p {
    font-size: 17px;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* 返回按钮 */
.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #FFFFFF, var(--color-background));
    border: 2px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.back-link:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.3);
    border-color: var(--color-primary);
}

.back-link::before {
    content: '←';
    font-size: 16px;
}

/* 主要内容样式 */
main {
    padding: 50px 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

section {
    background: linear-gradient(135deg, #FFFFFF, var(--color-background));
    margin-bottom: 30px;
    padding: 36px 32px;
    border-radius: 32px;
    border: 2px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.15);
}

section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--color-primary);
    text-align: center;
}

section h2::after {
    content: '🐭';
    margin-left: 8px;
}

section p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* 按钮样式 - 温暖可爱风格 */
.btn-custom {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-custom:hover {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

/* 下载按钮样式 */
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding: 14px 20px;
    height: 56px;
    white-space: nowrap;
    border: 2px solid var(--color-border);
    background: linear-gradient(135deg, #FFFFFF, var(--color-background));
    color: var(--color-text);
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(217, 119, 6, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.download-btn:hover {
    background: linear-gradient(135deg, #FFFFFF, #FEF3C7);
    border-color: var(--color-primary);
    color: var(--color-text);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(217, 119, 6, 0.25);
}

.download-btn:hover::before {
    opacity: 1;
}

.download-btn img {
    margin-right: 10px;
    position: relative;
    z-index: 1;
}

.download-btn span {
    line-height: 1;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* 下载按钮区域 */
.download .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

/* 页脚样式 */
footer {
    background: linear-gradient(180deg, transparent, #FFFFFF);
    color: var(--color-text-muted);
    text-align: center;
    padding: 32px 20px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

footer p {
    margin: 0;
    font-size: 13px;
}

footer p::before {
    content: '🐭 ';
}

.downloadlogo {
    width: 24px;
    height: 24px;
}

/* FAQ按钮样式 - 温暖可爱风格 */
.faq-btn {
    padding: 12px 20px;
    font-size: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), var(--color-background)) !important;
    border: 2px solid var(--color-border) !important;
    color: var(--color-text) !important;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
}

.faq-btn:hover {
    background: linear-gradient(135deg, #FFFFFF, #FEF3C7) !important;
    border-color: var(--color-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
}

/* 功能卡片区域 */
.text-bg-light {
    background-color: transparent !important;
}

.feature-icon {
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-background), var(--color-border));
    width: 56px;
    height: 56px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.card {
    background: linear-gradient(135deg, #FFFFFF, var(--color-background)) !important;
    border: 2px solid var(--color-border) !important;
    border-radius: 24px !important;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.15) !important;
}

/* 用户评价区域 */
section .card p {
    color: var(--color-text);
    font-style: italic;
}

section .card strong {
    color: var(--color-text-muted);
    font-weight: 600;
}

/* 联系区域 */
.contact {
    text-align: center;
}

.contact h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact h2 i {
    color: var(--color-primary);
}

.contact p {
    font-size: 15px;
    color: var(--color-text-muted);
    margin: 10px 0;
}

.contact a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.contact a:hover {
    color: var(--color-secondary);
}

.contact a::after {
    content: '🧀';
    margin-left: 4px;
    font-size: 12px;
}

/* 响应式 */
@media (max-width: 768px) {
    header {
        padding: 40px 20px 30px;
    }

    header h1 {
        font-size: 30px;
    }

    header p {
        font-size: 15px;
    }

    header .logo {
        width: 80px;
    }

    main {
        padding: 40px 20px;
    }

    section {
        padding: 28px 24px;
        border-radius: 24px;
    }

    section h2 {
        font-size: 22px;
    }

    .download .row {
        grid-template-columns: 1fr;
    }

    .back-link {
        top: 10px;
        left: 10px;
        padding: 10px 16px;
        font-size: 13px;
    }

    body::before,
    body::after {
        opacity: 0.3;
    }
}
