/* ============================================================
 *   Score Converter Page — /score-converter
 *   雅思 PTE 分数对照独立页面样式
 * ============================================================ */

/* Hero header — same style as PY page for consistency */
.score-conv-page .topic-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--aussie-blue) 100%);
  border-radius: 20px;
  padding: 48px 48px 44px;
  color: #fff;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.score-conv-page .topic-header::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.score-conv-page .topic-header::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: 60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.score-conv-page .topic-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(212,175,55,0.2);
  color: var(--gold-light);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}
.score-conv-page .topic-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.score-conv-page .topic-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  position: relative;
  z-index: 1;
}
.score-conv-page .back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 16px;
  font-family: inherit;
  position: relative;
  z-index: 1;
}
.score-conv-page .back-home-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.score-conv-page .topic-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.score-conv-page .topic-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s ease;
  text-decoration: none;
}
.score-conv-page .topic-breadcrumb a:hover { color: #fff; }
.score-conv-page .topic-breadcrumb .sep { color: rgba(255, 255, 255, 0.3); }
.score-conv-page .topic-breadcrumb .current { color: rgba(255, 255, 255, 0.9); }

/* Hero stat strip */
.sc-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}
.sc-hero-stat {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: all 0.2s ease;
}
.sc-hero-stat:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.3);
}
.sc-hero-stat .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
  margin-bottom: 4px;
}
.sc-hero-stat .label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* Content sections */
.sc-content-section {
  margin-bottom: 44px;
  scroll-margin-top: 90px;
}
.sc-content-section h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sc-content-section h2::before {
  content: '';
  width: 5px;
  height: 24px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: 3px;
  flex-shrink: 0;
}
.sc-section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 720px;
}

/* Score comparison table */
.sc-table-wrap {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.06);
  overflow: hidden;
}
.sc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.sc-table thead {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
}
.sc-table th {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-align: left;
  text-transform: uppercase;
}
.sc-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}
.sc-table tbody tr:last-child td { border-bottom: none; }
.sc-table tbody tr { transition: background 0.15s ease; }
.sc-table tbody tr:hover { background: rgba(29, 111, 184, 0.04); }

.sc-table .sc-ielts {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  width: 120px;
}
.sc-table .sc-pte {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 600;
  color: var(--aussie-blue);
  width: 120px;
}

.sc-level {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.sc-level--basic { background: #e8f0fe; color: #1d6fb8; }
.sc-level--modest { background: #e0f2fe; color: #0369a1; }
.sc-level--competent { background: #dcfce7; color: #15803d; }
.sc-level--good { background: #fef3c7; color: #b45309; }
.sc-level--expert { background: #fce7f3; color: #be185d; }

.sc-note {
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 12px;
  font-style: italic;
}

/* Usage cards grid */
.sc-usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.sc-usage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
  transition: all 0.2s ease;
}
.sc-usage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
  border-color: var(--aussie-blue-light);
}
.sc-usage-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--aussie-blue), var(--aussie-blue-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.sc-usage-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
}
.sc-usage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sc-usage-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.sc-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
}

/* FAQ section */
.sc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sc-faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 2px 6px rgba(10, 37, 64, 0.04);
  transition: all 0.2s ease;
}
.sc-faq-item:hover {
  border-color: var(--border-strong);
}
.sc-faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.sc-faq-q svg {
  flex-shrink: 0;
  color: var(--aussie-blue);
}
.sc-faq-a {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 0 32px;
}

/* Bottom CTA */
.sc-cta-section {
  margin-top: 48px;
}
.sc-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 14px;
  padding: 28px 32px;
  color: #fff;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.sc-cta-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.sc-cta-card h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  position: relative;
  z-index: 1;
}
.sc-cta-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 480px;
  position: relative;
  z-index: 1;
}
.sc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.sc-cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(232, 168, 56, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
  .score-conv-page .topic-header {
    padding: 32px 24px 28px;
    border-radius: 16px;
  }
  .score-conv-page .topic-title { font-size: 24px; }
  .score-conv-page .topic-subtitle { font-size: 14px; }

  .sc-hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
  }
  .sc-hero-stat { padding: 14px 8px; }
  .sc-hero-stat .num { font-size: 22px; }
  .sc-hero-stat .label { font-size: 11.5px; }

  .sc-content-section { margin-bottom: 32px; }
  .sc-content-section h2 { font-size: 20px; }

  .sc-table-wrap { overflow-x: auto; }
  .sc-table th,
  .sc-table td { padding: 12px 14px; font-size: 13.5px; }
  .sc-table .sc-ielts { font-size: 17px; }
  .sc-table .sc-pte { font-size: 15px; }

  .sc-faq-item { padding: 18px 20px; }
  .sc-faq-q { font-size: 15px; gap: 10px; }
  .sc-faq-a { margin-left: 30px; font-size: 13.5px; }

  .sc-cta-card {
    padding: 22px 24px;
  }
  .sc-cta-card h3 { font-size: 17px; }
  .sc-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sc-hero-stat .num { font-size: 18px; }
  .sc-hero-stat .label { font-size: 10.5px; }
  .sc-table th,
  .sc-table td { padding: 10px 12px; font-size: 12.5px; }
  .sc-table .sc-ielts { font-size: 15px; width: auto; }
  .sc-table .sc-pte { font-size: 13px; width: auto; }
}
