/* Tools & Resources Styling */

.resources-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f4f8 100%);
  text-align: center;
}

.resources-hero h1 {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--brand);
}

.resources-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.resources-grid {
  padding: 80px 0;
}

.resources-grid .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.tool-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(46, 167, 184, 0.15);
  transform: translateY(-4px);
}

.tool-icon {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 12px 16px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.tool-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--brand);
}

.tool-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex: 1;
  line-height: 1.7;
}

.tool-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
  background: var(--surface);
  border-radius: 8px;
  padding: 16px;
}

.tool-features li {
  font-size: 13px;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.tool-features li:last-child {
  border-bottom: none;
}

.tool-features li:before { content: "- "; color: var(--accent); font-weight: 700; margin-right: 8px; }

.tool-card .button {
  margin-top: auto;
}

.resources-cta {
  padding: 60px 0;
  background: var(--surface);
  text-align: center;
}

.resources-cta h2 {
  margin-bottom: 12px;
}

.resources-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Assessment Tool Styling */

.assessment-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.assessment-header {
  text-align: center;
  margin-bottom: 40px;
}

.assessment-header h1 {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--brand);
}

.assessment-header p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin: 24px 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--brand) 100%);
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 8px;
}

.assessment-questions {
  display: none;
}

.assessment-questions.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.question-block {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}

.question-block h2 {
  font-size: 18px;
  color: var(--brand);
  margin-bottom: 24px;
  text-align: left;
}

.question-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.question-option {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
}

.question-option:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.question-option input[type="radio"] {
  margin-right: 12px;
  cursor: pointer;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

.question-option label {
  cursor: pointer;
  flex: 1;
  font-size: 14px;
  color: var(--text);
  margin: 0;
}

.question-option input:checked + label,
.question-option:has(input:checked) label {
  color: var(--brand);
  font-weight: 600;
}

.option-description {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.assessment-buttons {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 32px;
}

.button-secondary {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--line);
}

.button-secondary:hover {
  background: var(--line);
  border-color: var(--brand);
}

/* Results Styling */

.results-container {
  display: none;
  animation: fadeIn 0.3s ease;
}

.results-container.active {
  display: block;
}

.results-header {
  background: linear-gradient(135deg, var(--brand) 0%, #1a2850 100%);
  color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 40px;
}

.results-header h2 {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 8px;
}

.results-score {
  font-size: 48px;
  font-weight: 700;
  margin: 16px 0;
}

.results-interpretation {
  font-size: 16px;
  opacity: 0.9;
  margin-top: 12px;
}

.results-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
}

.results-card h3 {
  color: var(--brand);
  margin-bottom: 16px;
  font-size: 18px;
}

.results-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.results-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

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

.results-list li strong {
  color: var(--brand);
  font-weight: 600;
}

.results-metric {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 16px;
  margin: 12px 0;
  border-radius: 6px;
  font-size: 14px;
}

.results-metric strong {
  color: var(--brand);
  display: block;
  margin-bottom: 4px;
}

.results-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
}

.results-cta {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  margin-top: 40px;
}

.results-cta h3 {
  margin-bottom: 12px;
  color: var(--brand);
}

.results-cta p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */

@media (max-width: 900px) {
  .resources-grid .container {
    grid-template-columns: 1fr;
  }

  .assessment-header h1 {
    font-size: 24px;
  }

  .question-block {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .assessment-container {
    padding: 40px 16px;
  }

  .question-block {
    padding: 16px;
  }

  .assessment-header h1 {
    font-size: 20px;
  }

  .results-header {
    padding: 24px 16px;
  }

  .results-score {
    font-size: 36px;
  }

  .button-secondary {
    flex: 1;
    text-align: center;
  }
}




