/* Hero, tag row, hero-right — extracted from the original style.css (lines 298-399) */
.hero {
  padding: 68px 0 84px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-brand-logo {
  margin-bottom: 20px;
}
.hero-brand-logo img {
  filter: drop-shadow(0 4px 12px rgba(124,92,255,.25));
}
[data-theme="dark"] .hero-brand-logo img {
  filter: invert(1) drop-shadow(0 4px 12px rgba(255,255,255,.15));
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.775rem;
  font-weight: 600;
  border-radius: var(--r-full);
  width: max-content;
  letter-spacing: 0.01em;
}
.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
}
.accent { color: var(--primary); }
.hero-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 400px;
}
.search-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: 4px 4px 4px 16px;
  background: var(--card);
  backdrop-filter: blur(8px);
  max-width: 460px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  gap: 8px;
  box-shadow: var(--shadow-xs);
}
.search-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124,92,255,0.14);
}
.search-icon { font-size: 15px; color: var(--text-light); flex-shrink: 0; }
.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.85rem;
  font-family: var(--font);
  color: var(--text);
  min-width: 0;
}
.search-input::placeholder { color: var(--text-light); }
.search-btn {
  background: var(--primary-grad);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: var(--r-btn);
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 14px rgba(124,92,255,0.3);
}
.search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124,92,255,0.45);
  filter: brightness(1.05);
}
.search-btn:active { transform: translateY(0) scale(0.98); }
.search-hint {
  font-size: 0.8rem;
  color: var(--red);
  margin-top: -10px;
}


/* Course cards, section header, notes grid — extracted from the original style.css (lines 400-589) */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 0.775rem;
  font-weight: 600;
}
.tag--filled  { background: var(--primary); color: #fff; }
.tag--outline { border: 1.5px solid var(--border); color: var(--text-muted); }
.hero-right {
  display: flex;
  justify-content: flex-end;
}
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 440px;
}
.course-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-radius: var(--r-card);
  min-height: 162px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.course-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-md);
  border-color: rgba(124,92,255,.25);
}
.course-card[data-c="purple"] { background: var(--primary-light); }
.course-card[data-c="red"]    { background: var(--red-light);     }
.course-card[data-c="green"]  { background: var(--green-light);   }
.course-card[data-c="orange"] { background: var(--orange-light);  }
.course-card[data-c="blue"]   { background: var(--blue-light);    }
.course-card[data-c="cyan"]   { background: var(--cyan-light);    }
.cc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.cc-dots {
  width: 56px;
  height: 56px;
  background-image: radial-gradient(circle, rgba(0,0,0,0.13) 1.3px, transparent 1.3px);
  background-size: 9px 9px;
  flex-shrink: 0;
}
[data-theme="dark"] .cc-dots {
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1.3px, transparent 1.3px);
}
.cc-icon {
  font-size: 24px;
  display: flex;
}
.course-card[data-c="purple"] .cc-icon { color: var(--primary); }
.course-card[data-c="red"]    .cc-icon { color: var(--red);     }
.course-card[data-c="green"]  .cc-icon { color: var(--green);   }
.course-card[data-c="orange"] .cc-icon { color: var(--orange);  }
.course-card[data-c="blue"]   .cc-icon { color: var(--blue);    }
.course-card[data-c="cyan"]   .cc-icon { color: var(--cyan);    }
.cc-icon-trio { display: flex; align-items: center; gap: 4px; }
.cc-icon-trio img { width: 20px; height: 20px; }
.cc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}
.cc-bottom h3 {
  font-size: 0.825rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.cc-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
}
.cc-arrow:hover { opacity: 0.85; transform: scale(1.1); }
.course-card[data-c="purple"] .cc-arrow { background: var(--primary); }
.course-card[data-c="red"]    .cc-arrow { background: var(--red);     }
.course-card[data-c="green"]  .cc-arrow { background: var(--green);   }
.course-card[data-c="orange"] .cc-arrow { background: var(--orange);  }
.course-card[data-c="blue"]   .cc-arrow { background: var(--blue);    }
.course-card[data-c="cyan"]   .cc-arrow { background: var(--cyan);    }
.sec-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.sec-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.sec-title {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.sec-title svg.lucide {
  font-size: 20px;
  color: var(--primary);
}
.sec-title h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.notes-section {content-visibility:auto;contain-intrinsic-size:0 600px;
  padding: var(--section-gap) 0;
  background: var(--bg-2);
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.note-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--card-pad);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.note-card:hover {
  box-shadow: var(--shadow), var(--shadow-glow);
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(124,92,255,.3);
}
.note-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.note-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.note-info h3 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.note-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.note-link {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
  display: inline-block;
  transition: letter-spacing 0.2s;
}
.note-card:hover .note-link { letter-spacing: 0.02em; }


/* Why grid/card/icon (still used by 5 of 6 course pages) + cta section — extracted from the original style.css (lines 593-669) */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.why-card {
  display: flex;
  gap: 18px;
  padding: var(--card-pad);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(124,92,255,.2);
}
.why-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.why-card p {
  font-size: var(--fs-small);
  color: var(--text-2);
  line-height: 1.8;
}
.cta-section {
  padding: 40px 0 72px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: var(--card-pad);
  border: 1.5px solid var(--border);
  border-radius: var(--r-card);
  background: var(--card);
}
.cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-grad);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(124,92,255,0.3);
}
.cta-text h3 {
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.cta-text p {
  font-size: 0.825rem;
  color: var(--text-muted);
}


/* Responsive: hero/course/why grids — extracted from the original style.css (lines 724-747) */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 36px;
  }
  .course-grid {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-right {
    order: -1;
    justify-content: center;
  }
  .course-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
}


/* Responsive — extracted from the original style.css (lines 775-777) */
@media (max-width: 520px) {
  .course-grid { grid-template-columns: 1fr 1fr; }
  .notes-grid  { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 60px; }
}

