/* ================================================================
   KOOSHA PIANO — HEALTH CHECK PAGE
   Standalone page: /health-check.html
   Minimal luxury, Nell Piano aesthetic, RTL, Persian
   ================================================================ */

[hidden] { display: none !important; }

/* ── Local tokens ────────────────────────────────────────────── */
:root {
  --hc-card-bg:       rgba(10, 10, 10, 0.72);
  --hc-card-border:   rgba(201, 170, 113, 0.18);
  --hc-input-bg:      rgba(255, 255, 255, 0.04);
  --hc-input-border:  rgba(255, 255, 255, 0.10);
  --hc-txt-muted:     rgba(255, 255, 255, 0.40);
  --hc-gold:          #C9AA71;
  --hc-gold-dk:       #8C6B2A;
  --hc-status-good:   #C9AA71;
  --hc-status-mid:    #D4853A;
  --hc-status-bad:    #C8503C;
  --hc-radius-sm:     6px;
  --hc-radius-md:     12px;
  --hc-radius-lg:     20px;
  --hc-radius-full:   9999px;
}

/* ── Page wrapper ────────────────────────────────────────────── */
.hc-page {
  min-height: 100vh;
}

/* ════════════════════════════════════════════════════════════════
   PHASE 1 — HERO
════════════════════════════════════════════════════════════════ */

.hc-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: 7rem 4rem;
}

.hc-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 65%, rgba(140, 107, 42, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(140, 107, 42, 0.05) 0%, transparent 50%),
    var(--clr-bg);
  z-index: 0;
}

.hc-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    to left,
    transparent,
    rgba(201, 170, 113, 0.25) 30%,
    rgba(201, 170, 113, 0.25) 70%,
    transparent
  );
}

.hc-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
}

/* Header */
.hc-hero-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  max-width: 640px;
}

.hc-seo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(201, 170, 113, 0.07);
  border: 1px solid rgba(201, 170, 113, 0.22);
  border-radius: var(--hc-radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hc-gold);
  text-transform: uppercase;
}

.hc-seo-badge svg {
  width: 13px; height: 13px;
  flex-shrink: 0;
  stroke: var(--hc-gold);
}

.hc-hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hc-txt-muted);
  margin: 0;
}

.hc-hero-title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: var(--clr-txt);
}

.hc-hero-title strong {
  color: var(--hc-gold);
}

.hc-hero-desc {
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.75;
  color: var(--hc-txt-muted);
  margin: 0;
}

/* Info chips */
.hc-hero-chips {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
}

.hc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--hc-radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.hc-chip svg {
  width: 14px; height: 14px;
  stroke: var(--hc-gold);
  opacity: 0.8;
  flex-shrink: 0;
}

/* Start card */
.hc-start-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  width: 100%;
  max-width: 400px;
  background: var(--hc-card-bg);
  border: 1px solid var(--hc-card-border);
  border-radius: var(--hc-radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 1px 0 0 rgba(201, 170, 113, 0.12) inset,
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
}

.hc-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hc-txt-muted);
  margin: 0;
}

.hc-start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  width: 100%;
  min-height: 54px;
  padding: 0.9375rem var(--sp-6);
  background: linear-gradient(135deg, rgba(201, 170, 113, 0.14) 0%, rgba(140, 107, 42, 0.08) 100%);
  border: 1px solid rgba(201, 170, 113, 0.32);
  border-radius: var(--hc-radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
}

.hc-start-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 170, 113, 0.08), transparent);
  opacity: 0;
  transition: opacity var(--t-base);
}

.hc-start-btn:hover {
  border-color: rgba(201, 170, 113, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(140, 107, 42, 0.15);
}

.hc-start-btn:hover::before { opacity: 1; }

.hc-start-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.hc-start-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 170, 113, 0.15);
}

.hc-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  flex-shrink: 0;
}

.hc-btn-icon svg {
  width: 18px; height: 18px;
  fill: #fff;
  stroke: none;
}

.hc-start-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.28);
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   PHASE 2 — QUIZ
════════════════════════════════════════════════════════════════ */

.hc-quiz {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-block: 5rem 3rem;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
  position: relative;
}

.hc-quiz::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(140, 107, 42, 0.06) 0%, transparent 60%),
    var(--clr-bg);
  z-index: -1;
}

/* Progress bar */
.hc-progress-wrap {
  width: 100%;
  max-width: 600px;
  margin-bottom: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.hc-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--hc-radius-full);
  overflow: hidden;
}

.hc-progress-fill {
  height: 100%;
  background: linear-gradient(to left, var(--hc-gold), rgba(201, 170, 113, 0.6));
  border-radius: var(--hc-radius-full);
  width: 0%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hc-progress-label {
  font-size: 0.75rem;
  color: var(--hc-txt-muted);
  text-align: center;
  margin: 0;
}

/* Question wrap */
.hc-question-wrap {
  width: 100%;
  max-width: 600px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hc-question-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  animation: hc-q-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hc-q-in {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes hc-q-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(20px); }
}

.hc-q-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(201, 170, 113, 0.5);
  margin: 0;
}

.hc-q-text {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--clr-txt);
  margin: 0;
}

/* Options */
.hc-options {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.hc-option {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 58px;
  padding: var(--sp-4) var(--sp-5);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--hc-radius-md);
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  text-align: right;
  cursor: pointer;
  transition: var(--t-base);
  transition-property: background, border-color, color, transform;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hc-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 170, 113, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
}

.hc-option:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 170, 113, 0.25);
  color: var(--clr-txt);
  transform: translateX(-2px);
}

.hc-option:hover::before {
  opacity: 1;
}

.hc-option:focus-visible {
  outline: none;
  border-color: rgba(201, 170, 113, 0.5);
  box-shadow: 0 0 0 3px rgba(201, 170, 113, 0.10);
}

.hc-option.is-selected {
  background: rgba(201, 170, 113, 0.10);
  border-color: rgba(201, 170, 113, 0.45);
  color: var(--hc-gold);
  font-weight: 600;
}

.hc-option.is-selected::before {
  opacity: 1;
}

.hc-option-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  min-width: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--hc-txt-muted);
  transition: var(--t-base);
  transition-property: background, border-color, color;
  flex-shrink: 0;
}

.hc-option.is-selected .hc-option-letter {
  background: rgba(201, 170, 113, 0.2);
  border-color: rgba(201, 170, 113, 0.6);
  color: var(--hc-gold);
}

/* Navigation */
.hc-quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
  margin-top: var(--sp-6);
  gap: var(--sp-4);
}

.hc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--hc-radius-full);
  color: var(--hc-txt-muted);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--t-base);
  transition-property: border-color, color;
  flex-direction: row-reverse;
}

.hc-back-btn svg {
  width: 14px; height: 14px;
  transform: scaleX(-1);
}

.hc-back-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.hc-quiz-hint {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.22);
  margin: 0;
  flex: 1;
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════
   PHASE 3 — LOADING
════════════════════════════════════════════════════════════════ */

.hc-loading {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

/* Pulse ring */
.hc-pulse-ring {
  width: 88px; height: 88px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-pulse-ring::before,
.hc-pulse-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 170, 113, 0.20);
  animation: hc-pulse 2s cubic-bezier(0.36, 0.11, 0.89, 0.32) infinite;
}

.hc-pulse-ring::after {
  animation-delay: 1s;
}

@keyframes hc-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0;   }
}

.hc-pulse-inner {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(201, 170, 113, 0.06);
  border: 1px solid rgba(201, 170, 113, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(201, 170, 113, 0.08);
}

.hc-pulse-inner svg {
  width: 28px; height: 28px;
  stroke: var(--hc-gold);
  animation: hc-pulse-icon 1.5s ease-in-out infinite alternate;
}

@keyframes hc-pulse-icon {
  from { opacity: 0.5; }
  to   { opacity: 1;   }
}

.hc-loading-text {
  font-size: 0.9rem;
  color: var(--hc-txt-muted);
  text-align: center;
  margin: 0;
  min-height: 1.5em;
  animation: hc-fade-text 0.5s ease both;
}

@keyframes hc-fade-text {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════════
   PHASE 4 — RESULT
════════════════════════════════════════════════════════════════ */

.hc-result {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 5rem 3rem;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
  position: relative;
}

.hc-result::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 50vh;
  background: radial-gradient(ellipse at 50% 0%, rgba(140, 107, 42, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hc-result-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  animation: hc-result-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hc-result-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Gauge */
.hc-gauge-wrap {
  position: relative;
  width: 220px;
  height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hc-gauge-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hc-gauge-track {
  stroke: rgba(255, 255, 255, 0.06);
}

.hc-gauge-fill {
  stroke: var(--hc-gold);
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1),
              stroke 0.6s ease;
  filter: drop-shadow(0 0 8px rgba(201, 170, 113, 0.35));
}

.hc-gauge-fill.is-mid {
  stroke: var(--hc-status-mid);
  filter: drop-shadow(0 0 8px rgba(212, 133, 58, 0.35));
}

.hc-gauge-fill.is-bad {
  stroke: var(--hc-status-bad);
  filter: drop-shadow(0 0 8px rgba(200, 80, 60, 0.35));
}

.hc-gauge-center {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding-bottom: 4px;
  line-height: 1;
}

.hc-gauge-percent {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 8vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #C9AA71 0%, #E8D5A3 45%, #C9AA71 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.hc-gauge-percent.is-mid {
  background: linear-gradient(135deg, #D4853A 0%, #EAA86A 45%, #D4853A 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hc-gauge-percent.is-bad {
  background: linear-gradient(135deg, #C8503C 0%, #E07B6A 45%, #C8503C 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hc-gauge-unit {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--hc-txt-muted);
  margin-top: 2px;
}

/* Status badge */
.hc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--hc-radius-full);
  background: rgba(201, 170, 113, 0.07);
  border: 1px solid rgba(201, 170, 113, 0.22);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--hc-gold);
  transition: var(--t-slow);
  transition-property: background, border-color, color;
}

.hc-status-badge.is-mid {
  background: rgba(212, 133, 58, 0.07);
  border-color: rgba(212, 133, 58, 0.25);
  color: var(--hc-status-mid);
}

.hc-status-badge.is-bad {
  background: rgba(200, 80, 60, 0.07);
  border-color: rgba(200, 80, 60, 0.25);
  color: var(--hc-status-bad);
}

.hc-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hc-gold);
  box-shadow: 0 0 6px var(--hc-gold);
  animation: hc-dot-pulse 2s ease infinite;
  flex-shrink: 0;
}

.hc-status-badge.is-mid .hc-status-dot {
  background: var(--hc-status-mid);
  box-shadow: 0 0 6px var(--hc-status-mid);
}

.hc-status-badge.is-bad .hc-status-dot {
  background: var(--hc-status-bad);
  box-shadow: 0 0 6px var(--hc-status-bad);
}

@keyframes hc-dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Summary */
.hc-result-summary {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin: 0;
  max-width: 480px;
}

/* Recommendations */
.hc-recs-wrap {
  width: 100%;
}

.hc-recs-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hc-txt-muted);
  text-align: center;
  margin: 0 0 var(--sp-5);
}

.hc-recs-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* Recommendation card */
.hc-rec-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--hc-radius-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hc-rec-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hc-rec-icon {
  width: 36px; height: 36px;
  min-width: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 170, 113, 0.08);
  border: 1px solid rgba(201, 170, 113, 0.15);
  flex-shrink: 0;
}

.hc-rec-icon svg {
  width: 18px; height: 18px;
  stroke: var(--hc-gold);
  flex-shrink: 0;
}

.hc-rec-icon.is-urgent {
  background: rgba(200, 80, 60, 0.08);
  border-color: rgba(200, 80, 60, 0.15);
}

.hc-rec-icon.is-urgent svg {
  stroke: var(--hc-status-bad);
}

.hc-rec-icon.is-mid {
  background: rgba(212, 133, 58, 0.08);
  border-color: rgba(212, 133, 58, 0.15);
}

.hc-rec-icon.is-mid svg {
  stroke: var(--hc-status-mid);
}

.hc-rec-body {
  flex: 1;
  min-width: 0;
}

.hc-rec-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-1);
}

.hc-rec-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--clr-txt);
  margin: 0;
}

.hc-rec-badge {
  display: inline-flex;
  padding: 0.15rem 0.55rem;
  border-radius: var(--hc-radius-full);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.hc-rec-badge.urgent {
  background: rgba(200, 80, 60, 0.12);
  color: var(--hc-status-bad);
  border: 1px solid rgba(200, 80, 60, 0.2);
}

.hc-rec-badge.recommended {
  background: rgba(212, 133, 58, 0.10);
  color: var(--hc-status-mid);
  border: 1px solid rgba(212, 133, 58, 0.18);
}

.hc-rec-badge.optional {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hc-rec-desc {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
}

/* Actions */
.hc-result-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-2);
}

.hc-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, rgba(201, 170, 113, 0.15) 0%, rgba(140, 107, 42, 0.08) 100%);
  border: 1px solid rgba(201, 170, 113, 0.35);
  border-radius: var(--hc-radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--t-base), transform var(--t-fast), box-shadow var(--t-base);
}

.hc-cta-primary:hover {
  border-color: rgba(201, 170, 113, 0.60);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(140, 107, 42, 0.18);
}

.hc-cta-primary svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.hc-result-secondary-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
}

.hc-share-btn,
.hc-crosssell-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--hc-radius-full);
  color: var(--clr-txt-2, #6B6B6B);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--t-base), color var(--t-base);
}

.hc-share-btn svg,
.hc-crosssell-btn svg {
  width: 13px; height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.hc-share-btn:hover,
.hc-crosssell-btn:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--clr-txt, #fff);
}

.hc-reset-btn {
  background: none;
  border: none;
  color: var(--clr-txt-2, #6B6B6B);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.4rem 0.6rem;
  border-radius: var(--hc-radius-sm);
  transition: color var(--t-base);
}

.hc-reset-btn:hover { color: var(--clr-txt, #fff); }

/* ════════════════════════════════════════════════════════════════
   PHASE 5 — FEEDBACK
════════════════════════════════════════════════════════════════ */

.hc-feedback {
  padding-block: var(--sp-16) var(--sp-24);
  padding-inline: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-feedback-inner {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}

.hc-feedback-q {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.hc-feedback-btns {
  display: flex;
  gap: var(--sp-3);
}

.hc-fb-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--hc-radius-full);
  color: var(--clr-txt-2, #6B6B6B);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--t-base), color var(--t-base), background var(--t-base);
}

.hc-fb-btn svg {
  width: 13px; height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.hc-fb-yes:hover, .hc-fb-yes.is-active {
  border-color: rgba(201, 170, 113, 0.35);
  color: var(--clr-txt, #fff);
}

.hc-fb-no:hover, .hc-fb-no.is-active {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--clr-txt, #fff);
}

/* Correction form */
.hc-fb-correction {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  animation: hc-fade-text 0.3s ease both;
}

.hc-fb-correction-label {
  font-size: 0.8rem;
  color: var(--hc-txt-muted);
  margin: 0;
}

.hc-fb-textarea {
  width: 100%;
  min-height: 80px;
  padding: var(--sp-3) var(--sp-4);
  background: var(--hc-input-bg);
  border: 1px solid var(--hc-input-border);
  border-radius: var(--hc-radius-md);
  color: var(--clr-txt);
  font-family: inherit;
  font-size: 0.875rem;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color var(--t-base);
}

.hc-fb-textarea:focus {
  outline: none;
  border-color: rgba(201, 170, 113, 0.35);
  box-shadow: 0 0 0 3px rgba(201, 170, 113, 0.08);
}

.hc-fb-send {
  align-self: flex-start;
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--hc-radius-full);
  color: var(--clr-txt-2, #6B6B6B);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--t-base), color var(--t-base);
}

.hc-fb-send:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--clr-txt, #fff);
}

.hc-fb-thanks {
  font-size: 0.875rem;
  color: var(--hc-gold);
  margin: 0;
  animation: hc-fade-text 0.4s ease both;
}

/* Lead Capture */
.hc-lead-capture {
  width: 100%;
  padding: var(--sp-5);
  background: rgba(201, 170, 113, 0.04);
  border: 1px solid rgba(201, 170, 113, 0.12);
  border-radius: var(--hc-radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  animation: hc-fade-text 0.4s ease both;
}

.hc-lead-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-txt);
  margin: 0;
}

.hc-lead-desc {
  font-size: 0.8rem;
  color: var(--hc-txt-muted);
  margin: 0;
  line-height: 1.6;
}

.hc-lead-form {
  display: flex;
  gap: var(--sp-3);
}

.hc-lead-input {
  flex: 1;
  height: 44px;
  padding: 0 var(--sp-4);
  background: var(--hc-input-bg);
  border: 1px solid var(--hc-input-border);
  border-radius: var(--hc-radius-sm);
  color: var(--clr-txt);
  font-family: inherit;
  font-size: 0.875rem;
  direction: ltr;
  transition: border-color var(--t-base);
}

.hc-lead-input:focus {
  outline: none;
  border-color: rgba(201, 170, 113, 0.40);
}

.hc-lead-submit {
  padding: 0 1.2rem;
  height: 44px;
  background: linear-gradient(135deg, rgba(201, 170, 113, 0.14) 0%, rgba(140, 107, 42, 0.08) 100%);
  border: 1px solid rgba(201, 170, 113, 0.32);
  border-radius: var(--hc-radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--t-base), transform var(--t-fast);
}

.hc-lead-submit:hover {
  border-color: rgba(201, 170, 113, 0.55);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .hc-hero-chips {
    gap: var(--sp-2);
  }
  .hc-chip {
    font-size: 0.73rem;
    padding: 0.35rem 0.7rem;
  }
  .hc-option {
    font-size: 0.875rem;
    min-height: 52px;
    padding: var(--sp-3) var(--sp-4);
  }
  .hc-lead-form {
    flex-direction: column;
  }
  .hc-lead-input,
  .hc-lead-submit {
    width: 100%;
  }
  .hc-gauge-wrap {
    width: 180px;
    height: 106px;
  }
  .hc-gauge-percent {
    font-size: 2.4rem;
  }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hc-question-inner,
  .hc-result-inner,
  .hc-rec-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hc-pulse-ring::before,
  .hc-pulse-ring::after {
    animation: none;
  }
  .hc-pulse-inner svg {
    animation: none;
  }
  .hc-progress-fill {
    transition: none;
  }
  .hc-gauge-fill {
    transition: none;
  }
}

@media (max-width: 768px) {
  .hc-page {
    padding-top: 0;
  }

  .hc-hero {
    margin-top: -10vh;
  }

  .hc-quiz {
    min-height: auto;
    padding-block: 15vh 2rem;
    justify-content: flex-start;
  }

  .hc-result {
    padding-top: 3rem;
  }

  .hc-loading {
    margin-top: -10vh;
  }
}
