/* 全民经纪主题页 - 公共样式 */
:root {
  --primary: #E8530E;
  --primary-dark: #C7440B;
  --primary-light: #FF7A3D;
  --accent: #FFB800;
  --accent-light: #FFD260;
  --bg: #FFFAF6;
  --bg-card: #FFFFFF;
  --text: #2D2D2D;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --border: #F3E8E0;
  --shadow: 0 4px 24px rgba(232, 83, 14, 0.08);
  --shadow-hover: 0 8px 32px rgba(232, 83, 14, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* Top Navigation */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

.nav-brand .logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

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

.nav-btn-back {
  background: var(--bg-card);
  color: var(--primary);
  border: 1px solid var(--primary);
}

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

.nav-btn-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(232, 83, 14, 0.3);
}

.nav-btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232, 83, 14, 0.4);
}

/* Main Content */
.main-content {
  margin-top: 60px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 83, 14, 0.88) 0%, rgba(199, 68, 11, 0.92) 50%, rgba(45, 45, 45, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px;
  color: white;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-desc {
  font-size: 18px;
  opacity: 0.9;
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--text);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

/* Stats Bar */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 40px 32px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-unit {
  font-size: 20px;
  color: var(--accent);
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Feature Cards */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(232, 83, 14, 0.1), rgba(255, 184, 0, 0.1));
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.feature-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.feature-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.feature-card:hover .feature-card-img img {
  transform: scale(1.05);
}

.feature-card-body {
  padding: 24px;
}

.feature-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(232, 83, 14, 0.1), rgba(255, 184, 0, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.feature-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card-body p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* How it works - Steps */
.steps-container {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-card {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(232, 83, 14, 0.3);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.step-arrow {
  position: absolute;
  right: -16px;
  top: 28px;
  color: var(--primary-light);
  font-size: 24px;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.two-col-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.two-col-img img {
  width: 100%;
  display: block;
}

.two-col-text h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.two-col-text p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}

/* Compare Panel */
.compare-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.compare-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-hover);
}

.compare-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.compare-card .subtitle {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.compare-card ul {
  list-style: none;
}

.compare-card ul li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
}

.compare-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 72px 32px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 184, 0, 0.1);
  border-radius: 50%;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--text);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.btn-cta-gold:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

/* Footer */
.footer {
  background: #1A1A1A;
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 32px;
  text-align: center;
}

.footer-brand {
  color: white;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.footer-contact {
  margin-top: 12px;
  font-size: 14px;
}

.footer-contact a {
  color: var(--accent);
}

/* Guarantee badges */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guarantee-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s;
}

.guarantee-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-hover);
}

.guarantee-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(232, 83, 14, 0.1), rgba(255, 184, 0, 0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.guarantee-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.guarantee-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* Image gallery for detail pages */
.img-showcase {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.img-showcase img {
  width: 100%;
  display: block;
}

/* Floating contact */
.float-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 12px 20px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(232, 83, 14, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.float-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 83, 14, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .compare-panel { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .stats-bar { flex-wrap: wrap; gap: 24px; }
  .hero h1 { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .steps-container { flex-direction: column; }
  .step-arrow { display: none; }
  .nav-links { gap: 4px; }
  .nav-btn { padding: 6px 12px; font-size: 12px; }
}
