/* ============================================
   OPTIMALISAMEN PROCESSCAN – STYLE SYSTEM
   ============================================ */

:root {
  --navy-900: #050d1a;
  --navy-800: #0a1628;
  --navy-700: #0f2040;
  --navy-600: #162a52;
  --navy-500: #1e3664;

  --teal-400: #00d4f0;
  --teal-500: #00b4d8;
  --teal-600: #0090b8;

  --gold-300: #ffd166;
  --gold-400: #f4a261;
  --gold-500: #e76f51;

  --green-400: #06d6a0;
  --green-500: #05a87e;

  --red-400: #ef476f;
  --red-500: #d63057;

  --amber-400: #f4a261;

  --white: #ffffff;
  --gray-100: #f0f4f8;
  --gray-200: #dce3ed;
  --gray-300: #b8c5d6;
  --gray-400: #8a9bb4;
  --gray-600: #4a5e7a;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.18);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(0,180,216,0.3);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--navy-900);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.8; }
.logo-icon { font-size: 1.4rem; }
.logo strong { color: var(--teal-400); }

.btn-nav {
  background: transparent;
  border: 1px solid rgba(0,212,240,0.4);
  color: var(--teal-400);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-nav:hover {
  background: var(--teal-400);
  color: var(--navy-900);
  border-color: var(--teal-400);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: shapeFloat 8s ease-in-out infinite;
}
.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,0.5) 0%, transparent 70%);
  top: -200px; right: -200px;
  animation-delay: 0s;
}
.shape-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244,162,97,0.4) 0%, transparent 70%);
  bottom: -150px; left: -150px;
  animation-delay: 3s;
}
.shape-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,214,160,0.3) 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1.5s;
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,212,240,0.12);
  border: 1px solid rgba(0,212,240,0.3);
  color: var(--teal-400);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease both;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.6s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal-400) 0%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeInDown 0.6s ease 0.2s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  animation: fadeInDown 0.6s ease 0.3s both;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.stat-num { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--white); }
.stat-label { font-size: 0.75rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.12); }

.cta-hero {
  animation: fadeInDown 0.6s ease 0.4s both;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.75rem;
  animation: fadeIn 1s ease 1s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-400), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  color: var(--navy-900);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,180,216,0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,180,216,0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-arrow { transition: transform var(--transition); }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--teal-400);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  border: 1.5px solid rgba(0,212,240,0.4);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-secondary:hover {
  background: rgba(0,212,240,0.08);
  border-color: var(--teal-400);
  transform: translateY(-2px);
}

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
  padding: 6rem 0;
  position: relative;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 3rem;
  line-height: 1.2;
}
.section-title em {
  font-style: normal;
  color: var(--teal-400);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.pain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-400));
  opacity: 0;
  transition: opacity var(--transition);
}
.pain-card:hover {
  border-color: rgba(0,212,240,0.2);
  background: rgba(0,180,216,0.06);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pain-card:hover::before { opacity: 1; }

.pain-icon { font-size: 2rem; margin-bottom: 1rem; }
.pain-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--white); }
.pain-card p { font-size: 0.875rem; color: var(--gray-400); line-height: 1.6; }
.pain-card p em { font-style: normal; color: var(--teal-400); }

/* ============================================
   SCAN SECTION
   ============================================ */
.scan-section {
  padding: 4rem 0 6rem;
  position: relative;
}

.scan-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Progress Bar */
.progress-bar-wrap {
  background: rgba(0,0,0,0.3);
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  position: relative;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  position: relative;
  cursor: default;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.15);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.progress-step span {
  font-size: 0.72rem;
  color: var(--gray-400);
  font-weight: 500;
  transition: color var(--transition);
}

.progress-step.active .step-dot {
  background: var(--teal-500);
  border-color: var(--teal-400);
  box-shadow: 0 0 16px rgba(0,180,216,0.5);
}
.progress-step.active span { color: var(--teal-400); font-weight: 600; }

.progress-step.completed .step-dot {
  background: var(--green-400);
  border-color: var(--green-400);
}
.progress-step.completed .step-dot::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--navy-900);
  font-weight: 700;
}
.progress-step.completed span { color: var(--green-400); }

.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-300));
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  box-shadow: 0 0 10px rgba(0,180,216,0.5);
}

/* Scan Steps */
.scan-step {
  display: none;
  padding: 2.5rem 2.5rem 2rem;
  animation: stepIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.scan-step.active { display: block; }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 0.75rem;
}

.step-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

/* Form elements */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-300);
}

.req { color: var(--teal-400); }

.form-group input,
.form-group select {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder { color: var(--gray-600); }

.form-group input:focus,
.form-group select:focus {
  border-color: var(--teal-500);
  background: rgba(0,180,216,0.08);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
}

.form-group select option {
  background: var(--navy-800);
  color: var(--white);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--red-400);
  box-shadow: 0 0 0 3px rgba(239,71,111,0.15);
}

/* Rating Questions */
.rating-questions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rating-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: border-color var(--transition);
}
.rating-item:hover { border-color: rgba(0,212,240,0.15); }

.rating-label {
  font-size: 0.9rem;
  color: var(--gray-200);
  margin-bottom: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.rating-scale {
  display: flex;
  gap: 0.5rem;
}

.rating-btn {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.25rem;
  cursor: pointer;
  color: var(--gray-300);
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  transition: all var(--transition);
}
.rating-btn span {
  font-size: 1rem;
  font-weight: 700;
  display: block;
}
.rating-btn em {
  font-style: normal;
  font-size: 0.6rem;
  color: var(--gray-400);
  text-align: center;
}

.rating-btn:hover {
  border-color: var(--teal-500);
  background: rgba(0,180,216,0.1);
  color: var(--teal-400);
  transform: translateY(-2px);
}

.rating-btn.selected {
  background: var(--teal-500);
  border-color: var(--teal-400);
  color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(0,180,216,0.4);
  transform: translateY(-2px);
}
.rating-btn.selected span { color: var(--navy-900); }
.rating-btn.selected em { color: rgba(5,13,26,0.7); }

.rating-btn[data-val="1"].selected { background: var(--red-400); border-color: var(--red-400); box-shadow: 0 4px 14px rgba(239,71,111,0.4); }
.rating-btn[data-val="2"].selected { background: var(--amber-400); border-color: var(--amber-400); box-shadow: 0 4px 14px rgba(244,162,97,0.4); }
.rating-btn[data-val="3"].selected { background: var(--gold-300); border-color: var(--gold-300); box-shadow: 0 4px 14px rgba(255,209,102,0.4); }
.rating-btn[data-val="4"].selected { background: #7ed994; border-color: #7ed994; box-shadow: 0 4px 14px rgba(126,217,148,0.4); }
.rating-btn[data-val="5"].selected { background: var(--green-400); border-color: var(--green-400); box-shadow: 0 4px 14px rgba(6,214,160,0.4); }

/* Checkboxes */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.875rem;
  color: var(--gray-300);
}
.check-item:hover {
  border-color: rgba(0,212,240,0.3);
  background: rgba(0,180,216,0.06);
  color: var(--white);
}
.check-item input[type="checkbox"] {
  accent-color: var(--teal-500);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
.check-item:has(input:checked) {
  border-color: var(--teal-400);
  background: rgba(0,180,216,0.1);
  color: var(--teal-400);
}

/* Step Navigation */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.btn-back {
  background: transparent;
  border: none;
  color: var(--gray-400);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem;
  transition: color var(--transition);
}
.btn-back:hover { color: var(--white); }

.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0,180,216,0.35);
}
.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,180,216,0.5);
}

.btn-submit {
  font-size: 1rem;
  padding: 0.875rem 2rem;
}

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(5,13,26,0.3);
  border-top-color: var(--navy-900);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section {
  padding: 4rem 0 6rem;
  animation: fadeIn 0.6s ease both;
}

.results-header {
  text-align: center;
  margin-bottom: 3rem;
}

.results-badge {
  display: inline-block;
  background: rgba(6,214,160,0.12);
  border: 1px solid rgba(6,214,160,0.3);
  color: var(--green-400);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.results-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.results-sub {
  color: var(--gray-400);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
}

/* Score Overview */
.score-overview {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.score-overview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-300), var(--green-400));
}

.score-ring-wrap {
  position: relative;
  flex-shrink: 0;
}

.score-ring {
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.07);
  stroke-width: 10;
}

.ring-fill {
  fill: none;
  stroke: url(#ringGradient);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
}

.score-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.score-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
}

.score-info { flex: 1; }

.score-level {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.score-desc {
  color: var(--gray-300);
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.score-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.score-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.775rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.25);
  color: var(--teal-400);
}

/* Category Bars */
.categories-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
}

.cat-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cat-bars { display: flex; flex-direction: column; gap: 1.1rem; }

.cat-bar-item { display: flex; flex-direction: column; gap: 0.4rem; }

.cat-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-name { font-size: 0.875rem; font-weight: 500; color: var(--gray-200); }
.cat-score { font-size: 0.875rem; font-weight: 700; }

.cat-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  overflow: hidden;
}

.cat-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

/* Findings */
.findings-section { margin-bottom: 2.5rem; }
.findings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.finding-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform var(--transition);
}
.finding-card:hover { transform: translateY(-3px); }

.finding-card.strength { border-color: rgba(6,214,160,0.2); }
.finding-card.opportunity { border-color: rgba(239,71,111,0.2); }
.finding-card.quick-win { border-color: rgba(255,209,102,0.25); }

.finding-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.finding-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.finding-text { font-size: 0.85rem; color: var(--gray-400); line-height: 1.6; }

/* Timeline */
.next-steps-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
}

.next-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.steps-timeline { display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  display: flex;
  gap: 1.25rem;
  position: relative;
  padding-bottom: 1.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:last-child .timeline-line { display: none; }

.timeline-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--navy-900);
}

.timeline-line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: rgba(255,255,255,0.08);
  margin: 4px 0;
}

.timeline-content { flex: 1; padding-top: 0.4rem; }

.timeline-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.3rem;
}
.timeline-step-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--white);
}
.timeline-step-text { font-size: 0.83rem; color: var(--gray-400); line-height: 1.6; }

/* CTA Card */
.results-cta { margin-bottom: 2rem; }

.cta-card {
  background: linear-gradient(135deg, rgba(0,180,216,0.12) 0%, rgba(244,162,97,0.08) 100%);
  border: 1px solid rgba(0,212,240,0.2);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-300));
}

.cta-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.cta-card p { color: var(--gray-300); font-size: 0.95rem; max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.results-restart {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-restart, .btn-print {
  background: transparent;
  border: none;
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.btn-restart:hover, .btn-print:hover { color: var(--white); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--teal-400); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header, .hero, .why-section, .scan-section,
  .results-cta, .results-restart, .site-footer { display: none !important; }
  .results-section { display: block !important; padding: 1rem 0; }
  body { background: white; color: black; }
  .results-title, .cat-name, .score-number { color: #0a1628 !important; }
  .score-desc, .finding-text, .timeline-step-text { color: #333 !important; }
  .score-overview, .categories-section, .findings-section .finding-card,
  .next-steps-section { border: 1px solid #ddd !important; background: #f9f9f9 !important; }
  @page { margin: 1.5cm; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }

  .rating-scale { gap: 0.3rem; }
  .rating-btn { padding: 0.5rem 0.15rem; }
  .rating-btn em { display: none; }

  .scan-step { padding: 1.5rem 1.25rem; }
  .progress-bar-wrap { padding: 1.25rem 1.25rem 0.75rem; }
  .progress-step span { font-size: 0.6rem; }

  .score-overview { flex-direction: column; gap: 1.5rem; text-align: center; }
  .score-tags { justify-content: center; }
  .categories-section, .next-steps-section, .cta-card { padding: 1.5rem; }

  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.3rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
