/* ============================================
   倾企企服网 - 现代简洁蓝色系主题
   Modern Blue Theme for ICPEDI
   ============================================ */

/* ========== CSS Variables ========== */
:root {
    /* 主色系 - 蓝色 */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    
    /* 辅助色 */
    --accent: #0ea5e9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* 中性色 */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* 背景色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    /* 文字颜色 */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    /* 边框 */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition-fast: 150ms;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* 容器 */
    --container-max: 1400px;
    --container-padding: 24px;
}

/* ========== CSS Reset ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========== Utilities ========== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 滚动触发动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* ========== Cards ========== */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-body {
    padding: 20px;
}

/* ========== Section Title ========== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.section-title-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: var(--radius);
    font-size: 18px;
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--gray-100);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.section-more:hover {
    background: var(--primary);
    color: white;
}

/* ========== Top Bar ========== */
.top-bar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.top-bar-left i {
    color: var(--primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-right a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.top-bar-right a:hover {
    color: var(--primary);
}

/* ========== Header ========== */
.header {
    background: white;
    padding: 16px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--border-light);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-text span {
    color: var(--primary);
}

/* Search Wrapper */
.search-wrapper {
    flex: 1;
    max-width: 560px;
}

.search-form {
    width: 100%;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid var(--primary-100);
    border-radius: var(--radius);
    overflow: visible;
    transition: all 0.3s ease;
    height: 46px;
    position: relative;
}

.search-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Search Type Dropdown */
.search-type-dropdown {
    position: relative;
    height: 100%;
    flex-shrink: 0;
}

.search-type-dropdown .search-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--gray-50);
    border: none;
    border-right: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-type-dropdown .search-tab:hover {
    background: var(--gray-100);
}

.search-type-dropdown .search-tab i {
    font-size: 11px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.search-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 120px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 4px;
}

.search-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-dropdown-item {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-dropdown-item:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
}

.search-dropdown-item:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
}

.search-dropdown-item:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.search-dropdown-item.active {
    background: var(--primary);
    color: white;
}

.search-icon {
    padding-left: 12px;
    color: var(--text-muted);
    font-size: 14px;
}

.search-input-group input {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    outline: none;
    height: 100%;
}

.search-input-group input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    height: 100%;
    width: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

/* Quick Actions - Publish Buttons */
.quick-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    align-items: center;
}

.publish-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
    height: 46px;
    font-weight: 600;
}

.publish-btn:hover {
    transform: translateY(-2px);
}

.publish-service {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.publish-service:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

.publish-product {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.publish-product:hover {
    background: var(--primary-50);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.publish-icon {
    font-size: 18px;
}

.publish-text {
    display: flex;
    flex-direction: column;
}

.publish-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

/* ========== Main Navigation ========== */
.main-nav {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    z-index: 999;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link i {
    font-size: 14px;
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    padding: 8px 0;
    z-index: 100;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.nav-dropdown a:hover {
    background: var(--primary-50);
    color: var(--primary);
    padding-left: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    padding: 10px;
    color: white;
    font-size: 20px;
}

/* ========== Main Banner Section ========== */
.main-banner {
    padding: 24px 0 0;
    background: var(--bg-secondary);
}

.banner-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    gap: 16px;
    align-items: stretch;
}

/* Category Navigation */
.category-nav {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.category-nav-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.category-nav-header i {
    font-size: 16px;
}

.category-list {
    padding: 10px;
    flex: 1;
    overflow-y: auto;
}

.category-item {
    margin-bottom: 2px;
    position: relative;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 13px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.category-link:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.category-link i:first-child {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
}

.category-link span {
    flex: 1;
}

.category-link .fa-chevron-right {
    font-size: 11px;
    color: var(--text-muted);
}

/* 子分类下拉菜单 */
.category-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 150px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    z-index: 100;
    margin-left: 1px;
}

.category-item:hover > .category-submenu {
    display: block;
}

.category-submenu-item {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 13px;
    white-space: nowrap;
}

.category-submenu-item:hover {
    background: var(--primary-50);
    color: var(--primary);
}

/* Banner Slider */
.banner-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    min-height: 360px;
}

.banner-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        transparent 100%
    );
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px 30px;
    color: white;
}

.banner-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-content p {
    font-size: 14px;
    opacity: 0.9;
}

.banner-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
}

.banner-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border-radius: 50%;
    pointer-events: all;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.banner-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
}

.banner-dot.active {
    width: 24px;
    background: white;
}

/* Banner Sidebar */
.banner-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border-color);
}

.sidebar-card:first-child {
    flex-shrink: 0;
}

.sidebar-card:last-child {
    flex: 1;
}

.sidebar-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-card-title i {
    color: var(--primary);
}

/* Quick Publish */
.quick-publish-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.quick-publish-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--gray-50);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
}

.quick-publish-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.quick-publish-btn i {
    font-size: 20px;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.news-item:hover {
    background: var(--primary-50);
}

.news-item-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 14px;
    flex-shrink: 0;
}

.news-item-content {
    flex: 1;
    min-width: 0;
}

.news-item-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.news-item:hover .news-item-title {
    color: var(--primary);
}

.news-item-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== Main Content ========== */
.main-content {
    padding: 20px 0;
}

/* Empty Section */
.empty-section {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
    transition: all 0.3s ease;
}

.empty-section:hover {
    border-color: var(--primary-100);
    background: var(--primary-50);
}

.empty-section i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-section p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
}

/* Join Banner */
.join-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.join-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.join-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.join-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.join-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.join-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-icon i {
    font-size: 28px;
    color: white;
}

.join-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.join-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.join-banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.join-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: white;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: var(--gray-50);
    color: var(--primary-dark);
}

.join-tips {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

/* 商家入驻广告模块 - 新版 */
.merchant-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 32px 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.merchant-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.merchant-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.merchant-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.merchant-banner-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.merchant-banner-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.merchant-banner-icon i {
    font-size: 32px;
    color: white;
}

.merchant-banner-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.merchant-banner-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.merchant-banner-features {
    display: flex;
    gap: 16px;
}

.merchant-banner-features .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.merchant-banner-features .feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.merchant-banner-features .feature-item i {
    color: #7dffb3;
    font-size: 16px;
}

.merchant-banner-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.merchant-banner-right .merchant-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: white;
    color: #667eea;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.merchant-banner-right .merchant-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: #f8f9ff;
    color: #764ba2;
}

.merchant-banner-right .merchant-btn i {
    font-size: 18px;
}

.merchant-banner-right .merchant-tips {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.merchant-banner-right .merchant-tips strong {
    color: #7dffb3;
    font-weight: 700;
}

/* 响应式 */
@media (max-width: 1100px) {
    .merchant-banner-features {
        display: none;
    }
}

@media (max-width: 900px) {
    .merchant-banner {
        padding: 28px 24px;
    }
    
    .merchant-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .merchant-banner-left {
        flex-direction: column;
        gap: 16px;
    }
    
    .merchant-banner-text h3 {
        font-size: 22px;
    }
    
    .merchant-banner-icon {
        width: 64px;
        height: 64px;
    }
    
    .merchant-banner-icon i {
        font-size: 28px;
    }
    
    .merchant-banner-right .merchant-btn {
        padding: 14px 32px;
        font-size: 16px;
    }
}

/* 分类信息广告模块 */
.classified-banner {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-radius: 16px;
    padding: 32px 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.25);
}

.classified-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.classified-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.classified-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.classified-banner-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.classified-banner-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: classifiedPulse 2s ease-in-out infinite;
}

.classified-banner-icon i {
    font-size: 32px;
    color: white;
}

@keyframes classifiedPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.classified-banner-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.classified-banner-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.classified-banner-features {
    display: flex;
    gap: 16px;
}

.classified-banner-features .classified-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.classified-banner-features .classified-feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.classified-banner-features .classified-feature-item i {
    color: #fff59d;
    font-size: 16px;
}

.classified-banner-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.classified-banner-right .classified-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: white;
    color: #ea580c;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.classified-banner-right .classified-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: #fff7ed;
    color: #f97316;
}

.classified-banner-right .classified-btn i {
    font-size: 18px;
}

.classified-banner-right .classified-tips {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.classified-banner-right .classified-tips strong {
    color: #fff59d;
    font-weight: 700;
}

/* 响应式 */
@media (max-width: 1100px) {
    .classified-banner-features {
        display: none;
    }
}

@media (max-width: 900px) {
    .classified-banner {
        padding: 28px 24px;
    }
    
    .classified-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .classified-banner-left {
        flex-direction: column;
        gap: 16px;
    }
    
    .classified-banner-text h3 {
        font-size: 22px;
    }
    
    .classified-banner-icon {
        width: 64px;
        height: 64px;
    }
    
    .classified-banner-icon i {
        font-size: 28px;
    }
    
    .classified-banner-right .classified-btn {
        padding: 14px 32px;
        font-size: 16px;
    }
}

/* Featured Merchants */
.featured-merchants {
    margin-bottom: 40px;
}

.featured-merchants .section-header {
    margin-bottom: 24px;
}

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

.merchant-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    background: white;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.merchant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.merchant-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-100);
}

.merchant-card:hover::before {
    transform: scaleX(1);
}

.merchant-logo {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-radius: 50%;
    margin-bottom: 16px;
    font-size: 28px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.merchant-card:hover .merchant-logo {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transform: scale(1.1);
}

.merchant-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.merchant-desc {
    font-size: 13px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Info Lists */
.info-lists {
    margin-top: 20px;
    margin-bottom: 40px;
}

.info-lists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Info Card */
.info-list-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.info-list-card:hover {
    border-color: var(--primary-100);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.info-card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    font-size: 14px;
    flex-shrink: 0;
}

.info-card-title {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-card-more {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.info-card-more:hover {
    color: white;
}

.info-card-body {
    padding: 0;
}

/* Info Item List */
.info-item-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s ease;
}

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

.info-item:hover {
    background: var(--gray-50);
}

.info-item-link {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: var(--text-primary);
}

.info-item-link:hover {
    color: var(--primary);
}

.info-item-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-100);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.info-item-link:hover .info-item-dot {
    background: var(--primary);
}

.info-item-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-item-date {
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 12px;
}

/* Empty Card */
.info-card-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.info-card-empty i {
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.info-card-empty p {
    font-size: 13px;
    margin: 0;
}

/* Promo Banner */
.promo-banner {
    margin: 24px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.promo-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: 15%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.promo-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.promo-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    font-size: 24px;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.promo-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px;
}

.promo-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.promo-right {
    flex-shrink: 0;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9ff;
}

/* Products Showcase */
.products-showcase {
    margin-bottom: 40px;
}

.products-showcase .section-header {
    margin-bottom: 20px;
}

.products-showcase .section-title-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* 产品商城商品列表 - 横向列表布局 */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.products-grid .product-card {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

.products-grid .product-card::before {
    display: none;
}

.products-grid .product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    transform: none;
}

.products-grid .product-card:hover::before {
    display: none;
}

.products-grid .product-image {
    position: relative;
    width: 180px;
    height: 140px;
    flex-shrink: 0;
    background: var(--bg-light);
    aspect-ratio: auto;
    overflow: hidden;
}

.products-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.products-grid .product-card:hover .product-image img {
    transform: scale(1.05);
}

.products-grid .product-info {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-grid .product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.products-grid .product-title:hover {
    color: var(--primary);
}

.products-grid .product-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-grid .product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.products-grid .product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.products-grid .product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--danger);
}

/* 首页精选产品 - 淘宝京东风格竖向卡片 */
.home-featured-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 16px;
}

.home-featured-products .product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eee;
}

.home-featured-products .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.18);
    border-color: transparent;
}

.home-featured-products .product-image {
    position: relative;
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.home-featured-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home-featured-products .product-card:hover .product-image img {
    transform: scale(1.08);
}

.home-featured-products .product-image .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 1;
}

.home-featured-products .product-content {
    padding: 16px;
}

.home-featured-products .product-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.home-featured-products .product-title:hover {
    color: #667eea;
}

.home-featured-products .product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.home-featured-products .product-price-current {
    font-size: 20px;
    font-weight: 700;
    color: #f5576c;
}

.home-featured-products .product-price-original {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.home-featured-products .product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.home-featured-products .product-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 响应式 */
@media (max-width: 1200px) {
    .home-featured-products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .home-featured-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .home-featured-products {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .home-featured-products .product-image {
        height: 200px;
    }
}

.products-grid .product-price .original-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.products-grid .product-price.negotiable {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.products-grid .product-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
}

.products-grid .product-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 20px;
}

.products-grid .product-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.products-grid .product-stats {
    display: flex;
    gap: 16px;
}

.products-grid .product-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 响应式：小屏幕保持列表布局 */
@media (max-width: 768px) {
    .products-grid {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    
    .products-grid .product-card {
        flex-direction: column;
    }
    
    .products-grid .product-image {
        width: 100%;
        height: 180px;
    }
}

.products-grid .product-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.products-grid .product-badge.used {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.product-content {
    padding: 16px;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-title:hover {
    color: var(--primary);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.product-price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--danger);
}

.product-price-original {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

/* Useful Phones */
.useful-phones {
    margin-bottom: 40px;
}

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

.phone-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border-left: 4px solid var(--primary);
}

.phone-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent);
}

.phone-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 20px;
    flex-shrink: 0;
}

.phone-info {
    flex: 1;
}

.phone-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.phone-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

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

/* ========== Footer ========== */
.footer {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 20px 0 0;
}

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

.footer-brand {
    padding-right: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

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

.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.footer-logo-text span {
    color: var(--primary-light);
}

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

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-700);
    color: var(--gray-300);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-700);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--primary-light);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding: 12px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-simple {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 0;
}

.footer-info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.footer-company {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.footer-divider {
    color: var(--gray-500);
    font-size: 14px;
}

.footer-phone {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.footer-phone i {
    margin-right: 6px;
}

.footer-desc {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0;
}

.footer-copyright {
    font-size: 12px;
    color: var(--gray-400);
    text-align: center;
}

.footer-copyright a {
    color: var(--primary-light);
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
}

.footer-links-bottom a {
    font-size: 13px;
    color: var(--gray-500);
}

.footer-links-bottom a:hover {
    color: var(--primary-light);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    border: none;
    text-align: center;
    line-height: 50px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* ========== Responsive Design ========== */
@media (max-width: 1200px) {
    .banner-wrapper {
        grid-template-columns: 220px 1fr 240px;
        gap: 16px;
    }
    
    .banner-slider {
        min-height: 300px;
    }
    
    .merchants-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px;
        gap: 16px;
    }
    
    .stat-value {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .logo img {
        height: 44px;
    }
    
    .search-wrapper {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    
    .quick-actions {
        order: 2;
    }
    
    .publish-btn {
        padding: 10px 16px;
        height: 40px;
    }
    
    .publish-icon {
        font-size: 16px;
    }
    
    .publish-title {
        font-size: 13px;
    }
    
    .banner-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }
    
    .category-nav {
        display: none;
    }
    
    .banner-slider {
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: auto;
    }
    
    .banner-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        height: auto;
    }
    
    .sidebar-card {
        flex: none;
    }
    
    .sidebar-card:last-child {
        min-height: auto;
    }
    
    .info-lists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .promo-banner {
        padding: 16px 20px;
    }
    
    .promo-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .promo-text h3 {
        font-size: 16px;
    }
    
    .promo-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .merchants-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
    }
    
    .top-bar {
        display: none;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    .search-type-dropdown {
        display: none;
    }
    
    .search-wrapper {
        max-width: 100%;
    }
    
    .search-input-group {
        padding-left: 14px;
    }
    
    .search-icon {
        display: none;
    }
    
    .search-input-group input {
        padding: 12px 10px;
    }
    
    .search-btn {
        width: 44px;
    }
    
    .quick-actions {
        display: none;
    }
    
    .main-nav {
        position: relative;
        top: 0;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        padding: 12px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .join-banner {
        padding: 24px;
    }
    
    .join-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .join-banner-left {
        flex-direction: column;
        gap: 12px;
    }
    
    .join-banner-right {
        align-items: center;
    }
    
    .join-text h3 {
        font-size: 18px;
    }
    
    .join-text p {
        font-size: 13px;
    }
    
    .join-btn {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    
    .info-lists-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .merchants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .merchant-card {
        padding: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .banner-sidebar {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 0;
    }
    
    .logo img {
        height: 36px;
    }
    
    .banner-content h3 {
        font-size: 18px;
    }
    
    .banner-content {
        padding: 24px 20px 20px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .banner-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-card {
        flex: none;
    }
    
    .promo-banner {
        padding: 16px 16px;
        margin: 16px 0;
    }
    
    .info-lists-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .info-card-header {
        padding: 12px 14px;
    }
    
    .info-card-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .info-card-title {
        font-size: 14px;
    }
    
    .info-item {
        padding: 10px 14px;
    }
    
    .info-item-title {
        font-size: 13px;
    }
    
    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .promo-left {
        flex-direction: column;
        gap: 12px;
    }
    
    .promo-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .promo-text h3 {
        font-size: 15px;
    }
    
    .promo-text p {
        font-size: 12px;
    }
    
    .merchants-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .merchant-logo {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    
    .merchant-name {
        font-size: 13px;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-content {
        padding: 12px;
    }
    
    .product-title {
        font-size: 13px;
    }
    
    .product-price-current {
        font-size: 16px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        line-height: 44px;
    }
}

/* ========== No Data State ========== */
.no-data {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.no-data i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.no-data p {
    font-size: 14px;
    margin-bottom: 12px;
}

.no-data .btn {
    margin-top: 12px;
}

/* ========== Empty Categories ========== */
.info-category {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 8px;
}

/* ========== Quick Publish Buttons ========== */
.publish-buttons {
    display: flex;
    gap: 12px;
}

.publish-buttons .btn {
    padding: 10px 18px;
    font-size: 14px;
}

/* ========== Utility Classes ========== */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden { display: none !important; }
.visible { display: block !important; }

.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--text-muted); }

.bg-primary { background-color: var(--primary); }
.bg-white { background-color: var(--bg-primary); }
.bg-gray { background-color: var(--gray-100); }

/* ========== Loading Skeleton ========== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--gray-200) 25%,
        var(--gray-100) 50%,
        var(--gray-200) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

/* ========== Badge ========== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-primary {
    background: var(--primary-100);
    color: var(--primary);
}

.badge-success {
    background: #d1fae5;
    color: #059669;
}

.badge-danger {
    background: #fee2e2;
    color: #dc2626;
}

.badge-warning {
    background: #fef3c7;
    color: #d97706;
}

/* ========== Alert ========== */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: var(--primary-50);
    color: var(--primary-dark);
    border: 1px solid var(--primary-100);
}
