.hero-item {
  --td-accent: #66ffe6;
  --td-accent-rgb: 102, 255, 230;
  position: relative;
  padding: 12px 0 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 24%,
      rgba(0, 214, 200, 0.09),
      transparent 24%
    ),
    radial-gradient(
      circle at 100% 0%,
      rgba(83, 109, 254, 0.11),
      transparent 34%
    ),
    linear-gradient(135deg, #0a101a 0%, #0b1422 56%, #0c1626 100%);
}

.hero-item::before {
  background-image:
    linear-gradient(rgba(144, 174, 215, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144, 174, 215, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.44;
  animation: none;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 94%);
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
}

.hero-item::after {
  background: none;
  opacity: 1;
}

.td-container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.td-hero {
  position: relative;
  z-index: 1;
  padding: 30px 0 52px;
}

.td-crumbs {
  margin-bottom: 29px;
}

.td-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #8395ad;
  font-size: 0.78rem;
  list-style: none;
}

.td-crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.td-crumbs li:not(:last-child)::after {
  content: "/";
  color: #51637d;
}

.td-crumbs a {
  color: #aebed2;
  text-decoration: none;
}

.td-crumbs a:hover {
  color: var(--td-accent);
}

.td-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: clamp(45px, 7vw, 90px);
  align-items: end;
}

.td-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8bf5e6;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.td-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px rgba(var(--td-accent-rgb), 0.4);
}

.td-title {
  max-width: 900px;
  margin: 15px 0 0;
  color: #f2f6fd;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(2.6rem, 4.7vw, 4.8rem);
  font-weight: 360;
  line-height: 1;
  letter-spacing: -0.045em;
}

.td-summary {
  max-width: 760px;
  margin: 20px 0 0;
  color: #acbdd3;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.72;
}

.td-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid rgba(176, 202, 235, 0.11);
  border-bottom: 1px solid rgba(176, 202, 235, 0.11);
}

.td-meta-item {
  min-width: 0;
  padding: 13px 15px;
  border-right: 1px solid rgba(176, 202, 235, 0.1);
}

.td-meta-item:first-child {
  padding-left: 0;
}

.td-meta-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.td-meta-item small {
  display: block;
  margin-bottom: 5px;
  color: #71859f;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.td-meta-item strong {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: #dce7f5;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.td-meta-item i {
  flex: 0 0 auto;
  color: #8fa5ff;
}

.td-enroll {
  padding-left: 27px;
  border-left: 1px solid rgba(176, 202, 235, 0.13);
}

.td-enroll-label {
  display: block;
  margin-bottom: 10px;
  color: #7f92aa;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.td-price {
  display: block;
  color: var(--td-accent);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 720;
  line-height: 1;
}

.td-price-bdt {
  display: block;
  margin-top: 7px;
  color: #94a7bd;
  font-size: 0.77rem;
  font-weight: 650;
}

.td-enroll-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 21px;
  border: 0;
  border-radius: 11px;
  color: #06131b;
  background: linear-gradient(135deg, #78ffec, #24d7ca);
  box-shadow: 0 12px 30px rgba(0, 214, 200, 0.18);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.td-enroll-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0, 214, 200, 0.25);
}

.td-enroll-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 13px 0 0;
  color: #8295ae;
  font-size: 0.7rem;
  line-height: 1.45;
}

.td-enroll-note i {
  color: var(--td-accent);
}

.td-nav {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(176, 202, 235, 0.1);
  border-bottom: 1px solid rgba(176, 202, 235, 0.1);
  background: rgba(8, 16, 28, 0.86);
  backdrop-filter: blur(12px);
}

.td-nav-inner {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 49px;
  overflow-x: auto;
  scrollbar-width: none;
}

.td-nav-inner::-webkit-scrollbar {
  display: none;
}

.td-nav a {
  flex: 0 0 auto;
  padding: 15px 0 13px;
  color: #91a3bb;
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: none;
}

.td-nav a:hover {
  color: #e6f1fd;
}

.td-content {
  background: #09111e;
}

.td-section {
  position: relative;
  padding: clamp(68px, 7vw, 96px) 0;
  border-bottom: 1px solid rgba(176, 202, 235, 0.09);
}

.td-section:last-child {
  border-bottom: 0;
}

.td-section-alt {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(83, 109, 254, 0.06),
      transparent 30%
    ),
    linear-gradient(180deg, #0b1422, #09111e);
}

.td-section-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(35px, 7vw, 90px);
  align-items: start;
}

.td-section-marker {
  position: sticky;
  top: 90px;
  min-height: 164px;
  padding-top: 3px;
}

.td-section-symbol {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(var(--td-accent-rgb), 0.2);
  border-radius: 14px;
  color: var(--td-accent);
  background: rgba(var(--td-accent-rgb), 0.05);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.2);
  font-size: 1.25rem;
}

.td-section-label {
  display: block;
  margin-top: 17px;
  color: #8bf5e6;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.td-section-marker::after {
  content: "";
  display: block;
  width: 76px;
  height: 1px;
  margin-top: 17px;
  background: currentColor;
  color: rgba(var(--td-accent-rgb), 0.35);
}

.td-section-title {
  margin: 0;
  color: #eef4fd;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 420;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.td-rich {
  color: #adbed2;
  line-height: 1.78;
}

.td-rich > :first-child {
  margin-top: 0;
}

.td-rich > :last-child {
  margin-bottom: 0;
}

.td-rich p {
  margin: 0 0 14px;
}

.td-rich ul,
.td-rich ol {
  display: grid;
  gap: 9px;
  margin: 15px 0 0;
  padding-left: 20px;
}

.td-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid rgba(176, 202, 235, 0.13);
  border-bottom: 1px solid rgba(176, 202, 235, 0.13);
}

.td-overview-block {
  min-width: 0;
  padding: 27px 30px;
  border-right: 1px solid rgba(176, 202, 235, 0.13);
}

.td-overview-block:first-child {
  padding-left: 0;
}

.td-overview-block:last-child {
  padding-right: 0;
  border-right: 0;
}

.td-overview-block h3 {
  margin: 0 0 13px;
  color: #e8f0fc;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1.13rem;
  font-weight: 620;
}

.td-syllabus {
  margin-top: 35px;
  border-top: 1px solid rgba(176, 202, 235, 0.13);
}

.td-module {
  border-bottom: 1px solid rgba(176, 202, 235, 0.13);
}

.td-module summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  padding: 20px 0;
  color: #e5eefb;
  cursor: pointer;
  list-style: none;
}

.td-module summary::-webkit-details-marker {
  display: none;
}

.td-module-number {
  color: #71859f;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.td-module-title {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 620;
  line-height: 1.4;
}

.td-module-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(176, 202, 235, 0.14);
  border-radius: 50%;
  color: #a7b8cc;
  font-size: 1rem;
}

.td-module-toggle::before {
  content: "+";
}

.td-module[open] .td-module-toggle {
  border-color: rgba(var(--td-accent-rgb), 0.3);
  color: var(--td-accent);
  background: rgba(var(--td-accent-rgb), 0.055);
}

.td-module[open] .td-module-toggle::before {
  content: "−";
}

.td-module-body {
  padding: 0 42px 21px 72px;
  color: #9fafc4;
  font-size: 0.88rem;
  line-height: 1.66;
}

.td-module-body ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.td-module-body p {
  margin: 0;
}

.td-empty-note {
  margin: 25px 0 0;
  color: #8fa0b7;
}

.td-campus-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  padding: 3px 0 3px 16px;
  border-left: 2px solid #8198ff;
  color: #aab9cc;
  font-size: 0.86rem;
  line-height: 1.66;
}

.td-campus-note i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #9eafff;
}

.td-campus-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid rgba(176, 202, 235, 0.13);
  list-style: none;
}

.td-campus {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(176, 202, 235, 0.13);
}

.td-campus-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(var(--td-accent-rgb), 0.18);
  border-radius: 9px;
  color: var(--td-accent);
  background: rgba(var(--td-accent-rgb), 0.05);
}

.td-campus h3 {
  margin: 0 0 4px;
  color: #e5eef9;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 620;
}

.td-campus address {
  color: #93a5bc;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.55;
  white-space: pre-line;
}

.td-instructor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 35px;
}

.td-instructor {
  min-width: 0;
  padding: 25px;
  border: 1px solid rgba(176, 202, 235, 0.13);
  border-radius: 17px;
  background:
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.033),
      rgba(255, 255, 255, 0.012)
    ),
    #0a1321;
}

.td-instructor:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.td-instructor-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.td-instructor-identity {
  min-width: 0;
  padding-top: 3px;
}

.td-avatar {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(176, 202, 235, 0.16);
  border-radius: 15px;
  background: #0a1321;
  object-fit: cover;
}

.td-instructor-name {
  margin: 0;
  color: #edf4fd;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 650;
}

.td-instructor-role {
  margin: 3px 0 0;
  color: #91a4bb;
  font-size: 0.79rem;
}

.td-instructor-credentials {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}

.td-instructor-credentials-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  color: #7588a3;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.td-instructor-credentials-label i {
  color: var(--td-accent);
  font-size: 0.72rem;
}

.td-instructor-credentials .td-credentials {
  min-width: 0;
}

.td-instructor-bio {
  margin: 17px 0 0;
  color: #9fafc4;
  font-size: 0.86rem;
  line-height: 1.66;
}

.td-instructor-evidence {
  display: block;
  margin-top: 20px;
}

.td-evidence {
  min-width: 0;
  padding: 13px 0;
  border-top: 1px solid rgba(176, 202, 235, 0.11);
}

.td-evidence-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #7588a3;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.td-evidence-label i {
  color: var(--td-accent);
}

.td-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.td-credential {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(176, 202, 235, 0.14);
  border-radius: 7px;
  color: #cbd8e8;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.015em;
}

.td-evidence-value {
  color: #d8e5f4;
  font-size: 0.82rem;
  font-weight: 700;
}

.td-highlight-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid rgba(176, 202, 235, 0.11);
  list-style: none;
}

.td-highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #a7b7ca;
  font-size: 0.8rem;
  line-height: 1.5;
}

.td-highlight-list i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--td-accent);
}

.td-instructor-empty {
  margin-top: 28px;
  padding: 28px 0;
  border-top: 1px solid rgba(176, 202, 235, 0.13);
  border-bottom: 1px solid rgba(176, 202, 235, 0.13);
  color: #98a9bf;
}

.td-final {
  background:
    radial-gradient(
      circle at 88% 45%,
      rgba(0, 214, 200, 0.07),
      transparent 28%
    ),
    linear-gradient(180deg, #0b1422, #09111e);
}

.td-final-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.td-final-copy h2 {
  margin: 0;
  color: #f1f6ff;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 420;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.td-final-copy p {
  margin: 12px 0 0;
  color: #9fafc4;
}

.td-final-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 11px;
}

.td-instructor-actions {
  margin-top: 22px;
}

.td-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.td-button:hover {
  transform: translateY(-2px);
}

.td-button-primary {
  color: #06131b;
  background: linear-gradient(135deg, #78ffec, #24d7ca);
  box-shadow: 0 12px 30px rgba(0, 214, 200, 0.16);
}

.td-button-secondary {
  border-color: rgba(176, 202, 235, 0.2);
  color: #e5eefb;
  background: rgba(255, 255, 255, 0.025);
}

.td-button-secondary:hover {
  border-color: rgba(var(--td-accent-rgb), 0.4);
}

@media (max-width: 1050px) {
  .td-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .td-meta-item:nth-child(3) {
    border-right: 0;
  }

  .td-meta-item:nth-child(n + 4) {
    border-top: 1px solid rgba(176, 202, 235, 0.1);
  }

  .td-meta-item:nth-child(4) {
    padding-left: 0;
  }
}

@media (max-width: 860px) {
  .td-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .td-enroll {
    max-width: 430px;
    padding: 23px 0 0;
    border-top: 1px solid rgba(176, 202, 235, 0.13);
    border-left: 0;
  }

  .td-section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .td-section-marker {
    position: static;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: auto;
    padding: 0;
  }

  .td-section-symbol {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    font-size: 1.08rem;
  }

  .td-section-label {
    margin-top: 0;
  }

  .td-section-marker::after {
    flex: 1 1 auto;
    width: auto;
    max-width: 110px;
    margin-top: 0;
  }

  .td-overview-grid,
  .td-campus-list,
  .td-instructor-grid {
    grid-template-columns: 1fr;
  }

  .td-overview-block,
  .td-overview-block:first-child,
  .td-overview-block:last-child {
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(176, 202, 235, 0.1);
  }

  .td-overview-block:last-child {
    border-bottom: 0;
  }

  .td-instructor:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .td-final-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .td-container {
    width: calc(100% - 28px);
  }

  .td-hero {
    padding: 22px 0 42px;
  }

  .td-crumbs {
    margin-bottom: 23px;
  }

  .td-title {
    font-size: clamp(2.25rem, 11vw, 3.3rem);
  }

  .td-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .td-meta-item,
  .td-meta-item:first-child,
  .td-meta-item:nth-child(4),
  .td-meta-item:last-child {
    padding: 12px 11px;
    border-top: 1px solid rgba(176, 202, 235, 0.1);
    border-right: 1px solid rgba(176, 202, 235, 0.1);
  }

  .td-meta-item:nth-child(odd) {
    padding-left: 0;
  }

  .td-meta-item:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

  .td-meta-item:nth-child(-n + 2) {
    border-top: 0;
  }

  .td-section {
    padding: 62px 0;
  }

  .td-overview-grid {
    margin-top: 42px;
  }

  .td-module summary {
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    gap: 10px;
  }

  .td-module-body {
    padding-right: 10px;
    padding-left: 50px;
  }

  .td-instructor {
    padding: 21px 18px;
  }

  .td-final-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .td-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .td-meta {
    grid-template-columns: 1fr;
  }

  .td-meta-item,
  .td-meta-item:first-child,
  .td-meta-item:nth-child(4),
  .td-meta-item:last-child,
  .td-meta-item:nth-child(odd),
  .td-meta-item:nth-child(even) {
    padding: 11px 0;
    border-top: 1px solid rgba(176, 202, 235, 0.1);
    border-right: 0;
  }

  .td-meta-item:first-child {
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .td-enroll-button,
  .td-button {
    transition: none;
  }
}