/* Course Overview — Main "About the Course" hub page */

.course-overview {
  direction: rtl;
}

/* ── Header ───────────────────────────────────────── */

.co-header {
  text-align: center;
  padding: 60px 24px 40px;
  background: linear-gradient(170deg, #D6E8FF 0%, #E8F1FF 30%, #F4F8FF 60%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.co-header::before {
  content: '10x';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-62%, -48%);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 42vw;
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(160deg, rgba(0, 113, 227, 0.07) 0%, rgba(0, 90, 180, 0.025) 40%, rgba(100, 160, 240, 0.04) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 0.85;
  white-space: nowrap;
}

.co-logo {
  height: 48px;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.co-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 12px;
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  position: relative;
  z-index: 1;
}

.co-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--font-body);
  position: relative;
  z-index: 1;
}

/* ── Quick Navigation ─────────────────────────────── */

.co-quick-nav {
  position: sticky;
  top: 52px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
  padding: 0 24px;
}

.co-quick-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
}

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

.co-nav-pill {
  flex-shrink: 0;
  padding: 7px 16px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.co-nav-pill:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.co-nav-pill.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ── Content ──────────────────────────────────────── */

.co-content {
  max-width: 100%;
}

.co-loading {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-tertiary);
  font-size: 17px;
  font-family: var(--font-body);
}

/* ── Section blocks ───────────────────────────────── */

.co-section {
  padding: 72px 24px;
}

.co-section-alt {
  background: linear-gradient(180deg, #EFF6FF 0%, #F5F9FF 100%);
}

.co-section-muted {
  background: var(--bg-primary);
}

.co-section-tool {
  background: linear-gradient(170deg, #0A1628 0%, #0F2240 40%, #132D54 100%);
  color: #fff;
}

.co-section-tool .co-section-title {
  color: #fff;
}

.co-section-tool .co-section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.co-section-tool .co-section-body {
  color: rgba(255, 255, 255, 0.8);
}

.co-section-tool .co-read-more {
  color: #58A6FF;
}

.co-section-tool .co-read-more:hover {
  color: #79BBFF;
}

.co-section-inner {
  max-width: 860px;
  margin: 0 auto;
}

.co-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.co-section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 24px;
  font-family: var(--font-body);
}

.co-section-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  font-family: var(--font-body);
}

/* ── Read More Link ───────────────────────────────── */

.co-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 8px;
  font-family: var(--font-body);
}

.co-read-more:hover {
  opacity: 0.75;
}

.co-read-more .fa-arrow-left {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.co-read-more:hover .fa-arrow-left {
  transform: translateX(-3px);
}

/* ── Goals Grid ───────────────────────────────────── */

.co-goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.co-goals-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 14px;
  font-family: var(--font-display);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

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

.co-goals-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-right: 20px;
  position: relative;
  font-family: var(--font-body);
}

.co-goals-list li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--primary-color);
  border-radius: 50%;
}

/* ── Profile Cards ────────────────────────────────── */

.co-profiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.co-profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.co-profile-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.co-profile-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.co-profile-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-family: var(--font-body);
}

/* ── Limitation Tags ──────────────────────────────── */

.co-limitations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.co-limitation-tag {
  display: inline-block;
  padding: 10px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-color);
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.co-limitation-tag:hover {
  border-color: var(--primary-border);
  background: var(--primary-light);
}

/* ── Tool Section ─────────────────────────────────── */

.co-tool-badge {
  margin-bottom: 24px;
}

.co-tool-logo {
  height: 36px;
  opacity: 0.9;
}

/* ── Modules Grid ─────────────────────────────────── */

.co-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.co-module-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.co-module-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.co-module-num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary-color);
  opacity: 0.45;
  line-height: 1;
  flex-shrink: 0;
  min-width: 28px;
}

.co-module-info h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 3px;
  font-family: var(--font-body);
  line-height: 1.35;
}

.co-module-meta {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  font-family: var(--font-body);
}

/* ── Requirements ─────────────────────────────────── */

.co-requirements {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.co-req-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.co-req-item:last-child {
  border-bottom: none;
}

.co-req-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 0.7rem;
  margin-top: 2px;
}

.co-req-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.co-req-desc {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.5;
  font-family: var(--font-body);
}

/* ── Exclusion Tags ───────────────────────────────── */

.co-exclusions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.co-exclusion-tag {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-body);
}

/* ── CTA ──────────────────────────────────────────── */

.co-cta {
  padding: 80px 24px;
  background: linear-gradient(180deg, #DBEAFE 0%, #C7DBFA 100%);
  text-align: center;
}

.co-cta h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 14px;
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.co-cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-weight: 400;
  font-family: var(--font-body);
}

/* ── Tablet (768px - 1024px) ──────────────────────── */

@media (max-width: 1024px) {
  .co-header {
    padding: 48px 24px 32px;
  }

  .co-title {
    font-size: 2rem;
  }

  .co-section {
    padding: 56px 24px;
  }

  .co-section-title {
    font-size: 1.75rem;
  }

  .co-goals-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .co-profiles {
    grid-template-columns: 1fr;
  }

  .co-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .co-cta h2 {
    font-size: 1.85rem;
  }
}

/* ── Phone (< 768px) ─────────────────────────────── */

@media (max-width: 767px) {
  .co-header {
    padding: 36px 20px 28px;
  }

  .co-header::before {
    font-size: 60vw;
  }

  .co-logo {
    height: 40px;
  }

  .co-title {
    font-size: 1.75rem;
  }

  .co-subtitle {
    font-size: 1rem;
  }

  .co-quick-nav {
    padding: 0 16px;
  }

  .co-nav-pill {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .co-section {
    padding: 44px 20px;
  }

  .co-section-title {
    font-size: 1.5rem;
  }

  .co-section-subtitle {
    font-size: 1rem;
  }

  .co-section-body {
    font-size: 0.95rem;
  }

  .co-profiles {
    grid-template-columns: 1fr;
  }

  .co-profile-card {
    padding: 20px;
  }

  .co-modules-grid {
    grid-template-columns: 1fr;
  }

  .co-module-card {
    padding: 16px;
  }

  .co-cta {
    padding: 56px 20px;
  }

  .co-cta h2 {
    font-size: 1.65rem;
  }

  .co-cta p {
    font-size: 1rem;
  }

  .co-limitation-tag,
  .co-exclusion-tag {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .co-req-item {
    padding: 14px 0;
  }

  .co-read-more {
    font-size: 0.88rem;
  }
}
