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

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  scroll-behavior: smooth;
}

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

header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px 0;
  border-bottom: 1px solid #eaeaea;
}

header h1 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.action-button {
  padding: 12px 25px;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 200px;
}

.action-button:hover:not([disabled]) {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.action-button:active:not([disabled]) {
  transform: translateY(0);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.action-button[disabled] {
  background-color: #bdc3c7 !important;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.green-button {
  background-color: #2ecc71;
}

.green-button:hover:not([disabled]) {
  background-color: #27ae60;
}

.blue-button {
  background-color: #3498db;
}

.blue-button:hover:not([disabled]) {
  background-color: #2980b9;
}

.time-info {
  margin-top: 20px;
  padding: 15px;
  background-color: #fff3cd;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #ffeeba;
}

.time-info p {
  margin: 0 !important;
  color: #856404;
}

.time-icon {
  font-size: 24px;
  margin-right: 10px;
}

.timer-container {
  text-align: center;
  margin: 0 0 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timer {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  background-color: #f8f9fa;
  border: 2px solid #eaeaea;
  transition: all 0.3s;
}

.timer.warning {
  color: #e67e22;
  background-color: #fff3cd;
  border-color: #ffeeba;
  animation: pulse 1s infinite;
}

.timer.danger {
  color: white;
  background-color: #e74c3c;
  border-color: #c0392b;
  animation: pulse 0.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.submit-button-container {
  text-align: center;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
}

.submit-button {
  font-size: 18px !important;
  padding: 15px 40px !important;
  width: 100%;
  max-width: 400px;
}

.questions-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 30px;
}

.welcome-message {
  text-align: center;
  padding: 30px;
  border: 1px dashed #ddd;
  border-radius: 8px;
  background-color: #f8f9fa;
}

.welcome-message h2 {
  color: #3498db;
  margin-bottom: 20px;
}

.welcome-message p {
  margin-bottom: 10px;
  color: #555;
}

/* Progress indicator styling */
#loading-progress {
  font-weight: bold;
  color: #3498db;
}

.loading-message {
  text-align: center;
  padding: 30px;
  font-size: 18px;
  color: #555;
  position: relative;
}

.progress-bar-container {
  position: relative;
  margin: 20px auto 0;
  height: 8px;
  width: 80%;
  max-width: 500px;
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0; /* Will be updated via JS */
  background-image: linear-gradient(to right, #3498db, #2ecc71);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.success-message {
  animation: fadeIn 0.5s;
  text-align: center;
  padding: 20px;
  background-color: #d4edda;
  color: #155724;
  border-radius: 5px;
  margin-bottom: 20px;
}

.error-message {
  padding: 20px;
  background-color: #f8d7da;
  color: #721c24;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
}

.retry-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #6c757d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.retry-button:hover {
  background-color: #5a6268;
}

.questions-wrapper {
  margin-top: 20px;
}

.question {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.question p {
  font-size: 17px;
  margin-bottom: 15px;
}

.options {
  list-style-type: none;
  padding-left: 15px;
}

.options li {
  margin-bottom: 10px;
}

.options label {
  display: block;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
  border: 1px solid #eee;
}

.options label:hover {
  background-color: #f5f5f5;
}

input[type="radio"] {
  margin-right: 10px;
}

.result {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  background-color: #f8f9fa;
}

.result-correct {
  color: #2ecc71;
  font-weight: bold;
}

.result-wrong {
  color: #e74c3c;
  font-weight: bold;
}

/* Enhanced Results Display */
#results-container {
  margin-top: 30px;
  padding: 30px;
  background-color: white;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out;
}

#results-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
}

#results-container h2 {
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 28px;
}

#score-display {
  font-size: 36px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 15px;
  display: block;
}

.score-percentage {
  font-size: 24px;
  color: #7f8c8d;
  margin-bottom: 25px;
  display: block;
}

/* Progress Circle */
.score-circle {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 30px;
}

.score-circle svg {
  width: 100%;
  height: 100%;
}

.score-circle-bg {
  fill: none;
  stroke: #f0f0f0;
  stroke-width: 12;
}

.score-circle-progress {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.8s ease-in-out;
}

.score-circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: bold;
  color: #2c3e50;
}

/* Study Feedback Section */
.feedback-section {
  margin-top: 30px;
  padding: 25px;
  background-color: #f8f9fa;
  border-radius: 10px;
  border-left: 5px solid #3498db;
  text-align: left;
}

.feedback-section h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 20px;
}

.areas-to-improve {
  margin-top: 15px;
}

.study-area {
  margin-bottom: 15px;
  padding: 12px 15px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.study-area:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.study-area h4 {
  color: #3498db;
  margin-bottom: 8px;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.study-area h4 svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.study-area p {
  margin-bottom: 10px;
  color: #555;
}

/* Enhanced resources section styling */
.study-area .resources {
  margin-top: 15px;
  padding: 15px;
  background-color: #f5f8fd;
  border-radius: 8px;
  border: 1px dashed #c7d8e8;
  position: relative;
}

/* Add "Further Reading" label to resources section */
.study-area .resources::before {
  content: "Helpful Resources";
  position: absolute;
  top: -10px;
  left: 15px;
  background-color: #3498db;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced resource link styling */
.study-area .resource-link {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 8px;
  padding: 8px 14px;
  background-color: white;
  border-radius: 6px;
  color: #3498db;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid #d0e7f5;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-right: 30px;
}

.study-area .resource-link:hover {
  background-color: #f0f8ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #2980b9;
  border-color: #b4d8ec;
}

/* Add an icon to indicate these are external resources */
.study-area .resource-link::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Result summary cards */
.result-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.summary-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.summary-card h4 {
  color: #7f8c8d;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.summary-card .value {
  font-size: 32px;
  font-weight: bold;
  color: #2c3e50;
}

.summary-card.correct {
  border-top: 4px solid #2ecc71;
}

.summary-card.wrong {
  border-top: 4px solid #e74c3c;
}

.summary-card.time {
  border-top: 4px solid #f39c12;
}

.summary-card.accuracy {
  border-top: 4px solid #3498db;
}

/* Enhanced wrong/correct answer styling */
.question.answered {
  position: relative;
  padding: 20px;
  margin: 25px 0;
  border-radius: 10px;
  border: 1px solid #eee;
  transition: all 0.2s;
}

.question.answered:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.question.answered.correct {
  border-left: 4px solid #2ecc71;
  background-color: rgba(46, 204, 113, 0.05);
}

.question.answered.wrong {
  border-left: 4px solid #e74c3c;
  background-color: rgba(231, 76, 60, 0.05);
}

.question-status {
  position: absolute;
  right: 20px;
  top: 20px;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
}

.correct .question-status {
  background-color: rgba(46, 204, 113, 0.15);
  color: #27ae60;
}

.wrong .question-status {
  background-color: rgba(231, 76, 60, 0.15);
  color: #c0392b;
}

.options label.selected {
  border: 2px solid #3498db;
  background-color: rgba(52, 152, 219, 0.05);
}

.correct .options label.correct-answer {
  border: 2px solid #2ecc71;
  background-color: rgba(46, 204, 113, 0.1);
}

.wrong .options label.correct-answer {
  border: 2px solid #2ecc71;
  background-color: rgba(46, 204, 113, 0.1);
}

.wrong .options label.selected {
  border: 2px solid #e74c3c;
  background-color: rgba(231, 76, 60, 0.1);
}

/* Result action buttons with improved styling */
.result-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.result-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  cursor: pointer;
  gap: 10px;
  min-width: 180px;
}

.btn-retry {
  background-color: #3498db;
  color: white;
  border: none;
}

.btn-retry:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-share {
  background-color: white;
  color: #3498db;
  border: 2px solid #3498db;
}

.btn-share:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-home {
  background-color: #7f8c8d;
  color: white;
  border: none;
}

.btn-home:hover {
  background-color: #6c7a7d;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Share popup styles */
.share-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s;
}

.share-popup-content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.share-popup-content h3 {
  margin-bottom: 15px;
  color: #2c3e50;
  text-align: center;
}

.share-popup-content p {
  margin-bottom: 20px;
  text-align: center;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  min-width: 140px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.share-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.twitter-share {
  background-color: #1da1f2;
}

.facebook-share {
  background-color: #4267b2;
}

.linkedin-share {
  background-color: #0077b5;
}

.copy-link {
  background-color: #6c757d;
}

.close-popup {
  display: block;
  margin: 0 auto;
  padding: 10px 20px;
  background-color: #e0e0e0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.close-popup:hover {
  background-color: #d0d0d0;
}

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

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

footer {
  text-align: center;
  padding: 20px 0;
  color: #7f8c8d;
  font-size: 14px;
  border-top: 1px solid #eaeaea;
}

/* Added styles */

.back-to-home {
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 14px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: #4f46e5;
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover {
  color: #4338ca;
  text-decoration: underline;
}

.footer-link {
  color: #4f46e5;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #4338ca;
  text-decoration: underline;
}

/* Main new styles for the landing page */
.hero-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  position: relative;
  overflow: hidden;
}

.blur-overlay {
  display: none; /* This completely removes the blocking element */
}

.btn-primary {
  background-color: #4f46e5;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  background-color: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-cta {
  background-color: #2ecc71;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.3s;
  animation: pulse 2s infinite;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-cta:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-secondary {
  background-color: white;
  color: #4f46e5;
  border: 1px solid #4f46e5;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-secondary:hover {
  background-color: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s;
  background-color: white;
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: #eef2ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background-color: #dce4ff;
  transform: scale(1.1);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  color: #4f46e5;
}

.benefit-tag {
  display: inline-block;
  background-color: #eef2ff;
  color: #4f46e5;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.testimonial {
  background-color: #f9fafb;
  border-left: 4px solid #4f46e5;
  padding: 1.5rem;
  border-radius: 0 0.375rem 0.375rem 0;
}

.step-card {
  border-radius: 0.5rem;
  padding: 2rem;
}

.step-number {
  background-color: #4f46e5;
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mockup-shadow {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.floating-effect {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.role-pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.25rem;
  background-color: #eef2ff;
  color: #4f46e5;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.role-pill:hover {
  background-color: #4f46e5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.highlight-box {
  border-left: 4px solid #4f46e5;
  padding-left: 1rem;
  margin: 1.5rem 0;
  background-color: #f8fafc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.pm-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #f3f4f6;
  border-radius: 9999px;
  font-weight: 500;
  margin: 0.25rem;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pm-role-badge:hover {
  background-color: #eef2ff;
  border-color: #c7d2fe;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.role-button {
  display: inline-block;
  background-color: white;
  color: #4f46e5;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  margin: 0.5rem;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.role-button:hover,
.role-button.active {
  background-color: #eef2ff;
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Email form styles */
.email-form {
  max-width: 500px;
  margin: 0 auto;
}

.email-input {
  padding: 1rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  width: 100%;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #4b5563;
  background-color: white;
}

.email-input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.role-select {
  padding: 1rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  width: 100%;
  margin-bottom: 1rem;
  background-color: white;
  font-size: 1rem;
  color: #4b5563;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

.role-select:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.role-select option {
  color: #4b5563;
}

.role-select option:first-child {
  color: #9ca3af;
}

.submit-btn {
  width: 100%;
  background-color: #4f46e5;
  color: white;
  font-weight: 600;
  padding: 1rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
}

.submit-btn:hover {
  background-color: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Progress bar styles */
.progress-container {
  width: 100%;
  background-color: #f3f4f6;
  border-radius: 9999px;
  height: 8px;
  margin: 30px auto;
  max-width: 400px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  border-radius: 9999px;
  width: 33%;
  transition: width 0.4s ease;
}

/* Statistic styles */
.stat-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.stat-box {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 300px;
  position: relative;
  overflow: hidden;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6b7280;
  font-weight: 500;
}

.stat-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: #ef4444;
}

/* Tooltip styles */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.75rem;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* FAQ expand/collapse */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  cursor: pointer;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
}

.faq-answer.show {
  max-height: 500px;
  opacity: 1;
  padding: 1rem;
}

/* Navigation highlight on scroll */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #4f46e5;
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only.focus:not-sr-only {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: block;
  width: auto;
  height: auto;
  padding: 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background-color: white;
  border: 2px solid #4f46e5;
  color: #4f46e5;
  font-weight: bold;
  text-decoration: none;
}

/* Time expired message */
.time-expired-message {
  text-align: center;
  margin: 20px 0;
  padding: 20px;
  background-color: #f8d7da;
  color: #721c24;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  animation: fadeIn 0.5s;
}

/* Responsive styles */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .questions-container {
    padding: 15px;
  }

  .button-container {
    flex-direction: column;
    align-items: center;
  }

  .action-button {
    width: 100%;
    max-width: 300px;
  }

  .timer {
    font-size: 24px;
  }

  .share-buttons {
    flex-direction: column;
  }

  .share-button {
    width: 100%;
  }

  .result-actions {
    flex-direction: column;
    align-items: center;
  }

  .result-actions .action-button {
    margin-bottom: 10px;
  }

  .result-actions .result-action-btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .back-to-home {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 15px;
    text-align: center;
  }

  .role-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    margin: 0.15rem;
  }

  .stat-box {
    width: 90%;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .result-summary {
    grid-template-columns: 1fr;
  }

  .summary-card {
    margin-bottom: 15px;
  }

  .study-area .resource-link {
    display: block;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
  }

  .score-circle {
    width: 120px;
    height: 120px;
  }
}

/* Add this to your style.css file */
.answer-explanation {
  margin-top: 10px;
  padding: 10px;
  background-color: #f5f5f5;
  border-left: 3px solid #3498db;
  color: #333;
  font-size: 0.95em;
  line-height: 1.5;
}

.result-wrong {
  margin-bottom: 5px;
}

/* To improve the appearance of the correct answer highlighting */
.wrong .options label.correct-answer {
  border: 2px solid #2ecc71;
  background-color: rgba(46, 204, 113, 0.1);
  position: relative;
}

.wrong .options label.correct-answer::after {
  content: "← Correct Answer";
  position: absolute;
  right: 10px;
  color: #2ecc71;
  font-weight: bold;
  font-size: 0.85em;
}

.notice-box {
  background-color: #eef2ff;
  border-left: 4px solid #4f46e5;
  padding: 15px;
  margin: 15px 0;
  border-radius: 5px;
}

.highlight-link {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: underline;
  transition: all 0.2s;
}

.highlight-link:hover {
  color: #4338ca;
}

.pm-trivia {
  margin-top: 30px;
  padding: 16px 24px;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.08) 0%,
    rgba(46, 204, 113, 0.08) 100%
  );
  border-radius: 12px;
  font-style: italic;
  color: #2c3e50;
  opacity: 1;
  transition: all 0.4s ease;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  border: none;
}

.pm-trivia::before {
  content: "💡";
  position: absolute;
  left: -6px;
  top: -6px;
  font-size: 18px;
  background: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pm-trivia::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(52, 152, 219, 0.3) 20%,
    rgba(46, 204, 113, 0.3) 80%,
    transparent
  );
}

.policy-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  margin-bottom: 1rem;
  color: #333;
}

.policy-container section {
  margin-bottom: 2rem;
}

.policy-container h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: #444;
}

.policy-container ul {
  margin-left: 2rem;
}

.policy-container li {
  margin-bottom: 0.5rem;
}
