/* ============================================================
   AI Influence Scanner — Custom Styles
   Base: Tailwind CSS | Custom: Inter, snipKI light design system
   ============================================================ */

/* ----------------------------------------------------------
   1. IMPORTS & DESIGN TOKENS
   ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --color-bg:           #ffffff;
  --color-surface:      #f9fafb;
  --color-border:       #e5e7eb;
  --color-border-light: #d1d5db;

  --color-primary:   #4ECBA0;
  --color-secondary: #2BA37A;
  --color-warning:   #f59e0b;
  --color-danger:    #ef4444;
  --color-success:   #4ECBA0;

  --color-text:       #111827;
  --color-text-muted: #6b7280;
  --color-text-dim:   #9ca3af;
  --text-muted:       #6b7280;

  /* Radius */
  --radius-card: 16px;
  --radius-sm:   12px;
  --radius-xs:   8px;

  /* Shadows */
  --shadow-card:    0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-primary: 0 0 20px rgba(78, 203, 160, 0.25);
  --shadow-success: 0 0 20px rgba(78, 203, 160, 0.25);
  --shadow-warning: 0 0 20px rgba(245, 158, 11, 0.25);
  --shadow-danger:  0 0 20px rgba(239, 68, 68, 0.25);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;
}


/* ----------------------------------------------------------
   2. GLOBAL RESET & BASE
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-dim);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-light) var(--color-surface);
}

/* Selection */
::selection {
  background: rgba(78, 203, 160, 0.25);
  color: var(--color-text);
}


/* ----------------------------------------------------------
   3. ANIMATED BACKGROUND GRID
   ---------------------------------------------------------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(229, 231, 235, 0.6) 39px,
      rgba(229, 231, 235, 0.6) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(229, 231, 235, 0.6) 39px,
      rgba(229, 231, 235, 0.6) 40px
    );
  animation: grid-drift 20s linear infinite;
  opacity: 0.5;
}

.bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 2px,
    rgba(78, 203, 160, 0.012) 2px,
    rgba(78, 203, 160, 0.012) 4px
  );
  animation: scan-lines 8s linear infinite;
}

@keyframes grid-drift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

@keyframes scan-lines {
  0%   { background-position: 0 0; }
  100% { background-position: 0 100vh; }
}


/* ----------------------------------------------------------
   4. SECTION VISIBILITY
   ---------------------------------------------------------- */
.section-hidden { display: none; }
.section-visible { display: block; }
#loading.section-hidden { display: none; }
#loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------------------------
   4a. HERO / LANDING
   ---------------------------------------------------------- */
#landing {
  position: relative;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.orb-1 { width: 400px; height: 400px; background: #4ECBA0; top: -100px; left: -100px; animation: orb-float 12s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; background: #2BA37A; bottom: -50px; right: -50px; animation: orb-float 15s ease-in-out infinite reverse; }
.orb-3 { width: 200px; height: 200px; background: #4ECBA0; top: 40%; right: 10%; animation: orb-float 10s ease-in-out infinite 3s; }
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 30px); }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(78, 203, 160, 0.1);
  border: 1px solid rgba(78, 203, 160, 0.25);
  color: var(--color-secondary);
  font-size: 0.8rem;
  font-weight: 500;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #111827;
}

.text-gradient {
  background: linear-gradient(135deg, #4ECBA0, #2BA37A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #6b7280;
  line-height: 1.6;
}

.upload-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

/* Mode toggle */
.mode-toggle {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.mode-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-card);
  border: 2px solid var(--color-border);
  background: var(--color-bg);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 150px;
  font-family: 'Inter', sans-serif;
}
.mode-btn:hover {
  border-color: var(--color-border-light);
  background: var(--color-surface);
}
.mode-btn-active {
  border-color: var(--color-primary) !important;
  background: rgba(78, 203, 160, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(78, 203, 160, 0.1);
}
.mode-btn-active.roast-active {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.mode-emoji { font-size: 1.5rem; }
.mode-label { font-size: 0.9rem; font-weight: 700; color: var(--color-text); }
.mode-desc { font-size: 0.65rem; color: var(--color-text-dim); }

/* Mode switch (compact, in results topbar) */
.verdict-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.mode-switch {
  display: flex;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  overflow: hidden;
}
.mode-switch-btn {
  padding: 0.35rem 0.6rem;
  font-size: 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1;
}
.mode-switch-btn:hover { background: rgba(0,0,0,0.04); }
.mode-switch-active {
  background: rgba(78,203,160,0.12) !important;
}
.mode-switch-active.roast-active {
  background: rgba(239,68,68,0.12) !important;
}

/* LinkedIn URL input */
.linkedin-input-section {
  padding: 0.25rem 0 0.5rem;
}
.linkedin-input-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.linkedin-input-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.linkedin-input-wrapper {
  display: flex;
  gap: 0.5rem;
}
.linkedin-input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.linkedin-input:focus {
  border-color: #0a66c2;
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.12);
}
.linkedin-input::placeholder {
  color: var(--color-text-dim);
}
.btn-scrape {
  padding: 0.7rem 1.5rem;
  white-space: nowrap;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}
.btn-scrape:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.linkedin-input-error {
  font-size: 0.78rem;
  color: var(--color-danger);
  margin-top: 0.4rem;
}

/* Consent section */
.consent-section {
  margin-top: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  background: var(--color-surface);
}
.consent-header {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.consent-header-icon { font-size: 1.25rem; margin-top: 0.1rem; }
.consent-header strong { font-size: 0.9rem; color: var(--color-text); display: block; }
.consent-header-desc { font-size: 0.75rem; color: var(--color-text-dim); line-height: 1.5; margin-top: 0.2rem; }

.consent-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}
.consent-item:last-of-type { border-bottom: none; }
.consent-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--color-border-light);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-primary);
}
.consent-content { flex: 1; }
.consent-text { font-size: 0.8rem; color: var(--color-text); line-height: 1.5; display: block; }
.consent-text strong { font-weight: 600; }
.consent-badge {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.2);
}
.consent-badge-optional {
  background: rgba(78,203,160,0.1);
  color: #2BA37A;
  border-color: rgba(78,203,160,0.2);
}
.consent-hint {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-dim);
  line-height: 1.5;
  margin-top: 0.3rem;
}
.consent-footer {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.72rem;
}
.consent-footer a {
  color: var(--color-text-muted);
  text-decoration: underline;
  font-weight: 600;
}
.consent-footer span { color: var(--color-text-dim); }

.email-section .linkedin-input-label { margin-top: 0; }

/* Two-column form layout */
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
@media (max-width: 640px) {
  .form-columns {
    grid-template-columns: 1fr;
  }
}

/* Fair deal box */
.fair-deal-box {
  background: linear-gradient(135deg, rgba(78,203,160,0.06) 0%, rgba(78,203,160,0.02) 100%);
  border: 1px solid rgba(78,203,160,0.18);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.fair-deal-header {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.4rem;
}
.fair-deal-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.fair-deal-header strong {
  color: var(--color-text);
  font-size: 0.9rem;
}
.fair-deal-desc {
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  line-height: 1.5;
}
.fair-deal-promise {
  color: var(--color-text-dim);
  font-size: 0.72rem;
  margin-top: 0.4rem;
  text-align: center;
}
body.roast-theme .fair-deal-box {
  background: linear-gradient(135deg, rgba(239,68,68,0.06) 0%, rgba(249,115,22,0.03) 100%);
  border-color: rgba(239,68,68,0.15);
}

/* Compact consent in two-col */
.form-columns .consent-section {
  margin-top: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.form-columns .consent-header {
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
}
.form-columns .consent-item {
  padding: 0.5rem 0;
  gap: 0.5rem;
}
.form-columns .consent-text {
  font-size: 0.76rem;
  line-height: 1.45;
}

/* PDF toggle */
.pdf-upload-toggle { margin-bottom: 0.5rem; }
.pdf-upload-section { margin-top: 0.5rem; }

.drop-zone-icon { color: var(--color-primary); margin-bottom: 1rem; }
.drop-zone-text { margin-bottom: 0.75rem; }
.drop-zone-primary { font-size: 1.05rem; font-weight: 600; color: var(--color-text); }
.drop-zone-secondary { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.drop-zone-link { color: var(--color-primary); cursor: pointer; text-decoration: underline; }
.drop-zone-hint { font-size: 0.75rem; color: var(--color-text-dim); margin-top: 0.5rem; }

.upload-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}
.upload-divider-line { flex: 1; height: 1px; background: var(--color-border); }
.upload-divider-text { font-size: 0.8rem; color: var(--color-text-dim); font-weight: 500; }

.trust-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   4b. LOADING SECTION
   ---------------------------------------------------------- */
.scanner-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scanner-ring {
  position: absolute;
  border: 2px solid rgba(78, 203, 160, 0.2);
  border-radius: 50%;
}
.scanner-ring-1 { width: 100%; height: 100%; animation: ring-spin 3s linear infinite; border-top-color: var(--color-primary); }
.scanner-ring-2 { width: 75%; height: 75%; animation: ring-spin 2.5s linear infinite reverse; border-right-color: var(--color-secondary); }
.scanner-ring-3 { width: 50%; height: 50%; animation: ring-spin 2s linear infinite; border-bottom-color: var(--color-warning); }
@keyframes ring-spin { 100% { transform: rotate(360deg); } }

.scanner-core { position: relative; z-index: 1; }
.scanner-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(78,203,160,0.15) 25%, transparent 50%);
  animation: sweep-rotate 2s linear infinite;
}
@keyframes sweep-rotate { 100% { transform: rotate(360deg); } }

.loading-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
}
.loading-status {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  min-height: 1.5em;
  text-align: center;
}
.progress-label {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  font-weight: 600;
  text-align: center;
}
.loading-steps {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.loading-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}
.step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border-light);
}
.step-dot-active {
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(78, 203, 160, 0.5);
}

/* ----------------------------------------------------------
   4c. VERDICT HERO — social media style results header
   ---------------------------------------------------------- */
.verdict-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
}

/* Animated color glow behind gauge */
.verdict-glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  transition: background 1.4s ease;
  background: var(--color-primary);
}

.verdict-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.65rem 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
}
body.roast-theme .verdict-topbar {
  background: rgba(10, 10, 15, 0.92);
  border-bottom-color: #1e1e2a;
}
.verdict-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}
.verdict-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.verdict-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}
.verdict-headline {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-dim);
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Profile badges */
.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.pbadge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pbadge-follower { background: rgba(78,203,160,0.1); color: #2BA37A; border: 1px solid rgba(78,203,160,0.2); }
.pbadge-connections { background: rgba(10,102,194,0.08); color: #0a66c2; border: 1px solid rgba(10,102,194,0.15); }
.pbadge-influencer { background: rgba(245,158,11,0.1); color: #d97706; border: 1px solid rgba(245,158,11,0.2); }
.pbadge-creator { background: rgba(139,92,246,0.08); color: #7c3aed; border: 1px solid rgba(139,92,246,0.15); }
.pbadge-verified { background: rgba(78,203,160,0.1); color: #2BA37A; border: 1px solid rgba(78,203,160,0.2); }
.pbadge-pub { background: rgba(59,130,246,0.08); color: #2563eb; border: 1px solid rgba(59,130,246,0.15); }
.pbadge-project { background: rgba(245,158,11,0.08); color: #d97706; border: 1px solid rgba(245,158,11,0.15); }
.pbadge-skills { background: rgba(100,116,139,0.08); color: #64748b; border: 1px solid rgba(100,116,139,0.15); }

.btn-sm {
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
}

/* Big score area */
.verdict-score-area {
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}
.verdict-gauge-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Score explainer */
.verdict-score-explainer {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  line-height: 1.5;
  max-width: 420px;
  text-align: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
}
.verdict-score-explainer strong {
  color: var(--color-text-muted);
  font-weight: 700;
}

/* Bold verdict text */
.verdict-statement {
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
}
.verdict-kicker {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}
.verdict-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.verdict-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

/* Label badge */
.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  transition: background 0.5s, color 0.5s, border-color 0.5s;
  background: rgba(78, 203, 160, 0.1);
  border: 1px solid rgba(78, 203, 160, 0.3);
  color: var(--color-secondary);
}

/* Score scale bar — makes scoring immediately clear */
.verdict-scale {
  width: 100%;
  max-width: 480px;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 2;
}
.verdict-scale-bar {
  position: relative;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #4ECBA0 100%);
  margin-bottom: 0.5rem;
  overflow: visible;
}
.verdict-scale-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  border-radius: 4px;
  background: transparent;
}
.verdict-scale-marker {
  position: absolute;
  top: -5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-primary);
  box-shadow: 0 0 12px rgba(78, 203, 160, 0.4), 0 2px 8px rgba(0,0,0,0.12);
  transform: translateX(-50%);
  transition: left 1.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 1.4s ease;
  left: 0%;
}
.verdict-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--color-text-dim);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Stats row */
.verdict-stats {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}
.verdict-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
}
.verdict-stat-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(78, 203, 160, 0.1);
  color: var(--color-secondary);
}
.verdict-stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.verdict-stat-label {
  font-size: 0.6rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-top: 2px;
}

/* Explanation */
.verdict-explanation {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Hidden utility */
.hidden { display: none !important; }

/* ----------------------------------------------------------
   4e. SECTION BLOCKS & DETAIL GRIDS
   ---------------------------------------------------------- */
.section-block {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.section-title { font-size: 1.15rem; font-weight: 700; color: var(--color-text); }
.section-subtitle { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.15rem; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.category-header { margin-bottom: 0.75rem; }
.category-label { font-size: 0.85rem; font-weight: 600; color: var(--color-text); }
.category-gauge { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.category-score { font-size: 1.25rem; font-weight: 800; color: var(--color-text); }
.category-desc { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.5; }

.timeline-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.5rem 0;
}
.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  padding: 0 0.5rem;
}
.timeline-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}
.timeline-label { font-size: 0.8rem; font-weight: 600; color: var(--color-text); }
.timeline-year { font-size: 0.7rem; color: var(--color-text-dim); }
.timeline-score { font-size: 1rem; font-weight: 800; margin-top: 0.25rem; }
.timeline-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--color-border-light), var(--color-border));
  min-width: 30px;
  align-self: flex-start;
  margin-top: 7px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}
.detail-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.detail-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.detail-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-icon-red { background: rgba(239,68,68,0.1); color: var(--color-danger); }
.detail-icon-green { background: rgba(78,203,160,0.12); color: var(--color-secondary); }
.detail-icon-blue { background: rgba(78,203,160,0.12); color: var(--color-secondary); }
.detail-card-title { font-size: 1rem; font-weight: 700; color: var(--color-text); }
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.detail-list > * {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.insight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none;
  box-shadow: none;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: background var(--transition-normal);
}
.detail-list .insight-item {
  border: none !important;
}
.insight-item:hover { background: rgba(0,0,0,0.03); }
.insight-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.insight-content { flex: 1; }
.insight-title { display: block; font-size: 0.9rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.2rem; }
.insight-text { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.6; }

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.rec-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  padding-top: 1.75rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.rec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4ECBA0, #2BA37A);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.rec-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(78, 203, 160, 0.12); }
.rec-badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ECBA0, #2BA37A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}
.rec-title { font-size: 0.95rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.4rem; padding-right: 2rem; }
.rec-text { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.6; }
.rec-meta { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }

/* ----------------------------------------------------------
   TWO PATHS — with vs without AI
   ---------------------------------------------------------- */
.two-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.path-card {
  position: relative;
  border-radius: var(--radius-card);
  padding: 1.75rem;
  border: 2px solid;
  overflow: hidden;
}

.path-card-ignore {
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.04);
}
.path-card-act {
  border-color: rgba(78, 203, 160, 0.3);
  background: rgba(78, 203, 160, 0.04);
}

.path-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.path-emoji { font-size: 1.75rem; }
.path-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}
.path-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  margin-top: 2px;
}

/* Score trajectory */
.path-trajectory {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  background: rgba(0,0,0,0.03);
  border-radius: var(--radius-sm);
}
.path-step {
  flex: 1;
  text-align: center;
}
.path-step-year {
  font-size: 0.6rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.path-step-score {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 2px;
}
.path-step-arrow {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  padding: 0 0.15rem;
  flex-shrink: 0;
}

/* Consequences list */
.path-consequences {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.path-consequence {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.path-consequence-icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.85rem;
}

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

/* Skills: grouped columns */
.skills-grouped {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.skill-group {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.skill-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}
.skill-group-emoji { font-size: 1.5rem; }
.skill-group-title { font-size: 0.95rem; font-weight: 800; }
.skill-group-subtitle { font-size: 0.7rem; color: var(--color-text-dim); margin-top: 1px; }

.skill-group-list { display: flex; flex-direction: column; gap: 0.6rem; }

.skill-group-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.skill-group-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.skill-group-item-content { flex: 1; }
.skill-group-item-name { display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-text); }
.skill-group-item-future { display: block; font-size: 0.72rem; color: var(--color-text-dim); line-height: 1.4; margin-top: 1px; }

.results-footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}
.results-footer-note { font-size: 0.8rem; color: var(--color-text-dim); max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* Animate on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   4f. LAYOUT WRAPPERS (LEGACY)
   ---------------------------------------------------------- */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.app-header {
  text-align: center;
  margin-bottom: 3rem;
}

.app-header h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-text) 30%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-header p {
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  font-size: 1.05rem;
}


/* ----------------------------------------------------------
   5. CARDS (BASE)
   ---------------------------------------------------------- */
.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  border-color: var(--color-border-light);
}


/* ----------------------------------------------------------
   6. UPLOAD / DROP ZONE
   ---------------------------------------------------------- */
#dropZone {
  position: relative;
  background: #ffffff;
  border: 2px dashed var(--color-border-light);
  border-radius: var(--radius-card);
  padding: 3.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition:
    border-color var(--transition-normal),
    border-style var(--transition-normal),
    box-shadow var(--transition-normal),
    background var(--transition-normal);
  overflow: hidden;
}

#dropZone::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-card) + 2px);
  background: linear-gradient(135deg, #4ECBA0, #2BA37A);
  opacity: 0;
  z-index: 0;
  transition: opacity var(--transition-normal);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 2px;
}

#dropZone:hover {
  border-style: solid;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(78, 203, 160, 0.1);
  background: rgba(78, 203, 160, 0.03);
}

#dropZone:hover::before {
  opacity: 0.6;
}

#dropZone > * {
  position: relative;
  z-index: 1;
}

/* Drag-over state */
#dropZone.drag-over {
  border-style: solid;
  border-color: var(--color-primary);
  background: rgba(78, 203, 160, 0.06);
  animation: drop-pulse 1.2s ease-in-out infinite;
}

@keyframes drop-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(78, 203, 160, 0.3); }
  50%       { box-shadow: 0 0 0 12px rgba(78, 203, 160, 0); }
}

.drop-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--color-primary);
  opacity: 0.8;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

#dropZone:hover .drop-icon {
  transform: translateY(-4px);
  opacity: 1;
}

.drop-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.drop-sublabel {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}


/* ----------------------------------------------------------
   7. LOADING / SCANNER LINE
   ---------------------------------------------------------- */
.loading-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #ffffff;
  border: 1px solid var(--color-border);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.scanner-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-primary) 20%,
    rgba(78, 203, 160, 0.8) 50%,
    var(--color-primary) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 10px 2px rgba(78, 203, 160, 0.5),
    0 0 30px 4px rgba(78, 203, 160, 0.15);
  animation: scanner-sweep 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanner-sweep {
  0%   { top: 0%;   opacity: 1; }
  48%  { top: 100%; opacity: 1; }
  50%  { top: 100%; opacity: 0; }
  52%  { top: 0%;   opacity: 0; }
  54%  { top: 0%;   opacity: 1; }
  100% { top: 100%; opacity: 1; }
}

/* Scanning shimmer overlay */
.scanner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(78, 203, 160, 0.04) 50%,
    transparent 100%
  );
  animation: scanner-sweep-bg 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanner-sweep-bg {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.loading-text {
  position: relative;
  z-index: 1;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  text-transform: uppercase;
  animation: loading-blink 1.5s ease-in-out infinite;
}

@keyframes loading-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}


/* ----------------------------------------------------------
   8. SCORE GAUGE
   ---------------------------------------------------------- */
.score-gauge-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.score-gauge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.score-gauge svg {
  transform: rotate(-90deg);
  overflow: visible;
}

/* Track circle */
.gauge-track {
  fill: none;
  stroke: var(--color-border-light);
  stroke-width: 8;
}

/* Value circle */
.gauge-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 534; /* 2π × r (r=85) */
  stroke-dashoffset: 534;
  transition: stroke-dashoffset 2s ease-out, stroke 0.5s ease;
  filter: drop-shadow(0 0 6px currentColor);
}

/* Glow filter layer */
.gauge-glow {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  opacity: 0.2;
  transition: stroke-dashoffset 2s ease-out, stroke 0.5s ease;
  filter: blur(4px);
}

/* Center text */
.gauge-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  text-align: center;
  pointer-events: none;
}

.gauge-score-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.gauge-score-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

/* Gauge color variants */
.score-gauge.score-low    .gauge-fill,
.score-gauge.score-low    .gauge-glow  { stroke: var(--color-success); }
.score-gauge.score-low    .gauge-score-value { color: var(--color-success); }

.score-gauge.score-medium .gauge-fill,
.score-gauge.score-medium .gauge-glow  { stroke: var(--color-warning); }
.score-gauge.score-medium .gauge-score-value { color: var(--color-warning); }

.score-gauge.score-high   .gauge-fill,
.score-gauge.score-high   .gauge-glow  { stroke: #f97316; }
.score-gauge.score-high   .gauge-score-value { color: #f97316; }

.score-gauge.score-critical .gauge-fill,
.score-gauge.score-critical .gauge-glow  { stroke: var(--color-danger); }
.score-gauge.score-critical .gauge-score-value { color: var(--color-danger); }

/* Glow effect on the wrapper when animated */
.score-gauge.score-low.active     { filter: drop-shadow(0 0 16px rgba(78, 203, 160, 0.35)); }
.score-gauge.score-medium.active  { filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.35)); }
.score-gauge.score-high.active    { filter: drop-shadow(0 0 16px rgba(249, 115, 22, 0.35)); }
.score-gauge.score-critical.active { filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.35)); }


/* ----------------------------------------------------------
   9. SCORE UTILITY CLASSES
   ---------------------------------------------------------- */
.score-low      { color: var(--color-success); }
.score-medium   { color: var(--color-warning); }
.score-high     { color: #f97316; }
.score-critical { color: var(--color-danger); }

.score-low-bg      { background: rgba(78, 203, 160, 0.12); border-color: rgba(78, 203, 160, 0.3); }
.score-medium-bg   { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }
.score-high-bg     { background: rgba(249, 115, 22, 0.12); border-color: rgba(249, 115, 22, 0.3); }
.score-critical-bg { background: rgba(239, 68, 68, 0.12);  border-color: rgba(239, 68, 68, 0.3); }


/* ----------------------------------------------------------
   10. CATEGORY CARDS
   ---------------------------------------------------------- */
.category-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.04), transparent);
}

.category-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(78, 203, 160, 0.15);
}

/* Mini gauge inside category cards */
.mini-gauge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mini-gauge svg {
  transform: rotate(-90deg);
}

.mini-gauge-track {
  fill: none;
  stroke: var(--color-border-light);
  stroke-width: 5;
}

.mini-gauge-fill {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 163; /* 2π × r (r=26) */
  stroke-dashoffset: 163;
  transition: stroke-dashoffset 1.8s ease-out 0.3s, stroke 0.5s ease;
}

.mini-gauge-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.65rem;
  font-weight: 700;
}

.category-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.category-card-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}


/* ----------------------------------------------------------
   11. TIMELINE
   ---------------------------------------------------------- */
.timeline {
  position: relative;
  padding: 1rem 0;
}

/* Horizontal track */
.timeline-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.timeline-track::-webkit-scrollbar { display: none; }

/* (legacy timeline-line removed — using inline definition above) */

/* Timeline node */
.timeline-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  min-width: 80px;
  cursor: default;
}

.timeline-node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: var(--color-bg);
  position: relative;
  transition: transform var(--transition-normal);
}

.timeline-node:hover .timeline-node-dot {
  transform: scale(1.4);
}

/* Severity glow pulses */
.timeline-node.severity-low    .timeline-node-dot { color: var(--color-success); box-shadow: 0 0 0 0 rgba(78,203,160,0.4); }
.timeline-node.severity-medium .timeline-node-dot { color: var(--color-warning); box-shadow: 0 0 0 0 rgba(245,158,11,0.4); }
.timeline-node.severity-high   .timeline-node-dot { color: #f97316;              box-shadow: 0 0 0 0 rgba(249,115,22,0.4); }
.timeline-node.severity-critical .timeline-node-dot { color: var(--color-danger); box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }

.timeline-node.severity-medium .timeline-node-dot,
.timeline-node.severity-high   .timeline-node-dot,
.timeline-node.severity-critical .timeline-node-dot {
  animation: node-pulse 2s ease-in-out infinite;
}

@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50%       { box-shadow: 0 0 0 6px transparent; opacity: 0.85; }
}

.timeline-node-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
  text-align: center;
  max-width: 72px;
  line-height: 1.3;
}

.timeline-node-year {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-text-dim);
  margin-top: 0.15rem;
}


/* ----------------------------------------------------------
   12. REASON & STRENGTH ITEMS (legacy — removed, using .insight-item now)
   ---------------------------------------------------------- */
.item-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}

.item-text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.15rem;
}


/* ----------------------------------------------------------
   13. RECOMMENDATION CARDS
   ---------------------------------------------------------- */
.recommendation-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Gradient top border */
.recommendation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4ECBA0, #2BA37A);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.recommendation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(78, 203, 160, 0.12);
  border-color: var(--color-border-light);
}

/* Number badge */
.recommendation-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ECBA0, #2BA37A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.recommendation-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
  padding-right: 2.5rem; /* avoid overlap with badge */
}

.recommendation-body {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.recommendation-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(78, 203, 160, 0.1);
  color: var(--color-secondary);
  border: 1px solid rgba(78, 203, 160, 0.2);
}


/* ----------------------------------------------------------
   14. SKILLS / COMPETENCY CHART
   ---------------------------------------------------------- */
.skills-chart {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skill-bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.skill-bar-wrapper {
  position: relative;
}

.skill-bar-label-left {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.skill-bar-track {
  height: 8px;
  background: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.6s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.skill-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
}

/* Color variants */
.skill-bar-fill.ai-proof {
  background: linear-gradient(90deg, #2BA37A, #4ECBA0);
  box-shadow: 0 0 8px rgba(78, 203, 160, 0.3);
}

.skill-bar-fill.ai-augmented {
  background: linear-gradient(90deg, #2BA37A, #4ECBA0);
  box-shadow: 0 0 8px rgba(78, 203, 160, 0.3);
}

.skill-bar-fill.ai-replaceable {
  background: linear-gradient(90deg, #b91c1c, var(--color-danger));
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.skill-bar-label-right {
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 36px;
  text-align: right;
}

.skill-bar-fill.ai-proof      + .skill-bar-label-right,
.skill-bar-row .ai-proof-label       { color: var(--color-secondary); }

.skill-bar-fill.ai-augmented  + .skill-bar-label-right,
.skill-bar-row .ai-augmented-label   { color: var(--color-secondary); }
.skill-bar-fill.ai-replaceable + .skill-bar-label-right,
.skill-bar-row .ai-replaceable-label { color: var(--color-danger); }

/* Legend */
.skill-legend {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.skill-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.skill-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.skill-legend-dot.ai-proof       { background: var(--color-primary); }
.skill-legend-dot.ai-augmented   { background: var(--color-primary); }
.skill-legend-dot.ai-replaceable { background: var(--color-danger); }


/* ----------------------------------------------------------
   15. SECTION TRANSITIONS (Intersection Observer)
   ---------------------------------------------------------- */
.section-fade {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.section-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children inside a revealed section */
.stagger-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1)  { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2)  { opacity: 1; transform: none; transition-delay: 0.10s; }
.stagger-children.visible > *:nth-child(3)  { opacity: 1; transform: none; transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4)  { opacity: 1; transform: none; transition-delay: 0.20s; }
.stagger-children.visible > *:nth-child(5)  { opacity: 1; transform: none; transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6)  { opacity: 1; transform: none; transition-delay: 0.30s; }
.stagger-children.visible > *:nth-child(7)  { opacity: 1; transform: none; transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8)  { opacity: 1; transform: none; transition-delay: 0.40s; }


/* ----------------------------------------------------------
   16. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  text-decoration: none;
  transition:
    background var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast),
    opacity var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — mint green gradient */
.btn-primary {
  background: linear-gradient(135deg, #4ECBA0, #2BA37A);
  color: #fff;
  box-shadow: 0 2px 12px rgba(78, 203, 160, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3DBE8E, #249A6E);
  box-shadow: 0 4px 24px rgba(78, 203, 160, 0.45);
  transform: translateY(-1px);
}

/* Secondary — outlined mint */
.btn-secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(78, 203, 160, 0.08);
  box-shadow: 0 0 16px rgba(78, 203, 160, 0.15);
  transform: translateY(-1px);
}

/* Demo — amber/gold */
.btn-demo {
  background: linear-gradient(135deg, #d97706, var(--color-warning));
  color: #000;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.3);
}

.btn-demo:hover {
  background: linear-gradient(135deg, #b45309, #d97706);
  box-shadow: 0 4px 24px rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border-light);
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.03);
  color: var(--color-text);
  border-color: var(--color-border-light);
}

/* Icon-only button */
.btn-icon {
  padding: 0.55rem;
  border-radius: var(--radius-xs);
  aspect-ratio: 1;
}


/* ----------------------------------------------------------
   17. MISC UI COMPONENTS
   ---------------------------------------------------------- */

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-light), transparent);
  margin: 1.5rem 0;
}

/* Badge / chip */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-primary  { background: rgba(78,203,160,0.12);  color: #2BA37A; border: 1px solid rgba(78,203,160,0.25); }
.badge-success  { background: rgba(78,203,160,0.12);  color: #2BA37A; border: 1px solid rgba(78,203,160,0.25); }
.badge-warning  { background: rgba(245,158,11,0.12);  color: #d97706; border: 1px solid rgba(245,158,11,0.25); }
.badge-danger   { background: rgba(239,68,68,0.12);   color: #dc2626; border: 1px solid rgba(239,68,68,0.25); }
.badge-purple   { background: rgba(78,203,160,0.1);   color: #2BA37A; border: 1px solid rgba(78,203,160,0.2); }
.badge-neutral  { background: rgba(107,114,128,0.1);  color: #6b7280; border: 1px solid rgba(107,114,128,0.2); }

/* Tooltip */
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #f9fafb;
  font-size: 0.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  border: 1px solid rgba(0,0,0,0.1);
  z-index: 100;
}

.tooltip:hover::after { opacity: 1; }

/* Progress bar (generic) */
.progress-track {
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #4ECBA0, #2BA37A);
  transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  width: 0;
}

/* Section header */
.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-header-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: rgba(78, 203, 160, 0.1);
  border: 1px solid rgba(78, 203, 160, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1rem;
  flex-shrink: 0;
}

.section-header h2,
.section-header h3 {
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.section-header p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.1rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--color-text-muted);
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.4;
}

.empty-state-text {
  font-size: 0.9rem;
}

/* Results grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}


/* ----------------------------------------------------------
   18. RESPONSIVE — MOBILE
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .app-container {
    padding: 1.25rem 1rem;
  }

  .app-header {
    margin-bottom: 2rem;
  }

  .card {
    padding: 1.25rem;
  }

  #dropZone {
    padding: 2.5rem 1.25rem;
  }

  .gauge-score-value {
    font-size: 2.25rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .timeline-track {
    gap: 0;
  }

  .verdict-hero {
    padding: 2rem 1rem 1.5rem;
  }
  .verdict-topbar {
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
  }
  .verdict-headline { max-width: 160px; }
  .verdict-stats {
    gap: 1rem;
  }
  .verdict-stat { min-width: 120px; }
  .verdict-title { font-size: 1.3rem; }
  .verdict-scale-labels { font-size: 0.55rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .recommendations-grid { grid-template-columns: 1fr; }
  .timeline-container { flex-direction: column; gap: 1rem; }
  .timeline-line { width: 2px; height: 20px; min-width: unset; }

  .recommendation-card {
    padding: 1.25rem;
  }

  .skill-bar-row {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .section-header h2 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .app-header h1 {
    font-size: 1.5rem;
  }

  .gauge-score-value {
    font-size: 1.9rem;
  }

  .score-gauge svg {
    width: 160px;
    height: 160px;
  }

  .badge {
    font-size: 0.65rem;
  }
}


/* ----------------------------------------------------------
   ROAST THEME — dark, evil, dramatic
   ---------------------------------------------------------- */
body.roast-theme {
  --color-bg: #0a0a0f;
  --color-surface: #111118;
  --color-border: #1e1e2a;
  --color-border-light: #2a2a3a;
  --color-text: #f1f1f5;
  --color-text-muted: #a0a0b0;
  --color-text-dim: #606070;
  --color-primary: #ef4444;
  --color-secondary: #f97316;
  --text-muted: #a0a0b0;
  background-color: #0a0a0f;
  color: #f1f1f5;
}
body.roast-theme .verdict-hero {
  background: #111118;
  border-color: #1e1e2a;
}
body.roast-theme .section-block,
body.roast-theme .detail-card,
body.roast-theme .rec-card,
body.roast-theme .skill-group,
body.roast-theme .path-card,
body.roast-theme .category-card,
body.roast-theme .upload-card,
body.roast-theme .timeline-container,
body.roast-theme .insight-item,
body.roast-theme .drop-zone,
body.roast-theme .linkedin-input {
  background: #111118 !important;
  border-color: #1e1e2a !important;
  color: #f1f1f5;
}
body.roast-theme .category-card:hover {
  border-color: #ef4444 !important;
  box-shadow: 0 8px 32px rgba(239,68,68,0.15);
}
body.roast-theme .rec-card::before {
  background: linear-gradient(90deg, #ef4444, #f97316);
}
body.roast-theme .rec-badge {
  background: linear-gradient(135deg, #ef4444, #f97316);
}
body.roast-theme .skill-group-header {
  border-color: #1e1e2a !important;
}
body.roast-theme .timeline-line {
  background: #1e1e2a !important;
}
body.roast-theme .timeline-label,
body.roast-theme .path-step-year {
  color: #a0a0b0;
}
body.roast-theme .mode-switch {
  background: #1a1a24;
  border-color: #2a2a3a;
}
body.roast-theme .verdict-scale-labels span {
  color: #606070;
}
body.roast-theme .linkedin-input::placeholder {
  color: #606070;
}
body.roast-theme .consent-section {
  background: #111118 !important;
  border-color: #1e1e2a !important;
}
body.roast-theme .consent-header {
  border-color: #1e1e2a;
}
body.roast-theme .consent-item {
  border-color: #1e1e2a;
}
body.roast-theme .consent-text,
body.roast-theme .consent-header strong {
  color: #f1f1f5;
}
body.roast-theme .consent-footer {
  border-color: #1e1e2a;
}
body.roast-theme .consent-footer a {
  color: #a0a0b0;
}
body.roast-theme .path-trajectory {
  background: rgba(255,255,255,0.04) !important;
}
body.roast-theme .insight-item:hover {
  background: rgba(255,255,255,0.05) !important;
}
body.roast-theme .upload-card {
  background: #111118 !important;
  border-color: #1e1e2a !important;
}
body.roast-theme .verdict-name,
body.roast-theme .section-title,
body.roast-theme .detail-card-title,
body.roast-theme .rec-title,
body.roast-theme .category-label,
body.roast-theme .insight-title,
body.roast-theme .skill-group-item-name,
body.roast-theme .path-title {
  color: #f1f1f5;
}
body.roast-theme .verdict-headline,
body.roast-theme .verdict-subtitle,
body.roast-theme .section-subtitle,
body.roast-theme .insight-text,
body.roast-theme .rec-text,
body.roast-theme .category-desc,
body.roast-theme .verdict-explanation {
  color: #a0a0b0;
}
body.roast-theme .verdict-kicker {
  color: #ef4444;
  font-weight: 700;
}
body.roast-theme .verdict-score-explainer {
  color: #606070;
}
body.roast-theme .verdict-score-explainer strong {
  color: #ef4444;
}
body.roast-theme .verdict-badge {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.3);
  color: #ef4444;
}
body.roast-theme .btn-primary {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}
body.roast-theme .btn-secondary {
  color: #ef4444;
  border-color: #ef4444;
}
body.roast-theme .results-footer {
  border-color: #1e1e2a;
}
body.roast-theme .results-footer-note {
  color: #606070;
}
body.roast-theme .verdict-glow {
  background: #ef4444 !important;
  opacity: 0.12;
}
body.roast-theme .orb-1,
body.roast-theme .orb-2,
body.roast-theme .orb-3 {
  background: #ef4444;
  opacity: 0.08;
}
body.roast-theme .category-help {
  color: #606070 !important;
}
body.roast-theme .path-card-act {
  border-color: rgba(78,203,160,0.3);
}
body.roast-theme .path-card-ignore {
  border-color: rgba(239,68,68,0.4);
  background: rgba(239,68,68,0.05);
}
body.roast-theme .pbadge {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.2);
  color: #f87171;
}
body.roast-theme .share-btn {
  border-color: #2a2a3a;
  color: #a0a0b0;
}
body.roast-theme .share-btn:hover {
  background: rgba(239,68,68,0.1);
}

/* ----------------------------------------------------------
   19. PRINT STYLES
   ---------------------------------------------------------- */
@media print {
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
  }

  .bg-grid,
  .scanner-line,
  .scanner-overlay,
  .btn,
  #dropZone {
    display: none !important;
  }

  .app-container {
    max-width: 100%;
    padding: 0;
  }

  .card,
  .category-card,
  .recommendation-card {
    background: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    break-inside: avoid;
    backdrop-filter: none !important;
  }

  .app-header h1 {
    -webkit-text-fill-color: #111;
    color: #111;
    background: none;
  }

  .gauge-score-value {
    color: inherit !important;
  }

  .score-low    { color: #059669 !important; }
  .score-medium { color: #d97706 !important; }
  .score-high   { color: #ea580c !important; }
  .score-critical { color: #dc2626 !important; }

  .section-fade,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .skill-bar-fill {
    width: var(--print-width, 50%) !important;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  @page {
    margin: 1.5cm;
  }
}


/* ----------------------------------------------------------
   SHARE / SOCIAL BUTTONS
   ---------------------------------------------------------- */
.verdict-share-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: 1px solid;
  transition: all 0.2s ease;
}

.share-btn-download {
  background: rgba(78, 203, 160, 0.08);
  border-color: rgba(78, 203, 160, 0.3);
  color: #2BA37A;
}
.share-btn-download:hover {
  background: rgba(78, 203, 160, 0.15);
  box-shadow: 0 0 16px rgba(78, 203, 160, 0.15);
}

.share-btn-linkedin {
  background: rgba(10, 102, 194, 0.08);
  border-color: rgba(10, 102, 194, 0.25);
  color: #0a66c2;
}
.share-btn-linkedin:hover {
  background: rgba(10, 102, 194, 0.15);
}

.share-btn-copy {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text-muted);
}
.share-btn-copy:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.share-btn-badge {
  background: linear-gradient(135deg, rgba(78,203,160,0.12), rgba(78,203,160,0.06));
  border-color: rgba(78,203,160,0.25);
  color: #4ECBA0;
}
.share-btn-badge:hover {
  background: rgba(78,203,160,0.2);
}
body.roast-theme .share-btn-badge {
  background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(239,68,68,0.06));
  border-color: rgba(239,68,68,0.25);
  color: #f87171;
}
body.roast-theme .share-btn-badge:hover {
  background: rgba(239,68,68,0.2);
}
