/* =============================================================
   05-section-specific.css
   Home-specific card content: DeepDive, Next Steps, Brand Store, Jump Back In
   ============================================================= */

/* ── DeepDive gauge ── */
.gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}
.g-score {
  font-size: 38px;
  font-weight: 800;
  color: #111927;
  line-height: 1;
  text-align: center;
  margin-top: -10px;
}
.g-perf {
  font-size: 11.5px;
  font-weight: 500;
  color: #6c737f;
  text-align: center;
  margin-top: 3px;
}
.gauge-arc-fill {
  animation: gaugeAnim 0.9s ease-out 0.4s forwards;
}

/* ── Next Steps ── */
.ns-intro {
  font-size: 11.5px;
  color: #9da4ae;
  line-height: 1.4;
  margin-bottom: 4px;
}
.step-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background 0.12s;
  position: relative;
  border-radius: 8px;
}
.step-row:last-of-type {
  border-bottom: none;
}
.step-row:hover {
  background: #f8fafb;
  padding-left: 8px;
  padding-right: 8px;
}
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1f2a37;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body {
  flex: 1;
}
.step-title {
  font-size: 13px;
  font-weight: 600;
  color: #1f2a37;
  margin-bottom: 3px;
  transition: color 0.12s;
}
.step-sub {
  font-size: 11.5px;
  color: #9da4ae;
}
.step-chevron {
  color: #d2d6db;
  font-size: 14px;
  flex-shrink: 0;
}
.step-row.completed {
  opacity: 0.5;
  pointer-events: none;
}
.step-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-row.completed .step-title {
  text-decoration: line-through;
  color: #9da4ae;
}

/* ── Survey panel ── */
.survey-panel {
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease;
  max-height: 0;
  opacity: 0;
}
.survey-panel.open {
  max-height: 400px;
  opacity: 1;
}
.survey-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
  border: 1.5px solid #e5e7eb;
  margin-bottom: 8px;
  background: #fff;
}
.survey-option:hover {
  background: #f9fafb;
  border-color: #d2d6db;
}
.survey-option.selected {
  border-color: #1f2a37;
  background: #f9fafb;
}
.survey-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #d2d6db;
  flex-shrink: 0;
  margin-top: 1px;
  transition:
    border-color 0.12s,
    background 0.12s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.survey-option.selected .survey-radio {
  border-color: #1f2a37;
  background: #1f2a37;
}
.survey-radio-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  display: none;
}
.survey-option.selected .survey-radio-dot {
  display: block;
}
.survey-option-text {
  font-size: 12px;
  color: #384250;
  line-height: 1.4;
}
.survey-option.selected .survey-option-text {
  color: #111927;
  font-weight: 500;
}
.survey-comment {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  color: #384250;
  resize: none;
  outline: none;
  transition: border-color 0.12s;
  margin-top: 4px;
  box-sizing: border-box;
}
.survey-comment:focus {
  border-color: #9da4ae;
}
.survey-inner {
  padding: 4px 0 12px;
}
.survey-submit {
  background: #1f2a37;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 18px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition:
    background 0.12s,
    transform 0.12s;
  margin-top: 8px;
}
.survey-submit:hover {
  background: #111927;
  transform: scale(1.02);
}
.survey-submit:disabled {
  background: #d2d6db;
  cursor: not-allowed;
  transform: none;
}
.survey-chevron {
  transition: transform 0.3s ease;
  color: #d2d6db;
  font-size: 18px;
  flex-shrink: 0;
  display: inline-block;
}
.survey-chevron.open {
  transform: rotate(90deg);
}
.all-done {
  text-align: center;
  padding: 24px 16px;
  animation: fadeUp 0.4s ease both;
}
.all-done-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.all-done-title {
  font-size: 14px;
  font-weight: 700;
  color: #111927;
  margin-bottom: 6px;
}
.all-done-sub {
  font-size: 12px;
  color: #9da4ae;
  line-height: 1.5;
}

/* ── Brand Store card ── */
.card.brand-store-card {
  border-radius: 14px;
  border: 0.556px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bs-img {
  width: 100%;
  height: 0;
  flex: 1;
  min-height: 120px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  display: block;
}
.bs-carousel {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 160px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}
.bs-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.bs-carousel-img.active {
  opacity: 1;
}
.bs-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.bs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.3s;
}
.bs-dot.active {
  background: #fff;
}
.bs-content {
  padding: 14px 16px 0;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}
.bs-icon-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.bs-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #1f2a37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.bs-cta-wrap {
  padding: 0 0 16px;
}
.bs-title {
  font-size: 15px;
  font-weight: 700;
  color: #111927;
  line-height: 1.35;
  margin-bottom: 8px;
}
.bs-body {
  font-size: 13px;
  color: #6c737f;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ── Jump Back In ── */
.jump-card-container {
  padding: 16px;
}
.sec-lbl {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #9da4ae;
  margin-bottom: 12px;
}
.sec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d2d6db;
  display: inline-block;
}
.jump-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.jump-card {
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 155px;
}
.jump-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(17, 25, 39, 0.06);
}
.jump-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
}
.jump-thumb {
  width: 55%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.jump-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: #9da4ae;
  margin-bottom: 6px;
}
.jump-title {
  font-size: 13px;
  font-weight: 600;
  color: #1f2a37;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jump-date {
  font-size: 11px;
  color: #9da4ae;
  margin-bottom: 12px;
}
.jump-btn {
  background: #1f2a37;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.12s;
  font-family: "Inter", sans-serif;
  width: fit-content;
  margin-top: auto;
}
.jump-btn:hover {
  background: #111927;
}
