/* CSS Variables */
:root {
    --primary: #b80e16;
    --primary-light: rgba(184, 14, 22, 0.05);
    --primary-dark: #9a0c12;
    --background: #f5f5f5;
    --card-bg: #ffffff;
    --foreground: #333333;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border: rgba(0, 0, 0, 0.1);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius: 4px;
    --radius-lg: 4px;
    --accent: #ff6600;
    --accent-foreground: #ffffff;
    --input-background: #ffffff;
    --muted: #e5e5e5;
    --muted-foreground: #666666;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Top Header */
.top-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    height: 60px;
    width: auto;
}

.back-to-platform {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 2px 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
    white-space: nowrap;
    transition: all 0.2s;
}

.back-to-platform:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--foreground);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.contact-phone,
.mobile-version {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--foreground);
}

.contact-phone:hover,
.mobile-version:hover {
    color: var(--primary);
}

.divider {
    color: var(--border);
}

.tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 200;
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

.qr-tooltip {
    text-align: center;
}

.qr-tooltip img {
    width: 96px;
    height: 96px;
    margin-bottom: 8px;
}

/* Main Content */
.main-content {
    padding: 24px 0;
}

.content-wrapper {
    display: flex;
    gap: 16px;
}

/* Left Sidebar */
.left-sidebar {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.left-nav {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-bottom: 1px solid var(--border);
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--foreground);
    transition: all 0.2s;
    text-align: left;
    text-decoration: none;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-item.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
}

.nav-item i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Ad Banner */
.ad-banner {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.ad-image {
    position: relative;
    height: 285px;
}

.ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: white;
}

.ad-overlay h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.ad-overlay p {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.btn-ad {
    padding: 4px 12px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: var(--radius);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
}

.btn-ad:hover {
    background: var(--primary-light);
}

.outer-flex {
    height: 605px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Partners Section */
.partners-section {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
}

.partners-section .section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
}

.partners-section .section-title span {
    font-size: 12px;
    color: rgba(0,0,0,0.5);
}



.partners-list {
    max-height: 340px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.partners-disclaimer {
    font-size: 12px;
    color: rgba(0,0,0,0.5);
    transform: scale(0.6);
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    background: #f9fafb;
    margin-bottom: 8px;
    justify-content: center;
}

.partner-logo {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: white;
}


.partner-logo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.partner-name {
    text-align: center;
    font-size: 14px;
    color: var(--foreground);
    font-weight: bold;
}

/* Center Content */
.center-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Search Box */
.search-box {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding-top: 20px;
}

.search-tabs {
    display: flex;
    margin: 0 16px;
}

.search-tabs .tab-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: var(--primary);
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.search-tabs .tab-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--primary);
}

.search-tabs .tab-btn.active {
    background: var(--primary-light);
    color: var(--primary);
}

.search-form {
    padding: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group:nth-child(1) { grid-column: span 7; }
.form-group:nth-child(2) { grid-column: span 7; }
.form-group:nth-child(3) { grid-column: span 7; }
.form-group:nth-child(4) { grid-column: span 3; display: flex; flex-direction: column; justify-content: flex-end; }

.form-group-btn {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}



.form-group label {
    font-size: 12px;
    color: var(--muted-foreground);
    font-weight: 500;
}

.form-group input {
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    background: var(--input-background);
    height: 35px;
    box-sizing: border-box;
    width: 100%;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.date-selector,
.city-selector {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--input-background);
    transition: all 0.2s;
    height: 35px;
    box-sizing: border-box;
    overflow: hidden;
}

.date-selector:hover,
.city-selector:hover,
.city-selector:focus-within {
    border-color: var(--primary);
}

.city-selector input:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
}

.city-selector:focus {
    outline: none !important;
}

/* Remove all focus outlines for city selector elements */
.city-selector *:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Remove focus outline for readonly inputs */
.city-selector input[readonly]:focus {
    outline: none !important;
    box-shadow: none !important;
}

.date-selector input,
.city-selector input {
    flex: 1;
    border: none;
    padding: 0 0 0 12px;
    cursor: text;
    background: transparent;
    font-size: 14px;
    color: var(--foreground);
    font-family: inherit;
    height: 100%;
    outline: none;
}

.date-selector input::placeholder,
.city-selector input::placeholder {
    color: var(--text-muted);
}

.date-selector i,
.city-selector i {
    color: var(--text-muted);
    font-size: 14px;
    opacity: 0.5;
    margin-right: 12px;
    flex-shrink: 0;
}

.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 0 16px;
    background: var(--accent);
    color: var(--accent-foreground);
    border: none;
    border-radius: var(--radius);
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    height: 35px;
}

.btn-search:hover {
    opacity: 0.9;
}

.search-keywords {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
}

.search-keywords span {
    color: var(--text-muted);
}

.search-keywords a {
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px dashed var(--text-muted);
}

.search-keywords a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Banner */
.banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 130px;
    box-shadow: var(--shadow);
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: none;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(184, 14, 22, 0.85) 0%, rgba(184, 14, 22, 0.5) 50%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.banner-content {
    color: white;
}


.banner-tags {
    display: flex;
    gap: 10px;
    font-size: 13px;
}

.banner-tags i {
    font-size: 6px;
}

.banner-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.banner-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
}

.tag-primary {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Quick Links */
.quick-links {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quick-links-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.quick-link-item:hover {
    color: var(--primary);
}

.quick-link-item i {
    color: var(--primary);
    font-size: 16px;
}

.quick-links-right {
    font-size: 12px;
}

.quick-links-right .text-muted {
    color: var(--text-muted);
}

.quick-links-right a {
    color: var(--primary);
    text-decoration: none;
    margin-left: 4px;
}

.quick-links-right a:hover {
    text-decoration: underline;
}

/* Bidding Center */
.bidding-center {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary);
}

.bidding-center-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.bidding-center-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--foreground);
}

.bidding-center-header .more-link {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.bidding-center-header .more-link:hover {
    color: var(--primary);
}

.bidding-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bidding-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 当前城市选择器 */
.current-city-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 13px;
}

.current-city-selector .city-label {
    color: var(--text-muted);
}

.current-city-selector .city-name {
    color: var(--primary);
    font-weight: 500;
}

.current-city-selector:hover .city-name {
    text-decoration: underline;
}

/* 一级分类标签 */
.bidding-primary-tabs {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.bidding-primary-tabs .tab-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
    white-space: nowrap;
}

.bidding-primary-tabs .tab-btn:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.bidding-primary-tabs .tab-btn.active {
    background: var(--primary);
    color: white;
}

/* 二级分类标签 */
.bidding-secondary-tabs {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.bidding-secondary-tabs .tab-btn {
    padding: 0 0 4px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.bidding-secondary-tabs .tab-btn:hover {
    color: var(--foreground);
}

.bidding-secondary-tabs .tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 500;
}

/* 标讯列表 */
.bidding-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.bidding-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 0 9px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.2s;
}

.bidding-item:last-child {
    border-bottom: none;
}

.bidding-item:hover {
    background: #f9fafb;
}

.bidding-item:hover .bidding-title {
    color: var(--primary);
}

.bidding-tag {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.bidding-title {
    flex: 1;
    font-size: 14px;
    color: var(--foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.bidding-date {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* 分页 */
.bidding-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.bidding-pagination .pagination-container {
    display: flex;
    align-items: center;
    gap: 4px;
}



.bidding-pagination .pagination-info {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.bidding-pagination .pagination-info.total-count {
    text-align: left;
}

.bidding-pagination .pagination-info.total-page {
    text-align: right;
}

.bidding-pagination .pagination-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bidding-pagination .pagination-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--foreground);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bidding-pagination .pagination-btn:hover:not(:disabled) {
    color: #f00;
}

.bidding-pagination .pagination-btn.active {
    color: var(--primary);
    font-weight: 500;
}

.bidding-pagination .pagination-btn:disabled {
    color: #d1d5db;
    cursor: not-allowed;
    background: transparent;
}

.bidding-pagination .pagination-ellipsis {
    color: var(--text-muted);
    font-size: 13px;
    padding: 0 4px;
}

/* Right Sidebar */
.right-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Login Box */
.login-box {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.login-avatar {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-avatar i {
    width: 32px;
    height: 32px;
    color: #9ca3af;
}

.login-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btn-login,
.btn-register {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-login {
    background: var(--primary);
    color: white;
    margin-bottom: 8px;
}

.btn-login:hover {
    background: var(--primary-dark);
}

.btn-register {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-register:hover {
    background: var(--primary-light);
}

/* Promo Box */
.promo-box {
    background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
}

.promo-image {
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-box h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.promo-box p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.link-detail {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
}

.link-detail:hover {
    text-decoration: underline;
}

/* Featured Section */
.featured-section {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
}

.featured-section .section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.featured-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-item {
    display: flex;
    gap: 8px;
    cursor: pointer;
}

.featured-thumb {
    width: 64px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;
}

.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    flex: 1;
    min-width: 0;
}

.featured-content h5 {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.featured-link {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
}

.featured-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
}

.footer .tips {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.6;
    text-align: center;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 16px 24px;
}

.footer-content {
    display: flex;
    gap: 48px;
}

.footer-brand {
    width: 224px;
    flex-shrink: 0;
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #e5e7eb;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column li.small {
    font-size: 12px;
}

.footer-column li.phone-row {
    font-size: 13px;
    white-space: nowrap;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-column a:hover {
    color: var(--primary);
}

/* Footer QR Codes */
.footer-qr {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.qr-item {
    text-align: center;
}

.qr-code {
    width: 96px;
    height: 96px;
    background: white;
    border-radius: 4px;
    padding: 6px;
    margin-bottom: 8px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-item p {
    font-size: 12px;
    color: #9ca3af;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #374151;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 12px;
    color: #6b7280;
}

.footer-links-bottom {
    display: flex;
    gap: 24px;
}

.footer-links-bottom a {
    font-size: 12px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-bottom a:hover {
    color: var(--primary);
}

/* City Popover Dropdown */
.city-popover {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 1000;
    display: none;
    width: 560px;
}

.city-popover.show {
    display: block;
}

.city-popover-arrow {
    position: absolute;
    top: -6px;
    left: 40px;
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg);
    z-index: 1;
}

.city-popover-content {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
}

.hot-cities-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.hot-cities-section h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 12px;
}

.city-tags-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-height: none;
}

.city-tag {
    padding: 6px 8px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.city-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.city-tag.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.all-cities-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.city-group {
    display: flex;
    gap: 12px;
}

.city-letter {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 4px;
}

.city-names {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.city-name-item {
    padding: 4px 8px;
    font-size: 13px;
    color: var(--muted-foreground);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.city-name-item:hover {
    color: var(--primary);
}

.city-name-item.active {
    color: var(--primary);
    font-weight: 500;
}

/* City Search Results */
.city-search-results {
    max-height: 240px;
    overflow-y: auto;
    padding: 4px 0;
}

.city-search-results .city-name-item {
    display: block;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.city-search-results .city-name-item:hover {
    background: var(--primary-light);
}

.city-no-result {
    padding: 20px 12px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .left-sidebar {
        width: 180px;
    }
    
    .right-sidebar {
        width: 240px;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }

    .left-sidebar,
    .right-sidebar {
        width: 100%;
    }

    .left-nav {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 1;
        min-width: 120px;
        border-bottom: none;
        border-right: 1px solid var(--border);
    }

    .main-nav {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group:nth-child(1),
    .form-group:nth-child(2),
    .form-group:nth-child(3),
    .form-group:nth-child(4) {
        grid-column: span 1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .banner-content h3 {
        font-size: 18px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* 科技感电子名片弹窗 - 无蒙层小尺寸 */
.tech-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: transparent;
}

.tech-card {
    width: 320px;
    background: linear-gradient(145deg, #fafafa 0%, #f5f5f5 50%, #fafafa 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 3px rgba(184, 14, 22, 0.3),
        0 0 0 10px rgba(184, 14, 22, 0.1),
        0 0 0 20px rgba(184, 14, 22, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 0 50px rgba(184, 14, 22, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* 卡片边框发光动画 */
.tech-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 19px;
    background: linear-gradient(135deg, 
        rgba(184, 14, 22, 0.8) 0%, 
        rgba(184, 14, 22, 0.2) 25%, 
        rgba(184, 14, 22, 0.8) 50%, 
        rgba(184, 14, 22, 0.2) 75%, 
        rgba(184, 14, 22, 0.8) 100%);
    z-index: -1;
    animation: borderGlow 3s linear infinite;
    background-size: 300% 300%;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 左右布局卡片 - 左窄右宽 */
.tech-card-horizontal {
    width: 520px;
}

@keyframes techCardIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 网格背景 */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(184, 14, 22, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 14, 22, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* 扫描线 */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b80e16, transparent);
    animation: scanMove 3s linear infinite;
    box-shadow: 0 0 10px rgba(184, 14, 22, 0.5), 0 0 20px rgba(184, 14, 22, 0.3);
}

@keyframes scanMove {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* 角标装饰 */
.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #b80e16;
    border-style: solid;
    pointer-events: none;
}

.corner-tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.corner-tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }

/* 左右布局下的角标调整 */
.tech-left-section .corner {
    width: 14px;
    height: 14px;
}

.tech-left-section .corner-tl { top: 8px; left: 8px; }
.tech-left-section .corner-tr { top: 8px; right: 8px; }
.tech-left-section .corner-bl { bottom: 8px; left: 8px; }
.tech-left-section .corner-br { bottom: 8px; right: 8px; }

/* 左右布局下的主视觉调整 */
.tech-left-section .avatar-container {
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.tech-left-section .orbit {
    inset: -6px;
}

/* 头像和名字左右结构 */
.tech-main-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

/* 数字人头像 */
.tech-main-row .avatar-container {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.avatar-container .avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(184, 14, 22, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.avatar-container .avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b80e16 0%, #9a0c12 100%);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    border: 3px solid rgba(184, 14, 22, 0.3);
    box-shadow: 0 4px 15px rgba(184, 14, 22, 0.3);
}

.tech-main-row .info-panel {
    text-align: left;
    flex: 1;
}

.tech-main-row .tech-name {
    font-size: 22px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-weight: 700;
}

/* 在线状态内联显示 */
.status-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #22c55e;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.status-dot-inline {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
    box-shadow: 0 0 4px rgba(34, 197, 94, 0.5);
}

.tech-left-section .tech-title {
    font-size: 13px;
    margin-bottom: 12px;
    color: rgba(100, 100, 100, 0.6);
}

.tech-left-section .tech-divider {
    margin-bottom: 10px;
}

.tech-left-section .tech-phone {
    padding: 6px 12px;
    font-size: 13px;
    white-space: nowrap;
    display: inline-flex;
}

/* 关闭按钮 */
.tech-close {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #b80e16;
    border: 2px solid #b80e16;
    color: #fff;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(184, 14, 22, 0.4);
}

.tech-close:hover {
    background: #9a0c12;
    border-color: #9a0c12;
    color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(184, 14, 22, 0.5);
}

/* 卡片主体 */
.tech-card-body {
    padding: 28px 24px;
    position: relative;
    z-index: 1;
}

/* 左右布局主体 - 左窄右宽 */
.tech-card-body-horizontal {
    display: flex;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.tech-left-section {
    width: 260px;
    display: flex;
    flex-direction: column;
    padding-right: 16px;
    flex-shrink: 0;
}

.tech-right-section {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 12px;
}

/* 垂直分隔线 */
.qr-divider-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    gap: 6px;
}

.qr-divider-vertical .divider-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, transparent, #b80e16, transparent);
}

.qr-divider-vertical .divider-icon {
    color: #b80e16;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-right-section .tech-qr-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.tech-right-section .qr-frame {
    width: 150px;
    height: 150px;
}

.tech-right-section .qr-label {
    font-size: 14px;
    letter-spacing: 1px;
}

/* 顶部ID区域 */
.tech-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tech-left-section .tech-header {
    margin-bottom: 16px;
}

.tech-left-section .id-code {
    font-size: 12px;
}

.tech-left-section .data-line {
    font-size: 10px;
}

.tech-left-section .tech-footer {
    margin-top: auto;
    padding-top: 12px;
}

.id-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.id-label {
    background: linear-gradient(135deg, #b80e16, #9a0c12);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 3px;
    letter-spacing: 1px;
}

.id-code {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(100, 100, 100, 0.7);
    letter-spacing: 2px;
}

.tech-left-section .id-code {
    color: rgba(100, 100, 100, 0.6);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-text {
    font-size: 11px;
    color: #22c55e;
    font-weight: 600;
    letter-spacing: 1px;
}

.tech-left-section .status-text {
    font-size: 8px;
}

/* 主视觉区域 */
.tech-main {
    text-align: center;
    margin-bottom: 16px;
}

.avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
}

.avatar-ring {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #b80e16, #d32f2f, #b80e16);
    animation: rotateRing 4s linear infinite;
    padding: 3px;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.avatar-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #fff, #f5f5f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b80e16;
    border: 2px solid rgba(184, 14, 22, 0.2);
}

.tech-left-section .avatar-inner {
    background: linear-gradient(145deg, #fff, #fafafa);
}

.orbit {
    position: absolute;
    inset: -10px;
    border: 1px dashed rgba(184, 14, 22, 0.15);
    border-radius: 50%;
    animation: orbitRotate 10s linear infinite reverse;
}

@keyframes orbitRotate {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.info-panel {
    text-align: center;
}

.tech-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    text-shadow: none;
    letter-spacing: 3px;
}

.tech-left-section .tech-name {
    color: #333;
    font-size: 18px;
    letter-spacing: 2px;
}

.tech-title {
    font-size: 11px;
    color: rgba(100, 100, 100, 0.7);
    margin-bottom: 12px;
    font-weight: 400;
}

.tech-left-section .tech-title {
    color: rgba(100, 100, 100, 0.6);
    margin-bottom: 8px;
}

.tech-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.tech-divider span {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #b80e16, transparent);
}

.tech-left-section .tech-divider span {
    width: 30px;
}

.tech-divider i {
    color: #b80e16;
}

.tech-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(184, 14, 22, 0.08);
    border: 1px solid rgba(184, 14, 22, 0.25);
    border-radius: 20px;
    color: #b80e16;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.tech-left-section .tech-phone {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 16px;
}

.tech-phone:hover {
    background: rgba(184, 14, 22, 0.15);
    border-color: #b80e16;
    box-shadow: 0 0 15px rgba(184, 14, 22, 0.2);
    transform: translateY(-2px);
}

/* 二维码区域 */
.tech-qr-section {
    text-align: center;
    margin-bottom: 12px;
}

.qr-frame {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 10px;
    padding: 6px;
    background: rgba(184, 14, 22, 0.05);
    border-radius: 8px;
}

.qr-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: #b80e16;
    border-style: solid;
}

.qr-corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.qr-corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.qr-corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.qr-corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.qr-scan-line {
    position: absolute;
    left: 6px;
    right: 6px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b80e16, transparent);
    animation: qrScan 2s linear infinite;
    box-shadow: 0 0 6px rgba(184, 14, 22, 0.4);
}

@keyframes qrScan {
    0% { top: 6px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: calc(100% - 6px); opacity: 0; }
}

.qr-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.qr-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    color: rgba(100, 100, 100, 0.6);
    letter-spacing: 2px;
    font-weight: 500;
}

.tech-right-section .qr-label {
    font-size: 14px;
    color: rgba(100, 100, 100, 0.7);
}

/* 底部装饰 */
.tech-footer {
    border-top: 1px solid rgba(184, 14, 22, 0.1);
    padding-top: 10px;
}

.data-line {
    display: flex;
    justify-content: space-between;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    color: rgba(100, 100, 100, 0.5);
    letter-spacing: 1px;
}

.tech-left-section .data-line {
    color: rgba(100, 100, 100, 0.45);
}

/* 专精特新贷气泡框 */
.loan-popover {
    position: absolute;
    z-index: 3;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
}
.loan-popover.zhuanjingtexin {
    top: 378px;
    left: 200px;
}

.loan-popover.huiqi {
    top: 420px;
    left: 200px;
}

@media screen and (max-width: 768px) {
    .loan-popover.zhuanjingtexin,
    .loan-popover.huiqi {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}


.loan-popover-arrow {
    position: absolute;
    left: -6px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-left: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.loan-popover-content {
    background: #fff;
    border-radius: 12px;
    width: 320px;
    padding: 20px;
    position: relative;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.loan-popover-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.loan-popover-close:hover {
    background: rgba(184, 14, 22, 0.1);
    color: #b80e16;
}

.loan-popover-header {
    margin-bottom: 16px;
    padding-right: 20px;
}

.loan-popover-title {
    font-size: 18px;
    font-weight: 700;
    color: #b80e16;
    margin-bottom: 4px;
}

.loan-popover-subtitle {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.loan-popover-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loan-popover-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.loan-popover-form .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.loan-popover-form .form-input,
.loan-popover-form .form-select {
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    background: #fff;
    transition: all 0.2s ease;
    width: 100%;
}

.loan-popover-form .form-input:focus,
.loan-popover-form .form-select:focus {
    outline: none;
    border-color: #b80e16;
    box-shadow: 0 0 0 2px rgba(184, 14, 22, 0.1);
}

.loan-popover-form .form-input::placeholder {
    color: #aaa;
}

.loan-popover-form .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
}

.loan-popover-form .input-with-suffix {
    position: relative;
    display: flex;
    align-items: center;
}

.loan-popover-form .input-with-suffix .form-input {
    padding-right: 40px;
}

.loan-popover-form .input-suffix {
    position: absolute;
    right: 10px;
    font-size: 12px;
    color: #666;
    pointer-events: none;
}

.loan-popover-form .loan-submit-btn {
    height: 36px;
    background: linear-gradient(135deg, #b80e16 0%, #9a0c12 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.loan-popover-form .loan-submit-btn:hover {
    background: linear-gradient(135deg, #9a0c12 0%, #7a0a0e 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(184, 14, 22, 0.3);
}

.loan-popover-form .form-input.error,
.loan-popover-form .form-select.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.loan-popover-form .form-input.error:focus,
.loan-popover-form .form-select.error:focus {
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}



/* 成功提示Dialog */
.success-dialog {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.success-dialog-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: successPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.success-dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.success-dialog-close:hover {
    background: rgba(184, 14, 22, 0.1);
    color: #b80e16;
}

@keyframes successPop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    color: #22c55e;
    margin-bottom: 16px;
}

.success-text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 0;
}

/* 表单验证错误样式 */
.form-input.error,
.form-select.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-input.error:focus,
.form-select.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(184, 14, 22, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(184, 14, 22, 0.4);
}

/* Phone number anti-scraping - decoded via JS */
.phone-decode {
    user-select: none;
    -webkit-user-select: none;
}

/* Enhanced responsive for mobile */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        height: auto;
        padding: 8px 0;
        gap: 8px;
    }

    .header-left {
        gap: 16px;
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .left-sidebar,
    .right-sidebar {
        width: 100%;
    }

    .left-nav {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 1;
        min-width: 80px;
        border-bottom: none;
        border-right: 1px solid var(--border);
        justify-content: center;
        font-size: 12px;
        padding: 8px 4px;
    }

    .search-tabs .tab-btn {
        font-size: 12px;
        padding: 8px 4px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group:nth-child(1),
    .form-group:nth-child(2),
    .form-group:nth-child(3),
    .form-group:nth-child(4) {
        grid-column: span 1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-content h3 {
        font-size: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .city-popover {
        position: fixed !important;
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        top: auto !important;
        bottom: 0;
    }

    .city-popover .city-popover-arrow {
        display: none;
    }

    .tech-card-horizontal {
        width: 320px;
    }

    .tech-card-body-horizontal {
        flex-direction: column;
        padding: 24px;
    }

    .tech-left-section {
        width: 100%;
        padding-right: 0;
    }

    .qr-divider-vertical {
        flex-direction: row;
        height: auto;
        width: 100%;
        padding: 12px 0;
    }

    .qr-divider-vertical .divider-line {
        width: auto;
        height: 1px;
        flex: 1;
        background: linear-gradient(to right, transparent, #b80e16, transparent);
    }
}

/* 宏云观标模块样式 */
.hongyun-guanbiao-section {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=400&h=300&fit=crop') center/cover no-repeat;
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hongyun-guanbiao-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.guanbiao-content {
    position: absolute;
    z-index: 1;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.guanbiao-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.guanbiao-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.guanbiao-link {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.guanbiao-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .hongyun-guanbiao-section {
        padding: 20px;
    }
    
    .guanbiao-title {
        font-size: 18px;
    }
    
    .guanbiao-desc {
        font-size: 13px;
    }
}
