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

body {
  /* Amazing Duolingo-style animated background */
  background: 
    radial-gradient(circle at 20% 50%, rgba(88, 204, 2, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(70, 163, 2, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(139, 195, 74, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #58cc02 0%, #46a302 50%, #3d8f02 100%);
  background-size: 200% 200%;
  animation: gradient-shift 15s ease infinite;
  font-family: 'Nunito', 'Segoe UI', 'Roboto', Arial, sans-serif;
  color: white;
  overflow-x: hidden;
  padding-bottom: 120px;
  min-height: 100vh;
  position: relative;
}

/* Floating particles effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  background-position: 0 0, 40px 60px;
  animation: float-particles 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

/* HEADER */
.header {
  text-align: center;
  padding: 50px 20px 40px;
  position: relative;
  z-index: 1;
}

.header h3 {
  letter-spacing: 3px;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  font-size: 13px;
  text-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 255, 255, 0.2);
  opacity: 0.95;
  animation: fadeInDown 0.8s ease-out;
}

.header h1 {
  font-size: 42px;
  font-weight: 900;
  margin-top: 15px;
  color: white;
  text-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 255, 255, 0.3);
  animation: fadeInUp 1s ease-out;
  letter-spacing: -0.5px;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 0.95; transform: translateY(0); }
}

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

/* MAIN WRAPPER */
.path-wrapper {
  width: 100%;
  max-width: 700px;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* ZIGZAG CONTAINER */
.zigzag {
  display: flex;
  flex-direction: column;
  gap: 70px;
  padding: 30px 0;
}

/* NODE POSITIONS */
.node {
  width: 100%;
  position: relative;
  animation: fadeIn 0.6s ease-out backwards;
}

.node:nth-child(1) { animation-delay: 0.1s; }
.node:nth-child(3) { animation-delay: 0.2s; }
.node:nth-child(5) { animation-delay: 0.3s; }
.node:nth-child(7) { animation-delay: 0.4s; }
.node:nth-child(9) { animation-delay: 0.5s; }
.node:nth-child(11) { animation-delay: 0.6s; }
.node:nth-child(13) { animation-delay: 0.7s; }
.node:nth-child(15) { animation-delay: 0.8s; }
.node:nth-child(17) { animation-delay: 0.9s; }
.node:nth-child(19) { animation-delay: 1s; }

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.node.left {
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.node.right {
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* GLOWING CIRCLES - ALL GLOW */
.circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #58cc02, #46a302);
  box-shadow:
    0 10px 40px rgba(88, 204, 2, 0.7),
    0 0 60px rgba(88, 204, 2, 0.5),
    0 0 0 12px rgba(255, 255, 255, 0.2),
    inset 0 -5px 20px rgba(0, 0, 0, 0.2),
    inset 0 5px 20px rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Shimmer effect */
.circle::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Glowing ring animation for all circles */
.circle::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -18px;
  right: -18px;
  bottom: -18px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.4);
  animation: pulse-ring 3s ease-out infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% { 
    transform: scale(0.9); 
    opacity: 1; 
  }
  100% { 
    transform: scale(1.3); 
    opacity: 0; 
  }
}

.circle img {
  width: 65%;
  height: auto;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 1;
}

.circle:hover {
  transform: scale(1.2) rotate(8deg);
  border-width: 8px;
  box-shadow:
    0 15px 50px rgba(88, 204, 2, 0.9),
    0 0 80px rgba(88, 204, 2, 0.7),
    0 0 0 18px rgba(255, 255, 255, 0.4),
    inset 0 -5px 20px rgba(0, 0, 0, 0.2),
    inset 0 5px 20px rgba(255, 255, 255, 0.4);
}

/* CURRENT STEP - EXTRA GLOW */
.circle.current {
  background: linear-gradient(135deg, #58cc02, #46a302);
  border-width: 7px;
  box-shadow:
    0 12px 45px rgba(88, 204, 2, 0.9),
    0 0 70px rgba(88, 204, 2, 0.7),
    0 0 0 15px rgba(255, 255, 255, 0.5),
    inset 0 -5px 20px rgba(0, 0, 0, 0.2),
    inset 0 5px 20px rgba(255, 255, 255, 0.4);
  animation: pulse-current 2.5s infinite ease-in-out;
}

@keyframes pulse-current {
  0%, 100% { 
    transform: scale(1);
    box-shadow:
      0 12px 45px rgba(88, 204, 2, 0.9),
      0 0 70px rgba(88, 204, 2, 0.7),
      0 0 0 15px rgba(255, 255, 255, 0.5),
      inset 0 -5px 20px rgba(0, 0, 0, 0.2),
      inset 0 5px 20px rgba(255, 255, 255, 0.4);
  }
  50% { 
    transform: scale(1.15);
    box-shadow:
      0 18px 60px rgba(88, 204, 2, 1),
      0 0 100px rgba(88, 204, 2, 0.9),
      0 0 0 22px rgba(255, 255, 255, 0.6),
      inset 0 -5px 20px rgba(0, 0, 0, 0.2),
      inset 0 5px 20px rgba(255, 255, 255, 0.5);
  }
}

/* BEAUTIFUL MODERN LABELS */
.label {
  margin-top: 18px;
  padding: 16px 26px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 4px solid transparent;
  border-radius: 20px;
  max-width: 300px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  color: #2c3e50;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
  background-image: 
    linear-gradient(135deg, rgba(88, 204, 2, 0.05) 0%, transparent 100%);
}

/* Decorative corner accent */
.label::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(88, 204, 2, 0.1) 0%, transparent 100%);
  border-radius: 0 20px 0 100%;
}

/* Bottom shine effect */
.label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(88, 204, 2, 0.4) 50%, 
    transparent 100%);
}

.label:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #58cc02;
  box-shadow: 
    0 10px 30px rgba(88, 204, 2, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

/* Current step label - PREMIUM LOOK */
.current + .label {
  border: 5px solid #58cc02;
  background: linear-gradient(135deg, 
    #ffffff 0%, 
    #f0fff4 50%, 
    #e8f5e9 100%);
  box-shadow: 
    0 8px 30px rgba(88, 204, 2, 0.5),
    0 0 40px rgba(88, 204, 2, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 0 rgba(88, 204, 2, 0.1);
  animation: label-pulse 2.5s infinite ease-in-out;
  font-size: 17px;
  color: #1b5e20;
}

.current + .label::before {
  background: linear-gradient(135deg, rgba(88, 204, 2, 0.2) 0%, transparent 100%);
  width: 60px;
  height: 60px;
}

@keyframes label-pulse {
  0%, 100% { 
    box-shadow: 
      0 8px 30px rgba(88, 204, 2, 0.5),
      0 0 40px rgba(88, 204, 2, 0.3),
      0 2px 8px rgba(0, 0, 0, 0.1);
  }
  50% { 
    box-shadow: 
      0 12px 40px rgba(88, 204, 2, 0.7),
      0 0 60px rgba(88, 204, 2, 0.5),
      0 2px 8px rgba(0, 0, 0, 0.1);
  }
}

/* ARROWS - MODERN GRADIENT */
.arrow-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.arrow {
  width: 10px;
  height: 70px;
  background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 0.8) 0%, 
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.8) 100%);
  border-radius: 5px;
  box-shadow: 
    0 3px 10px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
}

/* Arrow glow effect */
.arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  filter: blur(8px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header h1 {
    font-size: 34px;
  }

  .circle {
    width: 105px;
    height: 105px;
  }

  .label {
    font-size: 15px;
    padding: 14px 20px;
    max-width: 260px;
  }
  
  .current + .label {
    font-size: 16px;
  }
}

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

  .circle {
    width: 95px;
    height: 95px;
  }

  .node.left {
    padding-left: 25px;
  }

  .node.right {
    padding-right: 25px;
  }

  .label {
    font-size: 14px;
    padding: 12px 18px;
    max-width: 220px;
  }
  
  .current + .label {
    font-size: 15px;
  }

  .arrow {
    height: 55px;
  }
}

/* ============================================
   MODAL & ESSAY STYLES
   ============================================ */

/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease-out;
}

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

/* Modal Content Container */
.modal-content {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
  margin: 2% auto;
  padding: 0;
  width: 90%;
  max-width: 1100px;
  max-height: 92vh;
  border-radius: 24px;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.4),
    0 10px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: slideDown 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
}

@keyframes slideDown {
  from { 
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 42px;
  font-weight: 300;
  color: #555;
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.close-btn:hover {
  background: #ff4444;
  color: white;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 
    0 6px 20px rgba(255, 68, 68, 0.4),
    0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Scrollable Content Area */
.modal-scroll {
  max-height: 88vh;
  overflow-y: auto;
  padding: 60px 80px 80px;
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
.modal-scroll::-webkit-scrollbar {
  width: 12px;
}

.modal-scroll::-webkit-scrollbar-track {
  background: #f1f3f5;
  border-radius: 0 24px 24px 0;
}

.modal-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #58cc02, #46a302);
  border-radius: 6px;
  border: 2px solid #f1f3f5;
}

.modal-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #46a302, #3d8f02);
}

/* ============================================
   ESSAY HEADER
   ============================================ */

.essay-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 3px solid #e9ecef;
}

.emoji-badge {
  font-size: 72px;
  margin-bottom: 20px;
  animation: bounce 2s infinite;
  display: inline-block;
}

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

.essay-title {
  font-size: 42px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #58cc02, #46a302);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.essay-subtitle {
  font-size: 20px;
  color: #666;
  font-weight: 600;
  font-style: italic;
}

/* ============================================
   ESSAY SECTIONS
   ============================================ */

.essay-section {
  margin-bottom: 60px;
}

.section-divider {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    #58cc02 20%, 
    #46a302 50%,
    #58cc02 80%,
    transparent 100%);
  margin: 60px 0;
  border-radius: 2px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  line-height: 1.3;
}

.section-number {
  font-size: 36px;
  flex-shrink: 0;
}

.subsection-title {
  font-size: 24px;
  font-weight: 700;
  color: #34495e;
  margin-top: 35px;
  margin-bottom: 18px;
  padding-left: 15px;
  border-left: 5px solid #58cc02;
}

/* ============================================
   TEXT STYLES
   ============================================ */

.essay-section p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.lead-text {
  font-size: 22px !important;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.6 !important;
  margin-bottom: 25px !important;
}

.highlight-text {
  font-weight: 600;
  color: #1b5e20;
  background: linear-gradient(120deg, rgba(88, 204, 2, 0.1) 0%, rgba(88, 204, 2, 0.05) 100%);
  padding: 3px 8px;
  border-radius: 4px;
}

.small-text {
  font-size: 16px;
  color: #666;
  font-style: italic;
}

strong {
  font-weight: 700;
  color: #1a1a1a;
}

em {
  color: #46a302;
  font-style: italic;
}

code {
  background: #f8f9fa;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  color: #d63384;
  border: 1px solid #e9ecef;
}

/* ============================================
   LISTS
   ============================================ */

.essay-section ul,
.essay-section ol {
  margin: 20px 0 20px 25px;
  padding-left: 0;
}

.essay-section li {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 12px;
  padding-left: 10px;
}

.essay-section ul li {
  list-style: none;
  position: relative;
  padding-left: 30px;
}

.essay-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #58cc02;
  font-weight: 800;
  font-size: 20px;
}

.checklist li::before {
  content: '✓';
  background: #58cc02;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.checklist-large li {
  font-size: 20px !important;
  margin-bottom: 18px !important;
  font-weight: 600;
}

.checklist-large li::before {
  width: 26px !important;
  height: 26px !important;
  font-size: 16px !important;
}

.field-list li::before {
  content: '🎓';
  font-size: 18px;
}

.question-list li::before {
  content: '❓';
  font-size: 18px;
}

.step-list {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.step-list li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 50px;
  margin-bottom: 25px;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #58cc02, #46a302);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(88, 204, 2, 0.3);
}

.filter-list {
  counter-reset: filter-counter;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.filter-list > li {
  counter-increment: filter-counter;
  background: #f8f9fa;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 12px;
  border-left: 5px solid #58cc02;
  position: relative;
  padding-left: 70px;
}

.filter-list > li::before {
  content: counter(filter-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background: linear-gradient(135deg, #58cc02, #46a302);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(88, 204, 2, 0.3);
}

.filter-list > li strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.filter-list ul {
  margin-top: 15px;
  margin-left: 0;
}

.filter-list ul li {
  padding-left: 25px;
  font-size: 17px;
}

.filter-list ul li::before {
  content: '→';
  left: 0;
  color: #46a302;
}

/* ============================================
   SPECIAL BOXES
   ============================================ */

.info-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid #0ea5e9;
  border-radius: 16px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.15);
}

.info-card h4 {
  font-size: 20px;
  font-weight: 800;
  color: #075985;
  margin-bottom: 12px;
}

.info-card p,
.info-card li {
  font-size: 17px;
  color: #0c4a6e;
}

.info-card ul {
  margin-top: 12px;
}

.tip-box {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 2px solid #f97316;
  border-radius: 16px;
  padding: 20px 25px;
  margin: 25px 0;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.15);
}

.tip-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.tip-box p {
  margin: 0;
  color: #7c2d12;
  font-size: 17px;
  line-height: 1.6;
}

.warning-box {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  border-radius: 16px;
  padding: 20px 25px;
  margin: 25px 0;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.15);
}

.warning-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.warning-box p {
  margin: 0;
  color: #78350f;
  font-size: 17px;
  line-height: 1.6;
}

.highlight-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 3px solid #58cc02;
  border-radius: 16px;
  padding: 25px;
  margin: 25px 0;
  box-shadow: 0 8px 24px rgba(88, 204, 2, 0.2);
  font-size: 19px !important;
  font-weight: 600 !important;
  color: #14532d !important;
  line-height: 1.7 !important;
}

.outcome-box {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  border: 3px solid #8b5cf6;
  border-radius: 16px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.outcome-box h4 {
  font-size: 22px;
  font-weight: 800;
  color: #5b21b6;
  margin-bottom: 15px;
}

.outcome-box p,
.outcome-box li {
  font-size: 17px;
  color: #4c1d95;
}

.example-box {
  background: #f8f9fa;
  border-left: 5px solid #6c757d;
  border-radius: 8px;
  padding: 25px;
  margin: 25px 0;
}

.example-box blockquote {
  margin: 10px 0;
  font-style: italic;
  color: #495057;
}

.template-box {
  background: #fff;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 30px;
  margin: 25px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.template-box ol {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.template-box li {
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.template-box blockquote {
  margin: 10px 0 0 0;
  padding: 12px 18px;
  background: white;
  border-left: 4px solid #58cc02;
  border-radius: 6px;
  font-style: italic;
  color: #495057;
}

.code-box {
  background: #2d3748;
  color: #e2e8f0;
  padding: 15px 20px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  margin: 15px 0;
  border: 1px solid #4a5568;
  overflow-x: auto;
}

blockquote {
  margin: 20px 0;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-left: 5px solid #58cc02;
  border-radius: 8px;
  font-size: 18px;
  font-style: italic;
  color: #14532d;
  box-shadow: 0 4px 12px rgba(88, 204, 2, 0.1);
}

/* ============================================
   LINKS & BUTTONS
   ============================================ */

a {
  color: #58cc02;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

a:hover {
  color: #46a302;
  border-bottom-color: #46a302;
}

.link-button {
  display: inline-block;
  background: linear-gradient(135deg, #58cc02, #46a302);
  color: white !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 12px rgba(88, 204, 2, 0.3);
  transition: all 0.3s ease;
  margin: 10px 0;
}

.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 204, 2, 0.4);
  background: linear-gradient(135deg, #46a302, #3d8f02);
}

/* ============================================
   RESOURCES SECTION
   ============================================ */

.resources-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px;
  border-radius: 20px;
  margin-top: 50px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.resource-card {
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.resource-card:hover {
  transform: translateY(-8px);
  border-color: #58cc02;
  box-shadow: 0 8px 24px rgba(88, 204, 2, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.resource-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.resource-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 10px;
}

.resource-card p {
  font-size: 15px;
  color: #6c757d;
  margin: 0;
}

/* ============================================
   NEXT STEPS SECTION
   ============================================ */

.next-steps-section {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 0;
}

.next-step-card {
  background: white;
  border-left: 5px solid #f97316;
  border-radius: 12px;
  padding: 20px 25px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
  transition: all 0.3s ease;
}

.next-step-card:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.25);
}

.step-badge {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.next-step-card p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}

.final-message {
  margin-top: 30px;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-align: center;
  color: #7c2d12;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ============================================
   INTRO SECTION SPECIAL STYLING
   ============================================ */

.intro-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 35px;
  border-radius: 20px;
  border: 3px solid #58cc02;
  box-shadow: 0 8px 24px rgba(88, 204, 2, 0.2);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 5% auto;
    max-height: 90vh;
    border-radius: 16px;
  }
  
  .modal-scroll {
    padding: 40px 30px 50px;
    max-height: 85vh;
  }
  
  .close-btn {
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    font-size: 36px;
  }
  
  .essay-title {
    font-size: 28px;
  }
  
  .essay-subtitle {
    font-size: 17px;
  }
  
  .emoji-badge {
    font-size: 56px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .section-number {
    font-size: 28px;
  }
  
  .subsection-title {
    font-size: 20px;
  }
  
  .essay-section p,
  .essay-section li {
    font-size: 16px;
  }
  
  .lead-text {
    font-size: 19px !important;
  }
  
  .resource-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-list > li {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .filter-list > li::before {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 15px;
  }
  
  .step-list li {
    padding-left: 45px;
  }
}

@media (max-width: 480px) {
  .modal-scroll {
    padding: 30px 20px 40px;
  }
  
  .essay-title {
    font-size: 24px;
  }
  
  .essay-subtitle {
    font-size: 15px;
  }
  
  .section-title {
    font-size: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .info-card,
  .tip-box,
  .warning-box,
  .highlight-box,
  .outcome-box {
    padding: 18px;
  }
  
  .next-step-card {
    flex-direction: column;
    align-items: flex-start;
  }
}