/* ============================================================
   index.css - 首页专用样式
   Template: Modern v2.0
   ============================================================ */

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: #6366f1;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: #8b5cf6;
    bottom: -50px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: #a855f7;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 6s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 60px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.title-line {
    display: block;
}

.title-highlight {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 50%, #e9d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-underline {
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 19px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 24px 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
}

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

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    animation: float 3s ease-in-out infinite;
}

.hero-scroll .scroll-dot {
    animation: pulse 2s ease-in-out infinite;
}

/* ---------- Features Section ---------- */
.features {
    padding: 120px 0;
    background: var(--color-bg);
}

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

.feature-card {
    position: relative;
    padding: 40px 28px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-slow);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: height var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.feature-icon svg {
    transition: transform var(--transition);
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
}

.icon-shield {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.icon-speed {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.icon-code {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.icon-service {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

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

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

/* ---------- Payment Methods ---------- */
.payment-methods {
    padding: 120px 0;
    background: var(--color-bg-alt);
}

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

.payment-card {
    perspective: 1000px;
}

.payment-card-inner {
    padding: 36px 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.payment-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.payment-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.payment-icon.wechat {
    background: rgba(7, 193, 96, 0.1);
    color: #07c160;
}

.payment-icon.alipay {
    background: rgba(22, 119, 255, 0.1);
    color: #1677ff;
}

.payment-icon.qqpay {
    background: rgba(18, 183, 245, 0.1);
    color: #12b7f5;
}

.payment-icon.unionpay {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.payment-card-inner h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.payment-card-inner p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ---------- Stats Section ---------- */
.stats {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stats-item {
    padding: 20px;
}

.stats-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.7);
}

.stats-item .stats-number {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.stats-item .stats-label {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    letter-spacing: normal;
}

/* ---------- How It Works ---------- */
.how-it-works {
    padding: 120px 0;
    background: var(--color-bg);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.step-connector {
    color: var(--color-text-muted);
    flex-shrink: 0;
    padding-bottom: 40px;
    display: flex;
    align-items: center;
}

/* ---------- CTA Section ---------- */
.cta {
    padding: 0 0 120px;
    background: var(--color-bg);
}

.cta-card {
    position: relative;
    padding: 80px 60px;
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    background: #6366f1;
    top: -50px;
    right: -50px;
}

.cta-shape-2 {
    width: 250px;
    height: 250px;
    background: #8b5cf6;
    bottom: -30px;
    left: -30px;
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 50px;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .steps {
        flex-direction: column;
        gap: 24px;
    }

    .step-connector {
        transform: rotate(90deg);
        padding-bottom: 0;
    }

    .cta-content h2 {
        font-size: 34px;
    }
}

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

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

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

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

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .cta-card {
        padding: 50px 24px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

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

    .features {
        padding: 80px 0;
    }

    .payment-methods {
        padding: 80px 0;
    }

    .how-it-works {
        padding: 80px 0;
    }

    .cta {
        padding: 0 0 80px;
    }
}