/* ============================================================
   Home · 首页样式
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #0084ff;
    --primary-dark: #0066cc;
    --text: #0f1419;
    --text-2: #536471;
    --text-3: #8b98a5;
    --border: #eff3f4;
    --bg: #fff;
    --bg-2: #f7f9f9;
}

html { scroll-behavior: smooth; }

body.home-body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================================
   导航
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all .3s;
}

.nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 20px rgba(0, 0, 0, .04);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -.3px;
}

.nav-logo svg { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .15s;
}

.nav-links a:hover { color: var(--text); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    padding: 8px 20px;
    background: var(--text);
    color: #fff;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all .15s;
    white-space: nowrap;
}

.btn-nav:hover {
    background: #000;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .2s;
}

/* 手机菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 999;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu.show { display: flex; }

.mobile-menu a {
    padding: 12px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-login {
    color: var(--primary) !important;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    padding: 140px 24px 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .35;
    animation: float 20s ease-in-out infinite;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: #0084ff;
    top: -200px;
    left: -100px;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: #a855f7;
    top: 0;
    right: -150px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(.9); }
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 132, 255, .08);
    border: 1px solid rgba(0, 132, 255, .2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .25);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, .25); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, .1); }
}

.hero-title {
    font-size: 72px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text);
}

.gradient {
    background: linear-gradient(135deg, #0084ff 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-desc {
    font-size: 19px;
    color: var(--text-2);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0084ff, #0066cc);
    color: #fff;
    border-radius: 100px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 132, 255, .3);
    transition: all .2s;
}

.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 132, 255, .4);
}

.btn-secondary-lg {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 100px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all .2s;
}

.btn-secondary-lg:hover {
    background: var(--bg-2);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-3);
    font-weight: 500;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 132, 255, .08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-2);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   特性
   ============================================================ */
.features {
    padding: 100px 0;
    background: var(--bg-2);
}

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

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

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
    border-color: transparent;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-blue   { background: #e7f1ff; color: #0084ff; }
.feature-icon-purple { background: #f3e8ff; color: #a855f7; }
.feature-icon-green  { background: #dcfce7; color: #10b981; }
.feature-icon-orange { background: #ffedd5; color: #f97316; }
.feature-icon-pink   { background: #fce7f3; color: #ec4899; }
.feature-icon-cyan   { background: #cffafe; color: #06b6d4; }

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -.3px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
}

/* ============================================================
   定价
   ============================================================ */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all .2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
}

.pricing-card.highlight {
    background: linear-gradient(135deg, #0f1419, #1f2937);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #0084ff, #a855f7);
    color: #fff;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.pricing-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 16px;
}

.pricing-card.highlight .pricing-name { color: rgba(255, 255, 255, .7); }

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-2);
}

.amount {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--text);
    line-height: 1;
}

.period {
    font-size: 14px;
    color: var(--text-3);
}

.pricing-card.highlight .currency,
.pricing-card.highlight .amount { color: #fff; }
.pricing-card.highlight .period { color: rgba(255, 255, 255, .6); }

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-2);
}

.pricing-card.highlight .pricing-features li { color: rgba(255, 255, 255, .85); }

.pricing-btn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background: var(--bg-2);
    color: var(--text);
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all .15s;
}

.pricing-btn:hover { background: #e5e7eb; }

.pricing-btn.primary {
    background: linear-gradient(135deg, #0084ff, #0066cc);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 132, 255, .35);
}

.pricing-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 132, 255, .45);
}

.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-3);
    margin-top: 32px;
}

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

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

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all .2s;
}

.faq-item[open] {
    border-color: rgba(0, 132, 255, .3);
    box-shadow: 0 8px 24px rgba(0, 132, 255, .08);
}

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-arrow {
    flex-shrink: 0;
    color: var(--text-3);
    transition: transform .2s;
}

.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
    padding: 60px 0 100px;
}

.cta-box {
    background: linear-gradient(135deg, #0084ff 0%, #a855f7 100%);
    padding: 72px 32px;
    border-radius: 24px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, .15), transparent 60%);
}

.cta-box h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    position: relative;
}

.cta-box p {
    font-size: 17px;
    opacity: .9;
    margin-bottom: 32px;
    position: relative;
}

.cta-box .btn-primary-lg {
    background: #fff;
    color: var(--text);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    position: relative;
}

.cta-box .btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: #0f1419;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-logo svg { color: var(--primary); }

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color .15s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

/* ============================================================
   响应式：平板（≤900px）
   ============================================================ */
@media (max-width: 900px) {
    .nav-links { display: none; }

    .nav-toggle { display: flex; }

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

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

    .hero-stats { gap: 40px; }

    .cta-box h2 { font-size: 32px; }
}

/* ============================================================
   响应式：手机（≤640px）
   ============================================================ */
@media (max-width: 640px) {
    .nav-container { padding: 0 16px; height: 60px; }
    .nav-logo { font-size: 17px; }
    .nav-logo svg { width: 24px; height: 24px; }
    .btn-nav { padding: 7px 16px; font-size: 13px; }

    .mobile-menu { top: 60px; padding: 12px 16px; }

    .hero { padding: 100px 16px 60px; }

    .hero-title {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .hero-desc {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-actions { gap: 10px; margin-bottom: 48px; }

    .btn-primary-lg,
    .btn-secondary-lg {
        padding: 12px 22px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-value { font-size: 26px; }
    .stat-label { font-size: 12px; }

    .section-container { padding: 0 16px; }
    .section-title { font-size: 30px; }
    .section-desc { font-size: 15px; }
    .section-header { margin-bottom: 40px; }

    .features, .pricing, .faq { padding: 60px 0; }

    .feature-card { padding: 22px; }
    .feature-card h3 { font-size: 17px; }

    .pricing-card { padding: 26px; }
    .amount { font-size: 40px; }

    .cta { padding: 40px 0 60px; }
    .cta-box { padding: 48px 24px; border-radius: 20px; }
    .cta-box h2 { font-size: 26px; }
    .cta-box p { font-size: 15px; }

    .footer { padding: 40px 0 20px; }
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-links { gap: 40px; }
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
    border: 2px solid #fff;
}
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
