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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.simulator-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: #d2ac48;
  border-radius: 16px;
  color: white;
  box-shadow: 0 10px 30px rgba(210, 172, 72, 0.3);
}

.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: 700;
}

.header p {
  font-size: 1.2em;
  opacity: 0.9;
}

.progress-container {
  background: rgba(243, 0, 0, 0.75);
  border-radius: 20px;
  padding: 4px;
  margin-top: 20px;
}

.progress-bar {
  height: 12px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  gap: 2px;
}

.progress-segment {
  flex: 1;
  background: rgba(255, 143, 143);
  transition: background 0.3s ease;
}

.progress-segment.completed {
  background: rgba(243, 0, 0, 0.75);
}

.progress-segment.active {
  background: rgb(255, 97, 97);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.scenario-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: none;
  animation: fadeIn 0.5s ease;
}

.scenario-card.active {
  display: block;
}

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

.crisis-alert {
  background: #fdf1cc;
  border-left: 4px solid #ffc107;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-weight: 500;
}

.crisis-alert .icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2em;
}

.scenario-title {
  color: #df0000;
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: 600;
}

.scenario-description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.8;
}

.context-box {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
}

.context-box h4 {
  color: #df0000;
  margin-bottom: 10px;
}

.stakeholder-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.stakeholder-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: white;
  border-radius: 6px;
  font-size: 0.95em;
}

.decision-timer {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #666;
}

.timer-display {
  font-size: 2em;
  font-weight: bold;
  color: #df0000;
  margin: 10px 0;
}

.decision-options {
  margin-top: 30px;
}

.option-button {
  display: block;
  width: 100%;
  padding: 18px 25px;
  margin-bottom: 15px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.05em;
  position: relative;
}

.option-button:hover {
  border-color: #df0000;
  background: #fff8f8;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(243, 0, 0, 0.2);
}

.option-button.selected {
  border-color: #df0000;
  background: #fef2f2;
}

.option-button strong {
  color: #df0000;
  display: block;
  margin-bottom: 5px;
}

.option-button span {
  color: #666;
  font-size: 0.95em;
  display: block;
  margin-bottom: 10px;
}

.option-consequences {
  font-size: 0.85em;
  color: #999;
  font-style: italic;
}

.decision-confirm {
  margin-top: 20px;
  text-align: center;
}

.confirm-button {
  background: #df0000;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
  pointer-events: none;
}

.confirm-button.active {
  opacity: 1;
  pointer-events: auto;
}

.confirm-button.active:hover {
  background: #d40000;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(243, 0, 0, 0.3);
}

.scenario-feedback {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  display: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scenario-feedback.show {
  display: block;
  animation: slideUp 0.5s ease;
}

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

.feedback-score {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

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

.score-label {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 5px;
}

.score-value {
  font-size: 2em;
  font-weight: bold;
}

.score-high {
  color: #28a745;
}
.score-medium {
  color: #ffc107;
}
.score-low {
  color: #dc3545;
}

.feedback-text {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.continue-button {
  background: #28a745;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.continue-button:hover {
  background: #218838;
  transform: translateY(-2px);
}

.results-panel {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: none;
}

.results-panel.show {
  display: block;
  animation: slideUp 0.5s ease;
}

.readiness-meter {
  text-align: center;
  margin-bottom: 30px;
}

.meter-container {
  width: 250px;
  height: 250px;
  margin: 0 auto 20px;
  position: relative;
}

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

.meter-background {
  fill: none;
  stroke: #e9ecef;
  stroke-width: 20;
}

.meter-progress {
  fill: none;
  stroke-width: 20;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.meter-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.readiness-score {
  font-size: 3em;
  font-weight: bold;
  color: #df0000;
}

.readiness-label {
  font-size: 1.2em;
  color: #666;
}

.dimension-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.dimension-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.dimension-card:hover {
  border-color: #df0000;
  transform: translateY(-3px);
}

.dimension-icon {
  font-size: 2em;
  margin-bottom: 10px;
}

.dimension-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.dimension-score {
  font-size: 1.5em;
  font-weight: bold;
  color: #df0000;
}

.recommendations-section {
  background: #fef2f2;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
}

.recommendations-section h3 {
  color: #df0000;
  margin-bottom: 15px;
}

.recommendation-list {
  list-style: none;
  padding: 0;
}

.recommendation-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(243, 0, 0, 0.2);
  padding-left: 25px;
  position: relative;
}

.recommendation-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #df0000;
  font-weight: bold;
}

.recommendation-list li:last-child {
  border-bottom: none;
}

.start-screen {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.start-screen h2 {
  color: #df0000;
  margin-bottom: 20px;
  font-size: 2em;
}

.start-screen p {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.scenario-count {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
}

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

.count-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #df0000;
}

.count-label {
  color: #666;
  font-size: 0.95em;
}

.email-capture {
  max-width: 400px;
  margin: 0 auto 30px;
}

.email-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1.05em;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

.email-input:focus {
  outline: none;
  border-color: #df0000;
}

.action-button {
  background: #df0000;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.action-button:hover {
  background: #d40000;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(243, 0, 0, 0.3);
}

.report-summary {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: none;
}

.report-summary.show {
  display: block;
}

.maturity-matrix {
  margin-top: 25px;
}

.maturity-level {
  display: flex;
  align-items: center;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.maturity-level.current {
  background: #fef2f2;
  border: 2px solid #df0000;
}

.level-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
}

.level-1 {
  background: #dc3545;
  color: white;
}
.level-2 {
  background: #fd7e14;
  color: white;
}
.level-3 {
  background: #ffc107;
  color: #333;
}
.level-4 {
  background: #28a745;
  color: white;
}
.level-5 {
  background: #df0000;
  color: white;
}

.level-content {
  flex: 1;
}

.level-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.level-description {
  font-size: 0.9em;
  color: #666;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2em;
  }

  .stakeholder-list {
    grid-template-columns: 1fr;
  }

  .dimension-scores {
    grid-template-columns: 1fr;
  }

  .simulator-container {
    padding: 10px;
  }
}

/* Highlighted text selection color */
::selection {
  background: red;
  color: white;
}
::-moz-selection {
  background: red;
  color: white;
}
