/* ═══════════════════════════════════════════════════════════
   CLAWD 桌宠 — 下载页样式
   深色主题 · 渐变背景 · 玻璃拟态卡片 · 响应式布局
   ═══════════════════════════════════════════════════════════ */

/* ─── 基础重置 ──────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
    background: #0d0d1a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── 导航栏 ────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 13, 26, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-brand {
    font-size: 20px;
    font-weight: 700;
    color: #f0f0f0;
}

.nav-cta {
    padding: 8px 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #e5754a, #d44a6e);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(229, 117, 74, 0.4);
}

/* ─── 英雄首屏 ──────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 80px;
    overflow: hidden;
}

/* 背景光晕 */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-bg::before,
.hero-bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: heroGlow 8s ease-in-out infinite alternate;
}
.hero-bg::before {
    width: 600px;
    height: 600px;
    background: #e5754a;
    top: -200px;
    left: -100px;
}
.hero-bg::after {
    width: 500px;
    height: 500px;
    background: #4a6ee5;
    bottom: -150px;
    right: -100px;
    animation-delay: -4s;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}

/* 顶部动图 */
.hero-icon {
    margin-bottom: 28px;
}
.hero-icon img {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    /* 毛玻璃底座 */
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    padding: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #fff;
}
.hero-content h1 span {
    /* 渐变文字 */
    background: linear-gradient(135deg, #e5754a, #f0a060, #d44a6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* ─── 下载按钮 ──────────────────────────────────────────── */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 52px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e5754a, #d44a6e);
    border-radius: 60px;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 6px 30px rgba(229, 117, 74, 0.35);
    position: relative;
    overflow: hidden;
}
.btn-download::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
    pointer-events: none;
}
.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(229, 117, 74, 0.5);
}
.btn-download:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 22px;
}

.btn-download-lg {
    padding: 20px 60px;
    font-size: 22px;
}

.hero-version {
    font-size: 13px;
    color: #777;
}

/* ─── 浮动装饰 ──────────────────────────────────────────── */
.hero-floating {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.float-pet {
    position: absolute;
    opacity: 0.25;
    animation: floatAround 20s ease-in-out infinite;
}
.float-1 {
    width: 80px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}
.float-2 {
    width: 60px;
    top: 70%;
    left: 12%;
    animation-delay: -7s;
}
.float-3 {
    width: 70px;
    top: 20%;
    right: 10%;
    animation-delay: -14s;
}

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25%      { transform: translate(30px, -20px) rotate(3deg); }
    50%      { transform: translate(-10px, -40px) rotate(-2deg); }
    75%      { transform: translate(-30px, -10px) rotate(1deg); }
}

/* ─── 功能亮点 ──────────────────────────────────────────── */
.features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px 100px;
    text-align: center;
}

.features h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 56px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 24px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229, 117, 74, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.feature-gif {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-gif img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
}

/* ─── 底部 CTA ──────────────────────────────────────────── */
.cta {
    text-align: center;
    padding: 80px 24px 100px;
    position: relative;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.cta h2 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cta p {
    font-size: 16px;
    color: #888;
    margin-bottom: 32px;
}

.cta-size {
    margin-top: 16px;
    font-size: 13px !important;
    color: #555 !important;
}

/* ─── 页脚 ──────────────────────────────────────────────── */
.footer {
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    font-size: 13px;
    color: #555;
}

/* ─── 响应式 ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-desc {
        font-size: 15px;
    }
    .btn-download {
        padding: 14px 36px;
        font-size: 17px;
    }
    .btn-download-lg {
        padding: 16px 40px;
        font-size: 18px;
    }
    .features h2 {
        font-size: 26px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .hero-floating {
        display: none;
    }
    .cta h2 {
        font-size: 24px;
    }
}
