/* ============================================================
   ORION DESIGN SYSTEM - Sub-page Overrides
   Applied after style.css to give all cert pages the
   same light/glass aesthetic as the index hero.
   ============================================================ */

/* 1. BODY & BASE */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  background-color: #f7f9fa !important;
  color: #1a1a24 !important;
  -webkit-font-smoothing: antialiased;
}

/* 2. WEBGL CANVAS */
#webgl-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* 3. HEADER - full override to pill style */
.site-header {
  position: fixed !important;
  top: 1rem !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
  padding: 0 1rem !important;
  pointer-events: none !important;
  background: transparent !important;
  border-bottom: none !important;
  height: auto !important;
}

.header-pill {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 9999px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(255,255,255,0.5);
  pointer-events: auto;
  transition: all 0.4s;
  position: relative;
}

.header-pill:hover {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(255,255,255,0.8);
}

.orion-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.orion-brand-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1a24;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.orion-nav {
  display: flex;
  align-items: center;
  gap: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.orion-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #5a5a6a;
  text-decoration: none;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 9999px;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.orion-nav a:hover,
.orion-nav a.active {
  color: #1a1a24;
  background: rgba(255,255,255,0.6);
}

.orion-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.orion-btn-enrol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #fff;
  background: #1a1a24;
  border-radius: 9999px;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 8px 20px rgba(26,26,36,0.12);
  transition: all 0.3s;
}

.orion-btn-enrol:hover {
  background: #2d2d3d;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(26,26,36,0.18);
}

.orion-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: none;
  border: none;
  cursor: pointer;
  color: #5a5a6a;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.orion-nav-toggle:hover {
  background: rgba(255,255,255,0.6);
}

/* 4. CERT HERO - light Orion style */
.cert-hero {
  background: transparent !important;
  border-bottom: none !important;
  padding: 9rem 0 4rem !important;
}

.cert-hero-bg {
  opacity: 0.55 !important;
  filter: saturate(1.05) !important;
}
.cert-hero-bg::after {
  background: linear-gradient(180deg, rgba(247,249,250,0.3) 0%, rgba(247,249,250,0.85) 100%) !important;
}

/* Icon-based gallery (when real photos unavailable) */
.gallery-grid.icon-gallery .icon-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  height: 180px !important;
  background: linear-gradient(145deg, #ffffff 0%, #f4f6f8 100%) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  color: var(--ic, #1a1a24) !important;
  padding: 24px 16px !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04) !important;
  overflow: visible !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-grid.icon-gallery .icon-card iconify-icon {
  color: var(--ic, #1a1a24);
  opacity: 0.92;
}
.gallery-grid.icon-gallery .icon-card .gallery-caption {
  position: static !important;
  background: none !important;
  color: #1a1a24 !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  text-align: center !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}
.gallery-grid.icon-gallery .icon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08) !important;
}

.cert-hero .container {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}

/* Hero label pill */
.hero-label {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a5a6a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  font-family: 'Inter', sans-serif;
}

.hero-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(2.8rem, 6vw, 5rem) !important;
  font-weight: 600 !important;
  color: #1a1a24 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 0 !important;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #5a5a6a;
  letter-spacing: 0.01em;
  margin-bottom: 0;
  font-weight: 400;
}

.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: #5a5a6a !important;
  max-width: 620px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 500;
  color: #1a1a24;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* 5. MAIN GRID */
.main-grid {
  padding-top: 1.5rem !important;
  padding-bottom: 5rem !important;
}

.main-sidebar {
  top: 6rem !important;
}

/* 6. CONTENT PANELS - glass style */
.content-panel {
  background: rgba(255,255,255,0.5) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255,255,255,0.7) !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
  margin-bottom: 1.25rem !important;
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
}

.content-panel:hover {
  background: rgba(255,255,255,0.65) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06) !important;
  transform: translateY(-2px);
}

.panel-header {
  padding: 1rem 1.5rem !important;
  background: rgba(255,255,255,0.35) !important;
  border-bottom: 1px solid rgba(255,255,255,0.6) !important;
}

.panel-header h2,
.panel-header h3 {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #5a5a6a !important;
}

.panel-body {
  padding: 1.5rem !important;
}

.panel-body p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.panel-body p:last-child { margin-bottom: 0; }

.panel-body h3 {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1a1a24 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* 7. MODULE LIST */
.module-item {
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  padding: 1.25rem 0 !important;
  gap: 1rem !important;
}

.module-item:first-child { padding-top: 0 !important; }
.module-item:last-child { border-bottom: none !important; padding-bottom: 0 !important; }

.module-num {
  font-family: 'Inter', monospace, sans-serif !important;
  font-size: 0.7rem !important;
}

.module-content h3 {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #1a1a24 !important;
  margin-bottom: 0.5rem !important;
}

.module-content p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  color: #5a5a6a !important;
  line-height: 1.75 !important;
  margin-bottom: 0.75rem !important;
}

.fact-list {
  margin-top: 0.75rem;
}

.fact-list li {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem !important;
  color: #5a5a6a !important;
  border-bottom: 1px solid rgba(0,0,0,0.04) !important;
  padding: 0.4rem 0 !important;
  display: block !important;
}

.fact-list li:last-child { border-bottom: none !important; }

/* 8. INFO GRID / INFO CARD */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.info-card {
  background: rgba(255,255,255,0.6) !important;
  border: 1px solid rgba(255,255,255,0.85) !important;
  border-radius: 1rem !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.info-card-header {
  padding: 0.6rem 1rem !important;
  background: rgba(0,0,0,0.015) !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  color: #5a5a6a !important;
  text-transform: uppercase !important;
}

.info-card-body {
  padding: 0.75rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  color: #1a1a24 !important;
  font-weight: 500 !important;
}

/* 9. STATE TABLE */
.state-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100%;
}

.state-table th {
  background: rgba(255,255,255,0.5) !important;
  color: #5a5a6a !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(0,0,0,0.07) !important;
  padding: 0.75rem 1rem !important;
}

.state-table td {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem !important;
  color: #5a5a6a !important;
  border-bottom: 1px solid rgba(0,0,0,0.04) !important;
  padding: 0.75rem 1rem !important;
}

.state-table tr:last-child td { border-bottom: none !important; }

/* 10. PRICE CARDS */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.price-card {
  background: rgba(255,255,255,0.6) !important;
  border: 1px solid rgba(255,255,255,0.85) !important;
  border-radius: 1.25rem !important;
  padding: 1.25rem !important;
  transition: all 0.3s;
}

.price-card:hover {
  background: rgba(255,255,255,0.9) !important;
  border-color: rgba(255,255,255,1) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06) !important;
}

.price-card-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #5a5a6a !important;
  margin-bottom: 0.75rem !important;
}

.price-card-amount {
  font-family: 'Inter', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #1a1a24 !important;
  line-height: 1 !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: -0.03em !important;
}

.price-card-note {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.78rem !important;
  color: #5a5a6a !important;
  line-height: 1.55 !important;
}

/* 11. ENROL STRIP */
.enrol-now-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.25rem 1.5rem !important;
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255,255,255,0.85) !important;
  border-radius: 1.25rem !important;
  gap: 1rem !important;
  margin-top: 1.5rem !important;
}

.enrol-strip-text h3 {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #1a1a24 !important;
  margin-bottom: 0.25rem !important;
}

.enrol-strip-text p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem !important;
  color: #5a5a6a !important;
  margin: 0 !important;
}

.btn-enrol {
  padding: 0.75rem 1.75rem !important;
  background: #1a1a24 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 9999px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.3s !important;
  box-shadow: 0 8px 20px rgba(26,26,36,0.12) !important;
}

.btn-enrol:hover {
  background: #2d2d3d !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 28px rgba(26,26,36,0.18) !important;
}

/* 12. QUIZ - Orion glass treatment */
.quiz-intro-card {
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.04) !important;
  padding: 2rem !important;
}

.quiz-intro-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: #1a1a24 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.75rem !important;
}

.quiz-intro-desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  color: #5a5a6a !important;
  line-height: 1.75 !important;
  margin-bottom: 1.5rem !important;
}

.quiz-meta-row {
  display: flex !important;
  gap: 0.75rem !important;
  margin-bottom: 1.5rem !important;
  flex-wrap: wrap !important;
}

.quiz-meta-row span {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.72rem !important;
  color: #5a5a6a !important;
  background: rgba(255,255,255,0.7) !important;
  padding: 0.3rem 0.875rem !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255,255,255,0.9) !important;
}

.btn-industry,
.btn.btn-industry {
  padding: 0.875rem 2rem !important;
  background: #1a1a24 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 9999px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(26,26,36,0.12) !important;
  transition: all 0.3s !important;
  letter-spacing: 0.02em !important;
}

.btn-industry:hover,
.btn.btn-industry:hover {
  background: #2d2d3d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(26,26,36,0.18) !important;
}

.quiz-progress-wrap {
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  border-radius: 1rem !important;
  box-shadow: none !important;
}

.quiz-progress-fill {
  background: #1a1a24 !important;
}

.quiz-progress-text {
  font-family: 'Inter', sans-serif !important;
  color: #5a5a6a !important;
}

.quiz-score-text {
  font-family: 'Inter', sans-serif !important;
}

.score-live {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  color: #5a5a6a !important;
  margin-bottom: 0.75rem !important;
}

.question-card {
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  border-radius: 1.25rem !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.question-label {
  font-family: 'Inter', sans-serif !important;
  color: #9ca3af !important;
}

.question-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #1a1a24 !important;
  line-height: 1.55 !important;
}

.option-btn {
  background: rgba(255,255,255,0.45) !important;
  border: 1px solid rgba(255,255,255,0.75) !important;
  border-radius: 0.75rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  color: #5a5a6a !important;
  transition: all 0.15s !important;
  padding: 0.75rem 1rem !important;
}

.option-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.85) !important;
  border-color: rgba(255,255,255,1) !important;
  color: #1a1a24 !important;
}

.option-btn.correct {
  background: rgba(5,150,105,0.08) !important;
  border-color: rgba(5,150,105,0.3) !important;
  color: #065f46 !important;
}

.option-btn.wrong {
  background: rgba(220,38,38,0.06) !important;
  border-color: rgba(220,38,38,0.2) !important;
  color: #991b1b !important;
}

.option-letter {
  background: rgba(255,255,255,0.7) !important;
  border-color: rgba(0,0,0,0.08) !important;
  font-family: 'Inter', monospace, sans-serif !important;
}

.explanation-box {
  background: rgba(255,255,255,0.55) !important;
  border: 1px solid rgba(255,255,255,0.85) !important;
  border-radius: 0.75rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  color: #374151 !important;
}

.quiz-result-card {
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  border-radius: 1.5rem !important;
}

/* 13. SIDEBAR CARDS */
.sidebar-card {
  background: rgba(255,255,255,0.5) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255,255,255,0.75) !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03) !important;
  overflow: hidden !important;
}

.sidebar-card-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  padding: 0.75rem 1rem !important;
  background: var(--sc-color, #1a1a24) !important;
}

.sidebar-list {
  padding: 0.5rem 1rem 0.75rem !important;
}

.sidebar-list li {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem !important;
  color: #5a5a6a !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  padding: 0.5rem 0 0.5rem 0.875rem !important;
  line-height: 1.55 !important;
}

.sidebar-list li:last-child { border-bottom: none !important; }

.sidebar-list li::before {
  background: var(--sc-color, #1a1a24) !important;
  opacity: 0.4 !important;
}

.sidebar-card p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem !important;
  color: #5a5a6a !important;
  line-height: 1.65 !important;
  padding: 0.75rem 1rem !important;
}

/* 14. ENROL PAGE HERO */
.enrol-hero {
  background: transparent !important;
  border-bottom: none !important;
  padding: 9rem 0 3rem !important;
}

.enrol-hero-title {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  font-weight: 600 !important;
  color: #1a1a24 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.05 !important;
}

.enrol-hero-sub {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  color: #5a5a6a !important;
  font-weight: 300 !important;
}

.enrol-crumb, .enrol-crumb a {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  color: #9ca3af !important;
}

/* Enrol form panels */
.enrol-step,
.option-card,
.form-card,
.payment-card,
.success-card {
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255,255,255,0.8) !important;
  border-radius: 1.5rem !important;
}

/* 15. FOOTER */
.site-footer {
  background: transparent !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  padding: 3rem 0 !important;
}

.site-footer .footer-inner {
  text-align: center !important;
}

.site-footer .footer-inner p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  color: #9ca3af !important;
  line-height: 1.75 !important;
  max-width: 700px !important;
  margin: 0 auto 0.5rem !important;
}

/* 16. RESPONSIVE */
@media (max-width: 900px) {
  .orion-nav { display: none !important; }
  .orion-nav-toggle { display: flex !important; }
}

@media (max-width: 768px) {
  .cert-hero { padding: 8rem 0 3rem !important; }
  .hero-title { font-size: 2.5rem !important; }
  .enrol-now-strip { flex-direction: column !important; }
}

@media (max-width: 640px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  .container { padding-left: 1rem !important; padding-right: 1rem !important; }
  .cert-hero { padding: 7rem 0 2.5rem !important; }
  .hero-title { font-size: 1.85rem !important; line-height: 1.15 !important; }
  .hero-subtitle { font-size: 0.95rem !important; }
  .hero-desc { font-size: 0.9rem !important; line-height: 1.55 !important; }
  .hero-tag { font-size: 0.68rem !important; padding: 0.3rem 0.7rem !important; }
  .main-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .main-sidebar { position: static !important; max-height: none !important; overflow: visible !important; }
  .panel-header h2 { font-size: 1.2rem !important; }
  .panel-body { padding: 1rem !important; font-size: 0.92rem !important; }
  .info-grid { grid-template-columns: 1fr !important; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .price-cards { grid-template-columns: 1fr !important; }
  .resource-links { grid-template-columns: 1fr !important; }
  .module-item { flex-direction: column !important; }
  .module-num { font-size: 1.75rem !important; }
  .orion-brand-name { font-size: 0.72rem !important; }
  .orion-nav-toggle { width: 2.25rem !important; height: 2.25rem !important; }
  .header-pill { padding: 0.4rem 0.4rem 0.4rem 1rem !important; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.55rem !important; }
  .gallery-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   PRODUCTION QUIZ ENGINE STYLES
   Mode selector, timer, nav grid, review screen, topic breakdown
   ============================================================ */

/* Mode selector */
.mode-btn {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s;
  font-family: 'Inter', sans-serif;
}
.mode-btn strong { font-size: 0.92rem; font-weight: 600; color: #1a1a24; }
.mode-btn span { font-size: 0.78rem; color: #6b7280; line-height: 1.45; }
.mode-btn:hover { background: rgba(255,255,255,0.85); border-color: rgba(0,0,0,0.12); }
.mode-btn-active {
  background: #1a1a24 !important;
  border-color: #1a1a24 !important;
  box-shadow: 0 8px 24px rgba(26,26,36,0.15);
}
.mode-btn-active strong, .mode-btn-active span { color: #fff !important; }
.mode-btn-active span { opacity: 0.85; }

/* Top bar (mode pill, progress, timer, flag) */
.quiz-topbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.75rem; margin-bottom: 0.6rem; flex-wrap: wrap;
}
.quiz-topbar-left, .quiz-topbar-right { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.quiz-mode-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.14em; font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 9999px;
  background: #1a1a24; color: #fff;
}
.quiz-mode-pill[data-mode="exam"] { background: #dc2626; }
.quiz-timer {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'SF Mono', ui-monospace, monospace;
  font-size: 0.95rem; font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: 9999px;
  background: rgba(255,255,255,0.8); border: 1px solid rgba(0,0,0,0.08);
  color: #1a1a24;
}
.quiz-timer.timer-low { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.quiz-timer.timer-critical { background: #fee2e2; color: #991b1b; border-color: #fca5a5; animation: pulseTimer 1s infinite; }
@keyframes pulseTimer { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }

.quiz-flag-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 500;
  padding: 0.4rem 0.85rem; border-radius: 9999px;
  background: rgba(255,255,255,0.65); border: 1px solid rgba(0,0,0,0.08);
  color: #5a5a6a; cursor: pointer; transition: all 0.18s;
}
.quiz-flag-btn:hover { background: rgba(255,255,255,0.95); }
.quiz-flag-btn .flag-icon { font-size: 0.9rem; }
.quiz-flag-btn.flagged { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.quiz-flag-btn.flagged .flag-icon { color: #d97706; }

/* Layout: main + sidebar navgrid */
.quiz-layout {
  display: grid; grid-template-columns: 1fr 230px; gap: 1.25rem; margin-top: 0.75rem;
}
.quiz-main { min-width: 0; }
.quiz-navgrid-wrap {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 1rem;
  padding: 1rem; align-self: start;
  position: sticky; top: 1rem;
}
.quiz-navgrid-title {
  font-size: 0.62rem; letter-spacing: 0.14em; font-weight: 700;
  text-transform: uppercase; color: #9ca3af; margin-bottom: 0.6rem;
}
.quiz-navgrid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35rem;
}
.nav-cell {
  aspect-ratio: 1;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.6);
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem; font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.12s;
  padding: 0;
}
.nav-cell:hover { background: #fff; border-color: rgba(0,0,0,0.2); }
.nav-cell-answered { background: #dcfce7; color: #166534; border-color: #86efac; }
.nav-cell-flagged { background: #fef3c7 !important; color: #92400e !important; border-color: #fcd34d !important; position: relative; }
.nav-cell-flagged::after {
  content: '⚑'; position: absolute; top: -2px; right: -2px;
  font-size: 0.6rem; color: #d97706;
}
.nav-cell-current {
  background: #1a1a24 !important; color: #fff !important; border-color: #1a1a24 !important;
  box-shadow: 0 0 0 3px rgba(26,26,36,0.15);
}

.quiz-navgrid-legend {
  display: flex; flex-direction: column; gap: 0.25rem;
  margin-top: 0.75rem;
  font-size: 0.7rem; color: #6b7280;
  font-family: 'Inter', sans-serif;
}
.quiz-navgrid-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.lg-dot {
  width: 10px; height: 10px; border-radius: 3px; display: inline-block;
  border: 1px solid rgba(0,0,0,0.08);
}
.lg-answered { background: #dcfce7; border-color: #86efac; }
.lg-unanswered { background: #fff; }
.lg-flagged { background: #fef3c7; border-color: #fcd34d; }
.lg-current { background: #1a1a24; border-color: #1a1a24; }

.quiz-navgrid-stats {
  margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.78rem; color: #5a5a6a;
  font-family: 'Inter', sans-serif;
}
.quiz-navgrid-stats div { margin-bottom: 0.2rem; }

/* Question area */
.question-card { padding: 1.5rem; margin-bottom: 0.75rem; }
.question-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; color: #9ca3af; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 0.8rem;
}
.q-topic {
  text-transform: none; letter-spacing: 0;
  background: rgba(0,0,0,0.05); padding: 0.1rem 0.5rem; border-radius: 9999px;
  color: #5a5a6a; font-weight: 500;
}
.question-text { margin-bottom: 1rem; }
.options-list { display: flex; flex-direction: column; gap: 0.55rem; }
.option-btn {
  width: 100%; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 0.75rem;
}
.option-btn:disabled { cursor: default; }
.option-btn.selected {
  background: rgba(26,26,36,0.06) !important;
  border-color: rgba(26,26,36,0.3) !important;
  color: #1a1a24 !important;
}
.option-letter {
  flex: 0 0 auto; width: 1.6rem; height: 1.6rem;
  border-radius: 0.4rem; display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600;
  border: 1px solid rgba(0,0,0,0.08);
}
.explanation-box {
  padding: 0.85rem 1rem; margin-top: 0.85rem;
  font-size: 0.85rem; line-height: 1.55;
}
.explanation-correct { background: rgba(5,150,105,0.06) !important; border-color: rgba(5,150,105,0.25) !important; color: #065f46 !important; }
.explanation-wrong { background: rgba(220,38,38,0.04) !important; border-color: rgba(220,38,38,0.2) !important; color: #991b1b !important; }

/* Nav bar */
.quiz-nav-bar {
  display: flex; justify-content: space-between; gap: 0.6rem; margin-top: 0.5rem;
}
.btn-ghost-quiz {
  padding: 0.7rem 1.2rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 500;
  color: #1a1a24;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.3rem;
  text-decoration: none;
  transition: all 0.18s;
}
.btn-ghost-quiz:hover:not(:disabled) { background: #fff; border-color: rgba(0,0,0,0.2); }
.btn-ghost-quiz:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-review {
  background: #1a1a24 !important; color: #fff !important; border-color: #1a1a24 !important;
}
.btn-review:hover { background: #2d2d3d !important; }

/* Review screen */
.quiz-review-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 1.25rem;
  padding: 1.75rem;
}
.quiz-review-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem; font-weight: 600; color: #1a1a24;
  margin: 0 0 0.35rem;
}
.quiz-review-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem; color: #6b7280; margin-bottom: 1.25rem;
}
.review-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.review-stat {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  text-align: center;
}
.review-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem; font-weight: 700; color: #1a1a24;
  line-height: 1;
}
.review-stat-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; color: #6b7280; text-transform: uppercase;
  letter-spacing: 0.1em; margin-top: 0.3rem;
}
.review-warn {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 0.75rem 1rem; border-radius: 0.75rem;
  background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5;
  margin-bottom: 0.6rem;
}
.review-warn.review-info { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.quiz-review-actions {
  display: flex; justify-content: space-between; gap: 0.75rem;
  margin-top: 1rem; flex-wrap: wrap;
}
.btn-submit-final { font-weight: 600; }

/* Results: top block */
.result-card { padding: 1.75rem; }
.result-top {
  display: flex; align-items: center; gap: 1.5rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 1.25rem; flex-wrap: wrap;
}
.result-score-ring { position: relative; width: 140px; height: 140px; flex: 0 0 auto; }
.result-score-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.result-percent { font-family: 'Inter', sans-serif; font-size: 1.9rem; font-weight: 700; line-height: 1; }
.result-fraction { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #6b7280; margin-top: 0.2rem; }
.result-head-text { flex: 1; min-width: 220px; }
.result-grade { font-family: 'Inter', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 0.2rem; }
.result-passmark { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: #6b7280; margin-bottom: 0.6rem; }
.result-msg { font-family: 'Inter', sans-serif; font-size: 0.9rem; color: #374151; line-height: 1.55; margin: 0; }

.result-section { margin-top: 1.5rem; }
.result-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.14em; font-weight: 700;
  text-transform: uppercase; color: #9ca3af;
  margin: 0 0 0.75rem;
}

/* Topic breakdown */
.topic-breakdown { display: flex; flex-direction: column; gap: 0.5rem; }
.topic-row {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 0.65rem;
  padding: 0.6rem 0.85rem;
}
.topic-row-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; color: #1a1a24; font-weight: 500;
  margin-bottom: 0.4rem;
}
.topic-row-pct { font-size: 0.78rem; font-weight: 600; }
.topic-row-bar {
  height: 6px; background: rgba(0,0,0,0.06); border-radius: 9999px; overflow: hidden;
}
.topic-row-fill { height: 100%; border-radius: 9999px; transition: width 0.4s; }

/* Wrong answers review */
.wrong-list { display: flex; flex-direction: column; gap: 0.5rem; }
.wrong-item {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(220,38,38,0.15);
  border-radius: 0.75rem;
  padding: 0.6rem 0.85rem;
  font-family: 'Inter', sans-serif;
}
.wrong-item summary {
  display: flex; gap: 0.6rem; align-items: baseline;
  cursor: pointer;
  font-size: 0.86rem; color: #1a1a24;
  list-style: none;
}
.wrong-item summary::-webkit-details-marker { display: none; }
.wrong-item summary::before { content: '▸'; color: #9ca3af; margin-right: 0.25rem; }
.wrong-item[open] summary::before { content: '▾'; }
.wrong-num {
  flex: 0 0 auto;
  font-weight: 700; color: #dc2626;
  font-size: 0.78rem;
  padding: 0.15rem 0.5rem;
  background: #fee2e2; border-radius: 9999px;
}
.wrong-q { flex: 1; line-height: 1.4; }
.wrong-topic {
  flex: 0 0 auto;
  font-size: 0.7rem; color: #6b7280;
  background: rgba(0,0,0,0.04);
  padding: 0.15rem 0.5rem; border-radius: 9999px;
}
.wrong-body {
  margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.84rem; color: #374151; line-height: 1.6;
}
.wrong-line { margin-bottom: 0.4rem; }
.wrong-line .lbl { color: #6b7280; font-weight: 600; margin-right: 0.35rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.wrong-expl {
  margin-top: 0.6rem; padding: 0.6rem 0.85rem;
  background: rgba(5,150,105,0.05);
  border-left: 3px solid #059669;
  border-radius: 0.35rem;
  font-style: italic; color: #065f46;
}

.result-actions {
  display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 760px) {
  .quiz-layout { grid-template-columns: 1fr; }
  .quiz-navgrid-wrap { position: static; }
  .quiz-navgrid { grid-template-columns: repeat(8, 1fr); }
  .mode-btn { flex: 1 1 100%; }
  .result-top { flex-direction: column; text-align: center; }
  .result-head-text { text-align: center; }
  .review-stats-grid { grid-template-columns: 1fr; }
  .wrong-topic { display: none; }
}

/* ============================================================
   QUIZ SUBMIT MODAL
   ============================================================ */
.qz-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  animation: qzFadeIn 0.18s ease-out;
}
@keyframes qzFadeIn { from { opacity: 0; } to { opacity: 1; } }
.qz-modal {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  font-family: 'Inter', sans-serif;
  animation: qzPopIn 0.22s ease-out;
}
@keyframes qzPopIn { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qz-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a24;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.qz-modal-body {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.qz-modal-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Disclaimer banner */
.disclaimer-banner {
  background: #fef3c7;
  border-bottom: 1px solid #fcd34d;
  padding: 0.6rem 1rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #78350f;
  position: relative;
  z-index: 100;
}
.disclaimer-banner strong { color: #5a2400; }
.disclaimer-banner a { color: #78350f; text-decoration: underline; }

/* Glossary mobile fix */
@media (max-width: 760px) {
  .fact-list[style*="columns"] { columns: 1 !important; }
}

/* ============================================================
   PRINT STYLESHEET
   ============================================================ */
@media print {
  body { background: #fff !important; color: #000 !important; }
  #webgl-canvas, .site-header, .site-footer, .disclaimer-banner,
  .hero-actions, #quiz-section, .main-sidebar, .quiz-intro-card,
  .orion-nav-toggle, #orionMobileMenu, .quiz-topbar, .quiz-progress-wrap,
  .quiz-layout, .quiz-nav-bar, .quiz-navgrid-wrap, .qz-modal-overlay {
    display: none !important;
  }
  .container, .main-grid, .main-content {
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .content-panel {
    page-break-inside: avoid;
    background: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    margin-bottom: 1rem !important;
  }
  .panel-header {
    background: #f0f0f0 !important;
    color: #000 !important;
    border-bottom: 2px solid #000 !important;
  }
  .panel-header h2 { color: #000 !important; }
  .cert-hero {
    page-break-after: always;
    background: #fff !important;
    color: #000 !important;
    padding: 2rem 0 !important;
    min-height: auto !important;
  }
  .cert-hero-bg, .asb-hero-bg { display: none !important; }
  .hero-title, .hero-desc, .hero-subtitle, .hero-label {
    color: #000 !important;
    text-shadow: none !important;
  }
  a { color: #000 !important; text-decoration: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #666; }
  table { page-break-inside: avoid; }
  .fact-list { columns: 1 !important; }
  .module-item { page-break-inside: avoid; }
  details { page-break-inside: avoid; }
  details > summary { font-weight: 700; }
  details:not([open]) > *:not(summary) { display: none; }
  details[open] > * { display: block; }
}

/* ============================================================
   STATE CARD GRID - cert.edu.au-style state selector
   ============================================================ */
.state-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 1rem;
}
.state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: #fff;
  border: 2px solid #1e3a8a;
  border-radius: 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.18s ease;
  min-height: 110px;
  text-align: center;
}
.state-card:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30,58,138,0.12);
}
.state-card.active {
  background: #1e3a8a;
  border-color: #1e3a8a;
  color: #fff;
}
.state-card.active .state-card-label,
.state-card.active .state-card-sub {
  color: #fff;
}
.state-card.active .state-svg path,
.state-card.active .state-svg circle,
.state-card.active .state-svg rect {
  fill: #fff;
}
.state-svg {
  width: 48px;
  height: 36px;
  display: block;
}
.state-svg path,
.state-svg circle,
.state-svg rect {
  fill: #1e3a8a;
  transition: fill 0.18s;
}
.state-card-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e3a8a;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.state-card-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: #5a5a6a;
  letter-spacing: 0.02em;
}
.state-card-grid-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a24;
  text-align: center;
  margin: 0.5rem 0 1rem;
}

@media (max-width: 480px) {
  .state-card-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .state-card { padding: 0.7rem 0.3rem; min-height: 92px; }
  .state-svg { width: 36px; height: 28px; }
  .state-card-label { font-size: 0.85rem; }
  .state-card-sub { font-size: 0.62rem; }
}

/* ============================================================
   TOP UTILITY BAR (cert.edu.au-style)
   ============================================================ */
.top-bar {
  background: #1e3a8a;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 60;
}
.top-bar-icons { display: inline-flex; gap: 0.6rem; align-items: center; }
.top-bar-icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
  transition: background 0.18s;
}
.top-bar-icon:hover { background: rgba(255,255,255,0.3); }
.top-bar-divider { width: 1px; height: 22px; background: rgba(255,255,255,0.35); }
.top-bar-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #fff; text-decoration: none; font-weight: 700;
  letter-spacing: 0.02em; font-size: 1rem;
}
.top-bar-phone:hover { color: #fbbf24; }
.top-bar-news {
  color: #fff; text-decoration: none; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.9rem;
}
.top-bar-news:hover { color: #fbbf24; }
@media (max-width: 480px) {
  .top-bar { padding: 0.75rem 1rem; font-size: 0.92rem; gap: 0.8rem; }
  .top-bar-icon { width: 34px; height: 34px; }
  .top-bar-phone { font-size: 0.95rem; }
  .top-bar-news { font-size: 0.85rem; }
}

/* TRADITIONAL HEADER for sub-pages */
.site-header.traditional {
  position: sticky !important; top: 0 !important;
  width: 100% !important; padding: 0 !important;
  background: #ffffff !important;
  border-bottom: 2px solid #1e3a8a !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  pointer-events: auto !important;
}
.site-header.traditional .header-pill {
  max-width: 1280px !important; margin: 0 auto !important;
  padding: 1.1rem 2rem !important;
  background: transparent !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  border: none !important; border-radius: 0 !important;
  box-shadow: none !important;
}
.site-header.traditional .orion-brand-name {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #1e3a8a !important;
  letter-spacing: 0.06em !important;
}
.site-header.traditional .orion-nav { gap: 0.25rem !important; }
.site-header.traditional .orion-nav a {
  padding: 0.55rem 1rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #1e3a8a !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  border-bottom: 3px solid transparent !important;
  transition: all 0.15s !important;
}
.site-header.traditional .orion-nav a:hover,
.site-header.traditional .orion-nav a.active {
  color: #1e3a8a !important;
  background: transparent !important;
  border-bottom-color: #1e3a8a !important;
}

/* ============================================================
   HOMEPAGE NEW SECTIONS - What's New / Who we are / Clients
   ============================================================ */
.whatsnew-card {
  background: linear-gradient(135deg, rgba(30,58,138,0.92), rgba(30,58,138,0.78)), 
              url('https://upload.wikimedia.org/wikipedia/commons/thumb/4/47/Sydney_Trains_A_Set_pantograph.jpg/960px-Sydney_Trains_A_Set_pantograph.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  margin: 2.5rem auto;
  max-width: 1100px;
}
.whatsnew-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: #fff;
}
.whatsnew-body {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 1.75rem;
  color: rgba(255,255,255,0.92);
}
.whatsnew-cta {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.25rem;
  background: #06b6d4;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.18s;
}
.whatsnew-cta:hover { background: #0891b2; transform: translateY(-2px); }

.whoweare-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}
.whoweare-title {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.whoweare-body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 auto 1rem;
  max-width: 760px;
}

.clients-section {
  background: #f1f5f9;
  padding: 3rem 1.5rem;
  margin: 3rem 0;
}
.clients-title {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.client-logo {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.18s;
}
.client-logo:hover { transform: translateY(-2px); }
.client-logo img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(60%);
  opacity: 0.85;
  transition: all 0.18s;
}
.client-logo:hover img { filter: grayscale(0%); opacity: 1; }
.client-logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #475569;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Logo image in header */
.brand-logo { height: 44px; width: auto; max-width: 180px; display: block; }
.site-header.traditional .brand-logo { height: 50px; max-width: 200px; }
@media (max-width: 480px) {
  .brand-logo { height: 36px; max-width: 140px; }
}

/* =====================================
   PAYWALL GATE STYLES
   ===================================== */
.paywall-cta { text-align: center; }
.paywall-inner {
  max-width: 640px; margin: 0 auto; padding: 2rem 1rem;
}
.paywall-lock-icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1.25rem;
}
.paywall-pill {
  display: inline-block; color: #fff;
  padding: 0.3rem 0.95rem; border-radius: 9999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.paywall-title {
  font-family: var(--font-heading, Inter), sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: #0f172a;
  line-height: 1.15; margin: 0 0 0.9rem;
  letter-spacing: -0.02em;
}
.paywall-sub {
  color: #475569; font-size: 1rem; line-height: 1.6;
  max-width: 540px; margin: 0 auto 1.75rem;
}
.paywall-benefits {
  text-align: left; max-width: 460px; margin: 0 auto 2rem;
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.paywall-benefits li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.95rem; color: #334155; line-height: 1.5;
}
.paywall-tick {
  flex-shrink: 0; font-weight: 700; color: #059669;
  background: #d1fae5; width: 24px; height: 24px;
  border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.paywall-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.5rem; color: #fff;
  border: none; border-radius: 9999px;
  font-size: 1rem; font-weight: 700; letter-spacing: 0.02em;
  cursor: pointer; box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.paywall-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.22); }
.paywall-note {
  margin-top: 1rem; font-size: 0.78rem; color: #64748b;
}
/* Quiz Next button - make it prominent */
.quiz-nav-bar .btn-ghost-quiz[id="nextBtn"],
.quiz-nav-bar #nextBtn {
  background: #1e3a8a !important; color: #fff !important;
  border: none !important; font-weight: 700 !important;
  padding: 0.75rem 1.5rem !important;
}
.quiz-nav-bar #nextBtn:hover { background: #1e40af !important; transform: translateY(-1px); }


/* =====================================
   FLOATING SIDE PAYWALL
   ===================================== */
.paywall-side {
  position: fixed;
  top: 100px;
  right: 24px;
  width: 320px;
  z-index: 40;
  font-family: 'Inter', sans-serif;
}
.paywall-side-inner {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15,23,42,0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.paywall-side-pill {
  display: inline-block;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.paywall-side-price {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}
.paywall-side-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.02em;
}
.paywall-side-period {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
}
.paywall-side-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1rem;
  line-height: 1.3;
}
.paywall-side-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.paywall-side-benefits li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.4;
}
.paywall-side-benefits .paywall-tick {
  flex-shrink: 0;
  font-weight: 700;
  color: #059669;
  background: #d1fae5;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.paywall-side-btn {
  width: 100%;
  padding: 0.85rem 1rem;
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
.paywall-side-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}
.paywall-side-note {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: #64748b;
  text-align: center;
}
/* Shift main content left to make room on wide screens */
@media (min-width: 1280px) {
  main .main-content, main .container { max-width: calc(100% - 360px) !important; margin-left: 0 !important; }
}
@media (max-width: 1023px) {
  .paywall-side {
    position: static;
    width: auto;
    max-width: 640px;
    margin: 2rem auto;
  }
}

/* =====================================
   TOP PAYWALL BANNER (locked)
   ===================================== */
.paywall-top {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 2px solid var(--paywall-color, #1e3a8a);
  border-radius: 1.5rem;
  padding: 2rem;
  margin: 0 0 2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  font-family: 'Inter', sans-serif;
}
.paywall-top-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: center;
}
.paywall-top-left { min-width: 0; }
.paywall-top-pill {
  display: inline-block;
  background: var(--paywall-color);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.9rem;
}
.paywall-top-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.paywall-top-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.paywall-top-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #334155;
}
.paywall-top-benefits .paywall-tick {
  flex-shrink: 0;
  font-weight: 700;
  color: #059669;
  background: #d1fae5;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.paywall-top-right {
  background: var(--paywall-color);
  color: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.paywall-top-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.paywall-top-amount {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.paywall-top-period {
  font-size: 0.78rem;
  opacity: 0.85;
}
.paywall-top-btn {
  width: 100%;
  background: #fff;
  color: var(--paywall-color);
  border: none;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.paywall-top-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
.paywall-top-note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  opacity: 0.9;
}
@media (max-width: 820px) {
  .paywall-top-inner { grid-template-columns: 1fr; }
  .paywall-top-right { margin-top: 1rem; }
}

/* =====================================
   TOP UNLOCKED BANNER
   ===================================== */
.unlocked-top {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 2px solid #059669;
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  margin: 0 0 2rem;
  font-family: 'Inter', sans-serif;
}
.unlocked-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.unlocked-top-badge {
  display: inline-block;
  background: #059669;
  color: #fff;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.unlocked-top-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #064e3b;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.unlocked-top-sub {
  font-size: 0.9rem;
  color: #065f46;
  margin: 0;
  max-width: 500px;
  line-height: 1.4;
}
.unlocked-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #059669;
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.unlocked-top-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(5, 150, 105, 0.45); }
.unlocked-top-btn:disabled { opacity: 0.7; cursor: wait; }

/* Cancel the earlier content-shift rule for the side card now that the CTA is at top */
@media (min-width: 1280px) {
  main .main-content, main .container { max-width: 100% !important; }
}
.paywall-side { display: none !important; }

/* =====================================
   CERT-STYLE LAYOUT (hero, topbar, subnav)
   ===================================== */
.ct-topbar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 0;
  position: sticky; top: 0; z-index: 90;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ct-topbar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; gap: 2rem;
}
.ct-brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; flex-shrink: 0;
}
.ct-brand img { height: 40px; width: auto; }
.ct-brand span {
  font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: #0b2f5c; letter-spacing: 0.08em;
}
.ct-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ct-nav a {
  font-family: 'Inter', sans-serif;
  padding: 0.5rem 0.9rem;
  color: #0b2f5c; text-decoration: none;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 0.5rem;
  transition: background 0.15s;
}
.ct-nav a:hover, .ct-nav a.active { background: #f1f5f9; color: #0b2f5c; }
.ct-nav a.active { background: #0b2f5c; color: #fff; }

.ct-hero {
  background: #0b2f5c;
  padding: 3.5rem 2rem 4.5rem;
  color: #fff;
}
.ct-hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 3rem; align-items: center;
}
.ct-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; margin: 0 0 1.75rem;
  color: #fff;
}
.ct-hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.ct-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: #22d3ee; color: #0b2f5c !important;
  padding: 0.85rem 2rem;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
  border: 2px solid #22d3ee;
}
.ct-btn-primary:hover { background: #0ea5bf; border-color: #0ea5bf; color: #fff !important; transform: translateY(-1px); }
.ct-btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #fff !important;
  padding: 0.85rem 2rem;
  border: 2px solid #fff;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
}
.ct-btn-outline:hover { background: #fff; color: #0b2f5c !important; }

.ct-hero-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  color: #0f172a;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.ct-hero-card-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-family: 'Inter', sans-serif;
}
.ct-hero-card-row:first-child { padding-top: 0; }
.ct-hero-card-label {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: #475569; font-size: 0.92rem; font-weight: 600;
}
.ct-hero-card-val { font-weight: 700; color: #0f172a; font-size: 1rem; }
.ct-hero-card-btn {
  width: 100%;
  background: #22d3ee;
  color: #0b2f5c;
  border: none;
  padding: 1rem;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.2s;
}
.ct-hero-card-btn:hover { background: #0ea5bf; color: #fff; }

.ct-subnav {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.5rem 0;
  overflow-x: auto;
}
.ct-subnav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; gap: 0.5rem;
  white-space: nowrap;
}
.ct-subnav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  color: #0b2f5c; text-decoration: none;
  padding: 0.6rem 0.9rem;
  border-radius: 0.5rem;
  transition: background 0.15s;
}
.ct-subnav a:hover { background: #e2e8f0; }

/* Hide the old cert-hero on pages using ct-hero */
.ct-hero ~ main .cert-hero, body:has(.ct-hero) .cert-hero { display: none !important; }

@media (max-width: 820px) {
  .ct-topbar-inner { flex-direction: column; gap: 1rem; padding: 0 1rem; }
  .ct-hero { padding: 2.5rem 1rem 3rem; }
  .ct-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .ct-subnav-inner { padding: 0 1rem; }
}

.ct-hero-card-nrt {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 0 1rem; margin-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.ct-hero-card-nrt img { height: 92px; width: auto; display: block; max-width: 100%; }
.ct-hero-card-nrt strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b2f5c;
}
.ct-hero-card-nrt span {
  display: block;
  max-width: 230px;
  margin-top: 0.35rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #64748b;
}

/* Hero card state dropdown */
.ct-hero-card-select {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  cursor: pointer;
  outline: none;
  max-width: 170px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 4l3 4 3-4z' fill='%230b2f5c'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.75rem;
}
.ct-hero-card-select:hover { border-color: #0b2f5c; }
.ct-hero-card-state .ct-hero-card-label { flex-shrink: 0; }

/* Solo paywall (no right-side price/button) */
.paywall-top-inner-solo { grid-template-columns: 1fr !important; max-width: 720px; }

/* Claim Certificate form */
.claim-cert-section {
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem !important;
  margin-top: 1.5rem;
}
.claim-cert-form { display: flex; flex-direction: column; gap: 0.85rem; max-width: 500px; }
.claim-cert-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  color: #0f172a; display: flex; flex-direction: column; gap: 0.35rem;
}
.claim-cert-label input {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem; font-weight: 500; color: #0f172a;
  padding: 0.7rem 0.9rem;
  background: #fff; border: 2px solid #e2e8f0; border-radius: 0.6rem;
  outline: none; transition: border-color 0.15s;
}
.claim-cert-label input:focus { border-color: #059669; }
.claim-cert-status { font-size: 0.88rem; font-family: 'Inter', sans-serif; }
.claim-cert-status-ok   { color: #059669; }
.claim-cert-status-warn { color: #b45309; }
.claim-cert-status-err  { color: #dc2626; }

/* ===== T&C Agreement Modal ===== */
.tnc-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  padding: 1rem;
  font-family: 'Inter', sans-serif;
  animation: tnc-fade-in 0.15s ease-out;
}
@keyframes tnc-fade-in { from { opacity: 0; } to { opacity: 1; } }
.tnc-modal {
  background: #fff;
  border-radius: 1rem;
  max-width: 540px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
  max-height: 90vh;
  overflow-y: auto;
}
.tnc-modal-title {
  font-size: 1.5rem; font-weight: 800; color: #0f172a;
  letter-spacing: -0.02em; margin: 0 0 0.5rem;
}
.tnc-modal-sub {
  font-size: 0.95rem; color: #475569;
  line-height: 1.55; margin: 0 0 1.25rem;
}
.tnc-modal-highlights {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}
.tnc-modal-point {
  font-size: 0.85rem; color: #7c2d12;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.tnc-modal-point:last-child { margin-bottom: 0; }
.tnc-modal-point strong { color: #c2410c; }
.tnc-check-label {
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.9rem 1rem;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  cursor: pointer;
  margin-bottom: 1.25rem;
  font-size: 0.88rem; color: #334155; line-height: 1.45;
  transition: border-color 0.15s;
}
.tnc-check-label:hover { border-color: #94a3b8; }
.tnc-check-label input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #0b2f5c;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.tnc-check-label a { color: #0b2f5c; font-weight: 600; text-decoration: underline; }
.tnc-check-label a:hover { color: #1e40af; }
.tnc-modal-actions {
  display: flex; gap: 0.6rem; justify-content: flex-end;
  flex-wrap: wrap;
}
.tnc-btn-cancel, .tnc-btn-proceed {
  padding: 0.7rem 1.3rem;
  border-radius: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}
.tnc-btn-cancel {
  background: #f1f5f9; color: #334155;
  border: 1px solid #e2e8f0;
}
.tnc-btn-cancel:hover { background: #e2e8f0; }
.tnc-btn-proceed {
  color: #fff; border: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.tnc-btn-proceed:not(:disabled):hover { transform: translateY(-2px); }
.tnc-btn-proceed:disabled { opacity: 0.45; cursor: not-allowed; }
