/* ========================================
   园企汇 - 陕西厂房出租平台 v3.0
   美化升级版样式文件
   ======================================== */

/* ====== 1. CSS Variables ====== */
:root {
    /* Primary Colors - Deep Industrial Blue */
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    
    /* Accent Colors */
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-50: #fffbeb;
    
    /* Semantic Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #0ea5e9;
    --info-light: #e0f2fe;
    
    /* Neutral Colors - Modern Slate */
    --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;
    
    /* Background */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-gradient: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #0f172a 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ====== 3. Typography ====== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

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

/* ====== 4. Layout ====== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

/* ====== 5. Header Styles ====== */
.header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-top {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 0.25rem 0;
    font-size: 0.75rem;
    color: white;
}

.header-top i {
    color: white;
}

.header-main {
    padding: 0.25rem 0;
    transition: var(--transition);
}

.header.scrolled .header-main {
    padding: 0.75rem 0;
}

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

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

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 768px) {
    .header-phone {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex !important;
    }
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text h1 {
    font-size: 1rem;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.625rem;
    color: var(--gray-500);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 60%;
}

.hotline-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
    animation: pulse-red 2s infinite;
    transition: var(--transition);
}

.hotline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    color: white;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
}

/* User dropdown menu */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
}

.user-dropdown-btn:hover {
    color: var(--primary);
    background: var(--primary-50);
}

.user-dropdown-btn i {
    margin-right: 0.25rem;
}

.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    min-width: 180px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: var(--radius-lg);
    z-index: 1000;
    margin-top: 0.5rem;
    overflow: hidden;
}

.user-dropdown:hover .user-dropdown-content,
.user-dropdown:focus-within .user-dropdown-content,
.user-dropdown.active .user-dropdown-content {
    display: block;
}

.user-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
    transition: var(--transition);
    text-decoration: none;
}

.user-dropdown-content a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.user-dropdown-content a i {
    width: 1.25rem;
    text-align: center;
    color: var(--gray-500);
}

.user-dropdown-content a:hover i {
    color: var(--primary);
}

.user-dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0.25rem 0;
}

/* ====== 6. Mobile Menu ====== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.2);
}

.mobile-menu-btn:active {
    background: rgba(255,255,255,0.3);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-2xl);
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-header h3 {
    color: white;
    margin: 0;
    font-size: 1.25rem;
}

.mobile-nav-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.mobile-nav-close:hover {
    background: rgba(255,255,255,0.3);
}

.mobile-nav ul {
    list-style: none;
    padding: 1rem;
}

.mobile-nav li {
    margin-bottom: 0.25rem;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--gray-700);
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.mobile-nav a i {
    width: 20px;
    color: var(--gray-400);
    text-align: center;
}

.mobile-nav a:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.mobile-nav a:hover i {
    color: var(--primary);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ====== 7. Hero Section ====== */
.hero {
    padding: 2.5rem 0 2rem;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    animation: fadeInUp 0.8s ease;
}

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

.hero h2 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1rem;
}

.hero p:last-of-type {
    margin-bottom: 0;
}

/* Search Box */
.search-box {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1rem;
    box-shadow: var(--shadow-2xl);
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.search-form select,
.search-form input {
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    outline: none;
    transition: var(--transition);
    background: var(--gray-50);
}

.search-form select:hover,
.search-form input:hover {
    border-color: var(--gray-300);
}

.search-form select:focus,
.search-form input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-100);
}

.search-form button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.5);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 0.625rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.stat-item h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0;
    font-weight: 700;
}

.stat-item p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ====== 8. Page Title ====== */
.page-title {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2rem 0 1.5rem;
    color: white;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: var(--bg-primary);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.page-title h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-title p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* ====== 9. Filter Section ====== */
.filter-section {
    background: white;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
    font-size: 0.9375rem;
}

.filter-group select {
    padding: 0.625rem 2rem 0.625rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    outline: none;
    transition: var(--transition);
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 0.75rem center/1rem;
    appearance: none;
    cursor: pointer;
}

.filter-group select:hover {
    border-color: var(--gray-300);
}

.filter-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.region-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.region-tab {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

.region-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.region-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ====== 10. Listings Grid ====== */
.listings-section {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--primary);
    font-size: 1.5rem;
}

.section-title h2 {
    margin: 0;
}

.section-title p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Listing Card - Enhanced */
.listing-card {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
}

.listing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

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

.listing-card:hover::before {
    opacity: 1;
}

.listing-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.listing-card:hover .listing-image img {
    transform: scale(1.1);
}

.listing-tags {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.listing-tag {
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.listing-tag.urgent {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    animation: pulse 2s infinite;
}

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

.listing-tag.divisible {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.listing-tag.fire-safety {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.listing-tag.eia {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
}

.listing-region {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.listing-content {
    padding: 1.5rem;
}

.listing-content h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    height: 3rem;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.listing-content h3 a {
    color: var(--gray-800);
    transition: var(--transition-fast);
}

.listing-content h3 a:hover {
    color: var(--primary);
}

.listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.listing-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--gray-100);
    padding: 0.375rem 0.625rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.listing-meta span i {
    color: var(--gray-400);
    font-size: 0.75rem;
}

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.listing-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.listing-price span {
    font-size: 0.8125rem;
    color: var(--gray-400);
    font-weight: 400;
}

.listing-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-call {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-call:hover {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    transform: translateY(-1px);
}

.btn-favorite {
    background: white;
    border: 2px solid var(--gray-200);
    padding: 0.5rem 0.625rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-400);
}

.btn-favorite:hover,
.btn-favorite.active {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.btn-favorite.active {
    background: #ef4444;
    color: white;
}

/* ====== 11. Empty State ====== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-400);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--gray-200);
}

.empty-state h4 {
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.empty-state p {
    margin: 0;
    font-size: 0.9375rem;
}

/* ====== 12. Detail Page ====== */
.detail-section {
    padding: 3rem 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.detail-main {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.detail-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.detail-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.detail-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.detail-thumbnails img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: var(--transition);
}

.detail-thumbnails img:hover,
.detail-thumbnails img.active {
    opacity: 1;
    border-color: var(--primary);
}

.detail-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.detail-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
}

.info-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.info-item label {
    display: block;
    color: var(--gray-500);
    font-size: 0.8125rem;
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.info-item span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
}

.info-item span.price {
    color: var(--accent);
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.detail-description {
    margin-bottom: 2rem;
}

.detail-description h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-100);
}

.detail-description p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* Detail Sidebar */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.detail-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
}

.detail-card h4 {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
    font-size: 1.125rem;
}

.contact-info {
    text-align: center;
}

.contact-phone {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.btn-contact {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-favorite-detail {
    width: 100%;
    background: white;
    color: var(--gray-600);
    border: 2px solid var(--gray-200);
    padding: 0.875rem;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-favorite-detail:hover,
.btn-favorite-detail.active {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.btn-nav {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-nav:hover {
    background: var(--primary-dark);
    color: white;
}

/* Map */
.map-container {
    height: 180px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.map-placeholder {
    text-align: center;
    color: var(--gray-400);
}

.map-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* ====== 13. Publish Form ====== */
.publish-section {
    padding: 3rem 0;
}

.publish-form {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title h2 {
    margin-bottom: 0.5rem;
}

.form-title p {
    color: var(--gray-500);
    margin: 0;
}

.compliance-notice {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.compliance-notice i {
    color: #b45309;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.compliance-notice p {
    color: #92400e;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.compliance-notice strong {
    display: block;
    margin-bottom: 0.25rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
    background: var(--gray-50);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gray-300);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-100);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Image Upload */
.image-upload {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--gray-50);
}

.image-upload:hover {
    border-color: var(--primary);
    background: var(--primary-50);
}

.image-upload.has-image {
    padding: 1.5rem;
    border-style: solid;
    border-color: var(--primary);
    background: var(--primary-50);
}

.image-upload input {
    display: none;
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--gray-300);
    margin-bottom: 0.75rem;
}

.upload-text p {
    color: var(--gray-600);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.upload-text span {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.preview-image {
    max-width: 100%;
    max-height: 250px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.upload-remove {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ef4444;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.upload-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-item input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    border: none;
    padding: 1.125rem;
    border-radius: var(--radius-lg);
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* ====== 14. Admin Section ====== */
.admin-section {
    padding: 3rem 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-header h2 i {
    color: var(--primary);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--info));
}

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

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.stat-card.pending::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.stat-card.pending h3 { color: #f59e0b; }

.stat-card.approved::before { background: linear-gradient(90deg, #10b981, #34d399); }
.stat-card.approved h3 { color: #10b981; }

.stat-card p {
    color: var(--gray-500);
    margin: 0;
    font-weight: 500;
}

/* Admin Table */
.admin-table {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    flex-wrap: wrap;
    gap: 1rem;
}

.table-tabs {
    display: flex;
    gap: 0.5rem;
}

.table-tab {
    padding: 0.5rem 1.25rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    font-size: 0.9375rem;
}

.table-tab:hover {
    background: white;
    color: var(--primary);
}

.table-tab.active {
    background: var(--primary);
    color: white;
}

.table-header input {
    padding: 0.625rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    outline: none;
    min-width: 200px;
}

.table-header input:focus {
    border-color: var(--primary);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

table td {
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-approve {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-approve:hover {
    background: #059669;
}

.btn-delete {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-delete:hover {
    background: #dc2626;
}

/* ====== 15. Contact Section ====== */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.contact-info-card h3 {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-card h3 i {
    color: var(--primary);
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list i {
    width: 48px;
    height: 48px;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.info-list strong {
    display: block;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.info-list span {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.contact-form-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.contact-form-card h3 {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-form-card h3 i {
    color: var(--primary);
}

.message-form .form-group {
    margin-bottom: 1.25rem;
}

.message-form input,
.message-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
    background: var(--gray-50);
}

.message-form input:focus,
.message-form textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-100);
}

.message-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* FAQ */
.faq-section {
    margin-top: 4rem;
}

.faq-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.faq-item h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.faq-item h4 i {
    font-size: 1rem;
}

.faq-item p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.7;
}

/* ====== 16. Footer ====== */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.footer-brand .hotline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
}

.footer-brand .hotline:hover {
    background: rgba(255,255,255,0.15);
    color: var(--accent);
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
    color: white;
}

/* ====== 17. Floating Contact ====== */
.floating-contact {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.floating-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    animation: pulse-red 2s infinite;
    transition: var(--transition);
}

.floating-contact a:hover {
    transform: scale(1.05);
    color: white;
}

/* ====== 18. Modal ====== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    max-width: 440px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s ease;
}

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

.modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-icon.success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #10b981;
    font-size: 2rem;
}

.modal-icon.error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #ef4444;
    font-size: 2rem;
}

.modal h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.modal p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: var(--transition);
}

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

/* ====== 19. Toast ====== */
.toast {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(400px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3000;
    min-width: 280px;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast i {
    font-size: 1.25rem;
}

.toast.success i {
    color: #10b981;
}

.toast.error i {
    color: #ef4444;
}

.toast-message {
    color: var(--gray-700);
    font-weight: 500;
}

/* ====== 20. Pagination ====== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0;
}

.pagination button {
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 2px solid var(--gray-200);
    background: white;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--gray-600);
}

.pagination button:hover,
.pagination button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ====== 21. Breadcrumb ====== */
.breadcrumb {
    background: var(--gray-100);
    padding: 1rem 0;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--gray-600);
}

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

.breadcrumb span {
    color: var(--gray-400);
    margin: 0 0.5rem;
}

/* ====== 22. Utility Classes ====== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.5rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

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

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

/* ====== 23. Responsive Design ====== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        position: static;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .region-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-image img {
        height: 300px;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .table-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .floating-contact {
        display: block;
    }
    
    .hotline-btn span {
        display: none;
    }
    
    .hotline-btn {
        padding: 0.625rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    .detail-info {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .contact-info-card,
    .contact-form-card,
    .publish-form {
        padding: 1rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .header-content {
        padding: 0.5rem 0;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .search-form {
        padding: 1rem;
    }
    
    .filter-bar {
        padding: 0.75rem;
    }
    
    .region-tabs {
        padding: 0.5rem;
    }
    
    .listing-card {
        padding: 0.75rem;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .footer {
        padding: 2rem 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
        padding: 1rem;
    }
}

/* ====== 24. Animations ====== */
.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-up {
    animation: slideUp 0.5s ease;
}

/* Card stagger animation */
.listing-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.listing-card:nth-child(1) { animation-delay: 0.05s; }
.listing-card:nth-child(2) { animation-delay: 0.1s; }
.listing-card:nth-child(3) { animation-delay: 0.15s; }
.listing-card:nth-child(4) { animation-delay: 0.2s; }
.listing-card:nth-child(5) { animation-delay: 0.25s; }
.listing-card:nth-child(6) { animation-delay: 0.3s; }
.listing-card:nth-child(7) { animation-delay: 0.35s; }
.listing-card:nth-child(8) { animation-delay: 0.4s; }
.listing-card:nth-child(9) { animation-delay: 0.45s; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

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

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ====== 样式优化 ====== */
/* 导航菜单优化 - 防止字体换行 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    white-space: nowrap;
    font-size: 0.875rem;
}

@media (max-width: 1200px) {
    .nav-menu a {
        padding: 0.375rem 0.625rem;
        font-size: 0.8125rem;
        gap: 0.25rem;
    }
    .nav-menu a i {
        font-size: 0.8125rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 0;
    }
    .nav-menu a {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
    }
    .nav-menu a i {
        font-size: 0.75rem;
    }
}

/* 发布表单提交按钮间距优化 */
.publish-form .form-group:last-of-type {
    margin-bottom: 1.5rem;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}
