.courses-page,
.course-detail-page {
  background: #02030b;
  color: #fff;
}

.nav-active { color: var(--azul-neon) !important; }
.nav-cta-link { display: inline-block; text-decoration: none; }

.catalog-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 14% 44%, rgba(15,85,151,.68), transparent 48%),
    radial-gradient(ellipse at 85% 35%, rgba(201,0,26,.2), transparent 38%),
    #02030b;
}

.catalog-hero { min-height: 72vh; padding: 112px 28px 54px; }
.catalog-stars { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1px 1px at 12% 20%, #fff 0%, transparent 100%), radial-gradient(1px 1px at 44% 14%, rgba(255,255,255,.6) 0%, transparent 100%), radial-gradient(1px 1px at 74% 30%, rgba(255,255,255,.5) 0%, transparent 100%), radial-gradient(1px 1px at 88% 74%, rgba(255,255,255,.55) 0%, transparent 100%), radial-gradient(1px 1px at 34% 82%, rgba(255,255,255,.45) 0%, transparent 100%); }

.catalog-hero-inner,
.detail-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  align-items: center;
  gap: 40px;
}

.catalog-hero-inner {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  text-align: center;
}

.catalog-copy { max-width: 860px; }
.catalog-kicker { color: var(--azul-neon); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.8px; }
.catalog-copy h1,
.detail-copy h1 { line-height: .95; text-transform: uppercase; margin: 13px 0 20px; }
.catalog-copy h1 { font-size: 4.5rem; white-space: nowrap; }
.catalog-copy p,
.detail-copy > p { max-width: 680px; color: rgba(255,255,255,.74); font-size: clamp(15px, 2vw, 18px); }
.catalog-copy p { margin-left: auto; margin-right: auto; }
.catalog-main-cta { display: inline-block; text-decoration: none; margin-top: 28px; }

.catalog-section { background: #f3f7fc; color: #10162f; padding: 74px 24px 84px; }
.catalog-container { max-width: 1180px; margin: 0 auto; }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.catalog-heading h2,
.detail-content h2,
.catalog-cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.12; margin-top: 7px; }
.course-count { color: #52617a; font-size: 13px; font-weight: 700; }

.catalog-controls { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.course-search { min-width: min(100%, 350px); display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #cfdae8; border-radius: 8px; padding: 11px 14px; }
.course-search input { width: 100%; border: none; outline: none; color: #10162f; background: transparent; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.category-filter { border: 1px solid #cbd8e8; background: #fff; color: #24334e; border-radius: 999px; padding: 9px 14px; font-size: 12px; font-weight: 800; }
.category-filter.active,
.category-filter:hover { background: #0f5597; color: #fff; border-color: #0f5597; }

.courses-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.catalog-course-card { min-height: 330px; background: #fff; border: 1px solid #dbe4ef; border-radius: 8px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.catalog-course-card:hover { transform: translateY(-5px); border-color: rgba(15,85,151,.38); box-shadow: 0 18px 38px rgba(18,42,96,.12); }
.catalog-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.catalog-card-icon { font-size: 38px; }
.catalog-card-category { color: #0f5597; background: #eaf5ff; border: 1px solid #c9e8ff; border-radius: 999px; padding: 5px 9px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.catalog-course-card h3 { font-size: 21px; line-height: 1.2; margin-bottom: 8px; }
.catalog-course-card p { color: #59677d; font-size: 14px; }
.catalog-card-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.catalog-card-meta span { color: #56647a; background: #f4f7fb; border-radius: 4px; padding: 5px 8px; font-size: 10px; font-weight: 700; }
.catalog-card-meta .prerequisite-tag { flex-basis: 100%; width: fit-content; }
.catalog-card-meta .prerequisite-tag.required { color: #7a3d00; background: #fff2cc; }
.catalog-card-meta .prerequisite-tag.open { color: #276221; background: #e6f4df; }
.catalog-course-card > a { color: #0f5597; font-size: 13px; font-weight: 900; text-decoration: none; }
.catalog-course-card > a span { margin-left: 4px; font-size: 18px; }
.courses-empty { text-align: center; padding: 56px 20px; color: #52617a; }
.courses-empty strong { display: block; color: #10162f; font-size: 20px; margin-bottom: 5px; }

.catalog-cta-band { max-width: 1180px; margin: 0 auto; padding: 54px 24px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.catalog-cta-band p { color: rgba(255,255,255,.65); margin-top: 8px; }
.catalog-cta-band .btn-primary { flex: 0 0 auto; text-decoration: none; }
.courses-footer { border-top: 1px solid rgba(44,177,253,.16); padding: 34px 20px; text-align: center; color: rgba(255,255,255,.52); }
.courses-footer img { height: 66px; width: auto; margin-bottom: 8px; }
.courses-footer p { font-size: 13px; margin-bottom: 8px; }
.courses-footer small { font-size: 11px; }

.detail-hero { min-height: 78vh; padding: 116px 28px 60px; display: flex; align-items: center; }
.detail-copy h1 { font-size: clamp(2.4rem, 5.2vw, 4.8rem); line-height: .98; text-wrap: balance; }
.breadcrumb { display: flex; gap: 9px; align-items: center; margin-bottom: 20px; color: rgba(255,255,255,.48); font-size: 12px; }
.breadcrumb a { color: var(--azul-neon); text-decoration: none; }
.detail-highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.detail-highlights span { padding: 7px 10px; border: 1px solid rgba(44,177,253,.3); background: rgba(44,177,253,.1); border-radius: 999px; color: #cbeeff; font-size: 11px; font-weight: 700; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.detail-actions a { text-decoration: none; }
.detail-visual { min-height: 380px; position: relative; display: grid; place-items: center; }
.detail-visual > span { font-size: clamp(9rem, 19vw, 15rem); filter: drop-shadow(0 0 42px rgba(44,177,253,.48)); }

.detail-facts { background: #0f5597; display: grid; grid-template-columns: repeat(4, 1fr); }
.detail-facts div { padding: 20px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.16); }
.detail-facts div:last-child { border-right: none; }
.detail-facts small { display: block; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.detail-facts strong { display: block; margin-top: 4px; font-size: 14px; }

.detail-content { background: #f3f7fc; color: #10162f; padding: 74px 24px; }
.detail-content > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.detail-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 42px; align-items: center; }
.detail-intro > div > p { color: #52617a; font-size: 16px; margin-top: 18px; }
.detail-side-panels { display: grid; gap: 12px; }
.audience-panel { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-left: 3px solid #2cb1fd; background: #fff; box-shadow: 0 14px 32px rgba(18,42,96,.08); }
.audience-panel > span { font-size: 28px; }
.audience-panel small { color: #0f5597; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.audience-panel p { color: #52617a; font-size: 13px; margin-top: 5px; }
.prerequisite-panel { border-left-color: #ff9a00; }
.prerequisite-panel small { color: #a55300; }
.detail-section-heading { margin-top: 72px; margin-bottom: 24px; }
.modules-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.module-item { min-height: 130px; padding: 20px; background: #fff; border: 1px solid #dbe4ef; border-radius: 8px; }
.module-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.module-number { color: #2d66e2; font-size: 12px; font-weight: 900; }
.module-item h3 { margin-top: 14px; font-size: 17px; line-height: 1.3; }
.module-item-detailed { min-height: 340px; display: flex; flex-direction: column; }
.module-item-detailed h3 { font-size: 20px; }
.module-item-detailed > p { color: #59677d; font-size: 13px; margin: 10px 0 16px; }
.module-app-icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: #fff; font-size: 22px; font-weight: 900; box-shadow: 0 10px 22px rgba(18,42,96,.16); }
.module-icon-windows { background: #0078D4; }
.module-icon-word { background: #185ABD; }
.module-icon-excel { background: #107C41; }
.module-icon-powerpoint { background: #C43E1C; }
.module-icon-internet { background: #0F5597; }
.module-icon-typing { background: #394867; }
.module-icon-photoshop { background: #001E36; color: #31A8FF; border: 1px solid #31A8FF; }
.module-icon-coreldraw { background: #148447; }
.module-icon-illustrator { background: #330000; color: #FF9A00; border: 1px solid #FF9A00; }
.module-icon-canva { background: #7d2ae8; }
.module-icon-premiere { background: #00005b; color: #9999ff; }
.module-icon-aftereffects { background: #00005b; color: #d8a1ff; }
.module-icon-video { background: #b42318; }
.module-icon-drawing { background: #6f42c1; }
.module-icon-design { background: #c9001a; }
.module-icon-scratch { background: #f9a83a; }
.module-icon-construct { background: #245b78; }
.module-icon-roblox { background: #252525; }
.module-icon-code { background: #394867; }
.module-icon-python { background: #3776ab; color: #ffd343; }
.module-icon-csharp { background: #68217a; }
.module-icon-java { background: #e76f00; }
.module-icon-php { background: #777bb4; }
.module-icon-sql { background: #cc2927; }
.module-icon-html { background: #e34f26; }
.module-icon-wordpress { background: #21759b; }
.module-icon-javascript { background: #f7df1e; color: #171717; }
.module-icon-react { background: #20232a; color: #61dafb; }
.module-icon-uml { background: #355070; }
.module-icon-android { background: #3ddc84; color: #073b2a; }
.module-icon-autocad { background: #d52029; }
.module-icon-sketchup { background: #005f9e; }
.module-icon-promob { background: #e65100; }
.module-icon-revit { background: #1769aa; }
.module-icon-solidworks { background: #d71920; }
.module-icon-lego { background: #ffd500; color: #d71920; }
.module-icon-arduino { background: #00878f; }
.module-icon-ai { background: #5b21b6; }
.module-icon-marketing { background: #c9001a; }
.module-icon-sales { background: #0f5597; }
.module-icon-business { background: #7a4b00; }
.module-icon-ecommerce { background: #e85d04; }
.module-icon-admin { background: #3b5b92; }
.module-icon-cash { background: #007f5f; }
.module-icon-finance { background: #2d6a4f; }
.module-icon-people { background: #9c36b5; }
.module-icon-logistics { background: #e67700; }
.module-icon-pharmacy { background: #2b8a3e; }
.module-icon-hardware { background: #495057; }
.module-icon-project { background: #6c5ce7; }
.module-icon-default { background: #0f5597; }
.module-hours { align-self: flex-start; color: #0f5597; background: #eaf5ff; border-radius: 999px; padding: 5px 9px; font-size: 10px; font-weight: 900; margin-bottom: 14px; }
.module-topics { list-style: none; margin-top: auto; display: flex; flex-wrap: wrap; gap: 7px; }
.module-topics li { color: #39516c; background: #eef5fb; border: 1px solid #dbe8f3; border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 700; }
.skills-band { margin-top: 60px; background: #071136; color: #fff; padding: 34px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; border-radius: 8px; }
.skills-band ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.skills-band li { position: relative; padding-left: 22px; color: rgba(255,255,255,.78); font-size: 13px; }
.skills-band li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: #2cb1fd; }

.course-final-cta { max-width: 1180px; min-height: 250px; margin: 0 auto; padding: 44px 24px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 36px; align-items: center; }
.course-final-cta h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; margin: 7px 0; }
.course-final-cta p { color: rgba(255,255,255,.65); max-width: 620px; }
.course-final-cta a { text-decoration: none; }
.course-not-found { min-height: 80vh; padding: 140px 24px 70px; display: grid; place-items: center; align-content: center; text-align: center; gap: 12px; }
.course-not-found > span { font-size: 64px; }
.course-not-found p { color: rgba(255,255,255,.65); max-width: 540px; }
.course-not-found a { text-decoration: none; margin-top: 10px; }

@media (max-width: 900px) {
  .catalog-hero-inner,
  .detail-hero-inner { grid-template-columns: 1fr; }
  .catalog-hero { min-height: auto; }
  .catalog-copy h1 { font-size: 3.6rem; }
  .detail-visual { display: none; }
  .courses-catalog,
  .modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-intro { grid-template-columns: 1fr; }
  .course-final-cta { grid-template-columns: minmax(0,1fr) auto; }
}

@media (max-width: 768px) {
  .catalog-hero,
  .detail-hero { padding: 108px 24px 48px; }
  .catalog-copy h1 { font-size: 2rem; white-space: nowrap; }
  .detail-copy h1 { font-size: clamp(2rem, 9vw, 3.4rem); overflow-wrap: anywhere; }
  .catalog-controls,
  .catalog-heading,
  .catalog-cta-band { align-items: stretch; flex-direction: column; }
  .course-search { width: 100%; }
  .detail-facts { grid-template-columns: 1fr 1fr; }
  .detail-facts div:nth-child(2) { border-right: none; }
  .detail-facts div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .skills-band { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .catalog-hero,
  .detail-hero { padding-left: 20px; padding-right: 20px; }
  .catalog-section,
  .detail-content { padding: 52px 16px; }
  .courses-catalog,
  .modules-grid { grid-template-columns: 1fr; }
  .catalog-course-card { min-height: 290px; }
  .detail-actions { flex-direction: column; }
  .detail-actions a { width: 100%; text-align: center; }
  .skills-band { padding: 24px 18px; }
  .skills-band ul { grid-template-columns: 1fr; }
  .course-final-cta { grid-template-columns: 1fr; text-align: center; }
  .course-final-cta .btn-primary { grid-column: 1; justify-self: center; }
}

@media (max-width: 360px) {
  .catalog-copy h1 { font-size: 1.65rem; }
}
