:root {
    --bg-0: #010611;
    --bg-1: #06162d;
    --cyan: #38d9ff;
    --cyan-2: #00a8ff;
    --orange: #ff6b2a;
    --white: #f7fbff;
    --muted: #9fb8d4;
    --muted-2: #7190af;
    --line: rgba(56, 217, 255, 0.35);
    --line-soft: rgba(56, 217, 255, 0.18);
    --card: rgba(5, 25, 52, 0.66);
    --card-dark: rgba(2, 10, 24, 0.94);
  }

  * { box-sizing: border-box; }

  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--bg-0);
    color: var(--white);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
  }

  .slide {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 3.8vh 3.65vw 2.0vh;
    display: flex;
    flex-direction: column;
    background:
      radial-gradient(circle at 15% 10%, rgba(0, 128, 255, 0.18) 0%, transparent 29%),
      radial-gradient(circle at 72% 41%, rgba(56, 217, 255, 0.11) 0%, transparent 34%),
      radial-gradient(circle at 92% 5%, rgba(255, 107, 42, 0.10) 0%, transparent 24%),
      linear-gradient(135deg, #010611 0%, #06162d 48%, #010611 100%);
  }

  .slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(56, 217, 255, 0.040) 1px, transparent 1px),
      linear-gradient(90deg, rgba(56, 217, 255, 0.032) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.70) 28%, rgba(0,0,0,.35) 100%);
    pointer-events: none;
  }

  .slide::after {
    content: "";
    position: absolute;
    left: -10vw;
    right: -10vw;
    bottom: -21vh;
    height: 42vh;
    background: radial-gradient(ellipse at center, rgba(0,168,255,.33) 0%, rgba(0,168,255,.085) 30%, transparent 68%);
    filter: blur(4px);
    opacity: .55;
    pointer-events: none;
  }

  .brand {
    position: absolute;
    top: 2.8vh;
    right: 3.4vw;
    z-index: 6;
  }

  .brand-logo {
    width: 128px;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
  }

  .brand-text {
    font-size: 28px;
    font-weight: 900;
    color: #1f65b7;
  }

  .header {
    position: relative;
    z-index: 2;
    max-width: 77vw;
    flex: 0 0 auto;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange);
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: clamp(11px, .92vw, 16px);
    margin-bottom: .75vh;
  }

  .eyebrow::before {
    content: "";
    width: 44px;
    height: 3px;
    border-radius: 99px;
    background: var(--orange);
    box-shadow: 0 0 18px rgba(255,107,42,.55);
  }

  h1 {
    margin: 0;
    font-size: clamp(32px, 3.58vw, 61px);
    line-height: .98;
    letter-spacing: -0.045em;
    font-weight: 950;
  }

  h1 .blue {
    color: var(--cyan);
    text-shadow: 0 0 24px rgba(56, 217, 255, 0.35);
  }

  .subtitle {
    margin-top: .95vh;
    max-width: 1040px;
    color: #d9e8ff;
    font-size: clamp(14px, 1.02vw, 19px);
    line-height: 1.32;
    font-weight: 520;
  }

  .top-badges {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 1.15vh;
    margin-bottom: 1.15vh;
    max-width: 92vw;
    flex: 0 0 auto;
  }

  .top-badges span {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(56,217,255,.34);
    background: rgba(0, 168, 255, .085);
    color: #e8fbff;
    font-size: clamp(10px, .74vw, 14px);
    font-weight: 850;
    white-space: nowrap;
  }

  .top-badges span.orange {
    border-color: rgba(255,107,42,.45);
    background: rgba(255,107,42,.12);
  }

  .content {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 21.5% minmax(0, 78.5%);
    gap: 1.05vw;
    align-items: stretch;
  }

  .path-panel {
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(5,25,52,.66), rgba(2,10,24,.94));
    box-shadow: inset 0 0 34px rgba(56,217,255,.065), 0 0 30px rgba(0,168,255,.10);
    padding: 1.3vh 1.05vw;
    overflow: hidden;
    position: relative;
  }

  .path-panel::before {
    content: "";
    position: absolute;
    left: 2.0vw;
    top: 8.1vh;
    bottom: 2.2vh;
    width: 2px;
    background: linear-gradient(180deg, var(--cyan), rgba(255,107,42,.95), transparent);
    box-shadow: 0 0 17px rgba(56,217,255,.48);
  }

  .path-title {
    font-size: clamp(18px, 1.32vw, 25px);
    font-weight: 950;
    margin-bottom: .7vh;
    letter-spacing: -0.02em;
  }

  .path-sub {
    color: var(--muted);
    font-size: clamp(10px, .74vw, 13px);
    line-height: 1.28;
    margin-bottom: .85vh;
  }

  .path-list {
    display: grid;
    gap: .66vh;
  }

  .path-item {
    position: relative;
    padding-left: 1.78vw;
    min-height: 45px;
  }

  .path-dot {
    position: absolute;
    left: .12vw;
    top: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 16px rgba(56,217,255,.62);
    border: 2px solid rgba(255,255,255,.72);
  }

  .path-item:nth-child(even) .path-dot {
    background: var(--orange);
    box-shadow: 0 0 16px rgba(255,107,42,.56);
  }

  .path-label {
    font-size: clamp(12px, .88vw, 16px);
    font-weight: 900;
    color: #f4fbff;
    line-height: 1.08;
  }

  .path-note {
    color: var(--muted-2);
    font-size: clamp(9px, .58vw, 11.5px);
    margin-top: 1px;
    line-height: 1.14;
    font-weight: 650;
  }

  .course-grid {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: .82vh .72vw;
  }

  .module-card {
    min-height: 0;
    border: 1px solid rgba(56,217,255,.31);
    border-radius: 16px;
    background:
      linear-gradient(180deg, rgba(5, 25, 52, 0.63), rgba(2, 10, 24, 0.93));
    box-shadow: inset 0 0 22px rgba(56,217,255,.055), 0 0 18px rgba(0,168,255,.075);
    padding: .95vh .78vw;
    overflow: hidden;
    position: relative;
  }

  .module-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(56,217,255,.15), transparent 28%, transparent 70%, rgba(255,107,42,.10));
    pointer-events: none;
  }

  .module-card.featured {
    border-color: rgba(255,107,42,.58);
    box-shadow: inset 0 0 25px rgba(255,107,42,.08), 0 0 22px rgba(255,107,42,.11);
  }

  .module-card.featured::before {
    background: linear-gradient(135deg, rgba(255,107,42,.18), transparent 30%, transparent 66%, rgba(56,217,255,.14));
  }

  .module-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: .50vw;
    margin-bottom: .93vh;
  }

  .module-num {
    flex: 0 0 auto;
    color: var(--orange);
    font-weight: 950;
    font-size: clamp(25px, 1.68vw, 36px);
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .module-card h3 {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(18px, 1.26vw, 24px);
    line-height: 1.05;
    letter-spacing: -.02em;
    font-weight: 930;
  }

  .tag-cloud {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 5.8px;
    align-content: flex-start;
  }

  .tag-cloud span {
    display: inline-flex;
    align-items: center;
    height: 27px;
    padding: 0 8.4px;
    border-radius: 999px;
    background: rgba(56,217,255,.08);
    border: 1px solid rgba(56,217,255,.20);
    color: #dff7ff;
    font-size: clamp(12px, .75vw, 16px);
    line-height: 1;
    font-weight: 760;
    white-space: nowrap;
  }

  .module-card:nth-child(2n) .tag-cloud span {
    background: rgba(255,107,42,.08);
    border-color: rgba(255,107,42,.22);
  }

  .module-card.featured .tag-cloud span {
    background: rgba(255,107,42,.12);
    border-color: rgba(255,107,42,.31);
  }

  .bottom-line {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
    margin-top: 1.15vh;
    min-height: 3.0vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #eaf8ff;
    font-size: clamp(13px, 1.02vw, 18px);
    font-weight: 860;
    text-shadow: 0 2px 8px rgba(0,0,0,.72);
  }

  .bottom-line::before,
  .bottom-line::after {
    content: "";
    height: 2px;
    flex: 1;
    max-width: 300px;
    background: linear-gradient(90deg, transparent, rgba(56,217,255,.68), var(--orange));
  }

  .bottom-line::after {
    background: linear-gradient(90deg, var(--orange), rgba(56,217,255,.68), transparent);
  }

  @media (max-aspect-ratio: 1.45/1) {
    .content {
      grid-template-columns: 1fr;
    }
    .path-panel {
      display: none;
    }
    .course-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: repeat(5, minmax(0, 1fr));
    }
    .brand-logo {
      width: 112px;
    }
  }


  @media (max-width: 768px) {
    html, body {
      height: auto;
      min-height: 100%;
      overflow-x: hidden;
      overflow-y: auto;
    }

    body {
      -webkit-overflow-scrolling: touch;
    }

    .slide {
      width: 100%;
      min-height: 100svh;
      height: auto;
      overflow: visible;
      padding: 72px 16px 22px;
      display: block;
    }

    .brand {
      top: 16px;
      right: 16px;
    }

    .brand-logo {
      width: 86px;
    }

    .header {
      max-width: 100%;
      padding-right: 92px;
    }

    .eyebrow {
      gap: 8px;
      font-size: 11px;
      line-height: 1.2;
      margin-bottom: 10px;
    }

    .eyebrow::before {
      width: 26px;
      height: 2px;
    }

    h1 {
      font-size: clamp(30px, 8.5vw, 39px);
      line-height: 1.06;
      letter-spacing: -0.035em;
    }

    .subtitle {
      margin-top: 12px;
      max-width: 100%;
      font-size: 15px;
      line-height: 1.45;
    }

    .top-badges {
      max-width: 100%;
      gap: 8px;
      margin-top: 16px;
      margin-bottom: 18px;
    }

    .top-badges span {
      height: auto;
      min-height: 26px;
      padding: 6px 9px;
      font-size: 12px;
      line-height: 1.15;
      white-space: normal;
    }

    .content {
      display: block;
      height: auto;
      min-height: 0;
    }

    .path-panel {
      display: none;
    }

    .course-grid {
      min-height: 0;
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: none;
      gap: 12px;
    }

    .module-card {
      min-height: auto;
      padding: 16px;
      border-radius: 18px;
      overflow: visible;
    }

    .module-head {
      gap: 10px;
      margin-bottom: 12px;
    }

    .module-num {
      font-size: 30px;
    }

    .module-card h3 {
      font-size: 22px;
      line-height: 1.15;
    }

    .tag-cloud {
      gap: 7px;
    }

    .tag-cloud span {
      height: auto;
      min-height: 26px;
      padding: 6px 9px;
      font-size: 13px;
      line-height: 1.15;
      white-space: normal;
    }

    .bottom-line {
      margin-top: 18px;
      min-height: auto;
      gap: 10px;
      font-size: 14px;
      line-height: 1.35;
      text-align: center;
    }

    .bottom-line::before,
    .bottom-line::after {
      max-width: 58px;
    }
  }