/*
 * Herd — defi/quant shared design tokens.
 *
 * Single source of truth for the defi pattern used across every Herd app
 * (Neptune, Orion, Triton, Runes, Virgil, Vulcan, Ceres, Hyperion, Symphony,
 * Nexus, Hermes, Selene, Courses). Courses landing and catalog DeFi section
 * styles live here so Blade partials can stay markup-focused.
 *
 * Loaded once via base/layouts/header.blade.php on every app. The library
 * app owns the canonical copy; apps either symlink or copy the file.
 */

/* ===== Font utilities ===== */
.font-space-grotesk,
.font-sans {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
}

.font-mono {
  font-family:
    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Courier New", monospace;
}

/* ===== Kicker (01 / Section) ===== */
.portfolio-landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-landing-kicker-num {
  font-weight: 500;
  color: rgba(16, 207, 189, 0.9);
}

/* ===== Status bar (defi top hairline row) ===== */
.portfolio-landing-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.portfolio-landing-statusbar-left,
.portfolio-landing-statusbar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.portfolio-landing-statusbar-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ===== Stat grid (4-column) ===== */
.portfolio-landing-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.portfolio-landing-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 16px 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-landing-stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.portfolio-landing-stat-value {
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  font-feature-settings: "tnum" on;
  white-space: nowrap;
  color: #ffffff;
}

.portfolio-landing-stat-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
}

.portfolio-landing-stat-tag {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(125, 207, 255, 0.54);
}

.portfolio-landing-stat-subtext {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.28);
}

/* ===== Base section shell ===== */
.vulcan-defi-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

/* ===== Scroll cue ===== */
.courses-defi-scroll-cue,
.vulcan-defi-scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.courses-defi-scroll-cue-line,
.vulcan-defi-scroll-cue-line {
  display: block;
  width: 80px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
}

/* ===== Master tag (defi bordered pill) ===== */
.courses-defi-tag,
.vulcan-defi-tag {
  position: relative;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-right-width: 0;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.courses-defi-tag:last-child,
.vulcan-defi-tag:last-child {
  border-right-width: 1px;
}

.courses-defi-tag:hover,
.vulcan-defi-tag:hover {
  background: rgba(16, 207, 189, 0.08);
  border-color: rgba(16, 207, 189, 0.42);
  color: #ffffff;
}

/* ===== Hairline divider (centered label) ===== */
.courses-defi-divider,
.vulcan-defi-divider {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
}

.courses-defi-divider span,
.vulcan-defi-divider span {
  display: block;
  width: 10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

/* ===== Light-theme variants ===== */
.portfolio-landing-statusbar--light,
.portfolio-landing-statusbar-light {
  border-top-color: rgba(15, 23, 42, 0.12);
  border-bottom-color: rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.55);
}

.portfolio-landing-statusbar--light .portfolio-landing-statusbar-sep,
.portfolio-landing-statusbar-light .portfolio-landing-statusbar-sep {
  color: rgba(15, 23, 42, 0.3);
}

.courses-defi-scroll-cue-line--light,
.vulcan-defi-scroll-cue-line--light {
  background: rgba(15, 23, 42, 0.22);
}

/* ===== Section base styles (used by generator output) ===== */
.defi-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0 90px;
  font-family: "Space Grotesk", sans-serif;
}

.defi-section--dark {
  background: #0d0d14;
  color: #ffffff;
}

.defi-section--light {
  background: #fff;
  color: #0b0d10;
}

.defi-section-head {
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: center;
}

.defi-section-kicker {
  margin: 0 0 18px;
  justify-content: center;
}

.defi-section--dark .defi-section-kicker {
  color: rgba(255, 255, 255, 0.46);
}

.defi-section--light .defi-section-kicker {
  color: rgba(15, 23, 42, 0.46);
}

.defi-section-title {
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0 0 16px;
}

.defi-section-body {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.defi-section--dark .defi-section-body {
  color: rgba(255, 255, 255, 0.66);
}

.defi-section--light .defi-section-body {
  color: rgba(15, 23, 42, 0.66);
}

/* ===== Responsive (shared mobile rules) ===== */
@media (max-width: 767px) {
  .portfolio-landing-statusbar {
    align-items: flex-start;
    flex-direction: column;
    font-size: 10px;
  }

  .portfolio-landing-statusbar-left,
  .portfolio-landing-statusbar-right {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .portfolio-landing-statusbar-right {
    width: 100%;
    justify-content: flex-start;
  }

  .portfolio-landing-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-landing-stat {
    padding: 18px 14px 16px;
  }

  .portfolio-landing-stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .portfolio-landing-stat:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .portfolio-landing-kicker {
    font-size: 10px;
  }
}

/* ===== Courses catalog shared sections ===== */
.course-embark-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 80px 0 80px;
  background: #fff;
  color: #0b0d10;
}

.course-embark-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

.course-embark-head {
  margin: 0 auto 48px;
  text-align: center;
}

.course-embark-kicker {
  margin: 0 0 18px;
  justify-content: center;
  color: rgba(15, 23, 42, 0.55);
}

.course-embark-kicker .portfolio-landing-kicker-num {
  color: rgba(15, 23, 42, 0.32);
}

.course-embark-section-title {
  color: #0b0d10;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 14px;
}

.course-embark-section-subtitle {
  color: rgba(15, 23, 42, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 60ch;
}

.course-embark-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.course-embark-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.course-embark-tick {
  flex: 0 0 32px;
  color: rgba(15, 23, 42, 0.42);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding-top: 4px;
}

.course-embark-item-text {
  color: rgba(15, 23, 42, 0.82);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
}

.course-embark-cta {
  display: flex;
  justify-content: center;
  padding-top: 32px;
}

.course-effortless-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 80px 0 80px;
  background: #0d0d14;
  color: #fff;
}

.course-effortless-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

.course-effortless-head {
  max-width: 70ch;
  margin: 0 auto 48px;
  text-align: center;
}

.course-effortless-kicker {
  margin: 0 0 18px;
  justify-content: center;
}

.course-effortless-section-title {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 14px;
}

.course-effortless-section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 60ch;
}

.course-effortless-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.course-effortless-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 30px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 220px;
}

.course-effortless-card-num {
  color: rgba(16, 207, 189, 0.78);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}

.course-effortless-card-title {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}

.course-effortless-card-body {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .course-effortless-head {
    text-align: left;
  }

  .course-effortless-kicker {
    justify-content: flex-start;
  }

  .course-effortless-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .course-embark-head {
    text-align: left;
  }

  .course-embark-kicker {
    justify-content: flex-start;
  }

  .course-embark-list li {
    gap: 12px;
  }
}

/* ===== Extracted from resources/views/courses/catalog/partials/video-overlay.blade.php ===== */
.video-overlap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  top: 65%;
  height: auto;
  /* half overlaps into next section */
  z-index: 5;
  border-radius: 5px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.video-overlap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.next-section-padding {
  padding-top: 50vh;
  /* creates space under the overlap */
}

@media (max-width: 991px) {
  .video-overlap {
    width: 90vw;
    height: auto;
    bottom: auto;
    border-radius: 12px;
  }

  .next-section-padding {
    padding-top: 26vh;
  }
}

/* ===== Extracted from resources/views/courses/welcome/section-meet-instructor.blade.php ===== */
/* ===== Courses section-meet-instructor — defi/quant (light bg) ===== */
.course-instructor-section {
  --course-instructor-line: rgba(15, 23, 42, 0.12);
  --course-instructor-text: #0b0d10;
  --course-instructor-muted: rgba(15, 23, 42, 0.62);
  --course-instructor-dim: rgba(15, 23, 42, 0.38);
  position: relative;
  overflow: hidden;
  background: #fff;
  color: var(--course-instructor-text);
  padding: 100px 0 100px;
  font-family: "Space Grotesk", sans-serif;
}

.course-instructor-section,
.course-instructor-section * {
  box-sizing: border-box;
}

.course-instructor-orb {
  position: absolute;
  right: -100px;
  top: 35%;
  width: 360px;
  height: 360px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(16, 207, 189, 0.14) 0%,
    rgba(16, 207, 189, 0.04) 45%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(1px);
}

.course-instructor-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

.course-instructor-kicker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--course-instructor-line);
}

.course-instructor-kicker {
  color: var(--course-instructor-dim);
}

.course-instructor-kicker .portfolio-landing-kicker-num {
  color: rgba(16, 207, 189, 0.9);
}

.course-instructor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.course-instructor-copy {
  max-width: 620px;
}

.course-instructor-title {
  color: var(--course-instructor-text);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0 0 26px;
}

.course-instructor-bio {
  color: var(--course-instructor-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.course-instructor-bio:last-of-type {
  margin-bottom: 0;
}

.course-instructor-link {
  color: var(--course-instructor-text);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
  transition:
    color 0.18s ease,
    border-color 0.18s ease;
}

.course-instructor-link:hover {
  color: #10cfbd;
  border-color: #10cfbd;
}

.course-instructor-link-blue {
  border-bottom-color: #48b0f7;
}

.course-instructor-link-blue:hover {
  color: #48b0f7;
}

.course-instructor-link-red {
  border-bottom-color: #ff5a4a;
}

.course-instructor-link-red:hover {
  color: #ff5a4a;
}

.course-instructor-link-brown {
  border-bottom-color: #6f4e37;
}

.course-instructor-link-brown:hover {
  color: #6f4e37;
}

.course-instructor-link-youtube {
  border-bottom-color: #ff0000;
}

.course-instructor-link-youtube:hover {
  color: #ff0000;
}

.course-instructor-link-dark {
  border-bottom-color: #0b0d10;
}

.course-instructor-link-dark:hover {
  color: #10cfbd;
  border-color: #10cfbd;
}

.course-instructor-ext {
  font-size: 9px;
  margin-left: 2px;
  opacity: 0.7;
}

.course-instructor-pin {
  margin: 0 2px;
}

.course-instructor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--course-instructor-line);
}

.course-instructor-credential {
  position: relative;
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--course-instructor-dim);
  border-right: 1px solid var(--course-instructor-line);
}

.course-instructor-credential:last-child {
  border-right: 0;
}

.course-instructor-credential:first-child {
  padding-left: 0;
}

.course-instructor-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.course-instructor-social {
  color: var(--course-instructor-muted);
  font-size: 16px;
  text-decoration: none;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.course-instructor-social:hover {
  color: #10cfbd;
  transform: translateY(-1px);
}

.course-instructor-photo-col {
  display: flex;
  justify-content: flex-end;
}

.course-instructor-photo-frame {
  position: relative;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--course-instructor-line);
  border-radius: 8px;
}

.course-instructor-img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

@media (max-width: 860px) {
  .course-instructor-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .course-instructor-photo-col {
    justify-content: center;
  }

  .course-instructor-img {
    max-width: 320px;
  }
}

/* ===== Extracted from resources/views/courses/welcome/section-all-modules.blade.php ===== */
/* ===== Courses section-all-modules — defi/quant (dark bg) ===== */
.courses-all-modules-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 80px 0 80px;
  background: #0d0d14;
  color: #fff;
}

.courses-all-modules-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

.courses-all-modules-head {
  max-width: 70ch;
  margin: 0 auto 48px;
  text-align: center;
}

.courses-all-modules-kicker {
  margin: 0 0 18px;
  justify-content: center;
}

.courses-all-modules-section-title {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 14px;
}

.courses-all-modules-section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 70ch;
}

.courses-all-modules-list {
  display: flex;
  flex-direction: column;
}

.courses-all-modules-module {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.courses-all-modules-list .courses-all-modules-module:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.courses-all-modules-module-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.courses-all-modules-module-num {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}

.courses-all-modules-module-title {
  color: #fff;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0;
}

.courses-all-modules-module-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.courses-all-modules-video {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  transition: background 0.18s ease;
  min-height: 110px;
}

.courses-all-modules-video:hover {
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
}

.courses-all-modules-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.courses-all-modules-video-num {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.courses-all-modules-video-badge {
  color: rgba(16, 207, 189, 0.95);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(16, 207, 189, 0.55);
  padding: 2px 8px;
  border-radius: 999px;
}

.courses-all-modules-video-title {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  margin: 4px 0 0;
}

.courses-all-modules-video-meta {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: auto;
}

.courses-all-modules-video-meta i {
  color: rgba(16, 207, 189, 0.85);
  margin-right: 4px;
}

@media (max-width: 600px) {
  .courses-all-modules-head {
    text-align: left;
  }

  .courses-all-modules-kicker {
    justify-content: flex-start;
  }

  .courses-all-modules-module-videos {
    grid-template-columns: 1fr;
  }
}

/* ===== Extracted from resources/views/courses/welcome/course-selection.blade.php ===== */
/* ============================================================
       Shared chrome
       ============================================================ */

.courses-selection-head {
  max-width: 70ch;
  margin-bottom: 40px;
}

.courses-selection-kicker {
  margin: 0 0 18px;
}

.courses-selection-section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 14px;
}

.courses-selection-section-subtitle {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}

/* ============================================================
       Section 1 — Course catalog (light bg)
       ============================================================ */
.courses-selection-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 80px 0 80px;
  background: #fff;
  color: #0b0d10;
}

.courses-selection-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

.courses-selection-section .courses-selection-section-title {
  color: #0b0d10;
}

.courses-selection-section .courses-selection-section-subtitle {
  color: rgba(15, 23, 42, 0.7);
}

.courses-selection-section .courses-selection-kicker {
  color: rgba(15, 23, 42, 0.55);
}

.courses-selection-section
  .courses-selection-kicker
  .portfolio-landing-kicker-num {
  color: rgba(15, 23, 42, 0.32);
}

.courses-selection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  border-left: 1px solid rgba(15, 23, 42, 0.12);
}

.courses-selection-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px 24px;
  border-right: 1px solid rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  text-decoration: none;
  color: #0b0d10;
  min-height: 180px;
  transition: background 0.18s ease;
}

.courses-selection-card:hover {
  background: rgba(15, 23, 42, 0.025);
  text-decoration: none;
}

.courses-selection-card-num {
  color: rgba(15, 23, 42, 0.42);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}

.courses-selection-card-title {
  color: #0b0d10;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}

.courses-selection-card-body {
  color: rgba(15, 23, 42, 0.65);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.courses-selection-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  color: rgba(15, 23, 42, 0.55);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.courses-selection-card:hover .courses-selection-card-cta {
  color: #10cfbd;
}

/* ============================================================
       Section 2 — Masterclass series (dark bg)
       ============================================================ */
.courses-selection-masterclass-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 80px 0 80px;
  background: #0d0d14;
  color: #fff;
}

.courses-selection-masterclass-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

.courses-selection-masterclass-section .courses-selection-head {
  margin-bottom: 40px;
}

.courses-selection-masterclass-section .courses-selection-section-title {
  color: #fff;
}

.courses-selection-masterclass-section .courses-selection-section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.courses-selection-masterclass-section .courses-selection-kicker {
  color: rgba(255, 255, 255, 0.42);
}

.courses-selection-masterclass-section
  .courses-selection-kicker
  .portfolio-landing-kicker-num {
  color: rgba(16, 207, 189, 0.78);
}

.courses-selection-masterclass-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.courses-selection-masterclass-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
  transition: background 0.18s ease;
}

.courses-selection-masterclass-card:hover {
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
}

.courses-selection-masterclass-num {
  color: rgba(16, 207, 189, 0.78);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
}

.courses-selection-masterclass-title {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}

.courses-selection-masterclass-body {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.courses-selection-masterclass-media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #05070e;
}

.courses-selection-masterclass-media img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.88;
}

.courses-selection-masterclass-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.courses-selection-masterclass-overlay .material-symbols-outlined {
  color: #fff;
  font-size: 56px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.courses-selection-masterclass-card:hover
  .courses-selection-masterclass-overlay {
  opacity: 1;
}

/* ============================================================
       Section 3 — Financial markets series (light bg)
       ============================================================ */
.courses-selection-financial-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 80px 0 80px;
  background: #fff;
  color: #0b0d10;
}

.courses-selection-financial-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

.courses-selection-financial-section .courses-selection-section-title {
  color: #0b0d10;
}

.courses-selection-financial-section .courses-selection-section-subtitle {
  color: rgba(15, 23, 42, 0.7);
}

.courses-selection-financial-section .courses-selection-kicker {
  color: rgba(15, 23, 42, 0.55);
}

.courses-selection-financial-section
  .courses-selection-kicker
  .portfolio-landing-kicker-num {
  color: rgba(15, 23, 42, 0.32);
}

.courses-selection-financial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  padding-top: 32px;
}

.courses-selection-financial-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(16, 207, 189, 0.5);
  background: rgba(16, 207, 189, 0.04);
  text-decoration: none;
  color: #0b0d10;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.courses-selection-financial-main:hover {
  background: rgba(16, 207, 189, 0.08);
  border-color: rgba(16, 207, 189, 0.75);
  text-decoration: none;
}

.courses-selection-financial-tag {
  color: #10cfbd;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 600;
}

.courses-selection-financial-title {
  color: #0b0d10;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}

.courses-selection-financial-body {
  color: rgba(15, 23, 42, 0.7);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

.courses-selection-financial-body strong {
  color: #0b0d10;
  font-weight: 600;
}

.courses-selection-financial-media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #05070e;
}

.courses-selection-financial-media img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.92;
}

.courses-selection-financial-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.courses-selection-financial-overlay .material-symbols-outlined {
  color: #fff;
  font-size: 56px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.courses-selection-financial-main:hover .courses-selection-financial-overlay,
.courses-selection-financial-side-card:hover
  .courses-selection-financial-overlay {
  opacity: 1;
}

.courses-selection-financial-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.courses-selection-financial-side-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-right: 1px solid rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  text-decoration: none;
  color: #0b0d10;
  transition: background 0.18s ease;
  min-height: 200px;
}

.courses-selection-financial-side-card:nth-child(even) {
  border-right: 0;
}

.courses-selection-financial-side-card:nth-child(n + 3) {
  border-bottom: 0;
}

.courses-selection-financial-side-card:hover {
  background: rgba(15, 23, 42, 0.025);
  text-decoration: none;
}

.courses-selection-financial-side-title {
  color: #0b0d10;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}

.courses-selection-financial-side-body {
  color: rgba(15, 23, 42, 0.65);
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
}

.courses-selection-financial-side-body strong {
  color: #0b0d10;
  font-weight: 600;
}

.courses-selection-financial-media-small img {
  height: 110px;
  object-fit: cover;
}

.courses-selection-financial-media-small .material-symbols-outlined {
  font-size: 36px;
  width: 52px;
  height: 52px;
}

/* ============================================================
       Responsive
       ============================================================ */
@media (max-width: 991px) {
  .courses-selection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .courses-selection-masterclass-grid {
    grid-template-columns: 1fr;
  }

  .courses-selection-financial-grid {
    grid-template-columns: 1fr;
  }

  .courses-selection-financial-side {
    grid-template-columns: 1fr;
  }

  .courses-selection-financial-side-card {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  }

  .courses-selection-financial-side-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .courses-selection-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Extracted from resources/views/courses/welcome/section-faq.blade.php ===== */
/* ===== Courses section-faq — defi/quant (accordion, white theme) ===== */
.courses-faq-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 80px 0 64px;
  background: #fff;
  color: #0b0d10;
}

.courses-faq-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
}

.courses-faq-head {
  max-width: 60ch;
  margin: 0 auto 48px;
  text-align: center;
}

.courses-faq-kicker {
  margin: 0 0 18px;
  justify-content: center;
  color: rgba(15, 23, 42, 0.55);
}

.courses-faq-kicker .portfolio-landing-kicker-num {
  color: rgba(15, 23, 42, 0.32);
}

.courses-faq-section-title {
  color: #0b0d10;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0;
  max-width: 22ch;
}

.courses-faq-list {
  display: flex;
  flex-direction: column;
  max-width: 880px;
  margin: 0 auto;
}

.courses-faq-item {
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.courses-faq-item:last-child {
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.courses-faq-summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.courses-faq-summary::-webkit-details-marker {
  display: none;
}

.courses-faq-num {
  color: rgba(15, 23, 42, 0.42);
  font-size: 11px;
  letter-spacing: 0.18em;
  flex: 0 0 28px;
}

.courses-faq-q {
  color: #0b0d10;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  flex: 1 1 auto;
}

.courses-faq-toggle {
  color: rgba(15, 23, 42, 0.5);
  font-size: 20px;
  font-weight: 300;
  flex: 0 0 20px;
  text-align: right;
  transition: transform 0.2s ease;
}

.courses-faq-item[open] .courses-faq-toggle {
  transform: rotate(45deg);
}

.courses-faq-answer {
  padding: 0 0 28px 52px;
}

.courses-faq-answer p {
  color: rgba(15, 23, 42, 0.72);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 70ch;
}

.courses-faq-summary:hover .courses-faq-q {
  color: #0b0d10;
}

@media (max-width: 600px) {
  .courses-faq-summary {
    gap: 14px;
  }

  .courses-faq-q {
    font-size: 15px;
  }

  .courses-faq-answer {
    padding: 0 0 22px 28px;
  }
}

/* ===== Extracted from resources/views/courses/welcome/algo-apps.blade.php ===== */
/* ===== Algorithmic apps section ===== */
.algo-apps-section {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  padding: 80px 0 56px;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #fff;
  transition: background 0.2s ease;
}

/* Subtle grid texture, same recipe as the index hero */
.algo-apps-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.algo-apps-shell {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

/* Pulsing live indicator dot — defi/quant status pill */
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e87a;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 6px rgba(0, 232, 122, 0.55);
}

.live-dot.is-pulse {
  animation: live-dot-pulse 2s ease-in-out infinite;
}

@keyframes live-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.78);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot.is-pulse {
    animation: none;
  }
}

.portfolio-landing-statusbar-live {
  display: inline-flex;
  align-items: center;
}

/* Title block */
.algo-title-block {
  margin-top: 32px;
  flex: 0 0 auto;
}

.algo-section-title {
  color: #fff;
  font-size: clamp(28px, 4.5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin: 14px 0 0;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/* Typewriter cursor in the algo title */
.algo-typeword-text {
  display: inline;
}

.algo-typeword-cursor {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  margin-left: 2px;
  transform: translateY(-0.04em);
  animation: algo-typeword-blink 1s steps(1, end) infinite;
}

@keyframes algo-typeword-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .algo-typeword-cursor {
    animation: none;
    opacity: 0.6;
  }
}

.algo-section-subtitle {
  max-width: 80ch;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1.6;
  min-height: 1.6em;
  transition: opacity 0.32s ease;
}

.algo-section-subtitle.is-fading {
  opacity: 0;
}

/* 5 cards in a row */
.algo-cards-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  flex: 1 1 auto;
  align-items: stretch;
}

.algo-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  text-decoration: none;
  color: #fff;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
  min-height: 0;
}

.algo-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(-2px);
}

.algo-card-featured {
  border-color: rgba(255, 255, 255, 0.2);
}

.algo-card-featured:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
}

.algo-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 8px;
  min-height: 22px;
}

.algo-card-name {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.algo-card-featured-tag {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 500;
}

.algo-card-icon {
  margin: 8px 0 16px;
  color: rgba(255, 255, 255, 0.45);
  align-self: flex-start;
}

.algo-card-icon svg {
  display: block;
}

.algo-card-meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 0;
  margin-bottom: 12px;
  font-feature-settings: "tnum" on;
}

.algo-card-meta-sep {
  color: rgba(255, 255, 255, 0.22);
  margin: 0 6px;
}

.algo-card-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 14px;
  flex: 1 1 auto;
}

.algo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.algo-card-broker {
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.algo-card-cta {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.algo-card:hover .algo-card-cta {
  transform: translateX(3px);
}

/* Light-mode variants */
.algo-apps-section.is-light {
  background: #ffffff;
  color: #0b0d10;
}

.algo-apps-section.is-light::before {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
}

.algo-apps-section.is-light .algo-section-title {
  color: #0b0d10;
}

.algo-apps-section.is-light .algo-section-subtitle {
  color: rgba(15, 23, 42, 0.7);
}

.algo-apps-section.is-light .algo-typeword-cursor {
  color: rgba(15, 23, 42, 0.7);
}

.algo-apps-section.is-light .algo-card {
  border-color: rgba(15, 23, 42, 0.1);
  color: #0b0d10;
}

.algo-apps-section.is-light .algo-card:hover {
  border-color: rgba(15, 23, 42, 0.4);
  background: rgba(15, 23, 42, 0.025);
}

.algo-apps-section.is-light .algo-card-featured {
  border-color: rgba(15, 23, 42, 0.2);
}

.algo-apps-section.is-light .algo-card-featured:hover {
  border-color: rgba(15, 23, 42, 0.55);
  background: rgba(15, 23, 42, 0.04);
}

.algo-apps-section.is-light .algo-card-name {
  color: #0b0d10;
}

.algo-apps-section.is-light .algo-card-featured-tag {
  color: rgba(15, 23, 42, 0.55);
  border-color: rgba(15, 23, 42, 0.24);
}

.algo-apps-section.is-light .algo-card-icon {
  color: rgba(15, 23, 42, 0.5);
}

.algo-apps-section.is-light .algo-card-meta {
  color: rgba(15, 23, 42, 0.6);
  border-top-color: rgba(15, 23, 42, 0.12);
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

.algo-apps-section.is-light .algo-card-meta-sep {
  color: rgba(15, 23, 42, 0.25);
}

.algo-apps-section.is-light .algo-card-desc {
  color: rgba(15, 23, 42, 0.78);
}

.algo-apps-section.is-light .algo-card-footer {
  border-top-color: rgba(15, 23, 42, 0.12);
}

.algo-apps-section.is-light .algo-card-broker {
  color: rgba(15, 23, 42, 0.5);
}

.algo-apps-section.is-light .algo-card-cta {
  color: #0b0d10;
}

/* Responsive */
@media (max-width: 1199px) {
  .algo-cards-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .algo-card {
    min-height: 280px;
  }
}

@media (max-width: 991px) {
  .algo-apps-section {
    min-height: auto;
    padding: 64px 0 48px;
  }

  .algo-section-title {
    white-space: normal;
  }

  .algo-cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .algo-card {
    min-height: 240px;
  }
}

@media (max-width: 600px) {
  .algo-cards-row {
    grid-template-columns: 1fr;
  }

  .algo-card {
    min-height: auto;
  }
}

/* Hairline status bar — mono micro-text, no color, no animation */
.portfolio-landing-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.portfolio-landing-statusbar-left,
.portfolio-landing-statusbar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.portfolio-landing-statusbar-sep {
  color: rgba(255, 255, 255, 0.2);
}

.font-mono {
  font-family:
    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Courier New", monospace;
}

/* ===== Extracted from resources/views/courses/welcome/section-featured-ebooks.blade.php ===== */
/* ===== Courses section-featured-ebooks — defi/quant (white theme) ===== */
.courses-ebooks-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 80px 0 80px;
  background: #fff;
  color: #0b0d10;
}

.courses-ebooks-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

.courses-ebooks-head {
  max-width: 70ch;
  margin: 0 auto 48px;
  text-align: center;
}

.courses-ebooks-kicker {
  margin: 0 0 18px;
  justify-content: center;
  color: rgba(15, 23, 42, 0.55);
}

.courses-ebooks-kicker .portfolio-landing-kicker-num {
  color: rgba(15, 23, 42, 0.32);
}

.courses-ebooks-section-title {
  color: #0b0d10;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 14px;
}

.courses-ebooks-section-subtitle {
  color: rgba(15, 23, 42, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 60ch;
}

.courses-ebooks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  border-left: 1px solid rgba(15, 23, 42, 0.12);
}

.courses-ebooks-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 24px 20px;
  border-right: 1px solid rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  text-decoration: none;
  color: #0b0d10;
  transition: background 0.18s ease;
}

.courses-ebooks-card:hover {
  background: rgba(15, 23, 42, 0.025);
  text-decoration: none;
}

.courses-ebooks-thumb {
  position: relative;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 6px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
}

.courses-ebooks-thumb img {
  max-height: 100%;
  max-width: 80%;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  transition: transform 0.4s ease;
}

.courses-ebooks-card:hover .courses-ebooks-thumb img {
  transform: scale(1.04);
}

.courses-ebooks-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.courses-ebooks-title {
  color: #0b0d10;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}

.courses-ebooks-cta {
  color: rgba(15, 23, 42, 0.62);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.courses-ebooks-card:hover .courses-ebooks-cta {
  color: #10cfbd;
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .courses-ebooks-head {
    text-align: left;
  }

  .courses-ebooks-kicker {
    justify-content: flex-start;
  }

  .courses-ebooks-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Extracted from resources/views/courses/welcome/section-subscribe.blade.php ===== */
/* ===== Courses section-subscribe — defi/quant (white theme) ===== */
.courses-sub-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 80px 0 80px;
  background: #fff;
  color: #0b0d10;
}

.courses-sub-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding-left: clamp(24px, 3vw, 56px);
  padding-right: clamp(24px, 3vw, 56px);
}

.courses-sub-head {
  margin-bottom: 40px;
  text-align: center;
}

.courses-sub-kicker {
  margin: 0 0 18px;
  justify-content: center;
  color: rgba(15, 23, 42, 0.55);
}

.courses-sub-kicker .portfolio-landing-kicker-num {
  color: rgba(15, 23, 42, 0.32);
}

.courses-sub-section-title {
  color: #0b0d10;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 14px;
}

.courses-sub-section-subtitle {
  color: rgba(15, 23, 42, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 56ch;
}

.courses-sub-newsletter {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.courses-sub-newsletter-feedback {
  margin-bottom: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(16, 207, 189, 0.36);
  border-bottom: 1px solid rgba(16, 207, 189, 0.36);
  color: rgba(15, 23, 42, 0.78);
  font-size: 12px;
}

.courses-sub-newsletter-feedback.is-error {
  border-color: rgba(180, 60, 60, 0.36);
  color: rgba(140, 30, 30, 0.88);
}

.courses-sub-newsletter-feedback p {
  margin: 0;
}

.courses-sub-newsletter-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(15, 23, 42, 0.42);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
}

.courses-sub-newsletter-label span {
  display: block;
  width: 10px;
  height: 1px;
  background: rgba(15, 23, 42, 0.24);
}

.courses-sub-newsletter-label strong {
  font-weight: 500;
}

.courses-sub-newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.24);
}

.courses-sub-newsletter-input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #0b0d10;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.courses-sub-newsletter-input::placeholder {
  color: rgba(15, 23, 42, 0.32);
}

.courses-sub-newsletter-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  height: 46px;
  min-width: 154px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(15, 23, 42, 0.86);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}

.courses-sub-newsletter-arrow {
  display: inline-block;
  color: rgba(15, 23, 42, 0.7);
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  transform: translateY(-1px);
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.courses-sub-newsletter-button:hover,
.courses-sub-newsletter-button:focus {
  color: #0b0d10;
  outline: 0;
}

.courses-sub-newsletter-button:hover .courses-sub-newsletter-arrow,
.courses-sub-newsletter-button:focus .courses-sub-newsletter-arrow {
  color: #0b0d10;
  transform: translate(3px, -1px);
}

.courses-sub-newsletter-button.is-loading {
  opacity: 0.48;
  pointer-events: none;
}

.newsletter-honeypot {
  display: none !important;
}

.courses-sub-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.courses-sub-social-label {
  color: rgba(15, 23, 42, 0.5);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.courses-sub-social-link {
  color: rgba(15, 23, 42, 0.72);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.22);
  transition:
    color 0.18s ease,
    border-color 0.18s ease;
}

.courses-sub-social-link:hover {
  color: #0b0d10;
  border-bottom-color: #0b0d10;
}

.courses-sub-social-sep {
  color: rgba(15, 23, 42, 0.24);
}
