/* ===== Skills Development Page Styles (scoped under #page-skills) ===== */
/* ===== Skills Development Page Styles (scoped) ===== */


/* Navbar */
  #page-skills .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  #page-skills .btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }

/* Hero */
  #page-skills .hero { position: relative; min-height: 0; display: block; padding: 5.5rem 0 2.75rem; background: linear-gradient(135deg,#F8F7FF 0%,#fff 50%,#F0ECFF 100%); overflow: hidden; }
  #page-skills .hero-blob1 { position: absolute; top: 3rem; right: 0; width: 28rem; height: 28rem; background: radial-gradient(circle,rgba(129,85,255,0.08),transparent 70%); border-radius: 50%; filter: blur(40px); }
  #page-skills .hero-blob2 { position: absolute; bottom: 0; left: 0; width: 20rem; height: 20rem; background: radial-gradient(circle,rgba(173,144,254,0.08),transparent 70%); border-radius: 50%; filter: blur(40px); }
  #page-skills .hero-content { position: relative; text-align: center; max-width: 52rem; margin: 0 auto; padding: 0 2rem; }
  #page-skills .hero-content h1 { font-size: clamp(1.875rem,3.5vw,2.625rem); font-weight: 700; color: #1D2939; margin-bottom: 0.75rem; line-height: 1.2; letter-spacing: -0.02em; }
  #page-skills .hero-content h1 .grad { background: linear-gradient(to right,#AD90FE,#8155FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  #page-skills .hero-content .desc { font-size: 1rem; color: #667085; line-height: 1.7; max-width: 40rem; margin: 0 auto 1.25rem; }
  #page-skills .hero-stats { display: inline-flex; align-items: center; gap: 0; flex-wrap: wrap; justify-content: center; margin-top: 1.25rem; padding: 0.625rem 0.375rem; background: rgba(255,255,255,0.9); border: 1px solid #E9E3FF; border-radius: 9999px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
  #page-skills .hero-stat { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: #667085; padding: 0.25rem 1.25rem; border-right: 1px solid #EDE9FE; white-space: nowrap; }
  #page-skills .hero-stat:last-child { border-right: none; }
  #page-skills .hero-stat svg { width: 1.125rem; height: 1.125rem; color: #8155FF; }
  #page-skills .hero-stat strong { color: #1D2939; font-weight: 600; }

/* Filters */
  #page-skills .filters-section { padding: 1rem 0; background: #fff; border-bottom: 1px solid #EDE9FE; position: sticky; top: 64px; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
  #page-skills .filters-inner { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
  #page-skills .search-box { position: relative; flex: 1; min-width: 240px; }
  #page-skills .search-box svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.125rem; height: 1.125rem; color: #98A2B3; pointer-events: none; }
  #page-skills .search-box input { width: 100%; height: 2.625rem; padding: 0 1rem 0 2.75rem; border: 1.5px solid #E5E7EB; border-radius: 0.75rem; font-size: 0.875rem; outline: none; background: #F8F7FF; transition: all 0.2s; }
  #page-skills .search-box input:focus { border-color: #8155FF; background: #fff; box-shadow: 0 0 0 3px rgba(129,85,255,0.1); }
  #page-skills .filter-select { height: 2.625rem; padding: 0 2rem 0 1rem; border: 1.5px solid #E5E7EB; border-radius: 0.75rem; font-size: 0.875rem; outline: none; background: #F8F7FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center; appearance: none; cursor: pointer; transition: all 0.2s; min-width: 165px; }
  #page-skills .filter-select:focus { border-color: #8155FF; background-color: #fff; box-shadow: 0 0 0 3px rgba(129,85,255,0.1); }
  #page-skills .results-info { font-size: 0.875rem; color: #667085; margin-top: 0.625rem; }
  #page-skills .results-info strong { color: #8155FF; font-weight: 600; }

/* Category Pills */
  #page-skills .category-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
  #page-skills .cat-pill { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.8125rem; font-weight: 500; cursor: pointer; border: 1.5px solid #E5E7EB; background: #fff; color: #4E4B66; transition: all 0.2s; }
  #page-skills .cat-pill:hover { border-color: #8155FF; color: #8155FF; }
  #page-skills .cat-pill.active { border-color: #8155FF; background: #F0ECFF; color: #6938EF; font-weight: 600; }
  #page-skills .cat-pill svg { width: 1rem; height: 1rem; }
  #page-skills .cat-pill .count { background: rgba(129,85,255,0.1); color: #6938EF; padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
  #page-skills .cat-pill.active .count { background: rgba(129,85,255,0.2); }

/* Course Grid */
  #page-skills .courses-section { padding: 2rem 0 4rem; }
  #page-skills .courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

/* Course Card */
  #page-skills .course-card { background: #fff; border-radius: 1rem; border: 1px solid #E5E7EB; overflow: hidden; transition: all 0.3s; position: relative; display: flex; flex-direction: column; }
  #page-skills .course-card:hover { border-color: rgba(129,85,255,0.4); box-shadow: 0 12px 32px rgba(129,85,255,0.12); transform: translateY(-4px); }
  #page-skills .course-card .course-card-actions .btn-outline:hover { background: #F0ECFF; }
  #page-skills .course-card-img { height: 180px; background: linear-gradient(135deg,#F0ECFF,#EDE9FE); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
  #page-skills .course-card-img .cat-icon { width: 4rem; height: 4rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
  #page-skills .course-card-img .cat-icon svg { width: 2rem; height: 2rem; }
  #page-skills .course-card-img .level-badge { position: absolute; top: 0.75rem; right: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; color: #fff; backdrop-filter: blur(8px); }
  #page-skills .course-card-img .ref-badge { position: absolute; bottom: 0.75rem; left: 0.75rem; padding: 0.25rem 0.625rem; border-radius: 0.5rem; font-size: 0.6875rem; font-weight: 600; background: rgba(255,255,255,0.9); color: #4E4B66; }
  #page-skills .course-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
  #page-skills .course-card-route { display: inline-block; font-size: 0.6875rem; font-weight: 600; color: #6938EF; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
  #page-skills .course-card-title { font-size: 1rem; font-weight: 600; color: #1D2939; line-height: 1.4; margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8rem; }
  #page-skills .course-card-desc { font-size: 0.8125rem; color: #667085; line-height: 1.6; margin-bottom: 1rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  #page-skills .course-card-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
  #page-skills .meta-item { display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: #667085; }
  #page-skills .meta-item svg { width: 0.875rem; height: 0.875rem; color: #8155FF; flex-shrink: 0; }
  #page-skills .course-card-actions { display: flex; gap: 0.5rem; }
  #page-skills .course-card-actions .btn { flex: 1; justify-content: center; }

/* Hover Overlay */
  #page-skills .course-overlay { position: absolute; inset: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(8px); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: all 0.3s; overflow-y: auto; z-index: 10; }
  #page-skills .course-card:hover .course-overlay { opacity: 1; visibility: visible; }
  #page-skills .overlay-title { font-size: 1rem; font-weight: 700; color: #1D2939; margin-bottom: 0.75rem; line-height: 1.4; }
  #page-skills .overlay-route { font-size: 0.75rem; font-weight: 600; color: #6938EF; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; }
  #page-skills .overlay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.75rem; }
  #page-skills .overlay-field { padding: 0.5rem; background: #F8F7FF; border-radius: 0.5rem; }
  #page-skills .overlay-field-label { font-size: 0.6875rem; color: #98A2B3; text-transform: uppercase; letter-spacing: 0.05em; }
  #page-skills .overlay-field-value { font-size: 0.8125rem; font-weight: 600; color: #1D2939; margin-top: 0.125rem; }
  #page-skills .overlay-desc { font-size: 0.8125rem; color: #4E4B66; line-height: 1.6; margin-bottom: 0.75rem; flex: 1; }
  #page-skills .overlay-jobs { margin-bottom: 0.75rem; }
  #page-skills .overlay-jobs-label { font-size: 0.6875rem; color: #98A2B3; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
  #page-skills .overlay-jobs-text { font-size: 0.75rem; color: #667085; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  #page-skills .overlay-type { display: inline-block; padding: 0.25rem 0.625rem; border-radius: 9999px; font-size: 0.6875rem; font-weight: 600; background: #F0ECFF; color: #6938EF; margin-bottom: 0.75rem; }
  #page-skills .overlay-actions { display: flex; gap: 0.5rem; margin-top: auto; }

/* Course Detail Modal */
  .modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); z-index: 300; display: none; align-items: flex-start; justify-content: center; padding: 1.5rem; overflow-y: auto; }
  .modal-backdrop.open { display: flex; animation: fade-in 0.25s ease-out; }
  .modal-container { background: #fff; border-radius: 1.25rem; max-width: 960px; width: 100%; margin: 1.5rem auto; box-shadow: 0 25px 60px rgba(0,0,0,0.25); animation: slide-up 0.35s ease-out; overflow: hidden; position: relative; }
  .modal-header { position: relative; padding: 2rem 2.5rem 1.5rem; background: linear-gradient(135deg,#F8F7FF,#F0ECFF); border-bottom: 1px solid #EDE9FE; }
  .modal-close { position: absolute; top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(129,85,255,0.1); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #6938EF; transition: all 0.2s; z-index: 5; }
  .modal-close:hover { background: rgba(129,85,255,0.2); transform: scale(1.1); }
  .modal-close svg { width: 1.125rem; height: 1.125rem; }
  .modal-category-tag { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.875rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; color: #fff; margin-bottom: 0.75rem; }
  .modal-category-tag svg { width: 0.875rem; height: 0.875rem; }
  .modal-title { font-size: clamp(1.25rem,2.5vw,1.75rem); font-weight: 700; color: #1D2939; line-height: 1.3; margin-bottom: 0.5rem; padding-right: 2rem; }
  .modal-ref { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.625rem; border-radius: 0.375rem; background: rgba(129,85,255,0.1); font-size: 0.75rem; font-weight: 600; color: #6938EF; }
  .modal-ref svg { width: 0.75rem; height: 0.75rem; }
  .modal-status-banner { display: flex; align-items: center; gap: 0.625rem; padding: 0.75rem 1rem; border-radius: 0.75rem; background: #ECFDF5; border: 1px solid #A7F3D0; margin-top: 0.75rem; }
  .modal-status-banner.status-tbc { background: #FFFBEB; border-color: #FDE68A; }
  .modal-status-banner.status-tbc .modal-status-dot { background: #F59E0B; }
  .modal-status-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #10B981; flex-shrink: 0; }
  .modal-status-text { font-size: 0.8125rem; color: #065F46; }
  .modal-status-banner.status-tbc .modal-status-text { color: #92400E; }
  .modal-body { padding: 2rem 2.5rem; }
  .modal-key-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.875rem; margin-bottom: 2rem; }
  .modal-info-card { background: #F8F7FF; border-radius: 0.75rem; padding: 0.875rem 1rem; border: 1px solid #EDE9FE; transition: all 0.2s; }
  .modal-info-card:hover { border-color: rgba(129,85,255,0.3); box-shadow: 0 2px 8px rgba(129,85,255,0.08); }
  .modal-info-card-icon { width: 2rem; height: 2rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
  .modal-info-card-icon svg { width: 1rem; height: 1rem; color: #fff; }
  .modal-info-card-label { font-size: 0.6875rem; color: #98A2B3; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.125rem; }
  .modal-info-card-value { font-size: 0.9375rem; font-weight: 700; color: #1D2939; }
  .modal-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .modal-section { margin-bottom: 1.75rem; }
  .modal-section:last-child { margin-bottom: 0; }
  .modal-section-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 700; color: #1D2939; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid #F0ECFF; }
  .modal-section-title svg { width: 1.125rem; height: 1.125rem; color: #8155FF; }
  .modal-section p { font-size: 0.9rem; color: #4E4B66; line-height: 1.75; }
  .modal-jobs-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .modal-job-tag { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.375rem 0.75rem; border-radius: 9999px; font-size: 0.8125rem; font-weight: 500; background: #F0ECFF; color: #4E4B66; border: 1px solid #EDE9FE; transition: all 0.2s; }
  .modal-job-tag:hover { background: #EDE9FE; border-color: rgba(129,85,255,0.3); color: #6938EF; }
  .modal-job-tag svg { width: 0.75rem; height: 0.75rem; color: #8155FF; }
  .modal-detail-row { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid #F5F5F5; }
  .modal-detail-row:last-child { border-bottom: none; }
  .modal-detail-row-icon { width: 2rem; height: 2rem; border-radius: 0.5rem; background: #F0ECFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.125rem; }
  .modal-detail-row-icon svg { width: 0.875rem; height: 0.875rem; color: #8155FF; }
  .modal-detail-row-label { font-size: 0.8125rem; color: #98A2B3; }
  .modal-detail-row-value { font-size: 0.9rem; font-weight: 600; color: #1D2939; }
  .modal-duty-item { display: flex; gap: 0.75rem; padding: 0.875rem; background: #F8F7FF; border-radius: 0.75rem; border: 1px solid #F0ECFF; margin-bottom: 0.625rem; transition: all 0.2s; }
  .modal-duty-item:hover { border-color: rgba(129,85,255,0.3); box-shadow: 0 2px 8px rgba(129,85,255,0.06); }
  .modal-duty-num { width: 1.75rem; height: 1.75rem; border-radius: 50%; background: linear-gradient(135deg,#8155FF,#6938EF); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
  .modal-duty-text { font-size: 0.875rem; color: #4E4B66; line-height: 1.65; }
  .modal-duty-ksb { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.125rem 0.5rem; border-radius: 0.25rem; background: #EDE9FE; font-size: 0.6875rem; font-weight: 600; color: #6938EF; margin-top: 0.375rem; }
  .modal-ksb-section { margin-bottom: 1.25rem; }
  .modal-ksb-section:last-child { margin-bottom: 0; }
  .modal-ksb-category { font-size: 0.875rem; font-weight: 700; color: #6938EF; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.375rem; }
  .modal-ksb-category svg { width: 0.875rem; height: 0.875rem; }
  .modal-ksb-item { display: flex; gap: 0.5rem; padding: 0.5rem 0; border-bottom: 1px solid #FAFAFA; }
  .modal-ksb-item:last-child { border-bottom: none; }
  .modal-ksb-code { font-size: 0.75rem; font-weight: 700; color: #8155FF; min-width: 2rem; flex-shrink: 0; padding-top: 0.0625rem; }
  .modal-ksb-text { font-size: 0.8125rem; color: #4E4B66; line-height: 1.6; }
  .modal-footer { padding: 1.5rem 2.5rem; background: #F8F7FF; border-top: 1px solid #EDE9FE; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
  .modal-footer-info { font-size: 0.8125rem; color: #667085; display: flex; align-items: center; gap: 0.375rem; }
  .modal-footer-info svg { width: 1rem; height: 1rem; color: #8155FF; }
  .modal-footer-actions { display: flex; gap: 0.75rem; }
  .modal-footer-actions .btn { padding: 0.75rem 1.75rem; font-size: 0.9375rem; }
  .modal-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
  .modal-sidebar-card { background: #F8F7FF; border-radius: 0.75rem; padding: 1.25rem; border: 1px solid #EDE9FE; }
  .modal-sidebar-card h4 { font-size: 0.875rem; font-weight: 700; color: #1D2939; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.375rem; }
  .modal-sidebar-card h4 svg { width: 1rem; height: 1rem; color: #8155FF; }
  .modal-sidebar-card p { font-size: 0.8125rem; color: #667085; line-height: 1.65; }
  .modal-entry-item { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.375rem 0; }
  .modal-entry-item svg { width: 1rem; height: 1rem; color: #10B981; flex-shrink: 0; margin-top: 0.125rem; }
  .modal-entry-item span { font-size: 0.8125rem; color: #4E4B66; line-height: 1.5; }
  .modal-assessment-item { display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.5rem; background: #fff; border-radius: 0.5rem; border: 1px solid #EDE9FE; margin-bottom: 0.5rem; }
  .modal-assessment-item:last-child { margin-bottom: 0; }
  .modal-assessment-icon { width: 2rem; height: 2rem; border-radius: 0.5rem; background: #F0ECFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .modal-assessment-icon svg { width: 1rem; height: 1rem; color: #6938EF; }
  .modal-assessment-label { font-size: 0.8125rem; font-weight: 600; color: #1D2939; }
  .modal-assessment-desc { font-size: 0.75rem; color: #98A2B3; margin-top: 0.125rem; }
  .modal-nav-tabs { display: flex; gap: 0; border-bottom: 2px solid #F0ECFF; margin-bottom: 1.5rem; }
  .modal-nav-tab { padding: 0.75rem 1.25rem; font-size: 0.875rem; font-weight: 600; color: #667085; border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; display: flex; align-items: center; gap: 0.375rem; }
  .modal-nav-tab:hover { color: #6938EF; }
  .modal-nav-tab.active { color: #6938EF; border-bottom-color: #6938EF; }
  .modal-nav-tab svg { width: 1rem; height: 1rem; }
  .modal-tab-content { display: none; }
  .modal-tab-content.active { display: block; animation: fade-in 0.2s ease-out; }
  .modal-career-path { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
  .modal-career-step { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.5rem 0.875rem; border-radius: 0.5rem; font-size: 0.8125rem; font-weight: 500; background: #F8F7FF; border: 1px solid #EDE9FE; color: #4E4B66; }
  .modal-career-step.current { background: linear-gradient(135deg,#8155FF,#6938EF); color: #fff; border-color: #6938EF; font-weight: 600; }
  .modal-career-arrow { color: #D0D5DD; font-size: 1rem; }
  .modal-highlight-box { background: linear-gradient(135deg,#F8F7FF,#F0ECFF); border-radius: 0.75rem; padding: 1.25rem; border: 1px solid #EDE9FE; margin-top: 0.75rem; }
  .modal-highlight-box h4 { font-size: 0.875rem; font-weight: 700; color: #6938EF; margin-bottom: 0.5rem; }
  .modal-highlight-box p { font-size: 0.8125rem; color: #4E4B66; line-height: 1.65; margin-bottom: 0; }
  @media (max-width: 900px) {
    .modal-two-col { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .modal-backdrop { padding: 0; }
    .modal-container { margin: 0; border-radius: 0; min-height: 100vh; }
    .modal-header { padding: 1.5rem 1.25rem 1rem; }
    .modal-body { padding: 1.25rem; }
    .modal-footer { padding: 1.25rem; flex-direction: column; }
    .modal-footer-actions { width: 100%; }
    .modal-footer-actions .btn { flex: 1; justify-content: center; }
    .modal-key-info { grid-template-columns: repeat(2, 1fr); }
    .modal-nav-tabs { overflow-x: auto; flex-wrap: nowrap; }
    .modal-nav-tab { white-space: nowrap; font-size: 0.8125rem; padding: 0.625rem 1rem; }
  }

/* Enrollment Modal */
  .enroll-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); z-index: 400; display: none; align-items: flex-start; justify-content: center; padding: 1.5rem; overflow-y: auto; }
  .enroll-backdrop.open { display: flex; animation: fade-in 0.25s ease-out; }
  .enroll-container { background: #fff; border-radius: 1.25rem; max-width: 620px; width: 100%; margin: 2rem auto; box-shadow: 0 25px 60px rgba(0,0,0,0.25); animation: slide-up 0.35s ease-out; overflow: hidden; position: relative; }
  .enroll-header { position: relative; padding: 2rem 2rem 1.5rem; background: linear-gradient(135deg,#8155FF,#6938EF); color: #fff; }
  .enroll-header h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
  .enroll-header p { font-size: 0.9rem; opacity: 0.85; }
  .enroll-close { position: absolute; top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.2s; }
  .enroll-close:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }
  .enroll-close svg { width: 1.125rem; height: 1.125rem; }
  .enroll-body { padding: 2rem; }
  .enroll-course-preview { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem; background: #F8F7FF; border-radius: 0.75rem; border: 1px solid #EDE9FE; margin-bottom: 1.5rem; }
  .enroll-course-preview-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: linear-gradient(135deg,#8155FF,#6938EF); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .enroll-course-preview-icon svg { width: 1.25rem; height: 1.25rem; color: #fff; }
  .enroll-course-preview-name { font-size: 0.875rem; font-weight: 600; color: #1D2939; line-height: 1.3; }
  .enroll-course-preview-ref { font-size: 0.75rem; color: #667085; }
  .enroll-step { margin-bottom: 1.5rem; }
  .enroll-step:last-child { margin-bottom: 0; }
  .enroll-step-label { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 700; color: #6938EF; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.625rem; }
  .enroll-step-label svg { width: 0.875rem; height: 0.875rem; }
  .enroll-field { margin-bottom: 0.875rem; }
  .enroll-field:last-child { margin-bottom: 0; }
  .enroll-field label { display: block; font-size: 0.8125rem; font-weight: 600; color: #344054; margin-bottom: 0.3125rem; }
  .enroll-field label span { color: #EF4444; }
  .enroll-field input, .enroll-field select, .enroll-field textarea { width: 100%; padding: 0.625rem 0.875rem; border: 1.5px solid #D0D5DD; border-radius: 0.5rem; font-size: 0.875rem; font-family: inherit; color: #1D2939; background: #fff; transition: all 0.2s; outline: none; }
  .enroll-field input:focus, .enroll-field select:focus, .enroll-field textarea:focus { border-color: #8155FF; box-shadow: 0 0 0 3px rgba(129,85,255,0.1); }
  .enroll-field input::placeholder, .enroll-field textarea::placeholder { color: #98A2B3; }
  .enroll-field textarea { resize: vertical; min-height: 4.5rem; }
  .enroll-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
  .enroll-divider { height: 1px; background: #F0ECFF; margin: 1.25rem 0; }
  .enroll-footer { padding: 1.5rem 2rem; background: #F8F7FF; border-top: 1px solid #EDE9FE; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .enroll-footer-actions { display: flex; gap: 0.75rem; }
  .enroll-footer-actions .btn { padding: 0.75rem 1.75rem; font-size: 0.9375rem; }
  .enroll-success { text-align: center; padding: 3rem 2rem; }
  .enroll-success-icon { width: 4rem; height: 4rem; border-radius: 50%; background: #ECFDF5; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
  .enroll-success-icon svg { width: 2rem; height: 2rem; color: #10B981; }
  .enroll-success h3 { font-size: 1.25rem; font-weight: 700; color: #1D2939; margin-bottom: 0.5rem; }
  .enroll-success p { font-size: 0.9rem; color: #667085; line-height: 1.6; margin-bottom: 1.5rem; }
  .enroll-success .enrol-ref { display: inline-block; padding: 0.5rem 1rem; background: #F0ECFF; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 700; color: #6938EF; margin-bottom: 1.5rem; }
  .enroll-error { display: none; padding: 0.625rem 0.875rem; background: #FEF2F2; border: 1px solid #FECACA; border-radius: 0.5rem; font-size: 0.8125rem; color: #DC2626; margin-bottom: 1rem; align-items: center; gap: 0.375rem; }
  .enroll-error.show { display: flex; }
  .enroll-error svg { width: 1rem; height: 1rem; flex-shrink: 0; }
  .enroll-checkbox { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.8125rem; color: #4E4B66; line-height: 1.5; cursor: pointer; }
  .enroll-checkbox input[type="checkbox"] { width: 1rem; height: 1rem; accent-color: #8155FF; margin-top: 0.125rem; flex-shrink: 0; cursor: pointer; }
  @media (max-width: 640px) {
    .enroll-backdrop { padding: 0; }
    .enroll-container { margin: 0; border-radius: 0; min-height: 100vh; }
    .enroll-header { padding: 1.5rem 1.25rem; }
    .enroll-body { padding: 1.25rem; }
    .enroll-footer { padding: 1.25rem; flex-direction: column; }
    .enroll-footer-actions { width: 100%; }
    .enroll-footer-actions .btn { flex: 1; justify-content: center; }
    .enroll-row { grid-template-columns: 1fr; }
  }

/* No Results */
  #page-skills .no-results { text-align: center; padding: 4rem 2rem; }
  #page-skills .no-results svg { width: 4rem; height: 4rem; color: #D0D5DD; margin-bottom: 1rem; }
  #page-skills .no-results h3 { font-size: 1.25rem; font-weight: 600; color: #1D2939; margin-bottom: 0.5rem; }
  #page-skills .no-results p { font-size: 0.875rem; color: #667085; }

/* Back to top */
  .back-to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; width: 3rem; height: 3rem; border-radius: 50%; background: linear-gradient(135deg,#8155FF,#6938EF); color: #fff; border: none; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(129,85,255,0.3); transition: all 0.3s; }
  .back-to-top.visible { display: flex; }
  .back-to-top:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(129,85,255,0.4); }
  .back-to-top svg { width: 1.25rem; height: 1.25rem; }

/* ===== COURSE CARD PHOTO IMAGE ===== */
  #page-skills .course-card-img { height: 180px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
  #page-skills .course-card-img .photo-overlay { position: absolute; inset: 0; }
  #page-skills .course-card-img .cat-icon { width: 4rem; height: 4rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.3); position: relative; z-index: 2; border: 2px solid rgba(255,255,255,0.35); backdrop-filter: blur(4px); }
  #page-skills .course-card-img .cat-icon svg { width: 2rem; height: 2rem; }
  #page-skills .course-card-img .level-badge { position: absolute; top: 0.75rem; right: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; color: #fff; backdrop-filter: blur(8px); z-index: 3; }
  #page-skills .course-card-img .ref-badge { position: absolute; bottom: 0.75rem; left: 0.75rem; padding: 0.25rem 0.625rem; border-radius: 0.5rem; font-size: 0.6875rem; font-weight: 600; background: rgba(255,255,255,0.92); color: #4E4B66; z-index: 3; }
  #page-skills .course-card-img .cat-label { position: absolute; bottom: 0.75rem; right: 0.75rem; font-size: 0.6875rem; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.05em; z-index: 3; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

/* ===== AI PAGE STYLES ===== */
#page-ai { min-height: 100vh; }

/* AI Hero */
.ai-hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 7rem 0 5rem; overflow: hidden; }
.ai-hero-bg { position: absolute; inset: 0; background: linear-gradient(160deg,#080D1C 0%,#0E1A36 45%,#0A1428 100%); }
.ai-hero-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(99,130,230,0.11) 1px,transparent 1px); background-size: 28px 28px; }
.ai-hero-glow1 { position: absolute; top: -6rem; right: 8%; width: 42rem; height: 42rem; background: radial-gradient(circle,rgba(59,100,220,0.18),transparent 68%); border-radius: 50%; filter: blur(60px); pointer-events: none; }
.ai-hero-glow2 { position: absolute; bottom: -4rem; left: 4%; width: 32rem; height: 32rem; background: radial-gradient(circle,rgba(56,189,248,0.10),transparent 70%); border-radius: 50%; filter: blur(50px); pointer-events: none; }
.ai-hero-content { position: relative; z-index: 1; text-align: center; width: 100%; }
@keyframes ai-pulse { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(0.7); opacity:0.6; } }
.ai-live-dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; animation: ai-pulse 2s infinite; flex-shrink: 0; }
.ai-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 1.1rem; background: rgba(37,99,235,0.18); border: 1px solid rgba(59,130,246,0.38); border-radius: 9999px; font-size: 0.8125rem; font-weight: 600; color: #93C5FD; letter-spacing: 0.02em; margin-bottom: 1.75rem; }
.ai-hero-h1 { font-size: clamp(2.25rem,5.5vw,4.25rem); font-weight: 700; line-height: 1.15; color: #fff; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.ai-hero-h1 .ai-accent { background: linear-gradient(to right,#60A5FA,#2563EB,#38BDF8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ai-hero-sub { font-size: 1.125rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 40rem; margin: 0 auto 2.25rem; }

/* Search card */
.ai-search-card { background: rgba(255,255,255,0.06); backdrop-filter: blur(20px); border: 1.5px solid rgba(255,255,255,0.14); border-radius: 1.5rem; padding: 1.25rem 1.5rem; max-width: 52rem; margin: 0 auto 1.75rem; transition: all 0.3s; }
.ai-search-card:focus-within { border-color: rgba(37,99,235,0.55); box-shadow: 0 0 0 4px rgba(37,99,235,0.12); }
.ai-search-top { display: flex; align-items: flex-end; gap: 0.75rem; margin-bottom: 1rem; }
.ai-search-ta { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: 1rem; font-family: inherit; resize: none; min-height: 2.5rem; line-height: 1.5; }
.ai-search-ta::placeholder { color: rgba(255,255,255,0.32); }
.ai-search-btns { display: flex; gap: 0.5rem; align-items: center; }
.ai-icon-btn { width: 38px; height: 38px; border-radius: 10px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; }
.ai-icon-btn svg { width: 15px; height: 15px; }
.ai-icon-btn-mic { background: rgba(37,99,235,0.18); color: #93C5FD; }
.ai-icon-btn-mic:hover { background: rgba(37,99,235,0.32); }
.ai-icon-btn-send { background: linear-gradient(135deg,#2563EB,#1D4ED8); color: #fff; box-shadow: 0 2px 10px rgba(37,99,235,0.45); }
.ai-icon-btn-send:hover { box-shadow: 0 4px 18px rgba(37,99,235,0.60); }
.ai-model-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.ai-model-chip { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.3rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 500; color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.ai-model-chip:hover,.ai-model-chip.active { background: rgba(37,99,235,0.22); border-color: rgba(37,99,235,0.48); color: #93C5FD; }

/* Action grid */
.ai-action-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 0.625rem; max-width: 52rem; margin: 0 auto 3rem; }
.ai-action-btn { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; padding: 0.875rem 0.5rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 0.875rem; cursor: pointer; transition: all 0.25s; text-align: center; }
.ai-action-btn:hover { background: rgba(37,99,235,0.20); border-color: rgba(37,99,235,0.42); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37,99,235,0.18); }
.ai-action-btn.hl { background: rgba(37,99,235,0.22); border-color: rgba(37,99,235,0.42); }
.ai-action-btn .ab-em { font-size: 1.375rem; line-height: 1; }
.ai-action-btn .ab-lbl { font-size: 0.6875rem; color: rgba(255,255,255,0.65); font-weight: 500; line-height: 1.3; }

/* Stats */
.ai-hero-stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; max-width: 52rem; margin: 0 auto 2rem; }
.ai-stat { text-align: center; }
.ai-stat-val { font-size: 2rem; font-weight: 700; color: #fff; line-height: 1.1; }
.ai-stat-lbl { font-size: 0.8125rem; color: rgba(255,255,255,0.45); margin-top: 0.25rem; }
.ai-stat-sep { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; }

/* Powered-by badge */
.ai-powered-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.5rem; background: linear-gradient(135deg,rgba(37,99,235,0.22),rgba(29,78,216,0.16)); border: 1px solid rgba(59,130,246,0.35); border-radius: 9999px; font-size: 0.875rem; font-weight: 700; color: #93C5FD; letter-spacing: 0.01em; }
.ai-powered-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ====== AI WORKFLOW SECTION ====== */
.ai-workflow { padding: 5.5rem 0; background: #fff; }
.ai-wf-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; position: relative; margin-top: 3.5rem; }
.ai-wf-connector { position: absolute; top: 2rem; left: calc(16.66% + 1.5rem); right: calc(16.66% + 1.5rem); height: 2px; z-index: 0; background: linear-gradient(to right,rgba(37,99,235,0.15),rgba(37,99,235,0.5),rgba(37,99,235,0.15)); }
.ai-wf-connector-dots { position: absolute; top: 2rem; left: calc(16.66% + 1.5rem); right: calc(16.66% + 1.5rem); height: 2px; z-index: 0; background: repeating-linear-gradient(to right,#2563EB 0,#2563EB 8px,transparent 8px,transparent 16px); }
.ai-wf-step { position: relative; z-index: 1; text-align: center; padding: 0 1.5rem 2.5rem; cursor: pointer; }
.ai-wf-step:hover .ai-wf-num { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37,99,235,0.45); }
.ai-wf-step.done .ai-wf-num { background: linear-gradient(135deg,#10B981,#059669); box-shadow: 0 6px 16px rgba(16,185,129,0.35); }
.ai-wf-step.active .ai-wf-num { background: linear-gradient(135deg,#2563EB,#1D4ED8); box-shadow: 0 8px 24px rgba(37,99,235,0.45); animation: pulse-glow 2s ease-in-out infinite; }
.ai-wf-num { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%; background: linear-gradient(135deg,#2563EB,#1D4ED8); color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; box-shadow: 0 6px 18px rgba(37,99,235,0.30); border: 3px solid #fff; transition: all 0.3s; }
.ai-wf-step h3 { font-size: 1.0625rem; font-weight: 700; color: #1D2939; margin-bottom: 0.5rem; }
.ai-wf-step p { font-size: 0.875rem; color: #667085; line-height: 1.65; }
.ai-wf-icon { width: 3.5rem; height: 3.5rem; background: linear-gradient(135deg,rgba(37,99,235,0.10),rgba(147,197,253,0.10)); border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin: 1.25rem auto 0; border: 1px solid rgba(37,99,235,0.20); transition: all 0.3s; }
.ai-wf-step:hover .ai-wf-icon { background: linear-gradient(135deg,rgba(37,99,235,0.20),rgba(147,197,253,0.20)); border-color: rgba(37,99,235,0.35); }
.ai-wf-icon svg { width: 1.5rem; height: 1.5rem; color: #2563EB; }
/* Stepper progress row */
.ai-wf-stepper { display: flex; align-items: center; justify-content: center; gap: 0; max-width: 56rem; margin: 0 auto 3rem; }
.ai-sc-step { display: flex; flex-direction: column; align-items: center; flex: 1; cursor: pointer; }
.ai-sc-circle { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 2.5px solid #E5E7EB; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 700; color: #98A2B3; transition: all 0.3s; position: relative; z-index: 1; }
.ai-sc-step.done .ai-sc-circle { background: #10B981; border-color: #10B981; color: #fff; }
.ai-sc-step.active .ai-sc-circle { background: linear-gradient(135deg,#2563EB,#1D4ED8); border-color: #1D4ED8; color: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,0.20); }
.ai-sc-label { font-size: 0.6875rem; font-weight: 600; color: #98A2B3; margin-top: 0.375rem; text-align: center; }
.ai-sc-step.done .ai-sc-label { color: #10B981; }
.ai-sc-step.active .ai-sc-label { color: #2563EB; }
.ai-sc-line { flex: 1; height: 2px; background: #E5E7EB; transition: background 0.4s; margin-bottom: 1.25rem; }
.ai-sc-line.done { background: #10B981; }
.ai-sc-line.active { background: linear-gradient(to right,#10B981,#2563EB); }
/* Step detail panel */
.ai-step-panel { background: linear-gradient(135deg,#EFF6FF,#DBEAFE); border: 1px solid #BFDBFE; border-radius: 1.25rem; padding: 2rem; max-width: 56rem; margin: 0 auto; animation: slide-up 0.35s ease both; }
.ai-step-panel-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.ai-step-panel-num { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: linear-gradient(135deg,#2563EB,#1D4ED8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 700; flex-shrink: 0; }
.ai-step-panel h3 { font-size: 1.125rem; font-weight: 700; color: #1D2939; }
.ai-step-panel p { font-size: 0.9375rem; color: #4E4B66; line-height: 1.7; }

/* AI Feature Cards */
.ai-features-strip { padding: 5rem 0; background: #F0F6FF; }
.ai-fsc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.ai-fsc-card { background: #fff; border-radius: 1rem; padding: 1.5rem; border: 1px solid #E5E7EB; transition: all 0.3s; }
.ai-fsc-card:hover { border-color: rgba(37,99,235,0.32); box-shadow: 0 10px 28px rgba(0,0,0,0.06); transform: translateY(-4px); }
.ai-fsc-icon { width: 3rem; height: 3rem; background: linear-gradient(135deg,rgba(37,99,235,0.10),rgba(147,197,253,0.10)); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: all 0.3s; }
.ai-fsc-card:hover .ai-fsc-icon { background: linear-gradient(135deg,#2563EB,#1D4ED8); }
.ai-fsc-icon svg { width: 1.5rem; height: 1.5rem; color: #2563EB; transition: color 0.3s; }
.ai-fsc-card:hover .ai-fsc-icon svg { color: #fff; }
.ai-fsc-card h3 { font-size: 1rem; font-weight: 700; color: #1D2939; margin-bottom: 0.375rem; }
.ai-fsc-card p { font-size: 0.8125rem; color: #667085; line-height: 1.6; }

/* ====== CHATHUB SECTION ====== */
.ai-chathub { padding: 5.5rem 0; background: linear-gradient(160deg,#080D1C 0%,#0E1A36 50%,#0A1428 100%); position: relative; overflow: hidden; }
.ai-chathub::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(59,130,246,0.08) 1px,transparent 1px); background-size: 30px 30px; pointer-events: none; }
.ai-chathub .section-header h2 { color: #fff; }
.ai-chathub .section-header p { color: rgba(255,255,255,0.55); }
.ai-chathub-wrap { position: relative; z-index: 1; max-width: 900px; margin: 3rem auto 0; }
.ai-chathub-window { background: rgba(255,255,255,0.04); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.14); border-radius: 1.25rem; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.6),0 0 0 1px rgba(37,99,235,0.12); }
/* ChatHub Header */
.chub-header { background: rgba(30,58,138,0.22); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.chub-brand { display: flex; align-items: center; gap: 0.75rem; }
.chub-logo { width: 36px; height: 36px; background: linear-gradient(135deg,#2563EB,#1D4ED8); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(37,99,235,0.40); }
.chub-logo svg { width: 18px; height: 18px; color: #fff; }
.chub-title-t { font-size: 0.9375rem; font-weight: 700; color: #fff; }
.chub-title-s { font-size: 0.6875rem; color: rgba(255,255,255,0.45); margin-top: 1px; }
.chub-actions { display: flex; gap: 0.5rem; align-items: center; }
.chub-btn { padding: 0.4rem 1rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.chub-btn-ghost { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.chub-btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }
.chub-btn-primary { background: linear-gradient(135deg,#2563EB,#1D4ED8); color: #fff; box-shadow: 0 2px 8px rgba(37,99,235,0.40); }
/* Workflow tabs */
.chub-tabs { display: flex; border-bottom: 1px solid rgba(255,255,255,0.09); background: rgba(0,0,0,0.2); overflow-x: auto; scrollbar-width: none; }
.chub-tabs::-webkit-scrollbar { display: none; }
.chub-tab { padding: 0.75rem 1.125rem; font-size: 0.8125rem; font-weight: 500; color: rgba(255,255,255,0.45); border: none; background: none; cursor: pointer; transition: all 0.2s; border-bottom: 2px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 0.375rem; margin-bottom: -1px; }
.chub-tab svg { width: 13px; height: 13px; flex-shrink: 0; }
.chub-tab.active { color: #93C5FD; border-bottom-color: #2563EB; background: rgba(37,99,235,0.10); }
.chub-tab:hover:not(.active) { color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.04); }
/* Chat messages area */
.chub-body { display: flex; flex-direction: column; height: 480px; }
.chub-msgs { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; scrollbar-width: thin; scrollbar-color: rgba(37,99,235,0.30) transparent; }
.chub-msgs::-webkit-scrollbar { width: 4px; }
.chub-msgs::-webkit-scrollbar-thumb { background: rgba(37,99,235,0.30); border-radius: 4px; }
.chub-msg { display: flex; gap: 0.75rem; }
.chub-msg.user { flex-direction: row-reverse; align-self: flex-end; max-width: 80%; }
.chub-msg.ai { align-self: flex-start; max-width: 85%; }
.chub-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.chub-msg.ai .chub-avatar { background: linear-gradient(135deg,#2563EB,#1D4ED8); }
.chub-msg.user .chub-avatar { background: rgba(255,255,255,0.15); }
.chub-avatar svg { width: 13px; height: 13px; color: #fff; }
.chub-msg-inner { display: flex; flex-direction: column; gap: 0.2rem; }
.chub-msg-name { font-size: 0.6875rem; color: rgba(255,255,255,0.38); font-weight: 600; }
.chub-msg.user .chub-msg-name { text-align: right; }
.chub-bubble { padding: 0.75rem 1rem; border-radius: 0.875rem; font-size: 0.875rem; line-height: 1.6; }
.chub-msg.ai .chub-bubble { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.88); border-radius: 0.25rem 0.875rem 0.875rem 0.875rem; }
.chub-msg.user .chub-bubble { background: linear-gradient(135deg,#2563EB,#1D4ED8); color: #fff; border-radius: 0.875rem 0.25rem 0.875rem 0.875rem; }
.chub-typing-row { display: flex; gap: 4px; padding: 0.625rem 0.875rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.25rem 0.875rem 0.875rem 0.875rem; }
.chub-tdot { width: 6px; height: 6px; background: #3B82F6; border-radius: 50%; animation: bounce-dot 1.2s infinite; }
.chub-tdot:nth-child(2) { animation-delay: 0.12s; }
.chub-tdot:nth-child(3) { animation-delay: 0.24s; }
/* Model bar */
.chub-model-bar { padding: 0.6rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.15); display: flex; gap: 0.5rem; align-items: center; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.chub-model-bar::-webkit-scrollbar { display: none; }
.chub-model-tag { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.3rem 0.75rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 9999px; font-size: 0.6875rem; font-weight: 600; color: rgba(255,255,255,0.55); cursor: pointer; white-space: nowrap; transition: all 0.2s; flex-shrink: 0; }
.chub-model-tag:hover,.chub-model-tag.active { background: rgba(37,99,235,0.22); border-color: rgba(37,99,235,0.45); color: #93C5FD; }
.chub-model-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
/* Input area */
.chub-input-area { padding: 0.875rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.09); background: rgba(0,0,0,0.2); display: flex; gap: 0.75rem; align-items: flex-end; }
.chub-input-wrap { flex: 1; background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.14); border-radius: 0.875rem; padding: 0.75rem 1rem; display: flex; gap: 0.75rem; align-items: flex-end; transition: all 0.2s; }
.chub-input-wrap:focus-within { border-color: rgba(37,99,235,0.50); background: rgba(37,99,235,0.06); }
.chub-ta { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: 0.875rem; font-family: inherit; resize: none; min-height: 1.25rem; max-height: 5rem; line-height: 1.5; }
.chub-ta::placeholder { color: rgba(255,255,255,0.28); }
.chub-send { width: 38px; height: 38px; background: linear-gradient(135deg,#2563EB,#1D4ED8); border: none; border-radius: 0.625rem; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; box-shadow: 0 2px 10px rgba(37,99,235,0.45); }
.chub-send:hover { box-shadow: 0 4px 18px rgba(37,99,235,0.58); transform: translateY(-1px); }
.chub-send svg { width: 15px; height: 15px; }

/* AI page responsive */
@media (max-width: 900px) {
  .ai-action-grid { grid-template-columns: repeat(4,1fr); }
  .ai-wf-steps { grid-template-columns: repeat(2,1fr); }
  .ai-wf-connector,.ai-wf-connector-dots { display: none; }
  .ai-fsc-grid { grid-template-columns: repeat(2,1fr); }
  .chub-body { height: 420px; }
}
@media (max-width: 600px) {
  .ai-action-grid { grid-template-columns: repeat(3,1fr); }
  .ai-hero-stats { gap: 1.5rem; }
  .ai-stat-val { font-size: 1.5rem; }
  .ai-wf-steps { grid-template-columns: 1fr; }
  .ai-fsc-grid { grid-template-columns: 1fr; }
  .chub-body { height: 360px; }
}

/* CTA Banner */
  #page-skills .cta-banner { padding: 4rem 0; background: linear-gradient(135deg,#8155FF,#6938EF); position: relative; overflow: hidden; }
  #page-skills .cta-banner-blobs { position: absolute; inset: 0; opacity: 0.1; }
  #page-skills .cta-banner-blobs div { position: absolute; background: #fff; border-radius: 50%; }
  #page-skills .cta-banner-blobs div:nth-child(1) { width: 20rem; height: 20rem; top: -5rem; left: -5rem; }
  #page-skills .cta-banner-blobs div:nth-child(2) { width: 16rem; height: 16rem; bottom: -3rem; right: -3rem; }
  #page-skills .cta-banner-content { position: relative; text-align: center; max-width: 48rem; margin: 0 auto; }
  #page-skills .cta-banner-content h2 { font-size: clamp(1.5rem,3.5vw,2.5rem); font-weight: 700; color: #fff; margin-bottom: 1rem; }
  #page-skills .cta-banner-content p { font-size: 1.0625rem; color: rgba(255,255,255,0.9); max-width: 36rem; margin: 0 auto 2rem; line-height: 1.7; }
  #page-skills .cta-banner-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
  #page-skills .btn-white { background: #fff; color: #6938EF; }
  #page-skills .btn-white:hover { opacity: 0.9; }
  #page-skills .btn-ghost { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: #fff; }
  #page-skills .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Footer */
  #page-skills .footer { background: #1D2939; color: #fff; padding: 2.5rem 0; }
  #page-skills .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
  #page-skills .footer-copy { font-size: 0.8125rem; color: #BEC2C1; }
  #page-skills .footer-links { display: flex; gap: 1.5rem; }
  #page-skills .footer-links a { font-size: 0.8125rem; color: #BEC2C1; transition: color 0.2s; }
  #page-skills .footer-links a:hover { color: #AD90FE; }

/* Responsive */
@media (max-width: 1024px) {
  #page-skills .courses-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  #page-skills .hero { padding: 5rem 0 2.25rem; }
}
@media (max-width: 768px) {
  #page-skills .hero { padding: 4.75rem 0 2rem; }
  #page-skills .hero-content { padding: 0 1.5rem; }
  #page-skills .hero-content .desc { max-width: 100%; }
  #page-skills .hero-stats { padding: 0.5rem 0.25rem; border-radius: 0.875rem; }
  #page-skills .hero-stat { padding: 0.375rem 1rem; border-right: none; border-bottom: 1px solid #EDE9FE; }
  #page-skills .hero-stat:last-child { border-bottom: none; }
  #page-skills .courses-grid { grid-template-columns: 1fr; }
  #page-skills .filters-inner { flex-direction: column; align-items: stretch; }
  #page-skills .search-box { min-width: 100%; }
  #page-skills .filter-select { min-width: 100%; }
  #page-skills .overlay-grid { grid-template-columns: 1fr; }
  #page-skills .category-pills { gap: 0.375rem; }
  #page-skills .cat-pill { padding: 0.4rem 0.875rem; font-size: 0.75rem; }
}
@media (max-width: 480px) {
  #page-skills .hero { padding: 4.5rem 0 1.75rem; }
  #page-skills .hero-content { padding: 0 1rem; }
  #page-skills .hero-content h1 { font-size: 1.625rem; margin-bottom: 0.625rem; }
  #page-skills .hero-content .desc { font-size: 0.9375rem; }
  #page-skills .hero-stats { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
}

