/* Trainer join landing — auth_app.php?mode=register&role=trainer */

html.edu-view-web .edu-web-content .auth-trainer-landing-app {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  min-height: auto;
}

.trainer-land {
  width: 100%;
  color: #1c1d1f;
  --trainer-land-banner: linear-gradient(180deg, #0b1426 0%, #070d18 100%);
}

/* —— Professional icon boxes —— */

.trainer-land-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.trainer-land-icon .edu-nav-icon,
.trainer-land-icon .edu-nav-icon-svg,
.trainer-land-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.trainer-land-icon--purple {
  background: linear-gradient(145deg, #152238, #0B1426);
  color: #fff;
}

.trainer-land-icon--blue {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  color: #fff;
}

.trainer-land-icon--teal {
  background: linear-gradient(145deg, #14b8a6, #0f766e);
  color: #fff;
}

.trainer-land-icon--gold {
  background: linear-gradient(145deg, #f59e0b, #d97706);
  color: #fff;
}

.trainer-land-icon--green {
  background: linear-gradient(145deg, #22c55e, #15803d);
  color: #fff;
}

.trainer-land-icon--indigo {
  background: linear-gradient(145deg, #6366f1, #0B1426);
  color: #fff;
}

.trainer-land-icon--light {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.trainer-land-icon--light .edu-nav-icon svg,
.trainer-land-icon--light svg {
  width: 16px;
  height: 16px;
}

.trainer-land-icon--panel {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0B1426, #152238);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 20, 38, 0.25);
}

.trainer-land-icon--panel .edu-nav-icon svg,
.trainer-land-icon--panel svg {
  width: 22px;
  height: 22px;
}

/* —— Hero + side panel —— */

.trainer-land-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 24px 52px;
  background: var(--trainer-land-banner);
  color: #fff;
  border-radius: 0 0 28px 28px;
}

.trainer-land-hero__glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 68%);
  pointer-events: none;
}

.trainer-land-hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.trainer-land-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 800;
}

.trainer-land-hero h1 {
  margin: 18px auto 14px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.trainer-land-hero p {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.trainer-land-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.trainer-land-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.trainer-land-btn--primary {
  background: #fff;
  color: #000000;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.trainer-land-btn--primary:hover {
  transform: translateY(-1px);
  background: #f8fafc;
}

.trainer-land-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.trainer-land-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* —— Stats —— */

.trainer-land-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1120px, calc(100% - 48px));
  margin: -24px auto 36px;
  position: relative;
  z-index: 2;
}

.trainer-land-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e4e8ec;
  box-shadow: 0 12px 32px rgba(13, 27, 62, 0.08);
}

.trainer-land-stat__body strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
  color: #000000;
}

.trainer-land-stat__body span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

/* —— Features —— */

.trainer-land-section-head {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 22px;
  text-align: center;
}

.trainer-land-section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: #000000;
}

.trainer-land-section-head p {
  margin: 0 auto;
  max-width: 58ch;
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
}

.trainer-land-section-head--light h2,
.trainer-land-section-head--light p {
  color: #fff;
}

.trainer-land-features {
  padding: 8px 0 44px;
}

.trainer-land-features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.trainer-land-feature {
  padding: 22px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e4e8ec;
  box-shadow: 0 8px 24px rgba(13, 27, 62, 0.05);
}

.trainer-land-feature .trainer-land-icon {
  margin-bottom: 14px;
}

.trainer-land-feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #000000;
}

.trainer-land-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

/* —— Power —— */

.trainer-land-power {
  padding: 44px 24px 52px;
  background: var(--trainer-land-banner);
}

.trainer-land-power__cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.trainer-land-power__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.trainer-land-power-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trainer-land-power-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #fff;
}

.trainer-land-power-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

html.edu-view-web .auth-trainer-landing-app .auth-control:focus,
html.edu-view-web .auth-trainer-landing-app .auth-field input:focus {
  border-color: #0B1426;
  box-shadow: 0 0 0 3px rgba(11, 20, 38, 0.1);
}

@media (max-width: 1024px) {
  .trainer-land-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .trainer-land-hero {
    padding: 28px 16px 32px;
    border-radius: 0 0 20px 20px;
  }

  .trainer-land-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 32px);
  }

  .trainer-land-features__grid,
  .trainer-land-power__grid {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }

  .trainer-land-section-head {
    width: calc(100% - 32px);
  }

}

/* Community shell — trainers join page */
.edu-page-community--trainers-join .community-trainers-join-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 0 1.5rem;
}

.edu-page-community--trainers-join .community-page-head--trainers-join {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 20px;
  background: var(--trainer-land-banner, linear-gradient(180deg, #0b1426 0%, #070d18 100%));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(7, 13, 24, 0.22);
}

.edu-page-community--trainers-join .community-page-head--trainers-join h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 900;
  color: #fff;
}

.edu-page-community--trainers-join .community-page-head--trainers-join p {
  margin: 0;
  max-width: 42rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.edu-page-community--trainers-join .community-page-head--trainers-join .edu-btn.primary {
  background: #fff;
  color: #0B1426;
  border-color: transparent;
}

.edu-page-community--trainers-join .community-page-head--trainers-join .edu-btn.primary:hover {
  background: #f8fafc;
  color: #070D18;
}

.edu-page-community--trainers-join .trainer-land-hero {
  border-radius: 20px;
  overflow: hidden;
}

.edu-page-community--trainers-join .trainer-land-stats,
.edu-page-community--trainers-join .trainer-land-features,
.edu-page-community--trainers-join .trainer-land-power {
  margin-inline: auto;
}

.edu-page-community--trainers-join .trainer-land-power {
  border-radius: 20px;
  overflow: hidden;
}

html.edu-view-web .edu-web-content .edu-page-community--trainers-join {
  --trainer-land-banner: linear-gradient(180deg, #0b1426 0%, #070d18 100%);
}

html.edu-view-web .edu-web-content .edu-page-community--trainers-join .trainer-land {
  padding-bottom: 1rem;
}

