:root {
  --st-primary: #6f4ef6;
  --st-primary-2: #8a6bff;
  --st-primary-3: #f3efff;
  --st-text: #161327;
  --st-muted: #6f6a86;
  --st-white: #ffffff;
  --st-border: #e7e1ff;
  --st-bg: #fcfbff;
  --st-success: #16a34a;
  --st-success-2: #dcfce7;
  --st-shadow: 0 10px 30px rgba(111, 78, 246, 0.08);
  --st-shadow-lg: 0 20px 60px rgba(111, 78, 246, 0.16);
  --st-orange: #ff8a3d;
  --st-orange-2: #fff1e8;
}

.tpt-page {
  background: var(--st-bg);
  color: var(--st-text);
  overflow: hidden;
}

.tpt-page .container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.tpt-hidden {
  display: none !important;
}

.tpt-hero {
  position: relative;
  padding: 84px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(138, 107, 255, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(111, 78, 246, 0.12), transparent 30%),
    linear-gradient(135deg, #f7f3ff 0%, #fcfbff 45%, #ffffff 100%);
}

.tpt-hero__content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.tpt-badge {
  display: inline-block;
  background: rgba(111, 78, 246, 0.08);
  color: var(--st-primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  border: 1px solid var(--st-border);
}

.tpt-hero h1 {
  font-size: 48px;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--st-text);
}

.tpt-hero h2 {
  font-size: 22px;
  line-height: 1.9;
  margin: 0 0 16px;
  color: var(--st-primary);
}

.tpt-hero p {
  font-size: 16px;
  line-height: 2.05;
  color: var(--st-muted);
  margin: 0 0 24px;
}

.tpt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.tpt-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tpt-hero-stat {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--st-border);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: var(--st-shadow);
  backdrop-filter: blur(6px);
}

.tpt-hero-stat strong {
  display: block;
  font-size: 24px;
  color: var(--st-primary);
  margin-bottom: 6px;
}

.tpt-hero-stat span {
  display: block;
  color: var(--st-muted);
  font-size: 14px;
}

.tpt-hero__side {
  display: grid;
  gap: 20px;
}

.tpt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 800;
  font-size: 15px;
}

.tpt-btn--primary {
  background: linear-gradient(135deg, var(--st-primary), var(--st-primary-2));
  color: var(--st-white);
  box-shadow: 0 14px 30px rgba(111, 78, 246, 0.2);
}

.tpt-btn--primary:hover {
  transform: translateY(-2px);
  color: var(--st-white);
}

.tpt-btn--ghost {
  background: var(--st-white);
  color: var(--st-text);
  border: 1px solid var(--st-border);
}

.tpt-btn--ghost:hover {
  background: var(--st-primary-3);
  color: var(--st-primary);
}

.tpt-btn--accent {
  background: linear-gradient(135deg, #ff8a3d, #ff6b3d);
  color: var(--st-white);
  box-shadow: 0 16px 35px rgba(255, 138, 61, 0.25);
}

.tpt-btn--accent:hover {
  transform: translateY(-2px);
  color: var(--st-white);
}

.tpt-video-card,
.tpt-card,
.tpt-content-box,
.tpt-hero-note {
  background: var(--st-white);
  border-radius: 24px;
  box-shadow: var(--st-shadow);
  border: 1px solid var(--st-border);
}

.tpt-video-card {
  overflow: hidden;
  box-shadow: var(--st-shadow-lg);
}

.tpt-video-embed {
  position: relative;
  padding-top: 56.25%;
}

.tpt-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tpt-video-caption {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--st-muted);
}

.tpt-hero-note {
  padding: 22px;
}

.tpt-hero-note h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--st-text);
}

.tpt-hero-note p {
  margin: 0;
  color: var(--st-muted);
  line-height: 2;
}

.tpt-intro,
.tpt-test-section,
.tpt-seo-content {
  padding: 54px 0;
}

.tpt-section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.tpt-section-heading h2 {
  font-size: 32px;
  margin: 0 0 10px;
  color: var(--st-text);
}

.tpt-section-heading p {
  max-width: 900px;
  margin: 0 auto;
  color: var(--st-muted);
  line-height: 2;
}

.tpt-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tpt-feature,
.tpt-stat-box {
  background: var(--st-white);
  border: 1px solid var(--st-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--st-shadow);
}

.tpt-feature h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--st-text);
}

.tpt-feature p {
  margin: 0;
  color: var(--st-muted);
  line-height: 1.95;
}

.tpt-card {
  padding: 30px;
}

.tpt-card h3 {
  color: var(--st-text);
  margin-top: 0;
}

.tpt-card p {
  color: var(--st-muted);
  line-height: 2;
}

.tpt-list {
  margin: 16px 0 24px;
  padding-right: 18px;
  color: var(--st-muted);
  line-height: 2;
}

.tpt-progress-wrap {
  margin-bottom: 24px;
}

.tpt-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--st-muted);
}

.tpt-progress-bar {
  width: 100%;
  height: 10px;
  background: #ece8ff;
  border-radius: 999px;
  overflow: hidden;
}

.tpt-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--st-primary), var(--st-primary-2));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.tpt-question-meta {
  margin-bottom: 12px;
}

.tpt-level-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--st-primary-3);
  color: var(--st-primary);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--st-border);
}

.tpt-question-title {
  font-size: 25px;
  line-height: 1.95;
  margin: 0 0 20px;
  color: var(--st-text);
}

.tpt-options {
  display: grid;
  gap: 12px;
}

.tpt-option {
  border: 1px solid var(--st-border);
  border-radius: 16px;
  padding: 15px 16px;
  cursor: pointer;
  transition: 0.2s ease;
  background: var(--st-white);
  color: var(--st-text);
  text-align: right;
  font-size: 15px;
  line-height: 1.9;
  min-height: 62px;
  display: flex;
  align-items: center;
}

.tpt-option:hover {
  border-color: var(--st-primary);
  background: var(--st-primary-3);
}

.tpt-option.selected {
  border-color: var(--st-primary);
  background: var(--st-primary-3);
  box-shadow: 0 0 0 3px rgba(111, 78, 246, 0.08);
}

.tpt-skip-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fffaf5;
  border: 1px solid #ffe1ca;
  color: #9a5a21;
  font-size: 14px;
  line-height: 1.9;
}

.tpt-quiz-actions {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tpt-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.tpt-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tpt-form-group {
  margin-bottom: 16px;
}

.tpt-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--st-text);
}

.tpt-form-group input {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--st-border);
  padding: 0 14px;
  font-size: 15px;
  background: var(--st-white);
  color: var(--st-text);
  outline: none;
}

.tpt-form-group input:focus {
  border-color: var(--st-primary);
  box-shadow: 0 0 0 3px rgba(111, 78, 246, 0.08);
}

.tpt-result-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 22px;
}

.tpt-result-card {
  box-shadow: var(--st-shadow-lg);
}

.tpt-result-level {
  font-size: 36px;
  font-weight: 900;
  color: var(--st-primary);
  margin: 14px 0;
}

.tpt-result-text {
  color: var(--st-muted);
  line-height: 2;
}

.tpt-result-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.tpt-stat-box span {
  display: block;
  color: var(--st-muted);
  margin-bottom: 8px;
}

.tpt-stat-box strong {
  font-size: 26px;
  color: var(--st-text);
}

.tpt-cta-card {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.25), transparent 30%),
    linear-gradient(135deg, #ff8a3d 0%, #ff6b3d 100%);
  color: #fff;
  border: none;
  box-shadow: 0 22px 50px rgba(255, 107, 61, 0.25);
}

.tpt-cta-card h3 {
  color: #fff;
  font-size: 28px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.tpt-cta-card p {
  color: rgba(255,255,255,0.92);
  line-height: 2;
}

.tpt-cta-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.22);
}

.tpt-cta-list {
  margin: 18px 0 24px;
  padding-right: 18px;
  line-height: 2;
  color: rgba(255,255,255,0.96);
}

.tpt-content-box {
  padding: 28px;
}

.tpt-content-box p {
  color: var(--st-muted);
  line-height: 2.1;
}

.tpt-content-box h2 {
  font-size: 24px;
  margin: 28px 0 12px;
  color: var(--st-text);
}

@media (max-width: 992px) {
  .tpt-hero__content,
  .tpt-features,
  .tpt-result-grid {
    grid-template-columns: 1fr;
  }

  .tpt-hero__stats {
    grid-template-columns: 1fr;
  }

  .tpt-hero h1 {
    font-size: 36px;
  }

  .tpt-hero h2 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .tpt-form-grid {
    grid-template-columns: 1fr;
  }

  .tpt-card {
    padding: 20px;
  }

  .tpt-question-title {
    font-size: 20px;
  }

  .tpt-section-heading h2 {
    font-size: 24px;
  }

  .tpt-hero {
    padding: 52px 0 28px;
  }

  .tpt-quiz-actions {
    flex-direction: column;
  }

  .tpt-quiz-actions .tpt-btn {
    width: 100%;
  }
}
.tpt-section-scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.tpt-section-score {
  background: #faf8ff;
  border: 1px solid var(--st-border);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
}

.tpt-section-score span {
  display: block;
  color: var(--st-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.tpt-section-score strong {
  display: block;
  color: var(--st-text);
  font-size: 24px;
  margin-bottom: 8px;
}

.tpt-section-score em {
  display: inline-block;
  font-style: normal;
  color: var(--st-primary);
  background: var(--st-primary-3);
  border: 1px solid var(--st-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
}

.tpt-cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.24), transparent 18%),
    radial-gradient(circle at 90% 10%, rgba(138,107,255,0.35), transparent 24%),
    linear-gradient(135deg, #37207d 0%, #4b2ca8 45%, #7d5cff 100%);
  color: #fff;
  box-shadow: 0 28px 60px rgba(91, 61, 214, 0.28);
  padding: 26px;
}

.tpt-cta-chip {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 13px;
  font-weight: 800;
  z-index: 2;
}

.tpt-cta-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
}

.tpt-cta-content h3 {
  color: #fff;
  font-size: 34px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.tpt-cta-content p {
  color: rgba(255,255,255,0.92);
  line-height: 2;
}

.tpt-cta-mini-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.tpt-cta-list {
  margin: 18px 0 0;
  padding-right: 18px;
  line-height: 2;
  color: rgba(255,255,255,0.95);
}

.tpt-cta-offer {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 26px;
  padding: 22px;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.tpt-cta-offer-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f9e7b5;
  color: #5a4100;
  font-size: 13px;
  font-weight: 900;
}

.tpt-cta-price-old {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  margin-bottom: 8px;
  text-decoration: line-through;
}

.tpt-cta-price {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.tpt-cta-price span {
  font-size: 20px;
  font-weight: 700;
}

.tpt-btn--cta-white {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  background: #fff;
  color: #5b3dd6;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.tpt-btn--cta-white:hover {
  background: #f5f2ff;
  color: #4b2ca8;
  transform: translateY(-2px);
}

.tpt-cta-note {
  margin-top: 14px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  line-height: 1.8;
}

.tpt-faq {
  padding: 20px 0 60px;
}

.tpt-faq-list {
  display: grid;
  gap: 14px;
}

.tpt-faq-item {
  background: #fff;
  border: 1px solid var(--st-border);
  border-radius: 20px;
  padding: 0;
  box-shadow: var(--st-shadow);
  overflow: hidden;
}

.tpt-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
  color: var(--st-text);
  position: relative;
}

.tpt-faq-item summary::-webkit-details-marker {
  display: none;
}

.tpt-faq-item summary::after {
  content: "+";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--st-primary);
  font-size: 24px;
  font-weight: 900;
}

.tpt-faq-item[open] summary::after {
  content: "−";
}

.tpt-faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--st-muted);
  line-height: 2;
}

@media (max-width: 992px) {
  .tpt-section-scores,
  .tpt-cta-layout {
    grid-template-columns: 1fr;
  }

  .tpt-cta-content h3 {
    font-size: 28px;
  }
}
