/* ========================================================
   CanDo Laundry Assessment Widget - Design Tokens
   Modern, Surgical, Premium SaaS Style
   ======================================================== */

:root {
  /* Colors - Monochrome Palette */
  --bg: #ffffff;
  --fg: #0b0b0b;
  --muted: #5f5f5f;
  --border: #e9e9e9;
  --surface: #ffffff;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.08);

  /* Border Radius */
  --radius-1: 12px;
  --radius-2: 16px;
  --radius-pill: 999px;

  /* Spacing Scale */
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 44px;

  /* Typography */
  --h1: clamp(26px, 2.4vw, 38px);
  --h2: clamp(18px, 1.7vw, 22px);
  --body: 16px;
  --small: 13px;

  /* Control Heights */
  --control-h: 50px;
  --button-h: 54px;

  /* Layout */
  --maxw: 760px;

  /* Focus State */
  --focus: 0 0 0 4px rgba(0, 0, 0, 0.12);

  /* Score Band Colors - Subtle monochrome with hints */
  --band-risk: #991b1b;
  --band-needs: #78716c;
  --band-strong: #44403c;
  --band-optimised: #166534;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
}

/* ========================================================
   Reset & Base Styles
   ======================================================== */

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

html {
  font-size: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

/* ========================================================
   Container & Layout
   ======================================================== */

.widget-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-4);
}

.widget-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}

@media (max-width: 600px) {
  .widget-container {
    padding: var(--space-3);
  }

  .widget-card {
    padding: var(--space-4);
  }
}

/* ========================================================
   Typography
   ======================================================== */

.widget-title {
  font-size: var(--h1);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.widget-subtitle {
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.widget-text {
  font-size: var(--body);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.widget-small {
  font-size: var(--small);
  color: var(--muted);
}

/* ========================================================
   Header Section
   ======================================================== */

.widget-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

.widget-header .widget-title {
  margin-bottom: var(--space-2);
}

.widget-header .widget-text {
  max-width: 560px;
  margin: 0 auto var(--space-3);
}

.time-estimate {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--small);
  color: var(--muted);
  background: #f8f8f8;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
}

.time-estimate svg {
  width: 16px;
  height: 16px;
}

/* ========================================================
   Progress Section
   ======================================================== */

.progress-section {
  margin-bottom: var(--space-4);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.progress-step {
  font-size: var(--small);
  font-weight: 600;
  color: var(--fg);
}

.progress-percentage {
  font-size: var(--small);
  color: var(--muted);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--fg);
  border-radius: var(--radius-pill);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

/* ========================================================
   Value Props Grid
   ======================================================== */

.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

@media (max-width: 600px) {
  .value-props {
    grid-template-columns: 1fr;
  }
}

.value-prop {
  text-align: center;
  padding: var(--space-4);
  background: #fafafa;
  border-radius: var(--radius-1);
  border: 1px solid var(--border);
}

.value-prop-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fg);
  border-radius: var(--radius-1);
  color: #fff;
}

.value-prop-icon svg {
  width: 24px;
  height: 24px;
}

.value-prop-title {
  font-size: var(--body);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.value-prop-text {
  font-size: var(--small);
  color: var(--muted);
  line-height: 1.5;
}

/* ========================================================
   Form Controls
   ======================================================== */

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--body);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--fg);
}

.form-label .required {
  color: #dc2626;
  margin-left: 2px;
}

.form-label .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: var(--small);
  margin-left: var(--space-1);
}

.form-input,
.form-select {
  width: 100%;
  height: var(--control-h);
  padding: 0 var(--space-3);
  font-size: var(--body);
  font-family: inherit;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-1);
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  outline: none;
}

.form-input:hover,
.form-select:hover {
  border-color: #d0d0d0;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--fg);
  box-shadow: var(--focus);
}

.form-input::placeholder {
  color: #a0a0a0;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f5f5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  padding-right: var(--space-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   Pill Selection (Question Options)
   ======================================================== */

.pill-grid {
  display: grid;
  gap: var(--space-2);
}

.pill-option {
  display: flex;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-1);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--body);
  text-align: left;
  color: var(--fg);
}

.pill-option:hover {
  border-color: #c0c0c0;
  background: #fafafa;
}

.pill-option.selected {
  border-color: var(--fg);
  background: var(--fg);
  color: #fff;
}

.pill-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  margin-right: var(--space-3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.pill-option.selected .pill-radio {
  border-color: #fff;
  background: #fff;
}

.pill-option.selected .pill-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--fg);
  border-radius: 50%;
}

.pill-text {
  flex: 1;
  line-height: 1.4;
}

/* ========================================================
   Buttons
   ======================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--button-h);
  padding: 0 var(--space-5);
  font-size: var(--body);
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-1);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  text-decoration: none;
  gap: var(--space-2);
}

.btn:focus-visible {
  box-shadow: var(--focus);
}

.btn-primary {
  background: var(--fg);
  color: #fff;
}

.btn-primary:hover {
  background: #1a1a1a;
}

.btn-primary:active {
  background: #333;
}

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.btn-secondary:active {
  background: #eee;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: var(--button-h);
  padding: 0;
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* ========================================================
   Navigation Bar (Sticky Bottom on Mobile)
   ======================================================== */

.nav-bar {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.nav-bar .btn {
  flex: 1;
}

@media (max-width: 600px) {
  .nav-bar-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-3);
    background: var(--bg);
    border-top: 1px solid var(--border);
    z-index: 100;
  }

  .widget-container.has-sticky-nav {
    padding-bottom: calc(var(--button-h) + var(--space-3) * 3);
  }
}

/* ========================================================
   Question Section
   ======================================================== */

.question-section {
  animation: questionFadeIn 0.25s ease-out;
  display: grid;
  grid-template-rows: auto minmax(80px, auto) auto;
  gap: 0;
}

@keyframes questionFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.question-number {
  font-size: var(--small);
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.question-text {
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--space-4);
  min-height: 72px;
  display: flex;
  align-items: flex-start;
}

/* ========================================================
   Results Page
   ======================================================== */

.results-section {
  animation: fadeSlideIn 0.3s ease-out;
}

/* Score Badge */
.score-badge {
  text-align: center;
  padding: var(--space-6) var(--space-5);
  margin-bottom: var(--space-5);
}

.score-value {
  font-size: clamp(64px, 10vw, 96px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.score-band {
  font-size: var(--h2);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.score-summary {
  font-size: var(--body);
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Score Band Colors */
.band-risk .score-value,
.band-risk .score-band {
  color: var(--band-risk);
}

.band-needs .score-value,
.band-needs .score-band {
  color: var(--band-needs);
}

.band-strong .score-value,
.band-strong .score-band {
  color: var(--band-strong);
}

.band-optimised .score-value,
.band-optimised .score-band {
  color: var(--band-optimised);
}

/* Compact Score + CTA Layout (Above Fold) */
.score-cta-card {
  padding: var(--space-4);
}

.score-cta-row {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.score-compact {
  flex: 0 0 auto;
  text-align: center;
}

.score-ring-container-sm {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-2);
}

.score-ring-sm {
  width: 120px;
  height: 120px;
}

.score-ring-container-sm .score-ring-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-ring-container-sm .score-ring-number {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.score-ring-container-sm .score-ring-label {
  font-size: 11px;
  color: var(--muted);
}

.cta-compact {
  flex: 1;
  min-width: 0;
}

.cta-compact .cta-title {
  font-size: var(--h2);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.cta-compact .cta-text {
  font-size: var(--small);
  color: var(--muted);
  margin-bottom: var(--space-3);
  line-height: 1.5;
}

.cta-compact .btn {
  width: 100%;
}

@media (max-width: 600px) {
  .score-cta-row {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-compact {
    width: 100%;
  }
}

/* Narrative Report Section */
.narrative-section {
  margin-bottom: var(--space-5);
}

.narrative-title {
  font-size: var(--h2);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.narrative-content {
  font-size: var(--body);
  line-height: 1.7;
}

.narrative-intro {
  margin-bottom: var(--space-4);
  font-size: 17px;
}

.narrative-block {
  padding: var(--space-4);
  border-radius: var(--radius-1);
  margin-bottom: var(--space-3);
}

.narrative-block h3 {
  font-size: var(--body);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.narrative-block p {
  margin-bottom: var(--space-2);
  line-height: 1.6;
}

.narrative-block p:last-child {
  margin-bottom: 0;
}

.narrative-good {
  background: #fafafa;
  border-left: 4px solid var(--band-optimised);
}

.narrative-good h3 {
  color: var(--band-optimised);
}

.narrative-improve {
  background: #fafafa;
  border-left: 4px solid var(--band-risk);
}

.narrative-improve h3 {
  color: var(--band-risk);
}

.narrative-cando {
  background: #fafafa;
  border-left: 4px solid var(--fg);
}

.narrative-cando h3 {
  color: var(--fg);
}

/* Legacy Insights Cards (kept for compatibility) */
.insights-section {
  margin-bottom: var(--space-5);
}

.insights-title {
  font-size: var(--h2);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.insights-grid {
  display: grid;
  gap: var(--space-3);
}

.insight-card {
  padding: var(--space-4);
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: var(--radius-1);
}

.insight-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fg);
  color: #fff;
  border-radius: var(--radius-1);
  margin-bottom: var(--space-3);
}

.insight-icon svg {
  width: 20px;
  height: 20px;
}

.insight-title {
  font-size: var(--body);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.insight-text {
  font-size: var(--small);
  color: var(--muted);
  line-height: 1.5;
}

/* CTA Card */
.cta-card {
  padding: var(--space-5);
  background: var(--fg);
  color: #fff;
  border-radius: var(--radius-2);
  margin-bottom: var(--space-5);
}

.cta-card .cta-title {
  font-size: var(--h2);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.cta-card .cta-text {
  font-size: var(--body);
  opacity: 0.85;
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.cta-card .btn {
  background: #fff;
  color: var(--fg);
}

.cta-card .btn:hover {
  background: #f5f5f5;
}

/* Resources Section */
.resources-section {
  margin-bottom: var(--space-4);
}

.resources-title {
  font-size: var(--h2);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.resources-subtitle {
  font-size: var(--body);
  color: var(--muted);
  margin-bottom: var(--space-4);
}

.resource-list {
  list-style: none;
}

.resource-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: var(--radius-1);
  margin-bottom: var(--space-2);
  text-decoration: none;
  color: var(--fg);
  transition: all var(--transition-fast);
}

.resource-item:hover {
  border-color: #c0c0c0;
  background: #f5f5f5;
}

.resource-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dc2626;
  color: #fff;
  border-radius: var(--radius-1);
  flex-shrink: 0;
}

.resource-icon svg {
  width: 20px;
  height: 20px;
}

.resource-info {
  flex: 1;
  min-width: 0;
}

.resource-name {
  font-weight: 500;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-size {
  font-size: var(--small);
  color: var(--muted);
}

.resource-download {
  color: var(--muted);
  flex-shrink: 0;
}

.resource-download svg {
  width: 20px;
  height: 20px;
}

/* ========================================================
   Step Visibility
   ======================================================== */

.step {
  display: none;
}

.step.active {
  display: block;
}

/* ========================================================
   Loading State
   ======================================================== */

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.loading-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--fg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================================
   Utility Classes
   ======================================================== */

.hidden {
  display: none !important;
}

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

.mt-1 {
  margin-top: var(--space-1);
}
.mt-2 {
  margin-top: var(--space-2);
}
.mt-3 {
  margin-top: var(--space-3);
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-5 {
  margin-top: var(--space-5);
}

.mb-1 {
  margin-bottom: var(--space-1);
}
.mb-2 {
  margin-bottom: var(--space-2);
}
.mb-3 {
  margin-bottom: var(--space-3);
}
.mb-4 {
  margin-bottom: var(--space-4);
}
.mb-5 {
  margin-bottom: var(--space-5);
}

/* ========================================================
   Premium Enhancements - Step Transitions
   ======================================================== */

.step {
  animation: fadeSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================
   Premium Enhancements - Trust Signals
   ======================================================== */

.trust-section {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.trust-metrics {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.trust-metric {
  text-align: center;
}

.trust-metric-value {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}

.trust-metric-label {
  font-size: var(--small);
  color: var(--muted);
  margin-top: 4px;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  margin-top: var(--space-4);
  font-size: var(--small);
  color: var(--muted);
}

.privacy-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ========================================================
   Premium Enhancements - Score Animation
   ======================================================== */

.score-value {
  font-size: clamp(56px, 8vw, 80px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.score-value.animating {
  transition: none;
}

/* Score Ring */
.score-ring-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto var(--space-4);
}

.score-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}

.score-ring-fill {
  fill: none;
  stroke: currentColor;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smaller score ring for compact layout (r=60, circumference=377) */
.score-ring-sm .score-ring-bg {
  stroke-width: 6;
}

.score-ring-sm .score-ring-fill {
  stroke-width: 6;
  stroke-dasharray: 377;
  stroke-dashoffset: 377;
}

.score-ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-ring-number {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.score-ring-label {
  font-size: var(--small);
  color: var(--muted);
  margin-top: 4px;
}

/* ========================================================
   Premium Enhancements - Button States
   ======================================================== */

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.1),
    rgba(0, 0, 0, 0.05)
  );
}

.btn:active::after {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(1px);
}

/* ========================================================
   Premium Enhancements - Pill Micro-interactions
   ======================================================== */

.pill-option {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pill-option:active {
  transform: scale(0.98);
}

.pill-option.selected {
  animation: pillSelect 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pillSelect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.97);
  }
  100% {
    transform: scale(1);
  }
}

/* ========================================================
   Premium Enhancements - Results Celebration
   ======================================================== */

.results-section {
  animation: resultsReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes resultsReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.insight-card {
  animation: insightFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.insight-card:nth-child(1) { animation-delay: 0.2s; }
.insight-card:nth-child(2) { animation-delay: 0.3s; }
.insight-card:nth-child(3) { animation-delay: 0.4s; }

@keyframes insightFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================
   Premium Enhancements - Progress Celebration
   ======================================================== */

.progress-fill::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--fg);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-fill {
  position: relative;
}

/* ========================================================
   Premium Enhancements - Form Focus Polish
   ======================================================== */

.form-input:focus,
.form-select:focus {
  border-color: var(--fg);
  box-shadow: var(--focus);
  outline: none;
}

/* ========================================================
   Premium Enhancements - Resource Card Hover
   ======================================================== */

.resource-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
