:root {
  --bg: #f4f1eb;
  --surface: rgba(255, 252, 247, 0.9);
  --surface-strong: #fffdf9;
  --surface-muted: #efe9df;
  --text: #1f2632;
  --muted: #6b7382;
  --border: rgba(31, 38, 50, 0.1);
  --border-strong: rgba(31, 38, 50, 0.16);
  --primary: #214765;
  --primary-strong: #17334a;
  --accent: #bb7448;
  --success: #1f8a66;
  --ink: #141b24;
  --shadow: 0 26px 64px rgba(31, 38, 50, 0.11);
  --shadow-soft: 0 16px 34px rgba(31, 38, 50, 0.07);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --font-body: "Sora", sans-serif;
  --font-display: "Fraunces", serif;
}

.dark {
  --bg: #141a22;
  --surface: rgba(22, 28, 38, 0.84);
  --surface-strong: #1a202a;
  --surface-muted: #202734;
  --text: #eef4ff;
  --muted: #a4afc0;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow: 0 26px 64px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 16px 34px rgba(0, 0, 0, 0.22);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  background:
    radial-gradient(circle at top left, rgba(33, 71, 101, 0.12), transparent 26%),
    radial-gradient(circle at right 12%, rgba(187, 116, 72, 0.12), transparent 22%),
    linear-gradient(180deg, #fbf8f3 0%, var(--bg) 100%);
  background-attachment: fixed;
}

.dark body.site-body {
  background:
    radial-gradient(circle at top left, rgba(33, 71, 101, 0.2), transparent 26%),
    radial-gradient(circle at right 12%, rgba(187, 116, 72, 0.12), transparent 22%),
    linear-gradient(180deg, #10161d 0%, var(--bg) 100%);
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

:focus-visible {
  outline: 3px solid rgba(51, 92, 255, 0.25);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-shell {
  width: min(960px, calc(100% - 28px));
  margin: 0 auto;
}

.shell-narrow {
  width: min(860px, calc(100% - 32px));
}

.site-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 8px 20px rgba(51, 92, 255, 0.3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 14px 0;
  background: rgba(255, 252, 247, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(31, 38, 50, 0.07);
}

.dark .site-header {
  background: rgba(12, 16, 22, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-shell,
.desktop-nav,
.header-actions,
.social-row,
.footer-meta-links,
.cta-row,
.filter-row,
.carousel-dots,
.modal-actions {
  display: flex;
  align-items: center;
}

.header-shell {
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-logo {
  display: none;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-subtitle {
  display: none;
}

.desktop-nav {
  gap: 6px;
}

.nav-link {
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.dark .nav-link:hover,
.dark .nav-link.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.nav-link-outline {
  border: 1px solid var(--border);
}

.header-actions {
  gap: 12px;
}

.theme-toggle,
.menu-toggle,
.mobile-close,
.social-link {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.dark .theme-toggle,
.dark .menu-toggle,
.dark .mobile-close,
.dark .social-link {
  background: rgba(255, 255, 255, 0.06);
}

.theme-toggle,
.menu-toggle {
  min-width: 82px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 32px rgba(51, 92, 255, 0.25);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.dark .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.header-cta {
  padding-inline: 20px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 19, 0.56);
  backdrop-filter: blur(10px);
}

.mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 86vw);
  height: 100%;
  padding: 28px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mobile-label,
.section-kicker,
.metric-label,
.course-stat span,
.price-block span,
.footer-title,
.modal-section-title,
.modal-stats dt,
.field span,
.empty-state-mark {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.mobile-label,
.section-kicker,
.metric-label,
.course-stat span,
.price-block span,
.modal-stats dt,
.field span,
.empty-state-mark {
  color: var(--muted);
}

.mobile-title,
.hero-title,
.section-title,
.course-title,
.modal-title {
  font-family: var(--font-display);
}

.mobile-title {
  margin: 6px 0 0;
  font-size: 1.5rem;
}

.mobile-close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-weight: 800;
}

.mobile-nav {
  display: grid;
  gap: 8px;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 700;
}

.mobile-nav a:hover {
  background: var(--surface-muted);
}

.mobile-panel-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.7;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 34px 0 26px;
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.15;
  pointer-events: none;
}

.hero-glow-left {
  top: -80px;
  left: -100px;
  background: var(--primary);
}

.hero-glow-right {
  right: -120px;
  bottom: -80px;
  background: var(--accent);
}

.hero-grid,
.mentor-grid,
.enroll-grid,
.modal-grid,
.footer-grid,
.section-head-split {
  display: grid;
}

.hero-grid {
  position: relative;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 420px);
  align-items: center;
  gap: 42px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-title {
  max-width: 11ch;
  margin: 18px 0 0;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.text-gradient {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead,
.section-text,
.footer-text,
.faq-content,
.benefit-card p,
.info-item p,
.status-item p,
.modal-text,
.curriculum-item p,
.modal-note,
.footer-card p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-lead {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 0.94rem;
}

.cta-row {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.metrics-grid,
.benefits-grid,
.course-grid,
.course-stats,
.form-row,
.info-grid,
.status-list {
  display: grid;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric-card,
.course-stat,
.footer-card,
.modal-card,
.modal-note {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.dark .metric-card,
.dark .course-stat,
.dark .footer-card,
.dark .modal-card,
.dark .modal-note {
  background: rgba(255, 255, 255, 0.05);
}

.metric-card {
  padding: 14px;
  border-radius: var(--radius-md);
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
}

.hero-media {
  position: relative;
}

.media-halo {
  position: absolute;
  inset: -14px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(51, 92, 255, 0.2), rgba(255, 113, 70, 0.22));
  filter: blur(34px);
}

.media-frame,
.panel,
.course-card,
.faq-item,
.lead-form,
.modal-dialog,
.toast-card {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  min-height: 470px;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  min-height: 470px;
}

.carousel-slide img,
.course-thumb img,
.mentor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay,
.course-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 19, 0.75));
}

.carousel-caption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  color: #fff;
}

.carousel-caption strong {
  display: block;
  font-size: 1.16rem;
  line-height: 1.3;
}

.carousel-caption span {
  display: inline-block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.carousel-dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition: all 0.3s ease;
}

.dot.is-active {
  width: 38px;
  background: #fff;
}

.section {
  padding: 22px 0 0;
}

.section-last {
  padding-bottom: 64px;
}

.section-first {
  padding-top: 14px;
}

.panel {
  border-radius: var(--radius-xl);
  padding: 26px;
}

.mentor-panel,
.benefits-panel,
.enroll-panel {
  position: relative;
  overflow: hidden;
}

.mentor-grid {
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.mentor-photo-wrap {
  position: relative;
  min-height: 340px;
  border-radius: 22px;
  overflow: hidden;
}

.mentor-photo {
  object-position: center 20%;
}

.mentor-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(7, 11, 19, 0.58);
  color: #fff;
  backdrop-filter: blur(16px);
}

.mentor-badge span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-kicker {
  margin: 0 0 14px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-text {
  margin: 18px 0 0;
  font-size: 0.94rem;
}

.info-grid,
.status-list {
  gap: 14px;
  margin-top: 22px;
}

.info-item,
.status-item,
.curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-item strong,
.status-item strong,
.benefit-card h3,
.footer-card strong,
.curriculum-item h4 {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.info-check,
.status-icon,
.benefit-icon,
.curriculum-index,
.toast-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 18px;
  font-weight: 900;
}

.info-check,
.status-icon {
  width: 48px;
  height: 48px;
  background: rgba(19, 149, 111, 0.12);
  color: var(--success);
}

.section-head {
  max-width: 700px;
}

.section-head-center {
  margin: 0 auto;
  text-align: center;
}

.section-head-compact {
  max-width: 620px;
}

.section-head-split {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 28px;
  align-items: end;
}

.course-toolbar {
  display: grid;
  gap: 16px;
}

.search-group {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.search-field,
.sort-field {
  position: relative;
}

.search-field {
  flex: 1;
}

.search-field input,
.sort-field select,
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.dark .search-field input,
.dark .sort-field select,
.dark .field input,
.dark .field select,
.dark .field textarea {
  background: rgba(255, 255, 255, 0.05);
}

.search-field input:focus,
.sort-field select:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(51, 92, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(51, 92, 255, 0.12);
  outline: none;
}

.shortcut-hint {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.filter-row {
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dark .filter-chip {
  background: rgba(255, 255, 255, 0.04);
}

.filter-chip.is-active {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  align-items: stretch;
}

.featured-carousel {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.featured-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.05fr);
  min-height: 400px;
  overflow: hidden;
}

.featured-visual {
  position: relative;
  min-height: 100%;
}

.featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 27, 36, 0.12), rgba(20, 27, 36, 0.5));
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(33, 71, 101, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(255, 250, 244, 0.98));
}

.dark .featured-copy {
  background:
    radial-gradient(circle at top right, rgba(33, 71, 101, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(22, 28, 38, 0.96), rgba(20, 26, 34, 0.98));
}

.featured-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.featured-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.featured-text {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.featured-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.featured-meta div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.dark .featured-meta div {
  background: rgba(255, 255, 255, 0.04);
}

.featured-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.featured-meta strong {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.featured-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.46);
}

.dark .featured-controls {
  background: rgba(255, 255, 255, 0.03);
}

.featured-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.featured-dot,
.featured-nav {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.dark .featured-dot,
.dark .featured-nav {
  background: rgba(255, 255, 255, 0.06);
}

.featured-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.featured-dot.is-active {
  width: 32px;
  background: var(--ink);
}

.featured-nav {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.featured-nav:hover {
  color: var(--text);
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
}

.course-thumb {
  position: relative;
  aspect-ratio: 1.12;
  overflow: hidden;
}

.course-card:hover .course-thumb img {
  transform: scale(1.07);
}

.course-thumb img {
  transition: transform 0.6s ease;
}

.course-badges {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-pill {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.course-pill-new {
  background: rgba(19, 149, 111, 0.92);
  color: #fff;
}

.course-badge-office {
  background: rgba(51, 92, 255, 0.16);
  color: #1f45d8;
}

.course-badge-ia {
  background: rgba(122, 74, 255, 0.16);
  color: #5a36d1;
}

.course-badge-marketing {
  background: rgba(255, 113, 70, 0.18);
  color: #db532f;
}

.course-badge-frontend {
  background: rgba(54, 130, 255, 0.16);
  color: #1f56d8;
}

.course-badge-backend {
  background: rgba(138, 88, 255, 0.16);
  color: #6c42de;
}

.course-badge-data {
  background: rgba(0, 173, 181, 0.16);
  color: #0a8b90;
}

.course-badge-devops {
  background: rgba(32, 201, 151, 0.16);
  color: #0f8c67;
}

.course-badge-design {
  background: rgba(255, 92, 148, 0.16);
  color: #d43e76;
}

.course-badge-mobile {
  background: rgba(255, 193, 7, 0.2);
  color: #b07700;
}

.course-badge-business {
  background: rgba(90, 112, 255, 0.16);
  color: #455ce0;
}

.course-badge-cyber {
  background: rgba(255, 77, 109, 0.16);
  color: #cf3657;
}

.dark .course-badge-office {
  color: #a8bdff;
}

.dark .course-badge-ia {
  color: #c6b7ff;
}

.dark .course-badge-marketing {
  color: #ffc5b5;
}

.dark .course-badge-frontend {
  color: #aecbff;
}

.dark .course-badge-backend {
  color: #d0c2ff;
}

.dark .course-badge-data {
  color: #98f0f3;
}

.dark .course-badge-devops {
  color: #a6f4db;
}

.dark .course-badge-design {
  color: #ffc0d4;
}

.dark .course-badge-mobile {
  color: #ffe39a;
}

.dark .course-badge-business {
  color: #c3ccff;
}

.dark .course-badge-cyber {
  color: #ffb4c3;
}

.course-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 14px;
  padding: 20px;
}

.course-head {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
}

.course-head > div {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 124px;
}

.course-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.35em;
}

.course-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.8em;
}

.course-arrow {
  flex: 0 0 42px;
  align-self: flex-start;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface-muted);
  font-weight: 900;
}

.course-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  align-items: stretch;
}

.course-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 94px;
  padding: 16px 12px;
  border-radius: 18px;
  text-align: center;
  gap: 8px;
}

.course-stat span {
  display: block;
  width: 100%;
  line-height: 1.15;
  min-height: 2.1em;
  text-align: center;
  white-space: nowrap;
}

.course-stat strong {
  display: block;
  width: 100%;
  margin-top: 0;
  min-height: 1.3em;
  font-size: 0.92rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.course-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.price-block {
  display: grid;
  align-content: start;
  gap: 10px;
}

.price-block strong {
  display: block;
  margin-top: 0;
  line-height: 1.15;
  font-size: 1.1rem;
  color: var(--primary);
}

.course-inline-action {
  padding-inline: 18px;
}

.empty-state {
  display: none;
  margin-top: 28px;
  padding: 40px 28px;
  text-align: center;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.55);
}

.dark .empty-state {
  background: rgba(255, 255, 255, 0.04);
}

.empty-state.show {
  display: block;
}

.empty-state h3 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.empty-state p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
}

.empty-state .btn {
  margin-top: 20px;
}

.benefits-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.benefit-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--border);
}

.dark .benefit-card {
  background: rgba(255, 255, 255, 0.04);
}

.benefit-card h3 {
  margin: 18px 0 10px;
}

.benefit-icon {
  width: 54px;
  height: 54px;
}

.benefit-icon-blue {
  background: rgba(51, 92, 255, 0.12);
  color: var(--primary);
}

.benefit-icon-orange {
  background: rgba(255, 113, 70, 0.16);
  color: #db532f;
}

.benefit-icon-green {
  background: rgba(19, 149, 111, 0.14);
  color: var(--success);
}

.benefit-icon-ink {
  background: rgba(24, 34, 53, 0.12);
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.faq-item {
  padding: 24px 26px;
  border-radius: 24px;
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  list-style: none;
}

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

.faq-toggle {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface-muted);
  transition: transform 0.25s ease;
}

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

.faq-content {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}

.enroll-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 34px;
}

.lead-form {
  padding: 26px;
  border-radius: var(--radius-lg);
}

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

.field {
  display: block;
}

.field-full {
  grid-column: 1 / -1;
}

.field + .field,
.form-row + .field,
.field + .form-row,
.form-actions {
  margin-top: 16px;
}

.field span {
  display: block;
  margin-bottom: 8px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field-error {
  display: none;
  margin-top: 8px;
  color: #d44731;
  font-size: 0.76rem;
  font-weight: 700;
}

.field-error.is-visible {
  display: block;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-submit {
  flex: 1 1 240px;
}

.site-footer {
  padding: 72px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.46);
}

.dark .site-footer {
  background: rgba(7, 12, 21, 0.46);
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}

.footer-text {
  max-width: 420px;
  margin: 22px 0 0;
}

.social-row {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.social-link {
  padding: 12px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.footer-title {
  margin: 8px 0 18px;
}

.footer-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  list-style: none;
}

.footer-list a:hover,
.footer-meta a:hover,
.social-link:hover {
  color: var(--text);
}

.footer-card {
  padding: 20px;
  border-radius: 24px;
}

.footer-card-action {
  margin-top: 16px;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-meta-links {
  gap: 18px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 19, 0.58);
  backdrop-filter: blur(12px);
}

.modal-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: hidden;
  border-radius: 34px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 800;
}

.dark .modal-close {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.modal-body {
  max-height: 90vh;
  overflow: auto;
  padding: 34px;
}

.modal-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 320px);
  gap: 28px;
}

.modal-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(51, 92, 255, 0.12);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.modal-title {
  margin: 18px 0 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.modal-text {
  margin: 18px 0 0;
}

.modal-section {
  margin-top: 26px;
}

.modal-section-title {
  margin: 0 0 18px;
  color: var(--muted);
}

.modal-curriculum {
  display: grid;
  gap: 16px;
}

.curriculum-item {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--border);
}

.dark .curriculum-item {
  background: rgba(255, 255, 255, 0.04);
}

.curriculum-index,
.toast-mark {
  width: 42px;
  height: 42px;
  background: rgba(51, 92, 255, 0.14);
  color: var(--primary);
}

.modal-sidebar {
  display: grid;
  gap: 18px;
}

.modal-card,
.modal-note {
  padding: 22px;
  border-radius: 24px;
}

.modal-stats {
  display: grid;
  gap: 14px;
  margin: 0;
}

.modal-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.modal-stats div:last-child {
  border-bottom: 0;
}

.modal-stats dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
  color: var(--primary);
}

.modal-actions {
  flex-direction: column;
  align-items: stretch;
  margin-top: 18px;
}

.modal-action {
  width: 100%;
}

.modal-note {
  color: var(--muted);
  line-height: 1.7;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 290px;
  padding: 16px 18px;
  border-radius: 22px;
}

.toast-copy {
  display: grid;
  gap: 4px;
}

.toast-copy strong {
  font-size: 0.92rem;
}

.toast-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.auth-page {
  padding: 44px 0 80px;
}

.auth-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.auth-shell-narrow {
  width: min(560px, calc(100% - 32px));
}

.auth-header {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.auth-header .brand {
  justify-content: center;
}

.auth-header .section-title {
  margin-top: 18px;
}

.auth-header .section-text {
  max-width: 620px;
  margin-inline: auto;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-card {
  padding: 28px;
}

.auth-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.auth-card-copy {
  margin: 8px 0 0;
  color: var(--muted);
}

.auth-card-head {
  margin-bottom: 20px;
}

.auth-grid,
.choice-grid {
  display: grid;
  gap: 16px;
}

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

.choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-card {
  position: relative;
  display: block;
}

.choice-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.choice-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 800;
  text-align: center;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.dark .choice-card span {
  background: rgba(255, 255, 255, 0.04);
}

.choice-card input:checked + span {
  border-color: rgba(51, 92, 255, 0.42);
  background: rgba(51, 92, 255, 0.08);
  color: var(--primary);
  box-shadow: 0 0 0 4px rgba(51, 92, 255, 0.1);
}

.alert-error {
  padding: 14px 16px;
  border: 1px solid rgba(212, 71, 49, 0.28);
  border-radius: 18px;
  background: rgba(212, 71, 49, 0.08);
  color: #d44731;
  font-weight: 700;
}

.auth-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

.auth-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.auth-note a {
  color: var(--primary);
  font-weight: 800;
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-head-split,
  .mentor-grid,
  .enroll-grid,
  .footer-grid,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .featured-slide {
    grid-template-columns: 1fr;
  }

  .featured-visual {
    min-height: 280px;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header {
    padding: 12px 0;
  }

  .panel,
  .modal-body {
    padding: 26px;
  }

  .metrics-grid,
  .course-grid,
  .course-stats,
  .benefits-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .featured-meta {
    grid-template-columns: 1fr;
  }

  .featured-controls {
    flex-wrap: wrap;
  }

  .search-group,
  .form-actions,
  .footer-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .course-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .course-head > div {
    min-height: auto;
  }

  .course-inline-action {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(1120px, calc(100% - 22px));
  }

  .hero-section {
    padding-top: 28px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .panel,
  .lead-form,
  .modal-body {
    padding: 20px;
  }

  .featured-copy {
    padding: 22px;
  }

  .media-frame,
  .carousel-slide {
    min-height: 360px;
  }

  .mentor-photo-wrap {
    min-height: 360px;
  }

  .brand-subtitle {
    letter-spacing: 0.12em;
  }
}

/* Landing refresh inspired by modern tech-course platforms */

:root {
  --bg: #04121f;
  --surface: rgba(8, 25, 45, 0.88);
  --surface-strong: #071a2f;
  --surface-muted: #0d2742;
  --text: #edf5ff;
  --muted: #97adc8;
  --border: rgba(137, 181, 230, 0.16);
  --border-strong: rgba(137, 181, 230, 0.3);
  --primary: #11a7ff;
  --primary-strong: #0b77d1;
  --accent: #2ee5bb;
  --success: #22ca8f;
  --ink: #03111f;
  --shadow: 0 28px 72px rgba(0, 7, 16, 0.46);
  --shadow-soft: 0 16px 40px rgba(0, 7, 16, 0.32);
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}

.dark {
  --bg: #020c17;
  --surface: rgba(5, 18, 33, 0.92);
  --surface-strong: #05111f;
  --surface-muted: #0b2038;
  --text: #f4f8ff;
  --muted: #a1b3cb;
  --border: rgba(165, 197, 236, 0.18);
  --border-strong: rgba(165, 197, 236, 0.32);
  --shadow: 0 28px 72px rgba(0, 0, 0, 0.54);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.4);
}

body.site-body {
  background:
    radial-gradient(circle at top left, rgba(17, 167, 255, 0.18), transparent 26%),
    radial-gradient(circle at right 12%, rgba(46, 229, 187, 0.12), transparent 18%),
    linear-gradient(180deg, #05192f 0%, #03111f 100%);
  color: var(--text);
}

.dark body.site-body {
  background:
    radial-gradient(circle at top left, rgba(17, 167, 255, 0.16), transparent 24%),
    radial-gradient(circle at right 12%, rgba(46, 229, 187, 0.1), transparent 18%),
    linear-gradient(180deg, #03101d 0%, #020b14 100%);
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
}

.shell-narrow {
  width: min(980px, calc(100% - 32px));
}

.site-header {
  padding: 16px 0;
  background: rgba(3, 17, 31, 0.8);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.dark .site-header {
  background: rgba(2, 12, 22, 0.88);
}

.header-shell {
  gap: 24px;
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #03111f;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(17, 167, 255, 0.28);
}

.brand-copy {
  gap: 4px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-nav {
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  color: #d6e6fb;
  border: 1px solid transparent;
  background: transparent;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.theme-toggle,
.menu-toggle,
.mobile-close,
.social-link {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
}

.btn-primary {
  color: #03111f;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 18px 34px rgba(17, 167, 255, 0.32);
}

.btn-secondary,
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  box-shadow: none;
}

.mobile-panel {
  background: #06192d;
}

.mobile-panel-foot {
  color: var(--muted);
}

.hero-section.hero-section-tech {
  padding: 40px 0 18px;
}

.hero-grid.hero-grid-tech {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.hero-title.hero-title-tech {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5.8vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-lead {
  max-width: 62ch;
  color: #bbcee5;
}

.hero-actions {
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-metric {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10, 29, 50, 0.92), rgba(6, 20, 34, 0.94));
  box-shadow: var(--shadow-soft);
}

.hero-metric strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.hero-metric span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-showcase {
  position: relative;
  display: grid;
  gap: 16px;
}

.hero-console {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(8, 23, 41, 0.98), rgba(4, 16, 29, 0.98));
  box-shadow: var(--shadow);
}

.hero-console-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-console-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.hero-console-bar span:nth-child(1) {
  background: #fe6d73;
}

.hero-console-bar span:nth-child(2) {
  background: #f6bd60;
}

.hero-console-bar span:nth-child(3) {
  background: #46d39a;
}

.hero-console-bar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-console-body {
  padding: 24px;
  display: grid;
  gap: 20px;
}

.console-lead {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.console-code {
  display: grid;
  gap: 10px;
}

.console-code span {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: #e8f3ff;
  font-family: var(--font-display);
  font-size: 0.94rem;
}

.hero-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-highlight {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(4, 17, 30, 0.7);
}

.hero-highlight-ghost {
  background: rgba(17, 167, 255, 0.08);
}

.hero-highlight small,
.advantage-eyebrow,
.explorer-kicker,
.catalog-summary-kicker,
.track-step,
.track-meta-label {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-highlight strong {
  display: block;
  margin-top: 10px;
  font-size: 1.04rem;
  line-height: 1.35;
}

.hero-highlight p {
  margin: 10px 0 0;
  color: #b6c8df;
  line-height: 1.6;
}

.hero-orbit {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.orbit-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #d9ebff;
  font-size: 0.78rem;
  font-weight: 700;
}

.section {
  padding: 38px 0 0;
}

.section-compact {
  padding-top: 14px;
}

.section-last {
  padding-bottom: 72px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.advantage-card {
  padding: 26px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(8, 24, 42, 0.92), rgba(4, 17, 30, 0.94));
  box-shadow: var(--shadow-soft);
}

.advantage-card h2 {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: 1.36rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.advantage-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-kicker,
.section-text {
  color: var(--muted);
}

.section-title,
.hero-title,
.track-title {
  font-family: var(--font-display);
}

.section-head-split {
  gap: 24px;
  align-items: stretch;
}

.explorer-panel {
  padding: 24px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(9, 24, 41, 0.94), rgba(4, 17, 30, 0.98));
  box-shadow: var(--shadow-soft);
}

.explorer-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.explorer-reset {
  padding-inline: 16px;
}

.filter-row-explorer {
  margin-top: 18px;
}

.search-group-explorer {
  margin-top: 16px;
}

.filter-chip {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #dcecff;
}

.filter-chip.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #03111f;
}

.search-field input,
.sort-field select,
.field input,
.field select,
.field textarea {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.field input:disabled {
  opacity: 0.82;
}

.shortcut-hint {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.track-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(8, 24, 42, 0.94), rgba(4, 17, 30, 0.98));
  box-shadow: var(--shadow-soft);
}

.track-card-head,
.track-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.track-badge,
.course-pill,
.featured-pill {
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-badge-office {
  background: rgba(17, 167, 255, 0.16);
  color: #7fd9ff;
}

.course-badge-ia {
  background: rgba(122, 160, 255, 0.18);
  color: #b9cfff;
}

.course-badge-marketing {
  background: rgba(46, 229, 187, 0.18);
  color: #a6ffea;
}

.course-badge-frontend {
  background: rgba(17, 167, 255, 0.18);
  color: #8fe2ff;
}

.course-badge-backend {
  background: rgba(151, 114, 255, 0.2);
  color: #d1c2ff;
}

.course-badge-data {
  background: rgba(33, 200, 206, 0.18);
  color: #a7fbff;
}

.course-badge-devops {
  background: rgba(59, 214, 147, 0.2);
  color: #b4ffe1;
}

.course-badge-design {
  background: rgba(255, 92, 148, 0.18);
  color: #ffc7dc;
}

.course-badge-mobile {
  background: rgba(255, 201, 52, 0.18);
  color: #ffe6a5;
}

.course-badge-business {
  background: rgba(107, 128, 255, 0.18);
  color: #d0d8ff;
}

.course-badge-cyber {
  background: rgba(255, 86, 120, 0.18);
  color: #ffc0cf;
}

.track-title {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.track-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.track-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.track-points li {
  position: relative;
  padding-left: 18px;
  color: #c6d7ec;
  line-height: 1.55;
}

.track-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.track-card-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.track-card-foot strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.track-action {
  padding-inline: 16px;
}

.catalog-summary {
  padding: 24px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(9, 24, 41, 0.94), rgba(4, 17, 30, 0.98));
  box-shadow: var(--shadow-soft);
}

.catalog-summary strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.catalog-summary p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.featured-carousel {
  margin-top: 24px;
  border-color: var(--border);
  background: linear-gradient(180deg, rgba(8, 23, 40, 0.96), rgba(4, 17, 30, 0.98));
  box-shadow: var(--shadow);
}

.featured-slide {
  min-height: 440px;
}

.featured-overlay {
  background: linear-gradient(180deg, rgba(5, 15, 26, 0.08), rgba(4, 12, 22, 0.88));
}

.featured-copy {
  gap: 20px;
  padding: 40px;
  background:
    radial-gradient(circle at top right, rgba(17, 167, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(8, 24, 42, 0.96), rgba(4, 17, 30, 0.98));
}

.featured-title {
  font-size: clamp(2rem, 3vw, 3rem);
}

.featured-text {
  color: #c2d4ea;
}

.featured-meta div {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.featured-meta span {
  color: var(--muted);
}

.featured-controls {
  border-top-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.featured-dot,
.featured-nav {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.featured-dot.is-active {
  background: var(--accent);
}

.featured-nav {
  color: var(--text);
}

.course-grid {
  gap: 20px;
  margin-top: 24px;
}

.course-card {
  border-color: var(--border);
  background: linear-gradient(180deg, rgba(8, 24, 42, 0.94), rgba(4, 17, 30, 0.98));
  box-shadow: var(--shadow-soft);
}

.course-card:hover {
  border-color: rgba(46, 229, 187, 0.34);
  box-shadow: var(--shadow);
}

.course-thumb {
  aspect-ratio: 1.18;
}

.course-thumb-overlay {
  background: linear-gradient(180deg, rgba(4, 13, 23, 0.08), rgba(4, 13, 23, 0.92));
}

.course-body {
  gap: 18px;
  padding: 22px;
}

.course-head > div {
  min-height: 142px;
}

.course-title {
  min-height: 2.5em;
  font-size: 1.2rem;
}

.course-summary {
  min-height: 5.1em;
  color: #b4c7de;
}

.course-arrow {
  background: rgba(17, 167, 255, 0.14);
  color: var(--accent);
}

.course-stats {
  gap: 10px;
}

.course-stat {
  min-height: 98px;
  padding: 16px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.course-stat strong {
  font-size: 1rem;
}

.price-block strong {
  font-size: 1.22rem;
  color: #fff;
}

.course-inline-action {
  border-color: var(--border);
}

.empty-state {
  margin-top: 24px;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.panel,
.lead-form,
.faq-item,
.modal-dialog,
.toast-card {
  border-color: var(--border);
  background: linear-gradient(180deg, rgba(8, 24, 42, 0.94), rgba(4, 17, 30, 0.98));
  box-shadow: var(--shadow-soft);
}

.mentor-panel {
  padding: 34px;
}

.mentor-grid {
  gap: 30px;
}

.mentor-photo-wrap {
  min-height: 420px;
  border-radius: 30px;
}

.mentor-badge {
  background: rgba(3, 10, 18, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-check,
.status-icon {
  background: rgba(17, 167, 255, 0.14);
  color: var(--accent);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: 26px;
  padding: 30px;
  border-radius: 34px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(9, 24, 41, 0.96), rgba(4, 17, 30, 0.98));
  box-shadow: var(--shadow);
}

.status-list {
  margin-top: 22px;
}

.lead-form {
  padding: 28px;
}

.field span {
  color: #d5e6fb;
}

.faq-list {
  max-width: 980px;
  margin: 28px auto 0;
}

.faq-summary {
  color: #f0f6ff;
}

.faq-toggle {
  background: rgba(255, 255, 255, 0.06);
}

.faq-content {
  color: var(--muted);
}

.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(2, 12, 24, 0.9);
}

.footer-grid {
  grid-template-columns: 1.15fr 0.8fr 0.8fr 0.9fr;
  gap: 22px;
}

.footer-text,
.footer-list,
.footer-meta {
  color: var(--muted);
}

.footer-meta {
  border-top-color: var(--border);
}

.footer-title {
  color: #ecf5ff;
}

.footer-list a:hover,
.footer-meta a:hover,
.social-link:hover {
  color: #fff;
}

.modal-note,
.curriculum-item,
.modal-card {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.modal-stats dd {
  color: #fff;
}

@media (max-width: 1180px) {
  .hero-grid.hero-grid-tech,
  .section-head-split,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .advantage-grid,
  .track-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(1120px, calc(100% - 24px));
  }

  .hero-metrics,
  .hero-highlight-grid,
  .advantage-grid,
  .track-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title.hero-title-tech {
    max-width: 13ch;
    font-size: 2.8rem;
  }

  .hero-console-body,
  .mentor-panel,
  .contact-shell,
  .lead-form {
    padding: 22px;
  }

  .featured-copy {
    padding: 24px;
  }

  .course-head > div,
  .course-summary,
  .course-title {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .hero-title.hero-title-tech {
    font-size: 2.35rem;
  }

  .hero-console-bar strong,
  .brand-subtitle {
    display: none;
  }

  .catalog-summary,
  .advantage-card,
  .track-card,
  .course-body,
  .lead-form {
    padding: 20px;
  }

  .featured-controls {
    gap: 10px;
  }
}
