.model-test-page {
  --mt-line: rgba(var(--text), 0.1);
  --mt-muted: rgba(var(--text), 0.66);
  --mt-soft: rgba(var(--theme), 0.08);
  color: rgba(var(--text), 1);
  overflow: hidden;
}

.model-test-page .container {
  width: min(1160px, 92%);
}

.model-test-page svg {
  transform: none;
}

.mt-hero {
  min-height: 74vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  padding-block: clamp(54px, 8vw, 104px) clamp(34px, 6vw, 72px);
}

.mt-hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 16px;
  font-size: 4.8rem;
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.mt-hero-copy p {
  max-width: 680px;
  color: var(--mt-muted);
  font-size: 1.14rem;
  line-height: 1.78;
}

.mt-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.mt-hero-actions .btn,
.mt-hero-actions .tag-btn {
  min-height: 46px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 7px;
  border: 1px solid var(--mt-line);
  border-radius: 999px;
  background: rgba(var(--div-bg), 1);
  color: rgba(var(--text), 0.76);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 13px 6px;
}

.hero-meta strong,
.hero-meta time {
  color: rgba(var(--theme), 1);
  font-size: inherit;
}

.mt-hero-visual {
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--mt-line);
  background: rgba(var(--div-bg), 1);
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.mt-hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  border-radius: 8px;
  opacity: 1;
  filter: none;
  object-fit: cover;
}

.floating-score {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 6px 13px;
  align-items: center;
  border-radius: 8px;
  border: 1px solid rgba(var(--theme), 0.18);
  background: rgba(var(--div-bg), 0.94);
  padding: 16px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.floating-score i {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), 0.1);
}

.floating-score i svg {
  width: 25px;
  height: 25px;
  margin: 0;
}

.floating-score strong {
  line-height: 1.15;
}

.floating-score span {
  color: var(--mt-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.mt-stat-band,
.category-grid,
.flow-steps {
  display: grid;
  gap: 16px;
}

.mt-stat-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 20px clamp(42px, 6vw, 76px);
}

.mt-stat-band article,
.m-item,
.flow-steps article {
  border: 1px solid var(--mt-line);
  border-radius: 8px;
  background: rgba(var(--div-bg), 1);
}

.mt-stat-band article {
  padding: 22px;
}

.mt-stat-band i,
.flow-steps strong {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(var(--theme), 1);
  background: var(--mt-soft);
  margin-bottom: 18px;
}

.mt-stat-band i svg {
  width: 24px;
  height: 24px;
  margin: 0;
}

.mt-stat-band h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  text-transform: none;
}

.mt-stat-band p,
.section-head p,
.flow-copy p,
.flow-steps p {
  color: var(--mt-muted);
  line-height: 1.7;
}

.mt-categories,
.practice-flow {
  padding-block: clamp(40px, 6vw, 100px);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-head .eyebrow {
  margin-inline: auto;
}

.section-head h2,
.flow-copy h2 {
  margin: 16px 0 10px;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
}

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.m-item {
  min-height: 300px;
  color: rgba(var(--text), 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.m-item:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--theme), 0.34);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.m-item.is-featured {
  border-color: rgba(var(--theme), 0.28);
  background:
    linear-gradient(180deg, rgba(var(--theme), 0.08), transparent 62%),
    rgba(var(--div-bg), 1);
}

.m-tag {
  width: fit-content;
  border-radius: 999px;
  background: rgba(var(--theme), 0.09);
  color: rgba(var(--theme), 1);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 6px 10px 4px;
}

.m-logo {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(var(--theme), 0.1);
  color: rgba(var(--theme), 1);
  margin-top: 20px;
}

.m-logo svg {
  width: 34px;
  height: 34px;
  margin: 0;
}

.m-copy {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.m-name {
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.25;
}

.m-desc {
  color: var(--mt-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.m-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
}

.m-total {
  color: rgba(var(--text), 0.6);
  font-size: 0.86rem;
  font-weight: 800;
}

.m-total strong {
  display: block;
  color: rgba(var(--theme), 1);
  font-size: 2rem;
  line-height: 1;
}

.m-arrow {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), 0.1);
}

.m-arrow svg {
  width: 20px;
  height: 20px;
}

.practice-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.flow-copy {
  max-width: 520px;
}

.flow-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-steps article {
  padding: 22px;
}

.flow-steps strong {
  font-size: 0.92rem;
}

.flow-steps h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

@media (max-width: 1120px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .mt-hero,
  .practice-flow {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mt-hero-copy h1 {
    font-size: 3.35rem;
  }

  .mt-hero-copy p {
    font-size: 1.06rem;
  }

  .mt-stat-band,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .flow-copy h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 720px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .m-item {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .mt-hero {
    padding-top: 34px;
  }

  .mt-hero-copy h1 {
    font-size: 2.35rem;
  }

  .mt-hero-copy p {
    font-size: 1rem;
  }

  .mt-hero-actions,
  .mt-hero-actions .btn,
  .mt-hero-actions .tag-btn {
    width: 100%;
  }

  .hero-meta {
    display: grid;
  }

  .mt-hero-visual {
    padding: 12px;
  }

  .mt-hero-visual img {
    aspect-ratio: 16 / 13;
  }

  .floating-score {
    position: static;
    margin-top: 12px;
  }

  .section-head h2,
  .flow-copy h2 {
    font-size: 1.78rem;
  }
}

/* ==========================================
   Sample Model Test Section Styles
   ========================================== */
.mt-sample-section {
  padding-block: clamp(40px, 6vw, 100px);
}

.sample-box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(var(--theme), 0.07) 0%, rgba(var(--div-bg), 1) 100%);
  border: 1px solid rgba(var(--theme), 0.15);
  padding: clamp(30px, 5vw, 60px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.sample-box::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--theme), 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.sample-content {
  position: relative;
  z-index: 2;
}

.sample-content h2 {
  margin: 16px 0 14px;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
}

.sample-content p {
  color: var(--mt-muted);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 30px;
}

.sample-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hl-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  background: rgba(var(--div-bg), 0.8);
  border: 1px solid rgba(var(--theme), 0.1);
  padding: 8px 16px;
  border-radius: 999px;
  color: rgba(var(--text), 0.85);
}

.hl-item svg {
  width: 18px;
  height: 18px;
  color: rgba(var(--theme), 1);
}

.btn-premium {
  background: linear-gradient(135deg, rgba(var(--theme), 1) 0%, rgba(var(--theme), 0.85) 100%);
  color: #fff !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(var(--theme), 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(var(--theme), 0.35);
}

.sample-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.sample-badge-card {
  background: rgba(var(--div-bg), 1);
  border: 1px solid rgba(var(--theme), 0.15);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.badge-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(var(--theme), 0.1);
  color: rgba(var(--theme), 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  width: 32px;
  height: 32px;
}

.badge-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 4px 0;
}

.badge-text p {
  font-size: 0.88rem;
  color: var(--mt-muted);
  margin: 0;
}

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

/* Responsive adjustments */
@media (max-width: 980px) {
  .sample-box {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .sample-badge-card {
    width: 100%;
    max-width: 380px;
    margin-top: 20px;
  }
}
