/* =============================================
   TRAINING PAGE — aibizmy.com/training
   Builds on chatbot.css (.cb-*) base
   ============================================= */

/* Widen the wrap a touch so 3-column pricing breathes */
.tr-wrap { max-width: 960px; }

/* Active nav link */
.nav-links a.active { color: #eeeef8; }
.nav-links a.active::after { transform: scaleX(1); }

/* ── WHO THIS IS FOR / WHY ME ── */
/* Override cb-caps 2-col grid for 3 and 4 column variants */
.tr-three { grid-template-columns: repeat(3, 1fr); }
.tr-why { grid-template-columns: repeat(2, 1fr); }

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

/* ── 5 MODULES ── */
.tr-modules {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tr-module {
  background: #111124;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 22px 22px 0;
  transition: border-color 0.2s, transform 0.2s;
}
.tr-module:hover {
  border-color: rgba(124,58,237,0.35);
  transform: translateY(-2px);
}

.tr-module-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.tr-module-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  padding-top: 2px;
}

.tr-module-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67e8f9;
  margin-bottom: 6px;
}

.tr-module-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #eeeef8;
  margin: 0;
  line-height: 1.3;
}

.tr-module > p {
  font-size: 13px;
  color: #9494b8;
  line-height: 1.7;
  margin: 0 0 16px;
  padding-left: 56px;
}

.tr-module-build {
  margin: 0 -22px;
  padding: 14px 22px 14px 78px;
  background: rgba(124,58,237,0.05);
  border-top: 1px solid rgba(124,58,237,0.14);
  border-radius: 0 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tr-module-build-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c084fc;
}

.tr-module-build span:last-child {
  font-size: 13px;
  color: #c4c4d8;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .tr-module > p { padding-left: 0; }
  .tr-module-build { padding-left: 22px; }
}

/* ── PRICING ── */
.tr-pricing-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(124,58,237,0.06));
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 14px;
  margin-bottom: 22px;
  font-size: 13.5px;
  color: #c4c4d8;
  line-height: 1.6;
}

.tr-pricing-banner strong {
  color: #fcd34d;
  font-weight: 700;
}

.tr-pricing-banner-icon {
  font-size: 24px;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .tr-pricing-banner { flex-direction: column; text-align: center; align-items: center; gap: 8px; }
}

.tr-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

@media (max-width: 760px) {
  .tr-pricing { grid-template-columns: 1fr; }
}

.tr-tier {
  background: #111124;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.tr-tier:hover {
  border-color: rgba(124,58,237,0.35);
  transform: translateY(-3px);
}

.tr-tier-featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(6,182,212,0.07));
  border-color: rgba(124,58,237,0.4);
  box-shadow: 0 12px 36px rgba(124,58,237,0.15);
}

.tr-tier-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(124,58,237,0.4);
}

.tr-tier-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #eeeef8;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.tr-tier-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #eeeef8;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.tr-tier-currency {
  font-size: 16px;
  font-weight: 700;
  color: #9494b8;
  margin-right: 4px;
}

.tr-tier-unit {
  font-size: 13px;
  font-weight: 500;
  color: #9494b8;
  margin-left: 2px;
}

.tr-tier-sub {
  font-size: 13px;
  color: #67e8f9;
  font-weight: 500;
  margin-bottom: 18px;
}

.tr-tier-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tr-tier-feats li {
  font-size: 13px;
  color: #c4c4d8;
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.tr-tier-feats li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #4ade80;
  font-weight: 700;
  font-size: 13px;
}

.tr-tier-feats li strong {
  color: #fcd34d;
  font-weight: 700;
}

.tr-tier-featured .tr-tier-feats li strong { color: #fcd34d; }

.tr-tier-cta {
  display: block;
  text-align: center;
  padding: 11px 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: #eeeef8;
  font-weight: 600;
  font-size: 13px;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.tr-tier-cta:hover {
  border-color: rgba(124,58,237,0.5);
  background: rgba(124,58,237,0.08);
}

.tr-tier-cta-primary {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(124,58,237,0.32);
}
.tr-tier-cta-primary:hover {
  opacity: 0.9;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
}

/* ── ADD-ON CALLOUT ── */
.tr-addon {
  background: rgba(245,158,11,0.06);
  border: 1px dashed rgba(245,158,11,0.32);
  border-radius: 14px;
  padding: 22px;
  margin-top: 10px;
}

.tr-addon-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 8px;
  padding: 3px 10px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.28);
  border-radius: 999px;
}

.tr-addon h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #eeeef8;
  margin: 0 0 8px;
}

.tr-addon p {
  font-size: 13px;
  color: #c4c4d8;
  line-height: 1.7;
  margin: 0;
}

.tr-addon p strong {
  color: #fcd34d;
}

/* ── WHAT'S INCLUDED LIST ── */
.tr-included {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tr-included li {
  background: #111124;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 16px 14px 44px;
  font-size: 13px;
  color: #c4c4d8;
  line-height: 1.65;
  position: relative;
  transition: border-color 0.2s;
}

.tr-included li:hover { border-color: rgba(34,197,94,0.32); }

.tr-included li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34,197,94,0.18);
  border: 1px solid rgba(34,197,94,0.35);
  color: #4ade80;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tr-included li strong {
  color: #eeeef8;
  font-weight: 700;
}

/* ── DETAILED COURSE OUTLINE ── */
.tr-outline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tr-outline-module {
  background: #111124;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 26px 24px;
  transition: border-color 0.2s;
}
.tr-outline-module:hover { border-color: rgba(124,58,237,0.32); }

.tr-outline-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.tr-outline-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.03em;
  padding-top: 2px;
}

.tr-outline-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #67e8f9;
  margin-bottom: 6px;
}

.tr-outline-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #eeeef8;
  margin: 0 0 6px;
  line-height: 1.3;
}

.tr-outline-meta {
  font-size: 12px;
  color: #9494b8;
  margin: 0;
  font-weight: 500;
}

.tr-outline-block {
  margin-bottom: 18px;
}
.tr-outline-block:last-child { margin-bottom: 0; }

.tr-outline-block-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tr-outline-block-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: #c084fc;
  border-radius: 2px;
}

.tr-outline-list,
.tr-outline-ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tr-outline-list li,
.tr-outline-ol li {
  font-size: 13.5px;
  color: #c4c4d8;
  line-height: 1.65;
  padding-left: 22px;
  position: relative;
}

.tr-outline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
}

.tr-outline-ol {
  counter-reset: tr-step;
}
.tr-outline-ol li {
  counter-increment: tr-step;
  padding-left: 32px;
}
.tr-outline-ol li::before {
  content: counter(tr-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: rgba(124,58,237,0.16);
  border: 1px solid rgba(124,58,237,0.32);
  color: #c084fc;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tr-outline-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tr-outline-tool {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #c4c4d8;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.01em;
}

.tr-outline-prework {
  background: rgba(245,158,11,0.05);
  border: 1px dashed rgba(245,158,11,0.28);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 4px;
}
.tr-outline-prework .tr-outline-block-label { color: #f59e0b; margin-bottom: 6px; }
.tr-outline-prework .tr-outline-block-label::before { background: #f59e0b; }
.tr-outline-prework p {
  font-size: 13px;
  color: #c4c4d8;
  line-height: 1.65;
  margin: 0;
}

/* ── PROFILE ── */
.tr-profile {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tr-profile-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(6,182,212,0.06));
  border: 1px solid rgba(124,58,237,0.28);
  border-radius: 18px;
}

.tr-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 18px rgba(124,58,237,0.4);
}

.tr-profile-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #eeeef8;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.tr-profile-title {
  font-size: 13px;
  color: #67e8f9;
  font-weight: 500;
  margin-bottom: 10px;
}

.tr-profile-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tr-profile-lang {
  font-size: 11px;
  font-weight: 600;
  color: #c4c4d8;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.tr-profile-bio p {
  font-size: 14.5px;
  color: #c4c4d8;
  line-height: 1.78;
  margin: 0 0 14px;
}
.tr-profile-bio p:last-child { margin-bottom: 0; }

.tr-profile-link-inline {
  color: #67e8f9;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(103,232,249,0.4);
}
.tr-profile-link-inline:hover {
  color: #c084fc;
  border-bottom-color: rgba(192,132,252,0.5);
}

.tr-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px) {
  .tr-profile-grid { grid-template-columns: 1fr; }
  .tr-profile-head { flex-direction: column; text-align: center; align-items: center; }
  .tr-profile-langs { justify-content: center; }
}

.tr-profile-card {
  background: #111124;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color 0.2s;
}
.tr-profile-card:hover { border-color: rgba(124,58,237,0.32); }

.tr-profile-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tr-profile-card-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: #c084fc;
  border-radius: 2px;
}

.tr-profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tr-profile-list li {
  font-size: 13px;
  color: #c4c4d8;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.tr-profile-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #67e8f9;
}

.tr-profile-list li strong {
  color: #eeeef8;
  font-weight: 700;
}

.tr-profile-list li a {
  color: #67e8f9;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(103,232,249,0.3);
}
.tr-profile-list li a:hover {
  color: #c084fc;
  border-bottom-color: rgba(192,132,252,0.5);
}

.tr-profile-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 720px) {
  .tr-profile-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .tr-profile-links { grid-template-columns: 1fr; }
}

.tr-profile-link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #111124;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.tr-profile-link-btn:hover {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.06);
  transform: translateY(-2px);
}

.tr-profile-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.tr-profile-link-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #eeeef8;
  line-height: 1.2;
  margin-bottom: 2px;
  font-family: 'Space Grotesk', sans-serif;
}

.tr-profile-link-url {
  display: block;
  font-size: 11px;
  color: #9494b8;
  line-height: 1.2;
  word-break: break-all;
}

/* ── FAQ ── */
.tr-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tr-faq details {
  background: #111124;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 18px;
  transition: border-color 0.2s;
}

.tr-faq details:hover { border-color: rgba(6,182,212,0.25); }

.tr-faq summary {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #eeeef8;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.tr-faq summary::-webkit-details-marker { display: none; }
.tr-faq summary::after {
  content: '+';
  color: #67e8f9;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s;
}
.tr-faq details[open] summary::after { content: '–'; }

.tr-faq details p {
  margin: 10px 0 0;
  font-size: 13px;
  color: #9494b8;
  line-height: 1.7;
}

/* ── DAILY SCHEDULE TABLE ── */
.tr-sched-wrap {
  overflow-x: auto;
  margin: 6px 0 4px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
}

.tr-sched {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 520px;
}

.tr-sched th {
  background: rgba(124,58,237,0.18);
  color: #eeeef8;
  text-align: left;
  padding: 10px 13px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tr-sched td {
  padding: 11px 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #c4c4d8;
  vertical-align: top;
  line-height: 1.55;
}

.tr-sched tr:last-child td { border-bottom: none; }

.tr-sched td:first-child {
  white-space: nowrap;
  color: #67e8f9;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
}

.tr-sched td:nth-child(2) {
  color: #eeeef8;
  font-weight: 600;
  width: 26%;
}

.tr-sched tr:hover td { background: rgba(255,255,255,0.02); }

.tr-sched .tr-sched-break td {
  color: #6b6b88;
  font-style: italic;
  background: rgba(255,255,255,0.015);
}
.tr-sched .tr-sched-break td:first-child { color: #6b6b88; }
.tr-sched .tr-sched-break td:nth-child(2) { color: #9494b8; font-weight: 500; }
