/* ===========================
   Training - Hero
   =========================== */
.tr-hero {
  padding: 200px 0 100px;
  background: linear-gradient(135deg, #1C0944 0%, #100329 100%);
  position: relative;
  overflow: hidden;
}

.tr-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(130, 94, 231, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.tr-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tr-hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(130, 94, 231, 0.15);
  border: 1px solid rgba(130, 94, 231, 0.35);
  color: #C4B2F5;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tr-hero__title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
}

.tr-hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ===========================
   Chat Mockup
   =========================== */
.tr-chat {
  background: #180A3E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.tr-chat__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.tr-chat__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #825EE7, #53389E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.tr-chat__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.tr-chat__status {
  font-size: 0.75rem;
  color: #6EE7A8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tr-chat__status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6EE7A8;
}

.tr-chat__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tr-msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.tr-msg--ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-left-radius: 4px;
}

.tr-msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #825EE7, #53389E);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.tr-msg--coach {
  align-self: stretch;
  max-width: 100%;
  background: rgba(110, 231, 168, 0.08);
  border: 1px solid rgba(110, 231, 168, 0.25);
  color: #D6F5E4;
  font-size: 0.85rem;
}

.tr-msg__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0.7;
}

.tr-msg--coach .tr-msg__label {
  color: #6EE7A8;
  opacity: 1;
}

/* ===========================
   Feature Sections
   =========================== */
.tr-feature {
  padding: 80px 0;
  background: linear-gradient(180deg, #100329 0%, #0F0039 100%);
}

.tr-feature--alt {
  background: linear-gradient(180deg, #0F0039 0%, #1C0944 100%);
}

.tr-feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tr-feature__inner--reverse {
  direction: rtl;
}

.tr-feature__inner--reverse > * {
  direction: ltr;
}

.tr-feature__title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.tr-feature__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 20px;
}

.tr-feature__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tr-feature__list li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 0;
  padding-left: 34px;
  position: relative;
  line-height: 1.5;
}

.tr-feature__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #53389E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Visual card panel (right column of features) */
.tr-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
}

.tr-scenario {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tr-scenario__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tr-scenario__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(130, 94, 231, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.tr-scenario__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.tr-scenario__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Score panel */
.tr-score {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tr-score__item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.tr-score__value {
  font-size: 2rem;
  font-weight: 800;
  color: #C4B2F5;
  line-height: 1;
  margin-bottom: 6px;
}

.tr-score__label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   How It Works
   =========================== */
.tr-steps {
  padding: 100px 0;
  background: linear-gradient(180deg, #1C0944 0%, #100329 100%);
}

.tr-steps__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  margin-bottom: 12px;
}

.tr-steps__intro {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.tr-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tr-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 28px;
}

.tr-step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #825EE7, #53389E);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.tr-step__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.tr-step__text {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* ===========================
   Outcomes
   =========================== */
.tr-outcomes {
  padding: 100px 0;
  background: linear-gradient(135deg, #53389E 0%, #42307D 100%);
}

.tr-outcomes__inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.tr-outcomes__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.tr-outcomes__intro {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 48px;
}

.tr-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.tr-outcome-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
}

.tr-outcome-card__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.tr-outcome-card__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.tr-outcomes__closing {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  font-style: italic;
  line-height: 1.6;
}

/* ===========================
   Demo CTA
   =========================== */
.tr-demo {
  padding: 100px 0;
  background: linear-gradient(180deg, #0F0039 0%, #100329 50%, #1C0944 100%);
}

.tr-demo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.tr-demo__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.tr-demo__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 16px;
}

.tr-demo__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.tr-demo__list li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 0;
}

.tr-demo__list li::before {
  content: '→';
  color: #825EE7;
  margin-right: 10px;
  font-weight: 700;
}

.tr-demo__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tr-demo__badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

.tr-demo__booking {
  min-height: 500px;
  border-radius: 16px;
  overflow: hidden;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 992px) {
  .tr-hero__inner,
  .tr-feature__inner,
  .tr-demo__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tr-feature__inner--reverse {
    direction: ltr;
  }

  .tr-hero__title {
    font-size: 2.75rem;
  }

  .tr-steps__grid,
  .tr-outcomes__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tr-hero {
    padding: 160px 0 70px;
  }

  .tr-hero__title {
    font-size: 2.25rem;
  }

  .tr-feature,
  .tr-steps,
  .tr-outcomes,
  .tr-demo {
    padding: 60px 0;
  }

  .tr-steps__title,
  .tr-outcomes__title {
    font-size: 2rem;
  }

  .tr-demo__title {
    font-size: 1.75rem;
  }
}
