/* ============================================================
    钱满多官网 - 全局样式
   ============================================================ */

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

:root {
    --color-primary: #4f46e5;
    --color-primary-hover: #4338ca;
    --color-primary-light: #eef2ff;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #1e293b;
    --color-text: #1e293b;
    --color-text-secondary: #64748b;
    --color-text-light: #94a3b8;
    --color-border: #e2e8f0;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --max-width: 1200px;
    --header-height: 64px;
}

/* ---------- Disabled 按钮 ---------- */
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---------- 即将上线文字 ---------- */
.coming-soon-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    font-weight: 500;
    padding: 40px 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: var(--radius);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ---------- 顶部导航 ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
}

.logo-icon {
    font-size: 26px;
}

.nav {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(
        135deg,
        #eef2ff 0%,
        #f0f9ff 30%,
        #ffffff 70%,
        #faf5ff 100%
    );
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--color-primary), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-desc {
    font-size: 17px;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.8;
}

.hero-desc strong {
    color: var(--color-primary);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 13px;
    color: var(--color-text-light);
}

/* Hero 右侧截图 */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-screenshot {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--color-border);
    display: block;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
}

/* ---------- 功能亮点 ---------- */
.features {
    padding: 100px 0;
    background: var(--color-bg);
}

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

.feature-card {
    padding: 36px 28px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}

.feature-desc {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ---------- 定价 ---------- */
.pricing {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card.recommended {
    border-color: var(--color-primary);
    border-width: 2px;
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-period {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.pricing-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.pricing-features {
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}

.pricing-features li::before {
    content: "✓ ";
    color: var(--color-success);
    font-weight: 700;
    margin-right: 6px;
}

/* ---------- 下载 ---------- */
.download {
    padding: 100px 0;
    background: var(--color-bg);
}

.download-primary {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
    padding: 28px 32px;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.download-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.download-primary-icon {
    font-size: 40px;
    line-height: 1;
    flex-shrink: 0;
}

.download-primary-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.download-primary-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
}

.download-primary-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.download-primary-cta {
    flex-shrink: 0;
    padding: 12px 22px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.download-apps {
    display: flex;
    gap: 16px;
    max-width: 640px;
    margin: 16px auto 0;
    list-style: none;
}

.download-apps li {
    flex: 1;
    min-width: 0;
}

.download-app {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.download-app:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.download-app-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.download-app-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.download-app-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.download-app-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
}

.download-app-desc {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.download-app-tip {
    font-size: 12px;
    line-height: 1.45;
    color: var(--color-text-light);
    padding-left: 36px;
}

.download-app-cta {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

/* ---------- 页脚 ---------- */
.footer {
    padding: 48px 0;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-tagline {
    font-size: 15px;
    color: #94a3b8;
}

.footer-contact {
    font-size: 14px;
    color: var(--color-text-light);
}

.footer-copy {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-desc {
        max-width: none;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-screenshot {
        max-width: 420px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

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

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-screenshot {
        max-width: 100%;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.recommended {
        transform: none;
    }

    .download {
        padding: 64px 0;
    }

    .download .section-header {
        margin-bottom: 28px;
    }

    .download-primary {
        gap: 14px;
        padding: 20px 16px;
    }

    .download-primary-icon {
        font-size: 32px;
    }

    .download-primary-title {
        font-size: 18px;
    }

    .download-primary-desc {
        font-size: 13px;
    }

    .download-primary-cta {
        padding: 10px 14px;
        font-size: 13px;
    }

    .download-apps {
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
    }

    .download-app {
        padding: 14px 16px;
        gap: 6px;
    }

    .download-app-tip {
        padding-left: 0;
        font-size: 11px;
    }

    /* 移动端导航 */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px;
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 400px) {
    .download-primary {
        flex-wrap: wrap;
    }

    .download-primary-cta {
        width: 100%;
        text-align: center;
    }
}