/* ========================================
   赚钱了App官网 - 橘红色主题
   ======================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

/* ========================================
   顶部固定导航栏
   ======================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.12);
    transition: all 0.3s ease;
}

.top-bar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(255, 107, 53, 0.1);
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

/* Logo区域 */
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #FF6B35;
    letter-spacing: 1px;
}

/* 顶部导航链接 */
.top-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.top-nav a {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.top-nav a:hover {
    color: #FF6B35;
}

.top-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6B35;
    transition: width 0.3s;
}

.top-nav a:hover::after {
    width: 100%;
}

/* 顶部下载按钮（向下箭头） */
.top-download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.35);
}

.top-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.download-icon {
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* ========================================
   Hero区域 - 双手机展示
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 50px;
    background: linear-gradient(180deg, #FFF8F5 0%, #FFF0E8 40%, #FFE4D6 100%);
    overflow: hidden;
}

/* 背景装饰 */
.hero-bg-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.circle-deco {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #FF6B35, transparent);
    top: -100px;
    left: -150px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #FFD93D, transparent);
    bottom: 50px;
    right: -80px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #FF8C42, transparent);
    top: 40%;
    left: 60%;
}

/* 浮动金币 */
.coin {
    position: absolute;
    font-size: 28px;
    animation: floatCoin 6s ease-in-out infinite;
    opacity: 0.6;
}

.coin-1 { top: 15%; left: 8%; animation-delay: 0s; }
.coin-2 { top: 25%; right: 12%; animation-delay: 1.5s; font-size: 22px; }
.coin-3 { bottom: 20%; left: 15%; animation-delay: 3s; font-size: 24px; }
.coin-4 { bottom: 30%; right: 8%; animation-delay: 2s; font-size: 20px; }
.coin-5 { top: 50%; left: 5%; animation-delay: 4s; font-size: 18px; }

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

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    gap: 30px;
}

/* 手机模型 */
.phone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.phone-frame {
    width: 260px;
    height: 540px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 0 0 2px #333,
        0 0 0 4px #555,
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(255, 107, 53, 0.15);
    position: relative;
    transition: transform 0.4s ease;
}

.phone-frame:hover {
    transform: translateY(-8px);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.phone-left .phone-frame {
    transform: perspective(800px) rotateY(8deg) rotateX(2deg);
}

.phone-right .phone-frame {
    transform: perspective(800px) rotateY(-8deg) rotateX(2deg);
}

.phone-left .phone-frame:hover {
    transform: perspective(800px) rotateY(4deg) rotateX(0deg) translateY(-8px);
}

.phone-right .phone-frame:hover {
    transform: perspective(800px) rotateY(-4deg) rotateX(0deg) translateY(-8px);
}

.phone-label {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #FF6B35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.phone-label-icon {
    font-size: 16px;
}

/* Hero文字 */
.hero-text {
    text-align: center;
    padding: 0 10px;
}

.hero-title {
    margin-bottom: 14px;
    line-height: 1.2;
}

.title-main {
    display: block;
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #FF6B35, #FF3D00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.title-sub {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #666;
    margin-top: 4px;
}

.hero-slogan {
    font-size: 18px;
    color: #888;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* 数据统计 */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #fff;
    padding: 18px 28px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.06);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-num {
    font-size: 32px;
    font-weight: 900;
    color: #FF6B35;
    line-height: 1.1;
}

.stat-unit {
    font-size: 16px;
    font-weight: 700;
    color: #FF6B35;
}

.stat-label {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 107, 53, 0.2);
}

/* 向下滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #FF6B35;
    font-size: 13px;
    opacity: 0.7;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 3px solid #FF6B35;
    border-bottom: 3px solid #FF6B35;
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.7; }
    50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 0.7; transform: translate(-50%, 0); }
}

/* ========================================
   三大核心卖点区域（修复居中 + 间距）
   ======================================== */
.features-section {
    padding: 60px 24px;          /* 原为100px → 缩小上下内边距，减少与上方Hero的间隙 */
    background: #fff;
    position: relative;
}

.features-container {
    max-width: 1100px;            /* 略微收窄，让三列更紧凑居中 */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;                    /* 原为32px → 缩小卡片间距 */
}

.feature-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 40px 28px 36px;      /* 原为48/36/40 → 适当缩减纵向内边距 */
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;                 /* 使用flex让内容垂直居中 */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 24px 24px 0 0;
}

.feature-card-1::before {
    background: linear-gradient(90deg, #FF6B35, #FF8C42);
}

.feature-card-2::before {
    background: linear-gradient(90deg, #FF3D00, #FF6B35);
}

.feature-card-3::before {
    background: linear-gradient(90deg, #FFB800, #FF8C42);
}

.feature-card:hover {
    transform: translateY(-8px);   /* 原为-10px → 微调 */
    box-shadow: 0 16px 50px rgba(255, 107, 53, 0.12);
}

.feature-card-1:hover { border-color: rgba(255, 107, 53, 0.2); }
.feature-card-2:hover { border-color: rgba(255, 61, 0, 0.2); }
.feature-card-3:hover { border-color: rgba(255, 184, 0, 0.2); }

/* 图标 */
.feature-icon-wrap {
    width: 72px;                   /* 原为80px → 略小更协调 */
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;           /* 原为24px → 缩小 */
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.icon-orange {
    background: linear-gradient(135deg, #FFF0E8, #FFE4D6);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
}

.icon-red {
    background: linear-gradient(135deg, #FFF0E8, #FFD6CC);
    box-shadow: 0 4px 20px rgba(255, 61, 0, 0.15);
}

.icon-gold {
    background: linear-gradient(135deg, #FFF8E1, #FFE8A1);
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.15);
}

.feature-emoji {
    font-size: 32px;               /* 原为36px → 配合缩小 */
}

.feature-title {
    font-size: 21px;               /* 原为22px → 略调 */
    font-weight: 800;
    color: #222;
    margin-bottom: 6px;            /* 原为8px → 缩小 */
    line-height: 1.4;
    width: 100%;
    text-align: center;
}

.feature-desc {
    font-size: 15px;               /* 原为16px → 略调 */
    color: #FF6B35;
    font-weight: 600;
    margin-bottom: 20px;           /* 原为24px → 缩小 */
}

.feature-list {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;                    /* 原为12px → 缩小 */
    width: 100%;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;               /* 原为15px → 缩小 */
    color: #666;
    padding: 7px 12px;             /* 原为8px → 略调 */
    background: #FAFAFA;
    border-radius: 10px;
    transition: all 0.2s;
}

.feature-list li:hover {
    background: #FFF8F5;
    color: #333;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    flex-shrink: 0;
}

/* ========================================
   截图展示区域
   ======================================== */
.showcase-section {
    padding: 60px 24px;            /* 原为80px → 缩小，减少与上方Features的间隙 */
    background: linear-gradient(180deg, #fff 0%, #FFF8F5 100%);
    text-align: center;
}

.showcase-container {
    max-width: 1000px;             /* 原为1200px → 收窄让两张图更紧凑居中 */
    margin: 0 auto;
}

.section-title {
    font-size: 30px;               /* 原为32px → 略调 */
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
}

.section-title span {
    display: block;
    font-size: 15px;
    color: #999;
    margin-top: 6px;
    font-weight: normal;
}

.section-desc {
    font-size: 15px;
    color: #888;
    margin-bottom: 36px;           /* 原为48px → 缩小 */
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);   /* 只有2张图，用2列居中 */
    gap: 28px;
    max-width: 800px;              /* 限制最大宽度，让两张图居中且不过大 */
    margin: 0 auto;
}

.screenshot-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(255, 107, 53, 0.15);
}

.screenshot-item img {
    width: 100%;
    height: 460px;                 /* 原为500px → 略缩小 */
    object-fit: cover;
    object-position: top center;
}

.screenshot-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 24px 16px 14px;
    text-align: center;
}

/* ========================================
   下载区域
   ======================================== */
.download-section {
    padding: 80px 24px;            /* 原为100px → 缩小 */
    background: linear-gradient(135deg, #FF6B35 0%, #FF3D00 50%, #E53900 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.download-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.download-title {
    font-size: 40px;               /* 原为42px → 略调 */
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.download-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;           /* 原为48px → 缩小 */
}

.download-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 30px;           /* 原为36px → 缩小 */
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;            /* 原为16/36 → 略调 */
    border-radius: 60px;
    transition: all 0.3s ease;
    text-align: left;
}

/* 安卓下载按钮 */
.download-btn-primary {
    background: #fff;
    color: #FF3D00;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.download-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* iOS下载按钮 */
.download-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.download-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.btn-icon {
    flex-shrink: 0;
}

.btn-emoji {
    font-size: 24px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.btn-text small {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 500;
}

.btn-text strong {
    font-size: 18px;
    font-weight: 800;
}

.download-tips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tip-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.tip-dot {
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   底部备案信息
   ======================================== */
.footer {
    background: #1a1a1a;
    padding: 40px 24px 28px;        /* 原为48/32 → 略缩小 */
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 16px;            /* 原为20px → 缩小 */
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #FF6B35;
}

.footer-desc {
    font-size: 14px;
    color: #888;
    margin-left: 8px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;            /* 原为24px → 缩小 */
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: #FF6B35;
}

.footer-links span {
    color: #444;
}

.footer-copy {
    border-top: 1px solid #333;
    padding-top: 16px;              /* 原为20px → 缩小 */
}

.footer-copy p {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.footer-copy .beian a {
    color: #888;
    transition: color 0.2s;
}

.footer-copy .beian a:hover {
    color: #FF6B35;
}

/* ========================================
   右下角浮动下载按钮
   ======================================== */
.floating-download {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF6B35, #FF3D00);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 6px 25px rgba(255, 61, 0, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.floating-download.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 61, 0, 0.5);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .phone-left,
    .phone-right {
        order: 2;
    }

    .hero-text {
        order: 1;
    }

    .phone-frame {
        width: 220px;
        height: 460px;
    }

    .phone-left .phone-frame,
    .phone-right .phone-frame {
        transform: none;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 480px;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .screenshot-item img {
        height: 420px;
    }

    .title-main {
        font-size: 44px;
    }

    .top-nav {
        display: none;
    }
}

@media (max-width: 640px) {
    .top-bar-inner {
        padding: 8px 16px;
        height: 52px;
    }

    .logo-text {
        font-size: 16px;
    }

    .top-download-btn {
        padding: 7px 14px;
        font-size: 13px;
    }

    .hero-section {
        padding: 70px 16px 36px;
    }

    .title-main {
        font-size: 36px;
    }

    .title-sub {
        font-size: 20px;
    }

    .hero-slogan {
        font-size: 16px;
    }

    .hero-stats {
        padding: 12px 16px;
        gap: 10px;
    }

    .stat-num {
        font-size: 24px;
    }

    .phone-frame {
        width: 180px;
        height: 380px;
        border-radius: 32px;
        padding: 8px;
    }

    .phone-notch {
        width: 70px;
        height: 18px;
    }

    .feature-card {
        padding: 32px 22px 28px;
    }

    .feature-title {
        font-size: 19px;
    }

    .download-title {
        font-size: 28px;
    }

    .download-subtitle {
        font-size: 15px;
    }

    .download-btn {
        padding: 12px 26px;
    }

    .floating-download {
        right: 16px;
        bottom: 16px;
        padding: 12px 20px;
        font-size: 14px;
    }
}