/* 整体主题：白色专业商务风 + 细腻动画交互，保持原来紧凑比例 (基础字体10px) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f7fc;
    color: #1e2a3e;
    line-height: 1.2;
    font-size: 10px;
    overflow-x: hidden;
}

/* 平滑滚动 & 微交互 */
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4px;
    position: relative;
}

/* ----- 动画关键帧 ----- */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardGlow {
    0% {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    }
    50% {
        box-shadow: 0 4px 12px rgba(74, 111, 165, 0.08);
    }
    100% {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    }
}

@keyframes pulseSoft {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* 头部区域微动画 */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    margin-bottom: 8px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f8;
    transition: all 0.2s ease;
    animation: fadeSlideUp 0.35s ease-out;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 6px;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid #e9edf2;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
.avatar:hover {
    transform: scale(1.02);
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-logo {
    display: flex;
    flex-direction: column;
}
.company-name-art {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #1f3a5f, #2c4e7a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 1px;
}
.company-subtitle {
    font-size: 8px;
    color: #6c7a8e;
    margin-top: 1px;
    letter-spacing: 0.2px;
    background: #f0f4fa;
    padding: 1px 5px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
}

/* 导航栏 - 优雅动效 */
.nav-bar {
    display: flex;
    gap: 3px;
    background: #ffffffcc;
    backdrop-filter: blur(2px);
    padding: 4px 6px;
    border-radius: 40px;
    border: 1px solid #eef2f8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.nav-link {
    font-size: 9px;
    color: #4a5b73;
    text-decoration: none;
    padding: 4px 8px;
    position: relative;
    transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border-radius: 30px;
    white-space: nowrap;
    font-weight: 500;
}
.nav-link:hover {
    color: #1f3a5f;
    background: #eef3fc;
    transform: translateY(-1px);
}
.nav-link.active {
    color: white;
    background: linear-gradient(120deg, #3a6b9b, #2c4e7a);
    box-shadow: 0 2px 6px rgba(44, 78, 122, 0.2);
}

/* 网格卡片布局 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 8px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(0px);
    border: 1px solid #eef2f8;
    transition: all 0.25s ease-out;
    display: none;
    animation: fadeSlideUp 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.card.active {
    display: block;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.02);
    border-color: #dce5f0;
}

.card-title {
    font-size: 11px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1.5px solid #eef2f8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-title i {
    color: #3a6b9b;
    font-size: 10px;
}

.card-content {
    font-size: 9px;
    color: #2c3f4f;
    line-height: 1.35;
}

/* 数据网格 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 4px;
    margin-top: 4px;
    margin-bottom: 6px;
}
.stat-item {
    text-align: center;
    padding: 5px 2px;
    background: #f8fafd;
    border-radius: 12px;
    border: 1px solid #eef2f8;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s ease;
}
.stat-item:hover {
    background: #ffffff;
    border-color: #cbdde9;
    transform: scale(0.98);
}
.stat-value {
    font-size: 11px;
    font-weight: 800;
    color: #1f3a5f;
    margin-bottom: 0px;
    line-height: 1.1;
}
.stat-label {
    font-size: 8px;
    color: #5e6f82;
}

/* 超级入驻按钮 - 高端微动效 */
.btn-super-merchant {
    background: linear-gradient(105deg, #2c5a8c, #1e3e62);
    color: white;
    font-size: 14px !important;
    padding: 10px 22px !important;
    border-radius: 60px !important;
    box-shadow: 0 8px 18px rgba(30, 62, 98, 0.2);
    font-weight: 800;
    letter-spacing: 1.5px;
    border: none;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.2);
    text-decoration: none;
    cursor: pointer;
}
.btn-super-merchant i {
    font-size: 16px;
    transition: transform 0.2s;
}
.btn-super-merchant:hover {
    background: linear-gradient(105deg, #1e4870, #143250);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 26px -8px rgba(30, 62, 98, 0.4);
}
.btn-super-merchant:active {
    transform: translateY(1px);
}

/* 入驻优势卡片 */
.merchant-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-top: 4px;
    margin-bottom: 6px;
}
.merchant-feature {
    background: #fafcff;
    padding: 6px 2px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid #eef2f8;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s;
}
.merchant-feature:hover {
    background: #ffffff;
    border-color: #cbdde9;
    transform: translateY(-2px);
}
.merchant-feature i {
    font-size: 12px;
    color: #2c5a8c;
    margin-bottom: 4px;
    transition: transform 0.2s;
}
.merchant-feature:hover i {
    transform: scale(1.1);
}
.merchant-feature-title {
    font-weight: 700;
    font-size: 9px;
    margin-bottom: 1px;
    color: #1e3e62;
}
.merchant-feature-desc {
    font-size: 8px;
    color: #5e6f82;
}

.fee-highlight {
    background: #f8fafd;
    border: 1px solid #e2eaf2;
    border-radius: 16px;
    padding: 8px;
    margin: 6px 0;
    transition: all 0.2s;
}
.fee-badge {
    display: inline-block;
    background: #2c5a8c;
    color: white;
    padding: 2px 10px;
    border-radius: 40px;
    font-size: 9px;
    font-weight: 600;
    margin-right: 6px;
}
.important-note {
    background: #fff7e5;
    border-left: 4px solid #ffb347;
    padding: 5px 10px;
    font-size: 9px;
    margin-top: 6px;
    border-radius: 12px;
}
.merchant-tag {
    display: inline-block;
    padding: 2px 10px;
    font-size: 8px;
    border-radius: 40px;
    background: #eef3fc;
    color: #2c5a8c;
    border: 1px solid #d9e3ef;
    margin-right: 4px;
    margin-bottom: 4px;
    font-weight: 600;
    transition: all 0.1s;
}
.compact-table {
    width: 100%;
    font-size: 8.5px;
    border-collapse: collapse;
    margin-bottom: 4px;
}
.compact-table th, .compact-table td {
    padding: 5px 6px;
    text-align: left;
    border-bottom: 1px solid #eef2f8;
}
.compact-table th {
    font-weight: 700;
    color: #1f3a5f;
    background: #f8fafd;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 8px;
    margin-bottom: 6px;
    border: 1px solid #eef2f8;
    transition: all 0.2s;
}
.sidebar-card:hover {
    transform: translateX(2px);
    border-color: #cbdde9;
}
.sidebar-card-title {
    font-size: 10px;
    font-weight: 700;
    color: #1f3a5f;
    margin-bottom: 5px;
    padding-bottom: 3px;
    border-bottom: 1px solid #eef2f8;
}
.highlight-merchant {
    background: #fafcff;
    border: 1px solid #d9e3ef;
    border-radius: 18px;
    padding: 8px;
    margin-top: 5px;
}
.merchant-big-number {
    font-size: 22px;
    font-weight: 800;
    color: #2c5a8c;
    display: inline-block;
    margin-right: 4px;
    line-height: 1;
}

.footer {
    padding: 8px 0;
    margin-top: 12px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: #7f8c9a;
}
.footer-links a {
    color: #6c7e9a;
    text-decoration: none;
    margin-left: 12px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #2c5a8c;
}

/* 响应式与原比例一致 */
@media (max-width: 1100px) {
    .card-large { grid-column: span 8; }
    .card-medium { grid-column: span 4; }
    .merchant-features { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .card-large { grid-column: span 12; }
    .card-medium { grid-column: span 6; }
    .stats-container { grid-template-columns: repeat(4, 1fr); }
    .merchant-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .card-medium { grid-column: span 12; }
    .merchant-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .merchant-features { grid-template-columns: 1fr; }
}

/* 按钮组微交互 */
.btn-group {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    flex-wrap: wrap;
    align-items: center;
}
.section-title {
    font-size: 10px;
    font-weight: 700;
    color: #1f3a5f;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.card-section {
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #eef2f8;
}
.card-section:last-child {
    border-bottom: none;
}