/* ===== Agent/Franchise Page Styles ===== */
:root {
  --navy: #0F1923;
  --blue: #00B2FF;
  --orange: #FEA631;
}

/* ---------- HERO ---------- */
.agent-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(160deg, #0b0f1a 0%, #0f1726 30%, #131f35 60%, #0e1a2d 100%);
  overflow: hidden;
}
.agent-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0,120,255,0.12), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.agent-hero::after {
  content: '';
  position: absolute;
  bottom: -8%;
  right: -4%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(100,50,200,0.08), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.agent-hero .hero-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--blue);
  border: 1px solid rgba(0,178,255,0.3);
  padding: 6px 22px;
  border-radius: 999px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.agent-hero .gradient-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff 30%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}
.agent-hero .hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.agent-hero .hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.agent-hero .hero-btns .btn-primary {
  background: linear-gradient(135deg, var(--blue), #0090d0);
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
}
.agent-hero .hero-btns .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,178,255,0.35);
}
.agent-hero .hero-btns .btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  cursor: pointer;
  transition: border-color .3s, background .3s;
  text-decoration: none;
}
.agent-hero .hero-btns .btn-outline:hover {
  border-color: var(--blue);
  background: rgba(0,178,255,0.08);
}
#agentHeroParticles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.agent-hero .hero-inner {
  position: relative;
  z-index: 2;
}
.agent-hero .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
}
.agent-hero .orb-1 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(0,120,255,0.12), transparent 70%);
  top: -80px; left: -120px;
}
.agent-hero .orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(100,50,200,0.08), transparent 70%);
  bottom: -60px; right: -80px;
}
.agent-hero .deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,178,255,0.12);
  pointer-events: none;
}
.agent-hero .deco-circle-1 {
  width: 500px; height: 500px;
  top: 10%; left: -150px;
}
.agent-hero .deco-circle-2 {
  width: 350px; height: 350px;
  bottom: 5%; right: -100px;
}

/* ---------- SECTION COMMON ---------- */
.section-light {
  background-color: #f8fafc;
  background-image: linear-gradient(rgba(0,178,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(0,178,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 90px 24px;
}
.section-dark {
  background: linear-gradient(135deg, #162238 0%, #0b0f1a 100%);
  padding: 90px 24px;
}
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 48px;
}
.section-dark .section-title {
  color: #fff;
}
.section-light .section-title {
  color: var(--navy);
}

/* ---------- WHY JOIN ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform .3s, box-shadow .3s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}
.why-card .card-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.95rem;
  color: #5a6a7a;
  line-height: 1.7;
}

/* ---------- MEMBERSHIP TIERS ---------- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.tier-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,178,255,0.12);
}
.tier-card.recommended {
  border-color: var(--orange);
  box-shadow: 0 0 30px rgba(254,166,49,0.15);
}
.tier-card .badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--orange), #f59a00);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: 1px;
}
.tier-card .tier-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.tier-card .tier-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.tier-card .tier-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 4px;
}
.tier-card .tier-price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}
.tier-card .tier-discount {
  font-size: 0.9rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 18px;
}
/* ---------- DISCOUNT BAR ---------- */
.discount-bar {
  position: relative;
  height: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  margin-bottom: 20px;
  overflow: hidden;
}
.discount-bar-fill {
  height: 100%;
  border-radius: 14px;
  transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
}
.discount-bar-fill.green {
  background: linear-gradient(90deg, #34d399, #10b981);
}
.discount-bar-fill.orange {
  background: linear-gradient(90deg, var(--orange), #f59a00);
}
.discount-bar-fill.blue-orange {
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.discount-bar-fill.blue {
  background: linear-gradient(90deg, #0090d0, var(--blue));
}
.discount-bar-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.tier-card .tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.tier-card .tier-features li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}
.tier-card .tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.tier-card .tier-fit {
  display: inline-block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.tier-card .tier-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 0;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(0,178,255,0.4);
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  transition: background .3s, color .3s;
  text-decoration: none;
}
.tier-card .tier-btn:hover {
  background: var(--blue);
  color: #fff;
}
.tier-card.recommended .tier-btn {
  background: linear-gradient(135deg, var(--orange), #f59a00);
  color: #fff;
  border-color: transparent;
}
.tier-card.recommended .tier-btn:hover {
  box-shadow: 0 6px 24px rgba(254,166,49,0.35);
}

@media (max-width: 768px) {
  .tiers-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- JOIN PROCESS ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #0090d0);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.9rem;
  color: #5a6a7a;
  line-height: 1.6;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -18px;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}
@media (max-width: 768px) {
  .process-step:not(:last-child)::after {
    display: none;
  }
}

/* ---------- PLATFORM TOOLS ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.tool-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: transform .3s, border-color .3s;
}
.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}
.tool-card .tool-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.tool-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.tool-card .tool-tag {
  display: inline-block;
  font-size: 0.75rem;
  background: rgba(0,178,255,0.15);
  color: var(--blue);
  padding: 2px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tool-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ---------- DATA / TRUST NUMBERS ---------- */
.data-section {
  background: linear-gradient(135deg, #162238 0%, #0b0f1a 100%);
  padding: 80px 24px;
}
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}
.data-item .data-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--blue);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 6px;
}
.data-item .data-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e2e6ec;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue);
  transition: transform .3s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item .faq-body {
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: #5a6a7a;
  line-height: 1.8;
}

/* ---------- CTA BOTTOM ---------- */
.cta-bottom {
  background: linear-gradient(135deg, #162238 0%, #0b0f1a 100%);
  padding: 90px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bottom h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta-bottom p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-bottom .btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), #f59a00);
  color: #fff;
  padding: 16px 48px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
  border: none;
  cursor: pointer;
}
.cta-bottom .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(254,166,49,0.4);
}

/* Discount Callout */
.discount-callout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(254,166,49,0.15), rgba(254,166,49,0.05));
  border: 1px solid rgba(254,166,49,0.3);
  border-radius: 12px;
  color: var(--orange);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.discount-callout .discount-icon {
  font-size: 1.3rem;
}

/* ---------- 四维度服务优势 ---------- */
.advantage-section {
  padding-top: 70px;
  padding-bottom: 70px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  margin-top: -36px;
  margin-bottom: 48px;
  font-weight: 400;
  letter-spacing: 1px;
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px 24px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transition: opacity .3s;
}
.advantage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,178,255,0.35);
  box-shadow: 0 12px 40px rgba(0,178,255,0.1);
}
.advantage-card:hover::before {
  opacity: 1;
}
.advantage-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  line-height: 1;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.advantage-icon svg {
  width: 36px;
  height: 36px;
}
.advantage-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.advantage-subtitle {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
  line-height: 1.5;
}
.advantage-card:nth-child(even) .advantage-subtitle {
  color: var(--orange);
}
.advantage-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .advantage-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
  .agent-hero {
    min-height: 80vh;
    padding: 100px 18px 60px;
  }
  .section-light, .section-dark {
    padding: 60px 18px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }
  .data-grid {
    grid-template-columns: 1fr 1fr;
  }
}
