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

html {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.5;
    padding-bottom: 60px;
}

:root {
    --primary: #1e6fff;
    --primary-light: #e8f0ff;
    --primary-dark: #1557d9;
    --secondary: #4f9bff;
    --text-primary: #333;
    --text-secondary: #666;
    --text-muted: #999;
    --bg-page: #f5f7fa;
    --bg-card: #fff;
    --border-color: #eee;
    --success: #07c160;
    --danger: #ee0a24;
    --warning: #ff976a;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 12px;
}

/* 顶部导航 */
.header {
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    color: #fff;
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.header-content {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 36px;
    object-fit: contain;
    vertical-align: middle;
}

.logo h1 {
    font-size: 18px;
    font-weight: 600;
    margin-left: 8px;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 8px 16px;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
}

.search-bar input::placeholder {
    color: rgba(255,255,255,0.7);
}

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

.header-right a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 16px;
    white-space: nowrap;
}

/* Banner轮播 */
.banner {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
}

.banner-content {
    padding: 20px 16px 30px;
    text-align: center;
    color: #fff;
}

.banner-content h2 {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 600;
}

.banner-content p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.banner-content .points-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 14px;
}

.banner-content .points-badge strong {
    font-size: 20px;
    margin: 0 4px;
}

/* 分类快捷入口 */
.category-nav {
    background: #fff;
    margin: -15px 12px 12px;
    border-radius: 12px;
    padding: 16px 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.category-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 8px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 4px;
    min-width: 60px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.category-item .icon {
    width: 44px;
    height: 44px;
    background: #e8f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.category-item .name {
    font-size: 12px;
    color: #333;
}

.category-item.active .icon {
    background: var(--primary);
    color: #fff;
}

.category-item.active .name {
    color: var(--primary);
}

/* 商品区块 */
.section {
    padding: 12px 0;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    margin-bottom: 12px;
}

.section-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title h3::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title .more {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* 商品列表 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 12px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s;
}

.product-card:active {
    transform: scale(0.98);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: #f8f8f8;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.product-info {
    padding: 10px;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.product-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    height: 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

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

.product-price {
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
}

.product-price span {
    font-size: 12px;
    font-weight: normal;
}

.btn-exchange {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-exchange:active {
    opacity: 0.8;
}

.btn-exchange:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 底部导航 */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 12px rgba(74, 127, 255, 0.08);
    z-index: 100;
    border-top: 1px solid #f5f5f5;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 0;
    cursor: pointer;
    color: #999;
    text-decoration: none;
    font-size: 12px;
    gap: 4px;
    transition: all 0.2s ease;
}

.tab-item .icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.tab-item.active {
    color: #4A7FFF;
}

.tab-item.active .icon {
    transform: scale(1.05);
}

/* 登录页 */
.login-page {
    background: #fff;
    min-height: 100vh;
    padding-bottom: 0;
}

.login-header {
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    padding: 60px 24px 80px;
    text-align: center;
    color: #fff;
    border-radius: 0 0 30px 30px;
}

.login-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.login-header p {
    font-size: 14px;
    opacity: 0.9;
}

.login-card {
    background: #fff;
    margin: -50px 16px 0;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    background: #f9f9f9;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.btn-primary {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-primary:active {
    opacity: 0.9;
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
}

.btn-wechat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
}

.msg {
    padding: 10px 14px;
    background: #f0f9ff;
    color: #0369a1;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    border-left: 3px solid #0ea5e9;
}

.error {
    padding: 10px 14px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    border-left: 3px solid #ef4444;
}

.success {
    padding: 10px 14px;
    background: #f0fdf4;
    color: #15803d;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    border-left: 3px solid #22c55e;
}

.switch-mode {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.switch-mode a {
    color: var(--primary);
    text-decoration: none;
    margin-left: 4px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 12px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

.divider span {
    padding: 0 16px;
}

/* 订单卡片 */
.order-card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #f5f5f5;
}

.order-no {
    font-size: 12px;
    color: var(--text-muted);
}

.order-status {
    font-size: 13px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 10px;
}

.status-pending { background: #fff7e6; color: #fa8c16; }
.status-processing { background: #e6f7ff; color: #1890ff; }
.status-completed { background: #f6ffed; color: #52c41a; }
.status-failed, .status-cancelled { background: #fff1f0; color: #f5222d; }

.order-body {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
}

.order-body img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.order-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.order-name {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-points {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.order-time {
    font-size: 12px;
    color: var(--text-muted);
}

/* 弹窗 */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 360px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.modal-header h3 {
    font-size: 17px;
    font-weight: 600;
}

.modal-close {
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 16px 20px;
}

/* 用户头像/信息卡 */
.user-card {
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    padding: 24px 20px;
    color: #fff;
    border-radius: 0 0 20px 20px;
    margin-bottom: 12px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 12px;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.user-points {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    opacity: 0.9;
}

.user-points strong {
    font-size: 22px;
    font-weight: 600;
}

/* 菜单列表 */
.menu-list {
    background: #fff;
    border-radius: 12px;
    margin: 0 12px 12px;
    overflow: hidden;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    font-size: 15px;
}

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

.menu-item .icon {
    margin-right: 12px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.menu-item .arrow {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 14px;
}

/* 关于/联系页面 */
.about-section, .contact-section {
    background: #fff;
    margin: 12px;
    border-radius: 12px;
    padding: 16px;
}

.about-section h4, .contact-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.about-section p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    background: #f9f9f9;
    border-radius: 10px;
}

.contact-item .icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-item .label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item .value {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

/* 底部版权 */
.footer {
    text-align: center;
    padding: 20px 16px;
    color: var(--text-muted);
    font-size: 12px;
}

.footer .beian {
    margin-top: 8px;
}

.footer .beian a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 8px;
}

/* 分类筛选标签 */
.tags-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 12px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tags-scroll::-webkit-scrollbar {
    display: none;
}

.tag-btn {
    display: inline-block;
    padding: 7px 16px;
    margin-right: 8px;
    background: #f5f5f5;
    border: none;
    border-radius: 16px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

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

/* PC端适配 */
@media (min-width: 768px) {
    body {
        padding-bottom: 40px;
    }
    
    .container {
        max-width: 1200px;
        padding: 0 24px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0;
    }
    
    .category-list {
        justify-content: center;
        gap: 24px;
    }
    
    .category-item {
        min-width: 90px;
    }
    
    .tab-bar {
        display: none;
    }
    
    .pc-nav {
        display: flex !important;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 用户端PC端优化 */
@media (min-width: 768px) {
    .user-page-wrap {
        max-width: 430px;
        margin: 0 auto;
        background: #f5f5f5;
        min-height: 100vh;
        padding-bottom: 20px;
        box-shadow: 0 0 20px rgba(0,0,0,0.05);
    }
    
    .user-page-wrap .user-card {
        margin: 0 0 16px 0;
        border-radius: 0 0 16px 16px;
    }
    
    .user-page-wrap .quick-actions {
        max-width: 600px;
        margin: 0 auto 16px;
    }
    
    .user-page-wrap .tags-scroll {
        max-width: 100%;
    }
    
    .user-page-wrap .products-grid {
        max-width: 100%;
        padding: 0;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .user-page-wrap .category-list {
        gap: 8px;
    }
    
    .user-page-wrap .category-item {
        min-width: auto;
    }
    
    .user-page-wrap .category-item .icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .user-page-wrap .category-item .name {
        font-size: 12px;
    }
    
    .user-page-wrap #page-orders {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .user-page-wrap .menu-list {
        max-width: 100%;
        margin: 0 auto 16px;
    }
    
    .user-page-wrap .tab-bar {
        display: flex !important;
    }
}

/* PC端专用样式 - 企业官网风格 */
.pc-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.pc-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.pc-logo img {
    height: 40px;
}

.pc-logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pc-nav {
    display: none;
    gap: 40px;
}

.pc-nav a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.pc-nav a:hover,
.pc-nav a.active {
    color: #1e6fff;
}

.pc-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1e6fff;
    border-radius: 2px;
}

.pc-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pc-btn-outline {
    padding: 8px 24px;
    border: 1px solid #1e6fff;
    color: #1e6fff;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.pc-btn-outline:hover {
    background: #e8f0ff;
}

.pc-btn-primary {
    padding: 8px 24px;
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pc-btn-primary:hover {
    opacity: 0.9;
}

/* Hero区域 */
.hero-section {
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    padding: 80px 0 100px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-btn-white {
    padding: 14px 36px;
    background: #fff;
    color: #1e6fff;
    border: none;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.hero-btn-outline {
    padding: 14px 36px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 28px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.hero-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat-item .number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-stat-item .label {
    font-size: 14px;
    opacity: 0.8;
}

.hero-image {
    text-align: center;
    font-size: 200px;
    opacity: 0.9;
}

/* 数据统计条 */
.stats-bar {
    background: #fff;
    margin: -40px 24px 0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-item .stat-num {
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    color: #666;
    font-size: 14px;
}

/* 区块通用 */
.section-wrap {
    padding: 80px 0;
}

.section-wrap.gray {
    background: #f9fafb;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-head {
    text-align: center;
    margin-bottom: 50px;
}

.section-head .label {
    display: inline-block;
    padding: 6px 20px;
    background: #e8f0ff;
    color: #1e6fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-head h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.section-head p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 热门权益 */
.products-pc {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card-pc {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card-pc:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.product-card-pc .product-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f9fa;
}

.product-card-pc .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card-pc:hover .product-img img {
    transform: scale(1.05);
}

.product-card-pc .product-info {
    padding: 20px;
}

.product-card-pc .product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    height: 48px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-pc .product-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

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

.product-card-pc .product-price {
    font-size: 24px;
    font-weight: 700;
    color: #1e6fff;
}

.product-card-pc .product-price span {
    font-size: 13px;
    font-weight: 400;
    margin-left: 2px;
}

.product-card-pc .btn-exchange-pc {
    padding: 8px 20px;
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.product-card-pc .btn-exchange-pc:hover {
    opacity: 0.9;
}

.more-btn-wrap {
    text-align: center;
    margin-top: 40px;
}

.more-btn {
    display: inline-block;
    padding: 14px 48px;
    border: 1.5px solid #1e6fff;
    color: #1e6fff;
    border-radius: 28px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.more-btn:hover {
    background: #1e6fff;
    color: #fff;
}

/* 平台定位 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.feature-list {
    margin-top: 20px;
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    position: relative;
    padding-left: 28px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e6fff;
    font-weight: 700;
}

/* 权益分类 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255,107,53,0.15);
}

.category-card .cat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #e8f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    transition: all 0.3s;
}

.category-card:hover .cat-icon {
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    transform: scale(1.1);
}

.category-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

/* 供应链 */
.supply-chain-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.supply-content h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.supply-content > p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.supply-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.supply-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.supply-feature .icon {
    width: 44px;
    height: 44px;
    background: #e8f0ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.supply-feature h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.supply-feature p {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

.supply-image {
    background: linear-gradient(135deg, #1e6fff 0%, #4f9bff 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: #fff;
}

.supply-image .big-icon {
    font-size: 100px;
    margin-bottom: 24px;
}

.supply-image h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.supply-image p {
    opacity: 0.9;
}

/* 资质展示 */
.qualification-card {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.company-info {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.company-info .company-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.company-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.company-stat .num {
    font-size: 32px;
    font-weight: 700;
    color: #1e6fff;
    margin-bottom: 4px;
}

.company-stat .label {
    font-size: 14px;
    color: #666;
}

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

.qua-item {
    text-align: center;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
}

.qua-item .icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.qua-item h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.qua-item p {
    font-size: 12px;
    color: #999;
}

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

.advantage-item {
    text-align: center;
    padding: 24px 16px;
}

.advantage-item .icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.advantage-item h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.advantage-item p {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

/* PC端页脚 */
.pc-footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 60px 0 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact {
    font-size: 14px;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-col h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #1e6fff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 13px;
}

.footer-bottom .beian a {
    color: #9ca3af;
    text-decoration: none;
    margin: 0 12px;
}

.footer-bottom .beian a:hover {
    color: #1e6fff;
}

/* 响应式 */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid,
    .products-pc,
    .categories-grid,
    .supply-chain-wrap,
    .qua-list,
    .advantages-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-wrap {
        padding: 50px 0;
    }
    
    .section-head h2 {
        font-size: 28px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .products-pc,
    .categories-grid,
    .qua-list,
    .advantages-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 26px;
    }
    
    .section-head h2 {
        font-size: 24px;
    }
    
    .pc-header-inner {
        height: 60px;
    }
    
    .pc-logo-text {
        font-size: 16px;
    }
    
    .pc-header-actions .pc-btn-outline {
        display: none;
    }
}

/* 小屏适配 */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }
    
    .products-grid {
        gap: 8px;
    }
    
    .product-info {
        padding: 8px;
    }
    
    .product-name {
        font-size: 13px;
        height: 36px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .btn-exchange {
        padding: 5px 12px;
        font-size: 11px;
    }
}
