:root {
  --ink: #12131e;
  --muted: #746861;
  --line: #f2ebe7;
  --orange-light: #fdf5ed;
  --orange: #FF8000;
  --orange-hover: #d36b02;
  --orange-dark: #a15300;
  --orange-glow: rgba(255, 128, 0, 0.18);
  --purple: #6c31ff;
  --purple-hover: #5820e4;
  --purple-dark: #0e0422;
  --purple-glow: rgba(108, 49, 255, 0.18);
  --violet: #9c7bff;
  --yellow: #ffd32a;
  --yellow-hover: #d3a800;
  --yellow-dark: #a18100;
  --yellow-glow: rgba(255, 211, 42, 0.18);
  --lime: #b6ff37;
  --lime-dark: #8ec71a;
  --paper: #ffffff;
  --soft: #f8f7fd;
  --soft-alt: #f1edf9;
  --support-grey: #8A8A8A;
  --black: #000000;
  --charcoal: #181818;
  --border: #303030;
  --border-light: #0B0B0B;
  --inset-surface: #111;
  --readable-supporting-text: #B8B8B8;
  --muted-text: #828282;
  --label: #E4E4E7;
  --label-alt: #E0E0E0;
  --surface-dark: #101010;
  --shadow: 0 22px 50px rgba(75, 37, 20, 0.09);
  --shadow-hover: 0 28px 60px rgba(165, 68, 30, 0.18);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

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

button {
  cursor: pointer;
}

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

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

/* ========================================================
   TOPBAR & NAVIGATION
   ======================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), #faa76b);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 141, 49, 0.4);
}

.brand {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: #fff;
}

.brand span {
  color: var(--yellow);
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14px;
  color: #d5d0e3;
  font-weight: 600;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--orange), #d36b02);
  border-radius: 999px;
  padding: 9px 20px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px rgba(255, 131, 49, 0.35);
  transition: all 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(255, 200, 49, 0.45);
  color: #fff;
}

/* ========================================================
   BUTTONS & BADGES
   ======================================================== */
.btn {
  border: 0;
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: linear-gradient(135deg, #ff8a3c, #ff5e1e);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 114, 49, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 114, 49, 0.45);
  color: #fff;
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn-lime {
  background: var(--yellow);
  color: #120526;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(182, 255, 55, 0.3);
}

.btn-lime:hover {
  background: #c6ff52;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(182, 255, 55, 0.45);
}

.btn-outline {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  min-height: 38px;
  font-size: 13px;
  border-radius: 9px;
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 55%, #753014 0, rgb(44, 19, 4) 32%, transparent 58%),
    linear-gradient(115deg, #000 0%, #101010 50%, #19093817 100%);
  color: #fff;
  min-height: 660px;
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto -8% -42% 35%;
  height: 540px;
  background: radial-gradient(circle, rgba(255, 142, 49, 0.45), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  min-height: 660px;
  align-items: center;
  padding: 74px 0 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 161, 118, 0.46);
  background: rgba(255, 125, 49, 0.2);
  color: #ffd9bf;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(182, 255, 55, 0.16);
}

h1 {
  margin: 22px 0 16px;
  font-size: clamp(46px, 5.8vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 760px;
}

h1 span {
  background: linear-gradient(90deg, #fff 20%, #ffd7b7 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  font-size: 18px;
  line-height: 1.75;
  color: #c9c4d4;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-note {
  margin: 22px 0 0;
  color: #8d869a;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-visual {
  align-self: stretch;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-visual img {
  position: absolute;
  z-index: 1;
  right: -80px;
  bottom: 14px;
  width: min(780px, 120%);
  max-height: 610px;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.event-card {
  position: absolute;
  z-index: 3;
  left: 8px;
  right: 8px;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(34, 15, 7, 0.86);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.event-item {
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.event-item:last-child {
  border-right: 0;
}

.event-label {
  display: block;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.event-value {
  font-size: 14px;
  font-weight: 700;
  color: #f6f3ff;
}

/* ========================================================
   TRUST STRIP
   ======================================================== */
.trust {
  background: linear-gradient(180deg, #fef3ef 0, #ffe7d8 100%);
  border-block: 1px solid #f8e4d8;
}

.trust .shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 24px;
  gap: 20px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--purple-dark);
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========================================================
   STANDARD SECTION HEADINGS
   ======================================================== */
.section {
  padding: 94px 0;
  position: relative;
}

.section.alt {
  background: linear-gradient(180deg, #fff 0, #fffbf9 50%, #fef8f2 100%);
}

.section.dark {
  background: var(--surface-dark);
  color: #fff;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head.center {
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.section.dark .section-kicker {
  color: var(--yellow);
}

.section-copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
}

.section.dark .section-copy {
  color: #b3a9cc;
}

.text-link {
  font-size: 14px;
  font-weight: 800;
  color: var(--orange);
  white-space: nowrap;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.text-link:hover {
  opacity: 0.8;
}

/* ========================================================
   TABS & SLIDER RAILS
   ======================================================== */
.tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  background: #fdf5ed;
  border: 1px solid #ffebde;
  border-radius: 14px;
  margin-bottom: 34px;
  padding: 5px;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 1;
  min-width: max-content;
  border: 0;
  background: transparent;
  color: #4f4961;
  padding: 14px 18px;
  border-radius: 10px;
  position: relative;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.tab[aria-selected="true"] {
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(71, 41, 130, 0.12);
}

.tab[aria-selected="true"]:after {
  content: "";
  position: absolute;
  height: 3px;
  background: var(--orange);
  left: 18px;
  right: 18px;
  bottom: 0;
  border-radius: 3px;
}

.rail-wrap {
  position: relative;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 4px 22px;
}

.rail::-webkit-scrollbar {
  display: none;
}

.course-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.thumb {
  height: 174px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--thumb1), var(--thumb2));
  isolation: isolate;
}

.thumb:before {
  content: "";
  position: absolute;
  width: 155px;
  height: 155px;
  border-radius: 34px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(12deg);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.12);
}

.thumb:after {
  content: "";
  position: absolute;
  inset: auto -28px -68px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  z-index: -1;
}

.course-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  color: #fff;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.22));
}

.chips {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.chip {
  background: rgba(255, 255, 255, 0.94);
  color: #23202b;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.course-body {
  padding: 20px 18px 16px;
  flex: 1;
}

.course-title {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.course-desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}

.course-meta {
  border-top: 1px solid var(--line);
  background: #fcfbff;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #686575;
}

.price {
  margin-left: auto;
  font-weight: 900;
  color: #17141d;
  font-size: 17px;
}

.rail-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.round {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: #2d2935;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.round:hover,
.round:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
  transform: scale(1.05);
}

.round:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 9px;
  height: 6px;
  border: 0;
  border-radius: 9px;
  background: #ddd9e5;
  padding: 0;
}

.dot.active {
  width: 24px;
  background: #201c28;
}

.new-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: start;
}

.new-intro {
  /* background: #101010; */
  background: linear-gradient(var(--black) 40%, var(--surface-dark) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 34px;
  min-height: 390px;
  position: relative;
  overflow: hidden;
}

.new-intro:after {
  content: "NEW";
  position: absolute;
  bottom: -26px;
  left: 20px;
  font-weight: 900;
  font-size: 90px;
  color: rgba(255, 255, 255, 0.05);
  letter-spacing: -0.08em;
}

.new-intro p {
  color: #bbb2cd;
  font-size: 15px;
  line-height: 1.6;
}

.new-intro .btn {
  margin-top: 18px;
  /* background: var(--yellow); */
  /* color: #171827; */
  width: 100%;
}

.new-rail .rail {
  grid-auto-columns: calc((100% - 36px) / 3);
}

/* ========================================================
   SECTION 1: FEATURED COURSES (Flagship Cohorts)
   ======================================================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.featured-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #d5c7f8;
}

.featured-badge-bar {
  padding: 14px 22px;
  background: #f5f0ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ebdfff;
  font-size: 12px;
  font-weight: 800;
}

.tag-bestseller {
  background: linear-gradient(135deg, #6c31ff, #9b51e0);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.tag-career {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.tag-demand {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.tag-cloud {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.cohort-date {
  color: var(--orange);
  font-weight: 700;
}

.featured-content {
  padding: 26px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  color: #d97706;
  font-weight: 700;
}

.featured-rating span {
  color: var(--muted);
  font-weight: 500;
}

.featured-title {
  font-size: 24px;
  margin: 0 0 10px;
  line-height: 1.25;
}

.featured-desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.55;
}

.featured-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

.featured-perks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #353245;
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e8fadc;
  color: #22863a;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.featured-mentor-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fbfaff;
  border: 1px solid #f0ecfa;
  border-radius: 12px;
  margin-bottom: 20px;
}

.mentor-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.mentor-info-sm h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
}

.mentor-info-sm p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.featured-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.price-group {
  display: flex;
  flex-direction: column;
}

.current-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  font-family: var(--font-heading);
}

.original-price {
  font-size: 13px;
  color: #9b98a8;
  text-decoration: line-through;
}

.discount-pill {
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* ========================================================
   SECTION 2: POPULAR CATEGORIES
   ======================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.cat-card:hover {
  transform: translateY(-5px);
  border-color: #cfbef8;
  box-shadow: var(--shadow-hover);
}

.cat-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cat-color, #6c31ff), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cat-card:hover:before {
  opacity: 1;
}

.cat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--cat-bg, #f3effe);
  color: var(--cat-color, #6c31ff);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: transform 0.2s;
}

.cat-card:hover .cat-icon-wrap {
  transform: scale(1.08);
}

.cat-title {
  font-size: 20px;
  margin: 0 0 8px;
  line-height: 1.3;
}

.cat-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.55;
}

.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.cat-tag {
  background: #f3f1f8;
  color: #524e62;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
}

.cat-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0ecfa;
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.cat-cta {
  color: var(--orange);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ========================================================
   SECTION 3: WHY CHOOSE US
   ======================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 26px;
  position: relative;
  transition: all 0.25s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #fadec7;
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  /* background: linear-gradient(135deg, rgba(108, 49, 255, 0.12), rgba(156, 123, 255, 0.18)); */
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.why-title {
  font-size: 20px;
  margin: 0 0 10px;
  line-height: 1.3;
}

.why-text {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* ========================================================
   SECTION 4: LEARNING PROCESS / HOW IT WORKS
   ======================================================== */
.section-how-it-works {
  background: linear-gradient(var(--black), #361c12);
  color: #ffffff;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

.how-head {
  text-align: center;
  margin-bottom: 64px;
}

.how-kicker {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.how-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 680px;
  margin: 0 auto;
}

.how-steps-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

/* Subtle connecting line between badge 1, 2 and 3 */
.how-steps-track::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
  z-index: 1;
  pointer-events: none;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 12px;
}

.how-step-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  box-shadow: 0 0 0 5px var(--orange);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.how-step:hover .how-step-badge {
  transform: scale(1.1);
  background: var(--orange-light);
  box-shadow: 0 0 0 6px var(--orange), 0 8px 20px rgba(0, 0, 0, 0.25);
}

.how-step-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.how-step-desc {
  color: #bad5ce;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  max-width: 280px;
}

.how-cta-wrap {
  text-align: center;
  margin-top: 58px;
}

.how-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #12362b;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.how-btn:hover {
  background: #f4faf8;
  color: #0b241c;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .section-how-it-works {
    padding: 70px 0 80px;
  }

  .how-head {
    margin-bottom: 46px;
  }

  .how-steps-track {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 360px;
  }

  .how-steps-track::before {
    top: 26px;
    bottom: 26px;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    transform: translateX(-50%);
  }

  .how-step-badge {
    margin-bottom: 16px;
  }

  .how-cta-wrap {
    margin-top: 44px;
  }
}

/* ========================================================
   SECTION 5: INSTRUCTORS & BRAND INTRO
   ======================================================== */
.brand-manifesto {
  background: linear-gradient(125deg, #14092b 0%, #200e47 60%, #2c1161 100%);
  color: #fff;
  border-radius: 28px;
  padding: 44px 40px;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.brand-manifesto:after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(182, 255, 55, 0.15), transparent 70%);
  pointer-events: none;
}

.manifesto-copy h3 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 14px;
  line-height: 1.2;
}

.manifesto-copy p {
  color: #cfc6e4;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.manifesto-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.m-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.m-stat strong {
  display: block;
  font-size: 28px;
  color: var(--yellow);
  font-family: var(--font-heading);
  font-weight: 900;
}

.m-stat span {
  font-size: 12px;
  color: #bbb2cf;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mentors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mentor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.mentor-card:hover {
  transform: translateY(-6px);
  border-color: #d5c5f8;
  box-shadow: var(--shadow-hover);
}

.mentor-img-wrap {
  height: 250px;
  position: relative;
  overflow: hidden;
  background: #20113b;
}

.mentor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

.mentor-card:hover .mentor-img {
  transform: scale(1.04);
}

.mentor-company-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(18, 10, 34, 0.88);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.mentor-body {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mentor-name {
  font-size: 21px;
  margin: 0 0 4px;
}

.mentor-role {
  color: var(--orange);
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 10px;
}

.mentor-bio {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.mentor-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f2eff9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #5a566a;
  font-weight: 700;
}

/* ========================================================
   SECTION 6: STUDENT TESTIMONIALS
   ======================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #f8dbc7;
}

.testi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.stars {
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
}

.transition-badge {
  background: #eef2ff;
  color: #4338ca;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
}

.testi-quote {
  font-size: 16px;
  line-height: 1.65;
  color: #282535;
  margin: 0 0 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.student-pic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
}

.student-avatar-fallback {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #8e44ad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
}

.author-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.author-info p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ========================================================
   SECTION 7: LEARNING STATISTICS & TRUST INDICATORS
   ======================================================== */
.stats-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.dash-stat {
  background: linear-gradient(135deg, #ffffff 0%, #fbf9ff 100%);
  border: 1px solid #e7deff;
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(47, 23, 105, 0.05);
  position: relative;
  overflow: hidden;
}

.dash-stat:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}

.dash-stat strong {
  display: block;
  font-size: clamp(34px, 4vw, 44px);
  color: var(--purple-dark);
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.dash-stat h4 {
  margin: 6px 0 4px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 800;
}

.dash-stat p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.hiring-partners-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  text-align: center;
}

.hiring-title {
  margin: 0 0 24px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 800;
}

.hiring-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.company-tag {
  border: 1px solid #e9e5f5;
  background: #fbfaff;
  padding: 9px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  color: #3c394d;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

.company-tag:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  background: #fff;
}

.trust-badges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.trust-item {
  background: #f8f6fd;
  border: 1px solid #ece5fb;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 750;
  color: #2e293f;
}

.trust-item svg {
  color: var(--orange);
  flex-shrink: 0;
}

/* ========================================================
   SECTION 8: FAQ SECTION
   ======================================================== */
.faq-wrapper {
  max-width: 860px;
  margin-inline: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: #f9e0c4;
}

.faq-item[open] {
  border-color: var(--orange);
  box-shadow: 0 10px 25px rgba(255, 159, 49, 0.08);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  user-select: none;
}

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

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fef5ec;
  color: var(--orange);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
  font-size: 18px;
  font-weight: 700;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--orange);
  color: #fff;
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  border-top: 1px solid #f6f3fc;
  padding-top: 14px;
}

/* ========================================================
   SECTION 9: NEWSLETTER & LEAD-CAPTURE
   ======================================================== */
.lead-box {
  background: radial-gradient(circle at 10% 20%, #281254 0%, #13062c 70%, #0c021f 100%);
  color: #fff;
  border-radius: 28px;
  padding: 54px 44px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.lead-box:before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 49, 255, 0.35), transparent 65%);
  pointer-events: none;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lead-text h3 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin: 0 0 14px;
  line-height: 1.15;
}

.lead-text p {
  color: #c9c0dc;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.lead-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: #ded6f3;
}

.lead-features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lead-form {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 30px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #c8bfdc;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  padding: 0 16px;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--yellow);
}

.form-input::placeholder {
  color: #9e94b5;
}

.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.role-pill {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #ddd5ef;
  transition: all 0.2s;
  background: transparent;
}

.role-pill:hover,
.role-pill.active {
  background: var(--yellow);
  color: #120526;
  border-color: var(--yellow);
}

.lead-btn {
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, var(--yellow), #9dfc05);
  color: #120526;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(182, 255, 55, 0.3);
  transition: all 0.2s ease;
}

.lead-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(182, 255, 55, 0.45);
}

.form-trust {
  font-size: 11.5px;
  color: #9b92b0;
  text-align: center;
  margin: 12px 0 0;
}

.form-toast {
  display: none;
  background: #22c55e;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
}

/* ========================================================
   SECTION 10: FINAL CTA
   ======================================================== */
.cta-banner {
  background: linear-gradient(135deg, #000 0%, #101010 50%, var(--orange-dark) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 64px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.cta-banner:before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 242, 55, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-inline: auto;
}

.cta-inner h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  margin: 16px 0;
  line-height: 1.1;
}

.cta-inner p {
  font-size: 18px;
  color: #cdc3e5;
  margin: 0 auto 32px;
  line-height: 1.65;
  max-width: 620px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cta-perks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: #b2a6cf;
  font-size: 13.5px;
  font-weight: 700;
}

.cta-perks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-perks span svg {
  color: var(--yellow);
}

/* ========================================================
   SECTION 11: DETAILED FOOTER
   ======================================================== */
.footer-detailed {
  background: #000;
  color: #bfaa9e;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-brand .brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand .brand-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.footer-brand .brand-name {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.footer-brand p {
  color: var(--readable-supporting-text, #b8b8b8);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a,
.footer-col button {
  color: var(--readable-supporting-text, #b8b8b8);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col button:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-text, #828282);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ========================================================
   MODAL DIALOG
   ======================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 2, 14, 0.75);
  backdrop-filter: blur(6px);
  z-index: 999;
  place-items: center;
  padding: 20px;
}

.modal-overlay.open {
  display: grid;
}

.modal-card {
  background: #fff;
  border-radius: 24px;
  width: min(520px, 100%);
  padding: 34px;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
}

.modal-title {
  margin: 0 0 8px;
  font-size: 24px;
}

.modal-desc {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

/* ========================================================
   RESPONSIVE QUERIES
   ======================================================== */
@media (max-width: 1024px) {

  .featured-grid,
  .cat-grid,
  .why-grid,
  .steps-timeline,
  .mentors-grid,
  .stats-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .brand-manifesto {
    grid-template-columns: 1fr;
  }

  .lead-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 450px;
  }

  .hero-visual img {
    right: 0;
    width: 100%;
    max-height: 500px;
  }

  .event-card {
    left: 0;
    right: 0;
  }

  .rail {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

  .new-layout {
    grid-template-columns: 1fr;
  }

  .new-intro {
    min-height: 230px;
  }

  .new-rail .rail {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero-inner {
    padding-top: 42px;
  }

  .hero-copy {
    font-size: 16px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-visual {
    min-height: 380px;
    margin-inline: -12px;
  }

  .hero-visual img {
    width: 118%;
    right: -12%;
    bottom: 58px;
  }

  .event-card {
    grid-template-columns: 1fr 1fr;
    bottom: 8px;
  }

  .event-item {
    padding: 12px;
  }

  .event-item:nth-child(2) {
    border-right: 0;
  }

  .event-item:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section {
    padding: 60px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rail,
  .new-rail .rail {
    grid-auto-columns: 86%;
  }

  .course-card {
    min-height: 380px;
  }

  .tabs {
    margin-inline: -12px;
    border-radius: 0;
    border-inline: 0;
  }

  .trust .shell {
    grid-template-columns: 1fr 1fr;
  }

  .featured-grid,
  .cat-grid,
  .why-grid,
  .steps-timeline,
  .mentors-grid,
  .testi-grid,
  .stats-dashboard,
  .trust-badges-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lead-box {
    padding: 34px 20px;
  }

  .cta-banner {
    padding: 44px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .course-card,
  .btn,
  .cat-card,
  .why-card,
  .step-card,
  .featured-card {
    transition: none;
  }
}