/* ==========================================================================
   Messulogic - Single Course Overview & Instructor Profile Stylesheet
   Full responsive styling for Masteriyo LMS single course & public profile
   ========================================================================== */

:root {
  --eta-co-bg: #050505;
  --eta-co-card-bg: #0c0f14;
  --eta-co-border: rgba(255, 255, 255, 0.09);
  --eta-co-text-main: #f1f5f9;
  --eta-co-text-muted: #94a3b8;
  --eta-co-text-subtle: #64748b;
  --eta-co-primary: #ff5520; /* Messulogic Accent */
  --eta-co-primary-hover: #ff6e3a;
  --eta-co-accent-yellow: #f59e0b;
  --eta-co-pill-cat-bg: rgba(255, 85, 32, 0.15);
  --eta-co-pill-cat-text: #ff6e3a;
  --eta-co-pill-badge-bg: rgba(16, 185, 129, 0.15);
  --eta-co-pill-badge-text: #34d399;
  --eta-co-star-gold: #f59e0b;
  --eta-co-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --eta-co-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --eta-co-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --eta-co-radius-lg: 16px;
  --eta-co-radius-md: 12px;
  --eta-co-radius-sm: 8px;
}

/* Page Outer Wrapper */
.eta-course-overview-page {
  background: var(--eta-co-bg);
  color: var(--eta-co-text-main);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   Hero Header Section
   -------------------------------------------------------------------------- */
.eta-co-hero {
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--eta-co-border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(5, 5, 5, 0.95) 100%);
}

.eta-co-hero__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.eta-co-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 20px;
}

.eta-co-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s;
}

.eta-co-pill:hover {
  opacity: 0.9;
}

.eta-co-pill--category {
  background: var(--eta-co-pill-cat-bg);
  color: var(--eta-co-pill-cat-text);
  border: 1px solid rgba(255, 85, 32, 0.3);
}

.eta-co-pill--badge {
  background: var(--eta-co-pill-badge-bg);
  color: var(--eta-co-pill-badge-text);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.eta-co-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--eta-co-text-muted);
}

.eta-co-stars {
  display: inline-flex;
  align-items: center;
  color: var(--eta-co-star-gold);
  letter-spacing: 2px;
  font-size: 14px;
}

.eta-co-share-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--eta-co-card-bg);
  border: 1px solid var(--eta-co-border);
  border-radius: 9999px;
  color: var(--eta-co-text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eta-co-share-btn:hover {
  color: var(--eta-co-text-main);
  border-color: var(--eta-co-primary);
  transform: translateY(-1px);
}

.eta-co-hero__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--eta-co-text-main);
}

.eta-co-hero__subtitle {
  margin: 0;
  max-width: 860px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--eta-co-text-muted);
}

/* --------------------------------------------------------------------------
   Two-Column Main Content Container
   -------------------------------------------------------------------------- */
.eta-co-main {
  max-width: 1240px;
  margin: 36px auto 72px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-areas:
    "media   sidebar"
    "tabs    sidebar"
    "faq     sidebar";
  column-gap: 40px;
  row-gap: 36px;
  align-items: start;
}

.eta-co-media-wrap {
  grid-area: media;
  min-width: 0;
}

.eta-co-sidebar {
  grid-area: sidebar;
  width: 380px;
  align-self: stretch;
  position: relative;
  z-index: 20;
}

.eta-co-sidebar .eta-co-sticky-card {
  position: sticky;
  top: 96px;
}

.eta-co-tabs-wrap {
  grid-area: tabs;
  min-width: 0;
}

.eta-co-tabs-wrap .eta-co-tabs-nav {
  margin-top: 0;
}

.eta-co-faq {
  grid-area: faq;
  min-width: 0;
  margin-top: 0;
}

@media (max-width: 1040px) {
  .eta-co-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 24px auto 48px;
    padding: 0 16px;
  }

  .eta-course-overview-page {
    padding-bottom: 84px;
  }

  .eta-co-media-wrap {
    order: 1;
    width: 100%;
  }

  .eta-co-sidebar {
    order: 2;
    width: 100%;
    position: static !important;
    top: auto !important;
    z-index: 1 !important;
  }

  .eta-co-sidebar .eta-co-sticky-card {
    position: static !important;
    top: auto !important;
  }

  .eta-co-tabs-wrap {
    order: 3;
    width: 100%;
  }

  .eta-co-tabs-wrap .eta-co-tabs-nav {
    margin-top: 8px;
  }

  .eta-co-faq {
    order: 4;
    width: 100%;
  }
}

/* Hero Media / Video Card */
.eta-co-video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--eta-co-radius-lg);
  overflow: hidden;
  background: #0B0F19;
  box-shadow: var(--eta-co-shadow-md);
  border: 1px solid var(--eta-co-border);
}

.eta-co-video-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.eta-co-video-card:hover .eta-co-video-card__img {
  transform: scale(1.02);
}

/* "What you'll learn" Collapsible Card */
.eta-co-learn-card {
  margin-top: 36px;
  background: var(--eta-co-card-bg);
  border: 1px solid var(--eta-co-border);
  border-radius: var(--eta-co-radius-lg);
  box-shadow: var(--eta-co-shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.eta-co-learn-card:hover {
  border-color: rgba(255, 85, 32, 0.4);
}

.eta-co-learn-card__header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background 0.2s ease;
}

.eta-co-learn-card__header::-webkit-details-marker {
  display: none;
}

.eta-co-learn-card__header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.eta-co-learn-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--eta-co-text-main);
  letter-spacing: -0.015em;
}

.eta-co-learn-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255, 85, 32, 0.15);
  color: #ff6e3a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.eta-co-learn-card[open] .eta-co-learn-card__header {
  border-bottom: 1px solid var(--eta-co-border);
}

.eta-co-learn-card[open] .eta-co-learn-toggle-chevron {
  transform: rotate(180deg);
}

.eta-co-learn-body {
  padding: 28px;
  animation: etaCoFadeIn 0.3s ease;
}

@keyframes etaCoFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.eta-co-learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}

@media (max-width: 640px) {
  .eta-co-learn-card__header {
    padding: 18px 20px;
  }
  .eta-co-learn-body {
    padding: 20px;
  }
  .eta-co-learn-grid {
    grid-template-columns: 1fr;
  }
}

.eta-co-learn-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--eta-co-text-main);
}

.eta-co-learn-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--eta-co-pill-badge-bg);
  color: var(--eta-co-pill-badge-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}

/* Tabs Navigation */
.eta-co-tabs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--eta-co-border);
  margin-top: 40px;
  margin-bottom: 30px;
  padding-bottom: 12px;
  overflow-x: auto;
}

.eta-co-tab-btn {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--eta-co-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.eta-co-tab-btn:hover {
  color: var(--eta-co-text-main);
}

.eta-co-tab-btn.is-active {
  color: #ffffff;
  background: var(--eta-co-card-bg);
  border-color: var(--eta-co-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.eta-co-tab-panel {
  display: none;
  animation: eta-co-fadein 0.25s ease;
}

.eta-co-tab-panel.is-active {
  display: block;
}

@keyframes eta-co-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Prose Typography */
.eta-co-prose {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--eta-co-text-main);
}

.eta-co-prose h2,
.eta-co-prose h3,
.eta-co-prose h4 {
  color: var(--eta-co-text-main);
  margin: 32px 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.eta-co-prose h2 { font-size: 24px; }
.eta-co-prose h3 { font-size: 20px; }
.eta-co-prose h4 { font-size: 17px; }

.eta-co-prose p {
  margin: 0 0 18px;
  color: var(--eta-co-text-muted);
}

/* Certificate Preview Card */
.eta-co-certificate-card {
  margin: 36px 0 20px;
  background: var(--eta-co-card-bg);
  border: 1px solid var(--eta-co-border);
  border-radius: var(--eta-co-radius-lg);
  overflow: hidden;
  box-shadow: var(--eta-co-shadow-sm);
  text-align: center;
}

.eta-co-certificate-header {
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--eta-co-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.eta-co-certificate-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--eta-co-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.eta-co-certificate-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.eta-co-certificate-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eta-co-certificate-qa {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eta-co-certificate-qa h4 {
  margin: 12px 0 2px 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--eta-co-text-main);
  line-height: 1.4;
}

.eta-co-certificate-qa p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--eta-co-text-muted);
}

.eta-co-certificate-img-wrap {
  display: flex;
  justify-content: center;
}

.eta-co-certificate-img {
  max-width: 100%;
  width: 780px;
  height: auto;
  border-radius: var(--eta-co-radius-sm);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--eta-co-border);
}

/* Curriculum Accordion */
.eta-co-curriculum {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eta-co-module {
  background: var(--eta-co-card-bg);
  border: 1px solid var(--eta-co-border);
  border-radius: var(--eta-co-radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.eta-co-module__header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  user-select: none;
  background: var(--eta-co-card-bg);
}

.eta-co-module__header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.eta-co-module__title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eta-co-module__toggle-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--eta-co-text-muted);
  transition: transform 0.25s ease;
}

.eta-co-module.is-open .eta-co-module__toggle-icon {
  transform: rotate(45deg);
}

.eta-co-module__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--eta-co-text-main);
  margin: 0;
}

.eta-co-module__meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--eta-co-text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eta-co-module__lessons {
  display: none;
  padding: 0 20px 14px;
  border-top: 1px solid var(--eta-co-border);
}

.eta-co-module.is-open .eta-co-module__lessons {
  display: block;
}

.eta-co-lesson-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--eta-co-border);
  font-size: 14px;
  color: var(--eta-co-text-main);
}

.eta-co-lesson-row:last-child {
  border-bottom: none;
}

.eta-co-lesson-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eta-co-lesson-icon {
  color: var(--eta-co-text-muted);
  font-size: 14px;
}

.eta-co-lesson-meta {
  font-size: 12.5px;
  color: var(--eta-co-text-muted);
}

/* Reviews Panel */
.eta-co-reviews-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.eta-co-review-score-card {
  padding: 24px;
  background: var(--eta-co-card-bg);
  border: 1px solid var(--eta-co-border);
  border-radius: var(--eta-co-radius-lg);
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.eta-co-review-big-score {
  text-align: center;
}

.eta-co-review-big-score .score-num {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--eta-co-text-main);
}

.eta-co-review-big-score .score-stars {
  color: var(--eta-co-star-gold);
  font-size: 18px;
  margin: 6px 0;
}

.eta-co-review-big-score .score-label {
  font-size: 13px;
  color: var(--eta-co-text-muted);
}

.eta-co-review-bars {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eta-co-review-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--eta-co-text-muted);
}

.eta-co-review-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.eta-co-review-bar-fill {
  height: 100%;
  background: var(--eta-co-star-gold);
  border-radius: 9999px;
}

.eta-co-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eta-co-review-item {
  padding: 20px;
  background: var(--eta-co-card-bg);
  border: 1px solid var(--eta-co-border);
  border-radius: var(--eta-co-radius-md);
}

.eta-co-review-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.eta-co-review-item__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eta-co-review-item__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #4F46E5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.eta-co-review-item__name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--eta-co-text-main);
}

.eta-co-review-item__date {
  font-size: 12px;
  color: var(--eta-co-text-muted);
}

.eta-co-review-item__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--eta-co-text-muted);
}

/* FAQs */
.eta-co-faq {
  margin-top: 60px;
}

.eta-co-faq__title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--eta-co-text-main);
  margin: 0 0 28px;
}

.eta-co-faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eta-co-faq__item {
  background: var(--eta-co-card-bg);
  border: 1px solid var(--eta-co-border);
  border-radius: var(--eta-co-radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.eta-co-faq__btn {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--eta-co-text-main);
}

.eta-co-faq__btn:hover {
  background: rgba(255, 255, 255, 0.02);
}

.eta-co-faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--eta-co-text-muted);
  transition: transform 0.25s ease;
}

.eta-co-faq__item.is-open .eta-co-faq__icon {
  transform: rotate(45deg);
}

.eta-co-faq__answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--eta-co-text-muted);
  border-top: 1px solid var(--eta-co-border);
}

.eta-co-faq__item.is-open .eta-co-faq__answer {
  display: block;
}

/* Sticky Sidebar Card */
@media (min-width: 1041px) {
  .eta-co-sidebar {
    position: sticky;
    top: 96px;
    z-index: 20;
  }
}

.eta-co-sticky-card {
  background: var(--eta-co-card-bg);
  border: 1px solid var(--eta-co-border);
  border-radius: var(--eta-co-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--eta-co-shadow-md);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.eta-co-price-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.eta-co-price-current {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--eta-co-text-main);
  line-height: 1;
}

.eta-co-price-old {
  font-size: 17px;
  color: var(--eta-co-text-subtle);
  text-decoration: line-through;
}

.eta-co-price-discount {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

/* Primary CTA Button */
.eta-co-action-wrapper {
  width: 100%;
}

.eta-co-enroll-btn,
.eta-co-action-wrapper .masteriyo-enroll-btn,
.eta-co-action-wrapper .masteriyo-btn,
.eta-co-action-wrapper button,
.eta-co-action-wrapper a.button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px 24px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #ff5520 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(255, 85, 32, 0.4) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.eta-co-enroll-btn:hover,
.eta-co-action-wrapper .masteriyo-enroll-btn:hover,
.eta-co-action-wrapper .masteriyo-btn:hover,
.eta-co-action-wrapper button:hover,
.eta-co-action-wrapper a.button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(255, 85, 32, 0.55) !important;
}

.eta-co-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eta-co-text-muted);
  text-align: center;
  margin-top: -8px;
}

/* Course Features */
.eta-co-features {
  border-top: 1px solid var(--eta-co-border);
  padding-top: 20px;
}

.eta-co-features__title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 800;
  color: var(--eta-co-text-main);
  letter-spacing: -0.01em;
}

.eta-co-features__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.eta-co-features__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--eta-co-text-muted);
}

.eta-co-features__label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eta-co-features__icon {
  font-size: 15px;
}

.eta-co-features__val {
  font-weight: 700;
  color: var(--eta-co-text-main);
}

/* Instructor Box */
.eta-co-instructor {
  border-top: 1px solid var(--eta-co-border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eta-co-instructor__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eta-co-instructor__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--eta-co-border);
}

.eta-co-instructor__info {
  display: flex;
  flex-direction: column;
}

.eta-co-instructor__name {
  font-size: 15px;
  font-weight: 800;
  color: var(--eta-co-text-main);
  line-height: 1.2;
}

.eta-co-instructor__role {
  font-size: 12.5px;
  color: var(--eta-co-text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.eta-co-instructor__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--eta-co-text-main);
}

.eta-co-instructor__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.eta-co-instructor__social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--eta-co-bg);
  border: 1px solid var(--eta-co-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eta-co-text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
}

.eta-co-instructor__social-link:hover {
  background: var(--eta-co-primary);
  color: #fff;
  border-color: var(--eta-co-primary);
  transform: translateY(-2px);
}

/* Mobile Sticky Bar */
.eta-co-mobile-sticky-bar {
  display: none !important;
}

@media (max-width: 1040px) {
  .eta-co-mobile-sticky-bar {
    display: block !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(12, 15, 20, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.55);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  }

  .eta-co-mobile-sticky-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .eta-co-mobile-sticky-bar__inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .eta-co-mobile-sticky-bar__price-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .eta-co-mobile-sticky-bar__prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }

  .eta-co-mobile-sticky-bar__price {
    font-size: 21px;
    font-weight: 800;
    color: var(--eta-co-text-main);
    letter-spacing: -0.02em;
    line-height: 1.1;
  }

  .eta-co-mobile-sticky-bar__old {
    font-size: 13px;
    color: var(--eta-co-text-subtle);
    text-decoration: line-through;
  }

  .eta-co-mobile-sticky-bar__badge {
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
  }

  .eta-co-mobile-sticky-bar__guarantee {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--eta-co-text-muted);
    font-weight: 500;
    white-space: nowrap;
  }

  .eta-co-mobile-sticky-bar__action {
    flex-shrink: 0;
  }

  .eta-co-mobile-sticky-btn {
    min-height: 44px !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    background: #ff5520 !important;
    box-shadow: 0 4px 14px rgba(255, 85, 32, 0.45) !important;
  }
}

/* ==========================================================================
   MASTERIYO INSTRUCTOR PUBLIC PROFILE STYLES (.eta-prof-*)
   ========================================================================== */

.eta-prof-page {
  width: 100%;
  min-height: 100vh;
  background: #050505;
  color: #eaeef6;
}

/* 1. Charcoal Hero Banner */
.eta-prof-header {
  width: 100%;
  background: #0c0f14;
  color: #ffffff;
  padding: 56px 20px 48px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.eta-prof-header__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eta-prof-avatar-wrap {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 3px solid rgba(255, 85, 32, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  margin-bottom: 18px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eta-prof-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eta-prof-name {
  font-family: inherit;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.eta-prof-role {
  font-size: 14px;
  font-weight: 600;
  color: #ff6e3a;
  margin-bottom: 28px;
}

/* 3-Column Stats Box */
.eta-prof-stats-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 480px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.eta-prof-stat-col {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.eta-prof-stat-col:last-child {
  border-right: none;
}

.eta-prof-stat-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
}

.eta-prof-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

/* 2. Main Content Container */
.eta-prof-main {
  width: 100%;
  padding: 44px 20px 80px;
}

.eta-prof-container {
  max-width: 1060px;
  margin: 0 auto;
}

/* About Me Section */
.eta-prof-about-section {
  margin-bottom: 40px;
}

.eta-prof-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px 0;
}

.eta-prof-bio {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 960px;
}

.eta-prof-bio p {
  margin: 0 0 12px 0;
}

.eta-prof-bio p:last-child {
  margin-bottom: 0;
}

/* Contact Badges Strip */
.eta-prof-contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.eta-prof-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #11151c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.eta-prof-contact-pill:hover {
  background: #ff5520;
  color: #ffffff;
  border-color: #ff5520;
  transform: translateY(-1px);
}

.eta-prof-contact-pill svg {
  flex-shrink: 0;
  color: #10b981;
  transition: color 0.2s ease;
}

.eta-prof-contact-pill:hover svg {
  color: #ffffff;
}

.eta-prof-contact-pill--static {
  cursor: default;
}

.eta-prof-contact-pill--static:hover {
  background: #11151c;
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1);
  transform: none;
}

/* Courses Section */
.eta-prof-courses-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.eta-prof-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

/* Course Card */
.eta-prof-card {
  background: #0c0f14;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.eta-prof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 85, 32, 0.4);
}

.eta-prof-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  overflow: hidden;
}

.eta-prof-card__thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.eta-prof-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.eta-prof-card:hover .eta-prof-card__thumb img {
  transform: scale(1.04);
}

.eta-prof-card__badge-rating {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: #ff5521;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 85, 33, 0.45);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.eta-prof-card__wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease;
}

.eta-prof-card__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.eta-prof-card:hover .eta-prof-card__play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ff5520;
}

/* Card Body */
.eta-prof-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.eta-prof-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.38;
  color: #ffffff;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

.eta-prof-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.eta-prof-card__title a:hover {
  color: #ff6e3a;
}

.eta-prof-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.eta-prof-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 85, 32, 0.15);
  border: 1px solid rgba(255, 85, 32, 0.25);
  font-size: 11.5px;
  font-weight: 600;
  color: #ff6e3a;
}

.eta-prof-card__students {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}

.eta-prof-card__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: 12px;
}

.eta-prof-card__author {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

.eta-prof-card__author:hover {
  color: #ff5520;
}

.eta-prof-card__price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.eta-prof-card__price-old {
  font-size: 11.5px;
  color: #64748b;
  text-decoration: line-through;
  line-height: 1.2;
}

.eta-prof-card__price-current {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.eta-prof-card__action-row {
  display: flex;
  justify-content: flex-end;
}

.eta-prof-card__btn-cart {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 6px;
  border: 1.5px solid #ff5520;
  background: transparent;
  color: #ff6e3a;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.18s ease;
  cursor: pointer;
}

.eta-prof-card__btn-cart:hover {
  background: #ff5520;
  color: #ffffff;
}

.eta-prof-empty {
  padding: 48px 24px;
  text-align: center;
  background: #0c0f14;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 640px) {
  .eta-prof-header {
    padding: 36px 16px 32px;
  }
  .eta-prof-name {
    font-size: 22px;
  }
  .eta-prof-stats-box {
    max-width: 100%;
  }
  .eta-prof-stat-col {
    padding: 10px 8px;
  }
  .eta-prof-stat-label {
    font-size: 11px;
  }
  .eta-prof-stat-value {
    font-size: 14px;
  }
  .eta-prof-main {
    padding: 28px 16px 60px;
  }
  .eta-prof-courses-grid {
    grid-template-columns: 1fr;
  }
}
