/* Yuebaotong Incremental SEO/GEO Pages Stylesheet (Tools, FAQ, Export Markets)
   Built strictly on existing site-system.css v5/v8 design tokens — zero edits to core CSS */

.boost-section {
  padding: 56px 0 78px;
  background: var(--paper);
}
.boost-section.white {
  background: var(--stage);
}
.boost-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.boost-head h2 {
  margin: 6px 0 0;
  font-size: clamp(23px, 2.7vw, 31px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.boost-lead {
  margin: 10px 0 0;
  max-width: 680px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.68;
}

/* ---------- CALCULATOR TOOLS ---------- */
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: start;
}
.calc-panel {
  background: var(--stage);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--elev-1);
}
.calc-panel h3 {
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.calc-panel-sub {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--muted);
}
.calc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-field.full {
  grid-column: 1 / -1;
}
.calc-field label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.calc-field input,
.calc-field select {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  background: var(--paper);
  color: var(--ink);
  font: 600 14.5px/1 var(--font);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--stage);
}
.calc-hint {
  font-size: 12px;
  color: var(--subtle);
  line-height: 1.4;
}

/* Dark Architectural Result Card */
.calc-result {
  background: var(--dark);
  color: #ffffff;
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--elev-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.calc-res-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-soft);
  padding-left: 10px;
  border-left: 3px solid var(--amber);
  margin-bottom: 12px;
}
.calc-res-title {
  margin: 0 0 8px;
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.22;
  color: #ffffff;
  font-weight: 700;
}
.calc-res-why {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.78);
}
.calc-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.calc-metric {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
}
.calc-metric small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 4px;
}
.calc-metric strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
.calc-metric.highlight strong {
  color: var(--amber-soft);
  font-size: 19px;
}
.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.calc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s var(--ease);
}
.calc-btn-primary:hover {
  background: var(--accent-hover);
}
.calc-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-btn);
  background: #15803d;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s var(--ease);
}
.calc-btn-wa:hover {
  background: #166534;
}
.calc-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 16px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.calc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}
.calc-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

/* ---------- FAQ ACCORDION & PILLS ---------- */
.faq-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.faq-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--stage);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.faq-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.faq-group {
  margin-bottom: 38px;
  scroll-margin-top: 96px;
}
.faq-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-size: 19px;
  color: var(--ink);
}
.faq-group-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: #eff6ff;
  padding: 3px 8px;
  border-radius: 4px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.guide-faq-item {
  background: var(--stage);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-btn);
  overflow: hidden;
  transition: border-color 0.18s var(--ease);
}
.guide-faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--elev-1);
}
.guide-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.guide-faq-item summary::-webkit-details-marker {
  display: none;
}
.guide-faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}
.guide-faq-item[open] summary::after {
  content: "−";
}
.guide-faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-2);
}

/* ---------- REGIONAL MARKETS ---------- */
.market-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}
.market-kpi {
  background: var(--stage);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--amber);
  border-radius: 0 0 var(--radius-btn) var(--radius-btn);
  padding: 16px 18px;
}
.market-kpi small {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.market-kpi strong {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.3;
}
.market-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.market-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.market-box {
  background: var(--stage);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-card);
  padding: 24px 26px;
}
.market-box h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.market-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 14.8px;
  line-height: 1.72;
}
.market-box li {
  margin-bottom: 7px;
}

/* Shared Dark CTA Banner */
.boost-cta-band {
  margin-top: 44px;
  background: var(--dark);
  color: #ffffff;
  border-radius: var(--radius-card);
  padding: 32px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--elev-dark-card);
}
.boost-cta-band h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #ffffff;
}
.boost-cta-band p {
  margin: 0;
  max-width: 600px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
}

/* Resource Strip inside Guides Hub */
.guides-resource-strip {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line-strong);
}
.guides-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.guides-res-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--stage);
  border: 1px solid var(--line-strong);
  border-left: 3.5px solid var(--accent);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  padding: 20px 22px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.guides-res-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--elev-1);
}
.guides-res-card small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.guides-res-card h3 {
  margin: 6px 0 8px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
}
.guides-res-card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.guides-res-card span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 960px) {
  .calc-grid,
  .market-cards-3,
  .market-spec-grid,
  .guides-resource-grid {
    grid-template-columns: 1fr;
  }
  .market-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .calc-panel,
  .calc-result,
  .boost-cta-band {
    padding: 22px 18px;
  }
  .calc-form-grid,
  .calc-metrics,
  .market-kpi-strip {
    grid-template-columns: 1fr;
  }
}

/* YBT-CALC-BTN-V3:START */
/* Tools / Markets / FAQ / Pillar CTA Buttons — Unified V3 Optical System */
.calc-btn-primary {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  font-weight: 550;
  color: #f8fafc;
  background:
    radial-gradient(88% 125% at 50% -15%, rgba(59, 130, 246, 0.78) 0%, rgba(29, 78, 216, 0.44) 44%, rgba(9, 25, 68, 0.94) 100%),
    linear-gradient(180deg, #133994 0%, #091d54 100%);
  border: 1px solid rgba(96, 165, 250, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(191, 219, 254, 0.24),
    inset 0 -1px 0 rgba(3, 10, 30, 0.65),
    0 12px 26px -12px rgba(15, 45, 130, 0.85);
  transition: transform 0.24s var(--ease), border-color 0.24s ease, filter 0.24s ease, box-shadow 0.24s ease;
}
.calc-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(147, 197, 253, 0.55) 26%, rgba(239, 246, 255, 0.96) 50%, rgba(147, 197, 253, 0.55) 74%, transparent 100%);
  pointer-events: none;
  transition: left 0.3s var(--ease), right 0.3s var(--ease);
}
.calc-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  border-color: rgba(147, 197, 253, 0.64);
  background:
    radial-gradient(88% 125% at 50% -15%, rgba(59, 130, 246, 0.84) 0%, rgba(29, 78, 216, 0.48) 44%, rgba(9, 25, 68, 0.94) 100%),
    linear-gradient(180deg, #1641a6 0%, #0b2260 100%);
  box-shadow: inset 0 1px 0 rgba(224, 242, 254, 0.36), 0 16px 32px -10px rgba(37, 99, 235, 0.72);
}
.calc-btn-primary:hover::before { left: 6%; right: 6%; }

.calc-btn-wa {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  font-weight: 550;
  color: #f8fafc;
  background: radial-gradient(85% 120% at 50% -20%, rgba(245, 158, 11, 0.24) 0%, rgba(18, 22, 32, 0.86) 62%, rgba(10, 14, 24, 0.96) 100%);
  border: 1px solid rgba(245, 158, 11, 0.36);
  box-shadow: inset 0 1px 0 rgba(254, 243, 199, 0.2), 0 10px 24px -14px rgba(0, 0, 0, 0.72);
  transition: transform 0.24s var(--ease), border-color 0.24s ease, filter 0.24s ease, box-shadow 0.24s ease;
}
.calc-btn-wa::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.55) 28%, rgba(254, 243, 199, 0.94) 50%, rgba(251, 191, 36, 0.55) 72%, transparent 100%);
  pointer-events: none;
  transition: left 0.3s var(--ease), right 0.3s var(--ease);
}
.calc-btn-wa:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  border-color: rgba(251, 191, 36, 0.68);
  background: radial-gradient(85% 120% at 50% -20%, rgba(245, 158, 11, 0.32) 0%, rgba(22, 28, 42, 0.9) 62%, rgba(12, 16, 28, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(254, 243, 199, 0.3), 0 14px 28px -12px rgba(0, 0, 0, 0.8);
}
.calc-btn-wa:hover::before { left: 8%; right: 8%; }

.calc-btn-ghost {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  font-weight: 500;
  color: #e2e8f0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(15, 23, 42, 0.44) 100%);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px -14px rgba(0, 0, 0, 0.65);
  transition: transform 0.24s var(--ease), background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}
.calc-btn-ghost::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%);
  pointer-events: none;
}
.calc-btn-ghost:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(22, 32, 54, 0.62) 100%);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}
/* YBT-CALC-BTN-V3:END */
