/* ========================= МАТЕРИАЛ / ТЕСТ БЕТТЕРІ ========================= */
.page-hero {
  padding: clamp(40px, 7vw, 70px) 0 clamp(24px, 4vw, 36px);
  background: linear-gradient(180deg, var(--grad-1) 0%, var(--surface-alt) 100%);
}
.page-hero .eyebrow { opacity: 0; animation: fadeUp var(--dur-slow) var(--ease-out) .05s forwards; }
.page-hero h1 { opacity: 0; animation: fadeUp var(--dur-slow) var(--ease-out) .15s forwards; max-width: 700px; }

.page-body {
  padding-block: clamp(20px, 4vw, 40px) clamp(70px, 8vw, 110px);
}

.material-box {
  border: 2px dashed var(--ink-300);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(30px, 5vw, 54px);
  opacity: 0;
  animation: fadeUp var(--dur-slow) var(--ease-out) .28s forwards;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.material-box:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}
.material-box .placeholder-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-700);
  margin-bottom: 18px;
}
.material-box h3 { margin-bottom: 10px; }
.material-box p { color: #000000; }

/* Тест беттеріне арналған сұрақ карточкасы */
.question-card {
  border: 1px solid var(--surface-line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: clamp(22px, 3.6vw, 30px);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp var(--dur-med) var(--ease-out) forwards;
  transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.question-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.question-card:nth-child(1) { animation-delay: .22s; }
.question-card:nth-child(2) { animation-delay: .32s; }
.question-card:nth-child(3) { animation-delay: .42s; }

.question-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 12px;
}
.question-card h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 14px; color: var(--ink-800); }

.answer-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  border: 1.5px dashed var(--surface-line);
  color: var(--ink-500);
  font-size: 0.92rem;
  margin-bottom: 8px;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.answer-line:hover {
  border-color: var(--teal-500);
  background: var(--surface-alt);
}
.answer-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--ink-300);
  flex-shrink: 0;
}

.page-nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
