/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --radius: 10px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-900);
  background: var(--gray-100);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* === Header === */
.header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}
.logo-img { height: 78px; width: auto; border-radius: 4px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--gray-700); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.btn-register {
  background: var(--primary);
  color: #fff !important;
  padding: 7px 18px;
  border-radius: 20px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-700);
}

/* === Main Content === */
.main-content { flex: 1; }

/* === Search Hero === */
.search-hero {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: #fff;
  padding: 50px 0 40px;
  text-align: center;
}
.search-hero h2 { font-size: 28px; margin-bottom: 8px; }
.search-hero p { font-size: 15px; opacity: .85; margin-bottom: 24px; }
.search-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
}
.search-form input {
  flex: 1;
  border: none;
  padding: 14px 20px;
  font-size: 15px;
  outline: none;
}
.search-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
}
.search-form button:hover { background: var(--primary-dark); }

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
.industry-tags a {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  padding: 4px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  transition: .2s;
}
.industry-tags a:hover, .industry-tags a.active {
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* === Card Grid === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  padding: 30px 0;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.card-img {
  height: 140px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img-placeholder {
  font-size: 40px;
  font-weight: 700;
  color: var(--gray-300);
}
.badge-verified, .badge-vip {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}
.badge-verified { background: var(--success); }
.badge-vip { background: #f59e0b; }
.badge-gs { background: #7c3aed; }
.card-body { padding: 14px; }
.card-body h3 { font-size: 16px; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-tag {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.card-phone { color: var(--primary); font-size: 13px; }
.card-addr { color: var(--gray-500); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card.card-vip { border: 2px solid #f59e0b; box-shadow: 0 2px 12px rgba(245,158,11,.15); }
.card.card-vip:hover { box-shadow: 0 8px 24px rgba(245,158,11,.25); }
.card-expire { color: #f59e0b; font-size: 11px; margin-top: 4px; font-weight: 500; }

/* === Pagination === */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 20px 0 40px;
}
.pagination a {
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  color: var(--gray-700);
  font-size: 14px;
}
.pagination span { color: var(--gray-500); font-size: 14px; }

/* === Auth Pages === */
.auth-page { padding: 60px 16px; display: flex; justify-content: center; }
.auth-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  width: 420px;
  max-width: 100%;
}
.auth-card h2 { text-align: center; margin-bottom: 24px; font-size: 22px; }
.auth-link { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray-500); }

/* === Forms === */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 4px; font-weight: 500; font-size: 14px; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { resize: vertical; }
.form-group small { color: var(--gray-500); font-size: 12px; }
.input-row { display: flex; gap: 8px; }
.input-row input { flex: 1; }
.required { color: var(--danger); }
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-block { display: block; width: 100%; }
.btn-sms {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sms:hover { background: #eff6ff; }
.btn-sms:disabled { opacity: .5; cursor: not-allowed; }

/* === Alerts === */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.alert-warning { background: #fffbeb; color: var(--warning); border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: var(--primary); border: 1px solid #bfdbfe; }
.alert ul { margin: 8px 0 0 18px; }

/* === Breadcrumb === */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 4px; }

/* === VIP Banner === */
.vip-banner {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #7c2d12;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.vip-banner-icon { font-size: 18px; }
.vip-trust-badge {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: #92400e;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vip-trust-icon { color: #f59e0b; font-size: 16px; }

/* === Enterprise Detail === */
.enterprise-detail { padding: 30px 16px; }
.detail-header {
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  margin-bottom: 16px;
  align-items: center;
}
.detail-logo { width: 80px; height: 80px; flex-shrink: 0; }
.detail-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.detail-logo-placeholder {
  width: 80px; height: 80px;
  background: var(--gray-200);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--gray-500);
}
.detail-title h1 { font-size: 22px; display: flex; align-items: center; gap: 8px; }
.detail-meta { color: var(--gray-500); font-size: 13px; margin-top: 4px; }
.detail-body { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 4px rgba(0,0,0,.06); padding: 24px; }
.detail-section { padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.detail-section:last-child { border-bottom: none; }
.detail-section h3 { font-size: 16px; margin-bottom: 10px; color: var(--gray-900); }
.detail-contact p { margin-bottom: 6px; font-size: 14px; }
.phone-verified { color: var(--success); font-weight: 600; }
.cert-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--gray-200);
  margin: 8px 0;
}
.cert-img.zoom { max-width: 100%; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 200; }

/* === Member Center === */
.member-page {
  display: flex;
  gap: 20px;
  padding: 30px 16px;
}
.member-sidebar {
  width: 240px;
  flex-shrink: 0;
}
.user-info {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  margin-bottom: 16px;
}
.avatar {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 10px;
}
.user-info h4 { font-size: 16px; margin-bottom: 2px; }
.user-info p { font-size: 13px; color: var(--gray-500); }
.member-menu {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.member-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: .2s;
}
.member-menu a:hover, .member-menu a.active {
  background: #eff6ff;
  color: var(--primary);
}
.member-content {
  flex: 1;
  min-width: 0;
}
.member-content h2 { margin-bottom: 20px; font-size: 22px; }
.status-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.status-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.status-card h4 { font-size: 13px; color: var(--gray-500); margin-bottom: 4px; }
.status-card p { font-size: 16px; font-weight: 600; }
.info-table { width: 100%; margin-top: 10px; }
.info-table td { padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--gray-100); }
.info-table td:first-child { color: var(--gray-500); }

/* === Enterprise Form === */
.enterprise-form { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.form-section { margin-bottom: 24px; }
.form-section h3 { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gray-100); }

/* === Verify Options === */
.verify-options { display: flex; gap: 12px; flex-wrap: wrap; }
.verify-option { flex: 1; min-width: 220px; cursor: pointer; }
.verify-option input { display: none; }
.verify-option-content {
  padding: 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: .2s;
}
.verify-option input:checked + .verify-option-content {
  border-color: var(--primary);
  background: #f8faff;
}
.verify-option-content strong { display: block; margin-bottom: 4px; }
.verify-option-content p { font-size: 13px; color: var(--gray-500); margin-bottom: 8px; }
.price { font-size: 18px; font-weight: 700; color: var(--danger); }

/* === Payment === */
.pricing-card {
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  border: 2px solid var(--primary);
}
.pricing-header {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  text-align: center;
  padding: 30px 24px;
}
.pricing-header h3 { font-size: 20px; margin-bottom: 8px; }
.pricing-price { font-size: 14px; }
.pricing-price span { font-size: 28px; font-weight: 700; }
.pricing-body { padding: 20px 24px; }
.pricing-body ul { list-style: none; }
.pricing-body li { padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--gray-100); }
.pricing-body li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.pricing-footer { padding: 20px 24px; border-top: 1px solid var(--gray-100); }
.pay-types { display: flex; gap: 20px; }
.pay-type-option { font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.vip-card { padding: 24px; text-align: center; }
.vip-card p { margin-top: 8px; color: var(--gray-500); }

/* === Empty State === */
.empty-state { text-align: center; padding: 80px 0; color: var(--gray-500); }
.empty-state p { font-size: 16px; margin-bottom: 16px; }

/* === Footer === */
.footer {
  background: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}
.footer-links { margin-top: 8px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--gray-500); font-size: 12px; }
.footer-links a:hover { color: var(--primary); }

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  padding: 48px 0;
  margin-top: 40px;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-content { color: #fff; }
.cta-content h3 { font-size: 24px; margin-bottom: 6px; }
.cta-content p { font-size: 15px; opacity: .85; }
.cta-btn {
  flex-shrink: 0;
  background: #fff;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: .2s;
}
.cta-btn:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(0,0,0,.2); }

/* === Detail Share Icons === */
.detail-share {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  background: #fff;
  color: var(--gray-500);
  cursor: pointer;
  transition: .2s;
}
.share-icon:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: #eff6ff;
}

/* === Mobile Bottom Nav === */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  z-index: 100;
  padding: 4px 0 env(safe-area-inset-bottom, 4px);
}
.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 4px;
  color: var(--gray-500);
  text-decoration: none;
  font-size: 10px;
  transition: .2s;
}
.mobile-nav-item:hover, .mobile-nav-item:active { color: var(--primary); }
.mobile-nav-item svg { width: 22px; height: 22px; }
.mobile-nav-cta {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .mobile-nav { display: flex; }
  body { padding-bottom: 70px; }
  .cta-banner .container { flex-direction: column; text-align: center; }
}

/* === Responsive === */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    gap: 12px;
    z-index: 99;
  }
  .nav-links.show { display: flex; }
  .member-page { flex-direction: column; }
  .member-sidebar { width: 100%; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-header { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* === 广告 === */
.ad-banner {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 16px;
  text-align: center;
}
.ad-banner img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  object-fit: cover;
}
.enterprise-detail-layout {
  display: flex;
  gap: 24px;
}
.detail-main {
  flex: 1;
  min-width: 0;
}
.detail-sidebar {
  width: 300px;
  flex-shrink: 0;
}
.ad-slot {
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.ad-slot img {
  display: block;
  width: 100%;
  height: auto;
}
.ad-slot a {
  display: block;
}

@media (max-width: 768px) {
  .enterprise-detail-layout {
    flex-direction: column;
  }
  .detail-sidebar {
    width: 100%;
  }
}
