
    /* Hero Banner */
    .subjects-hero {
      background: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-700) 60%, var(--color-primary-600) 100%);
      color: var(--color-white);
      padding: 3.5rem 0 4.5rem;
      position: relative;
      overflow: hidden;
    }

    .subjects-hero::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .subjects-hero::after {
      content: '';
      position: absolute;
      bottom: -30%;
      left: -10%;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(144, 202, 249, 0.12) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    /* Hero Search Bar */
    .hero-search-wrapper {
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 1rem;
      padding: 0.5rem;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    }

    .hero-search-input {
      background: #ffffff;
      border: none;
      border-radius: 0.75rem;
      padding: 0.85rem 1.25rem;
      font-size: 1rem;
      color: var(--color-text-primary);
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
    }

    .hero-search-input:focus {
      outline: none;
      box-shadow: 0 0 0 3px var(--color-primary-200);
    }

    /* Stage Quick Navigation Pills */
    .stage-pill {
      background-color: var(--color-bg-primary);
      border: 1px solid var(--color-border);
      color: var(--color-text-secondary);
      padding: 0.6rem 1.25rem;
      border-radius: 50rem;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-fast);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      white-space: nowrap;
      user-select: none;
    }

    .stage-pill:hover {
      border-color: var(--color-primary-300);
      color: var(--color-primary);
      background-color: var(--color-primary-50);
      transform: translateY(-1px);
    }

    .stage-pill.active {
      background-color: var(--color-primary-500);
      color: var(--color-white);
      border-color: var(--color-primary-500);
      box-shadow: var(--shadow-sm);
    }

    .stage-pill .badge-count {
      background-color: rgba(0, 0, 0, 0.08);
      color: currentColor;
      padding: 0.15rem 0.5rem;
      border-radius: 50rem;
      font-size: 0.75rem;
    }

    .stage-pill.active .badge-count {
      background-color: rgba(255, 255, 255, 0.25);
      color: #ffffff;
    }

    /* Subject Card Design */
    .subject-card {
      background-color: var(--color-card-bg);
      border: 1px solid var(--color-card-border);
      border-radius: 1.25rem;
      overflow: hidden;
      transition: all var(--transition-base);
      height: 100%;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .subject-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg);
      border-color: var(--color-primary-300);
    }

    .subject-header-bg {
      height: 110px;
      position: relative;
      padding: 1.25rem;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      background-size: cover;
      background-position: center;
    }

    .subject-header-bg::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(7, 26, 53, 0.6) 0%, rgba(7, 26, 53, 0.85) 100%);
    }

    .subject-header-content {
      position: relative;
      z-index: 2;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .subject-icon-box {
      width: 64px;
      height: 64px;
      border-radius: 1rem;
      background-color: var(--color-bg-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.85rem;
      box-shadow: var(--shadow-md);
      position: absolute;
      bottom: -22px;
      right: 1.25rem;
      z-index: 3;
      border: 3px solid var(--color-white);
    }

    .subject-body {
      padding: 2rem 1.25rem 1.25rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .subject-title {
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--color-text-primary);
      margin-bottom: 0.35rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .subject-description {
      font-size: 0.85rem;
      color: var(--color-text-secondary);
      line-height: 1.5;
      margin-bottom: 1rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 2.55rem;
    }

    .subject-tags {
      display: flex;
      gap: 0.4rem;
      flex-wrap: wrap;
      margin-bottom: 1.25rem;
    }

    .tag-badge {
      background-color: var(--color-bg-secondary);
      color: var(--color-text-secondary);
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.25rem 0.6rem;
      border-radius: 0.375rem;
      border: 1px solid var(--color-border-light);
    }

    .subject-stats-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 0.85rem;
      border-top: 1px dashed var(--color-border);
      margin-top: auto;
      font-size: 0.825rem;
    }

    .stat-item {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      color: var(--color-text-secondary);
      font-weight: 500;
    }

    .stat-item i {
      color: var(--color-primary-500);
    }

    .price-text {
      color: var(--color-primary-700);
      font-weight: 800;
      font-size: 0.95rem;
    }

    /* Category Icon Themes */
    .icon-math { color: #2563eb; background: #eff6ff; }
    .icon-science { color: #059669; background: #ecfdf5; }
    .icon-lang { color: #d97706; background: #fffbeb; }
    .icon-humanities { color: #7c3aed; background: #f5f3ff; }
    .icon-tech { color: #0891b2; background: #ecfeff; }

    /* Educational Stages Cards */
    .stage-card {
      background: var(--color-bg-primary);
      border: 1px solid var(--color-border);
      border-radius: 1rem;
      padding: 1.25rem;
      transition: all var(--transition-base);
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .stage-card:hover {
      border-color: var(--color-primary-400);
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }

    .stage-card.active-stage {
      border-color: var(--color-primary-500);
      background-color: var(--color-primary-50);
    }

    .stage-icon {
      width: 48px;
      height: 48px;
      border-radius: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 0.75rem;
    }

    /* Detail Modal Customization */
    .modal-header-custom {
      background: linear-gradient(135deg, var(--color-primary-800) 0%, var(--color-primary-600) 100%);
      color: #ffffff;
      border-bottom: none;
      padding: 1.5rem;
      position: relative;
    }

    .modal-content {
      border-radius: 1.25rem;
      overflow: hidden;
      border: none;
      box-shadow: var(--shadow-lg);
    }

    .curriculum-chip {
      background-color: var(--color-bg-secondary);
      border: 1px solid var(--color-border);
      padding: 0.5rem 0.85rem;
      border-radius: 0.5rem;
      font-size: 0.85rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .teacher-mini-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--color-primary-200);
    }

    /* Bookmark Star Animation */
    .bookmark-btn {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: #ffffff;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .bookmark-btn:hover, .bookmark-btn.bookmarked {
      background: #ffffff;
      color: var(--color-secondary-500);
    }

    .featured-badge {
      background-color: var(--color-secondary-500);
      color: #1a1608;
      font-size: 0.7rem;
      font-weight: 800;
      padding: 0.2rem 0.55rem;
      border-radius: 50rem;
      text-transform: uppercase;
    }