* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a6cff;
    --primary-dark: #0052d9;
    --text: #1a1a2e;
    --text-light: #666;
    --bg: #ffffff;
    --bg-gray: #f7f8fa;
    --border: #e8e8e8;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), #4da3ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.logo-text h1 {
    font-size: 18px;
    color: var(--text);
    line-height: 1.2;
}

.logo-text p {
    font-size: 11px;
    color: var(--text-light);
}

.nav {
    display: flex;
    gap: 28px;
    flex: 1;
}

.nav a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 15px;
    transition: color 0.2s;
}

.nav a:hover, .nav a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn-login {
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    transition: all 0.2s;
}

.btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-register {
    padding: 6px 16px;
    background: var(--primary);
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-register:hover {
    background: var(--primary-dark);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #1a6cff 0%, #0052d9 50%, #003eb3 100%);
    padding: 80px 0;
    color: #fff;
}

.banner-content {
    text-align: center;
}

.banner-content h2 {
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 700;
}

.banner-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

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

.stat-num {
    font-size: 36px;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 48px;
    background: #fff;
    color: var(--primary);
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Section common */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--text);
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 40px;
}

/* Advantages */
.advantages {
    padding: 80px 0;
    background: var(--bg-gray);
}

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

.advantage-item {
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.advantage-item:hover {
    transform: translateY(-4px);
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.advantage-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.advantage-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Merchants */
.merchants {
    padding: 80px 0;
}

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

.merchant-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
}

.merchant-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.merchant-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #4da3ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 12px;
}

.merchant-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.merchant-category {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.merchant-info {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-light);
}

/* Products */
.products {
    padding: 80px 0;
    background: var(--bg-gray);
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.product-tabs .tab {
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    background: #fff;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.product-tabs .tab.active, .product-tabs .tab:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

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

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.product-info {
    padding: 16px;
}

.product-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.product-shop {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: #ff4d4f;
}

.sales {
    font-size: 12px;
    color: var(--text-light);
}

/* Settle */
.settle {
    padding: 80px 0;
}

.settle-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.step {
    text-align: center;
    padding: 24px;
    background: var(--bg-gray);
    border-radius: 12px;
    min-width: 160px;
}

.step-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.step h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

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

.step-arrow {
    font-size: 24px;
    color: var(--primary);
}

.settle-benefits {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 40px;
}

.settle-benefits h3 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 20px;
}

.benefit-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.benefit-item {
    font-size: 15px;
    color: var(--text);
    padding: 8px 0;
}

/* Guarantee */
.guarantee {
    padding: 80px 0;
    background: var(--bg-gray);
}

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

.guarantee-item {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.guarantee-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.guarantee-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* About */
.about {
    padding: 80px 0;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-light);
}

.about-text strong {
    color: var(--text);
}

.about-info {
    margin-top: 32px;
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 24px;
}

.info-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    width: 120px;
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
}

.info-value {
    font-size: 14px;
    color: var(--text);
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: #999;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    text-align: center;
}

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

.icp a {
    color: #999;
    text-decoration: none;
}

.icp a:hover {
    color: #fff;
}

.footer-extra {
    font-size: 12px !important;
    color: #666 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .nav, .header-actions {
        display: none;
    }
    
    .mobile-menu {
        display: block;
        margin-left: auto;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 15px;
    }
    
    .banner-stats {
        gap: 24px;
    }
    
    .stat-num {
        font-size: 24px;
    }
    
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .merchant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .settle-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .benefit-list {
        grid-template-columns: 1fr;
    }
    
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .advantage-grid, .merchant-grid, .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .banner {
        padding: 50px 0;
    }
}
