/**
 * AI Engineering Landing — clean premium UI (light + dark)
 */

@font-face {
  font-family: "PeydaHero";
  src: url("../public/fonts/Peyda.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.ail {
  --ail-accent: #0d9488;
  --ail-accent-2: #6366f1;
  --ail-ai: #7c3aed;
  --ail-accent-glow: rgba(13, 148, 136, 0.25);
  --ail-bg: #f8fafc;
  --ail-surface: #ffffff;
  --ail-border: #e2e8f0;
  --ail-text: #0f172a;
  --ail-muted: #64748b;
  --ail-radius: 16px;
  --ail-font: "IRANSansWeb", "iransansweb", system-ui, sans-serif;
  position: relative;
  font-family: var(--ail-font);
  color: var(--ail-text);
  background: var(--ail-bg);
  padding: 0 0 5rem;
  line-height: 1.65;
  overflow-x: clip;
}

html[data-theme="dark"] .ail {
  --ail-accent: #67e8f9;
  --ail-accent-2: #a5b4fc;
  --ail-ai: #a78bfa;
  --ail-accent-glow: rgba(103, 232, 249, 0.18);
  --ail-bg: #0b0d12;
  --ail-surface: #141820;
  --ail-border: #252b38;
  --ail-text: #e8edf5;
  --ail-muted: #8b95a8;
  --ail-on-accent: #042f2e;
}

/* Keep the AI landing on its cyan accent system. */
body.ail-page {
  --ail-accent: #0d9488;
  --ail-accent-2: #6366f1;
  --ail-ai: #7c3aed;
  --ail-bg: #f8fafc;
  --ail-surface: #ffffff;
  --ail-border: #e2e8f0;
  --ail-text: #0f172a;
  --ail-muted: #64748b;
  --ail-on-accent: #ffffff;
  --dm-accent: #0d9488;
  --dm-link: #0d9488;
  --dm-link-hover: #6366f1;
}

html[data-theme="dark"] body.ail-page {
  --ail-accent: #67e8f9;
  --ail-accent-2: #a5b4fc;
  --ail-ai: #a78bfa;
  --ail-bg: #0b0d12;
  --ail-surface: #141820;
  --ail-border: #252b38;
  --ail-text: #e8edf5;
  --ail-muted: #8b95a8;
  --ail-on-accent: #042f2e;
  --dm-accent: #67e8f9;
  --dm-link: #e8edf5;
  --dm-link-hover: #67e8f9;
}

body.ail-page
  a:not(.ail-btn):not(.Pagination__Item-Link):not(
    .coursePage__Teacher-Header-Text-Persion
  ):not(.coursePage__Teacher-Header-Left-Link) {
  color: var(--ail-accent);
}

body.ail-page a:not(.ail-btn):not(.coursePage__Teacher-Header-Left-Link):hover {
  color: var(--ail-accent-2);
}

body.ail-page {
  background: var(--ail-bg);
}

body.ail-page .ail h1,
body.ail-page .ail h2,
body.ail-page .ail h3,
body.ail-page .ail h4 {
  font-family: var(--ail-font);
  line-height: inherit;
}

.ail-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 640px;
  background:
    radial-gradient(
      ellipse 80% 60% at 85% 10%,
      rgba(99, 102, 241, 0.08),
      transparent 55%
    ),
    radial-gradient(
      ellipse 70% 50% at 10% 20%,
      rgba(13, 148, 136, 0.1),
      transparent 50%
    ),
    linear-gradient(180deg, rgba(13, 148, 136, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

html[data-theme="dark"] .ail-bg {
  background:
    radial-gradient(
      ellipse 80% 60% at 85% 10%,
      rgba(99, 102, 241, 0.12),
      transparent 55%
    ),
    radial-gradient(
      ellipse 70% 50% at 10% 20%,
      rgba(45, 212, 191, 0.08),
      transparent 50%
    ),
    linear-gradient(180deg, rgba(45, 212, 191, 0.04) 0%, transparent 100%);
}

.ail-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

/* ── Nav ─────────────────────────────────────────────────── */

.ail-top {
  padding: 1.75rem 0 0.5rem;
}

.ail-crumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  color: var(--ail-muted);
}

.ail-crumb a {
  color: var(--ail-muted);
  text-decoration: none;
}

.ail-crumb a:hover {
  color: var(--ail-accent);
}

/* ── Hero ────────────────────────────────────────────────── */

.ail-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
  padding: 1.5rem 0 2.5rem;
  animation: ail-fade-up 0.6s ease both;
}

@keyframes ail-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1100px) {
  .ail-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: clamp(3rem, 5vw, 6rem);
    padding: 2rem 0 3rem;
  }
}

.ail-hero__copy {
  min-width: 0;
}

.ail-hero__kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.95rem;
  padding: 0.38rem 0.75rem 0.38rem 0.55rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ail-accent);
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid rgba(13, 148, 136, 0.2);
  background: rgba(13, 148, 136, 0.06);
}

.ail-hero__kicker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ail-accent), var(--ail-accent-2));
}

html[data-theme="dark"] .ail-hero__kicker {
  background: rgba(103, 232, 249, 0.08);
  border-color: rgba(103, 232, 249, 0.2);
}

.ail-hero__kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ail-accent);
  box-shadow: 0 0 0 4px var(--ail-accent-glow);
  animation: ail-pulse 2.4s ease-in-out infinite;
}

@keyframes ail-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.92);
  }
}

.ail-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.2rem;
  padding: 0.18rem 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ail-text);
  border-radius: 999px;
  border: 1px solid var(--ail-border);
  background: var(--ail-surface);
}

.ail-hero__status i {
  font-size: 0.85em;
}

.ail-hero__status--live {
  color: #0f766e;
  border-color: rgba(13, 148, 136, 0.35);
  background: rgba(13, 148, 136, 0.1);
}

.ail-hero__status--ended {
  color: #64748b;
  border-color: rgba(100, 116, 139, 0.35);
  background: rgba(100, 116, 139, 0.08);
}

.ail-hero__status--presale {
  color: #0e7490;
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.08);
}

.ail-hero__status--soon {
  color: #0e7490;
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.1);
}

.ail-hero__status--recorded {
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.08);
}

.ail-hero__status--pulse::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.25);
  animation: ail-pulse 2.4s ease-in-out infinite;
}

.ail-hero__title {
  max-width: 62rem;
  margin: 0;
  margin-bottom: 0px;
  font-size: clamp(2.7rem, 3.25vw, 4.65rem);
  font-weight: 900;
  line-height: 1.36;
  letter-spacing: -0.11rem;
  text-wrap: balance;
  text-shadow: 0 1rem 3.5rem rgba(0, 0, 0, 0.22);
  margin-bottom: 1rem;
}

.ail-hero__title-accent {
  display: block;
  margin-top: 0.1em;
  color: var(--ail-ai);
}

.ail-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.ail-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ail-text);
  background: var(--ail-surface);
  border: 1px solid var(--ail-border);
}

.ail-hero__tag i {
  font-size: 0.95rem;
  color: var(--ail-accent);
}

.ail-hero__desc {
  margin: 0 0 1.25rem;
  font-size: 1.42rem;
  line-height: 2.25;
  color: var(--ail-muted);
  max-width: 58rem;
}

.ail-hero__desc strong {
  color: var(--ail-text);
  font-weight: 700;
}

.ail-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.ail-hero__cta .ail-btn {
  min-height: 4.25rem;
  padding-inline: 1.8rem;
}

.ail-hero__pricing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem 1rem;
  margin-bottom: 0.85rem;
  padding: 1rem 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.28);
  border-radius: 15px;
  background:
    linear-gradient(
      120deg,
      rgba(13, 148, 136, 0.09),
      rgba(99, 102, 241, 0.055)
    ),
    var(--ail-surface);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.065);
}

.ail-hero__pricing::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 3px;
  background: linear-gradient(180deg, var(--ail-accent), var(--ail-ai));
}

.ail-hero__pricing-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.ail-hero__pricing-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--ail-accent), var(--ail-ai));
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.22);
}

.ail-hero__pricing-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.7rem;
  min-width: 0;
}

.ail-hero__pricing-label {
  flex: 0 0 100%;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ail-muted);
}

.ail-hero__price {
  color: var(--ail-text);
  font-size: clamp(1.75rem, 2.1vw, 2.45rem);
  font-weight: 900;
  line-height: 1.25;
}

.ail-hero__price small {
  font-size: 0.52em;
  font-weight: 700;
  color: var(--ail-muted);
}

.ail-hero__old-price {
  font-size: 1rem;
  color: var(--ail-muted);
}

.ail-hero__payment-meta {
  display: flex;
  flex: 0 0 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem 0.7rem;
  margin-top: 0.28rem;
}

.ail-hero__installment-note,
.ail-hero__payment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.ail-hero__installment-note {
  padding: 0.26rem 0.5rem;
  color: #5b21b6;
  background: rgba(124, 58, 237, 0.075);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 7px;
  font-weight: 750;
}

.ail-hero__installment-note i {
  font-size: 0.8em;
}

.ail-hero__payment-link {
  position: relative;
  z-index: 2;
  padding-block: 0.2rem;
  color: var(--ail-accent);
  font-weight: 750;
  text-decoration: none;
  text-underline-offset: 0.22rem;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.ail-hero__payment-link:hover {
  color: var(--ail-ai);
  text-decoration: underline;
}

.ail-hero__payment-link:focus-visible {
  outline: 2px solid var(--ail-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.ail-hero__payment-link i {
  font-size: 0.72em;
  transition: transform 0.2s ease;
}

.ail-hero__payment-link:hover i {
  transform: translateY(2px);
}

.ail-hero__pricing-benefit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 1.05rem;
  color: var(--ail-muted);
}

.ail-hero__pricing-benefit i {
  color: var(--ail-accent);
}

.ail-hero__purchase,
.ail-hero__owned {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.7rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  white-space: nowrap;
}

.ail-hero__purchase {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.2);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.ail-hero__purchase:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 24px rgba(79, 70, 229, 0.28);
}

.ail-hero__purchase:focus-visible {
  outline: 2px solid var(--ail-accent);
  outline-offset: 3px;
}

.ail-hero__owned {
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.26);
  background: rgba(13, 148, 136, 0.09);
}

.ail-hero__stats {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0.75rem 0.2rem 0;
  list-style: none;
  border-top: 1px solid var(--ail-border);
}

.ail-hero__stats li {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.15rem 0.65rem;
  text-align: center;
  color: var(--ail-muted);
  font-size: 1.5rem;
  line-height: 1.45;
}

.ail-hero__stats li + li {
  border-right: 1px solid var(--ail-border);
}

.ail-hero__stats strong,
.ail-hero__stats i {
  color: var(--ail-text);
  font-size: 1.58rem;
  font-weight: 900;
  white-space: nowrap;
}

.ail-hero__stats i {
  color: var(--ail-ai);
}

html[data-theme="dark"] .ail-hero__pricing {
  border-color: rgba(103, 232, 249, 0.2);
  background:
    linear-gradient(
      120deg,
      rgba(103, 232, 249, 0.075),
      rgba(167, 139, 250, 0.065)
    ),
    var(--ail-surface);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .ail-engineering-bridge__intro p strong{
  color: #fff;
}

html[data-theme="dark"] .ail-hero__purchase {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #8b5cf6);
}

html[data-theme="dark"] .ail-hero__owned {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.24);
  background: rgba(103, 232, 249, 0.07);
}

.ail-btn i {
  margin-left: 0.45rem;
  font-size: 0.95em;
  opacity: 0.95;
}

.ail-hero__lower {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 3.25rem;
  padding: 1.5rem;
  border-radius: calc(var(--ail-radius) + 4px);
  background: rgba(13, 148, 136, 0.025);
}

.ail-hero__lower-title {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 1rem;
  padding: 0.15rem 0.2rem;
  color: var(--ail-text);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.ail-hero__lower-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 9px;
  color: var(--ail-ai);
  background: rgba(124, 58, 237, 0.1);
}

.ail-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ail-hero__fact {
  --ail-fact-color: #0d9488;
  --ail-fact-tint: rgba(13, 148, 136, 0.075);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 9.2rem;
  padding: 1.25rem 1.35rem 1.25rem 1.55rem;
  overflow: hidden;
  border: 1px solid
    color-mix(in srgb, var(--ail-fact-color) 20%, var(--ail-border));
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    var(--ail-fact-tint),
    var(--ail-surface) 62%
  );
  transition:
    border-color 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.ail-hero__fact + .ail-hero__fact {
  border-inline-start: 1px solid
    color-mix(in srgb, var(--ail-fact-color) 20%, var(--ail-border));
}

.ail-hero__fact::after {
  content: "";
  position: absolute;
  inset: 1.15rem 0 1.15rem auto;
  width: 3px;
  border-radius: 999px;
  background: var(--ail-fact-color);
  opacity: 0.8;
}

.ail-hero__fact:hover {
  transform: translateY(-3px);
  border-color: color-mix(
    in srgb,
    var(--ail-fact-color) 42%,
    var(--ail-border)
  );
  box-shadow: 0 12px 24px
    color-mix(in srgb, var(--ail-fact-color) 13%, transparent);
}

.ail-hero__fact--teal .ail-hero__fact-icon {
  color: #0d9488;
  background: rgba(13, 148, 136, 0.12);
}

.ail-hero__fact--purple {
  --ail-fact-color: #7c3aed;
  --ail-fact-tint: rgba(124, 58, 237, 0.075);
}

.ail-hero__fact--blue {
  --ail-fact-color: #2563eb;
  --ail-fact-tint: rgba(37, 99, 235, 0.07);
}

.ail-hero__fact--purple .ail-hero__fact-icon {
  color: #7b1fa2;
  background: rgba(123, 31, 162, 0.1);
}

.ail-hero__fact--blue .ail-hero__fact-icon {
  color: #1565c0;
  background: rgba(21, 101, 192, 0.1);
}

.ail-hero__fact-icon {
  flex-shrink: 0;
  width: 3.65rem;
  height: 3.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--ail-fact-color) 22%, transparent);
  border-radius: 12px;
  font-size: 1.4rem;
  color: var(--ail-fact-color);
  background: var(--ail-fact-tint);
}

html[data-theme="dark"] .ail-hero__fact-icon {
  border-color: color-mix(in srgb, var(--ail-fact-color) 34%, transparent);
  background: color-mix(in srgb, var(--ail-fact-color) 16%, transparent);
}

html[data-theme="dark"] .ail-hero__facts,
html[data-theme="dark"] .ail-hero__stack {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .ail-hero__lower {
  background: rgba(255, 255, 255, 0.018);
}

html[data-theme="dark"] .ail-hero__fact:hover {
  background: linear-gradient(
    135deg,
    var(--ail-fact-tint),
    var(--ail-surface) 68%
  );
}

html[data-theme="dark"] .ail-hero__trust {
  border-color: rgba(103, 232, 249, 0.16);
  background: rgba(103, 232, 249, 0.03);
}

html[data-theme="dark"] .ail-hero__trust li + li {
  border-color: rgba(103, 232, 249, 0.12);
}

html[data-theme="dark"] .ail-hero__trust i {
  color: #67e8f9;
  background: rgba(103, 232, 249, 0.1);
}

html[data-theme="dark"] .ail-hero__stack {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.018);
}

html[data-theme="dark"] .ail-hero__stack-item:hover {
  border-color: rgba(103, 232, 249, 0.38);
  background: rgba(103, 232, 249, 0.05);
}

.ail-hero__fact-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.ail-hero__fact-label {
  font-size: 1.05rem;
  color: var(--ail-muted);
  font-weight: 600;
}

.ail-hero__fact-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ail-text);
  line-height: 1.25;
}

.ail-hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ail-hero__trust li {
  --ail-trust-color: #0d9488;
  --ail-trust-tint: rgba(13, 148, 136, 0.065);
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, auto);
  align-items: center;
  justify-content: center;
  column-gap: 0.65rem;
  row-gap: 0.12rem;
  min-height: 7.3rem;
  padding: 1rem 1.15rem 1rem 1.4rem;
  overflow: hidden;
  border: 1px solid
    color-mix(in srgb, var(--ail-trust-color) 18%, var(--ail-border));
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    var(--ail-trust-tint),
    var(--ail-surface) 68%
  );
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ail-text);
  transition:
    transform 0.18s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ail-hero__trust li + li {
  border-inline-start: 1px solid
    color-mix(in srgb, var(--ail-trust-color) 18%, var(--ail-border));
}

.ail-hero__trust li::after {
  content: "";
  position: absolute;
  inset: 1rem 0 1rem auto;
  width: 3px;
  border-radius: 999px;
  background: var(--ail-trust-color);
  opacity: 0.8;
}

.ail-hero__trust li:hover {
  transform: translateY(-3px);
  border-color: color-mix(
    in srgb,
    var(--ail-trust-color) 42%,
    var(--ail-border)
  );
  box-shadow: 0 12px 24px
    color-mix(in srgb, var(--ail-trust-color) 13%, transparent);
}

.ail-hero__trust-item--rating {
  --ail-trust-color: #7c3aed;
  --ail-trust-tint: rgba(124, 58, 237, 0.075);
  border-color: rgba(124, 58, 237, 0.4) !important;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.14),
    rgba(255, 255, 255, 0.9) 72%
  ) !important;
}

.ail-hero__trust-item--views {
  --ail-trust-color: #2563eb;
  --ail-trust-tint: rgba(37, 99, 235, 0.065);
  border-color: rgba(37, 99, 235, 0.4) !important;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.13),
    rgba(255, 255, 255, 0.9) 72%
  ) !important;
}

.ail-hero__trust-item--students {
  --ail-trust-color: #0f9d8a;
  --ail-trust-tint: rgba(15, 157, 138, 0.075);
  border-color: rgba(15, 157, 138, 0.4) !important;
  background: linear-gradient(
    135deg,
    rgba(15, 157, 138, 0.14),
    rgba(255, 255, 255, 0.9) 72%
  ) !important;
}

.ail-hero__trust i {
  grid-row: span 2;
  width: 2.65rem;
  height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--ail-trust-color) 22%, transparent);
  color: var(--ail-trust-color);
  background: var(--ail-trust-tint);
  font-size: 1.2rem;
}

.ail-hero__trust-value {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ail-text);
}

.ail-hero__trust-label {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ail-muted);
}

html[data-theme="dark"] .ail-hero__lower-title-icon {
  color: #67e8f9;
  background: rgba(103, 232, 249, 0.1);
}

html[data-theme="dark"] .ail-hero__trust {
  border: 0;
  background: transparent;
}

html[data-theme="dark"] .ail-hero__trust li,
html[data-theme="dark"] .ail-hero__trust li + li {
  border-color: color-mix(
    in srgb,
    var(--ail-trust-color) 30%,
    var(--ail-border)
  );
  background: linear-gradient(
    135deg,
    var(--ail-trust-tint),
    var(--ail-surface) 72%
  );
}

html[data-theme="dark"] .ail-hero__trust-item--rating {
  border-color: rgba(167, 139, 250, 0.42) !important;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.2),
    rgba(20, 24, 32, 0.94) 72%
  ) !important;
}

html[data-theme="dark"] .ail-hero__trust-item--views {
  border-color: rgba(96, 165, 250, 0.42) !important;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.19),
    rgba(20, 24, 32, 0.94) 72%
  ) !important;
}

html[data-theme="dark"] .ail-hero__trust-item--students {
  border-color: rgba(45, 212, 191, 0.4) !important;
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.19),
    rgba(20, 24, 32, 0.94) 72%
  ) !important;
}

html[data-theme="dark"] .ail-hero__trust i {
  color: var(--ail-trust-color);
  border-color: color-mix(in srgb, var(--ail-trust-color) 34%, transparent);
  background: color-mix(in srgb, var(--ail-trust-color) 16%, transparent);
}

html[data-theme="dark"] .ail-hero__trust li:hover {
  box-shadow: 0 12px 24px
    color-mix(in srgb, var(--ail-trust-color) 14%, transparent);
}

@media (max-width: 768px) {
  .ail-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ail-hero__fact:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .ail-hero__facts {
    grid-template-columns: 1fr;
  }

  .ail-hero__fact:last-child {
    grid-column: auto;
  }
}

.ail-hero__stack {
  margin-top: 3rem;
  padding: 1.8rem 2.05rem;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: var(--ail-radius);
  background: rgba(255, 255, 255, 0.58);
}

.ail-hero__stack-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ail-text);
  font-size: 1.5rem;
  font-weight: 800;
  white-space: nowrap;
  padding-inline-end: 0.25rem;
  margin-bottom: 2rem;
}

.ail-hero__stack-heading i {
  color: var(--ail-ai);
}

.ail-hero__stack-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.ail-hero__stack-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: 11px;
  border: 1px solid var(--ail-border);
  background: var(--ail-surface);
  transition:
    border-color 0.2s,
    transform 0.15s;
}

.ail-hero__stack-item:hover {
  border-color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.04);
  transform: translateY(-1px);
}

.ail-hero__stack-item img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.ail-hero__stack-item i {
  font-size: 1.25rem;
  color: var(--ail-muted);
}

.ail-hero__stack-label {
  color: var(--ail-text);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.4;
}

.ail-hero__stack {
  padding: 2.1rem;
  background: rgba(255, 255, 255, 0.48);
}

.ail-hero__stack-head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.ail-hero__stack-heading {
  gap: 0.6rem;
  margin: 0;
  font-size: 1.55rem;
}

.ail-hero__stack-subtitle {
  margin: 0.35rem 0 0;
  color: var(--ail-muted);
  font-size: 1.16rem;
  line-height: 1.8;
}

.ail-hero__stack-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.ail-hero__stack-category {
  position: relative;
  min-width: 0;
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.7);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ail-hero__stack-category:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.055);
}

.ail-hero__stack-category--featured {
  border-color: rgba(124, 58, 237, 0.28);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.07),
    rgba(255, 255, 255, 0.72)
  );
}

.ail-hero__stack-category-head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.ail-hero__stack-category-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 9px;
  color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.1);
  font-size: 1.15rem;
}

.ail-hero__stack-category--featured .ail-hero__stack-category-icon {
  color: var(--ail-ai);
  background: rgba(124, 58, 237, 0.1);
}

.ail-hero__stack-category h3 {
  margin: 0;
  color: var(--ail-text);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.6;
}

.ail-hero__stack-category p {
  margin: 0.12rem 0 0;
  color: var(--ail-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.ail-hero__stack-matrix .ail-hero__stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.ail-hero__stack-matrix .ail-hero__stack-item {
  flex: 0 0 auto;
  position: relative;
  min-height: 3.4rem;
  padding: 0.45rem 0.75rem;
  border-color: rgba(148, 163, 184, 0.32);
  background: var(--ail-surface);
}

.ail-hero__stack-matrix .ail-hero__stack-item:hover {
  border-color: rgba(13, 148, 136, 0.42);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(45, 212, 191, 0.14),
      transparent 38%
    ),
    linear-gradient(135deg, rgba(240, 253, 250, 0.96), rgba(238, 242, 255, 0.9));
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.07);
}

.ail-hero__stack-matrix .ail-hero__stack-item--skill::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ail-ai);
  opacity: 0.75;
}

.ail-hero__stack-matrix .ail-hero__stack-label {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 1.1rem;
  font-weight: 700;
}

html[data-theme="dark"] .ail-hero__stack {
  background: rgba(255, 255, 255, 0.018);
}

html[data-theme="dark"] .ail-hero__stack-head {
  border-color: rgba(103, 232, 249, 0.15);
}

html[data-theme="dark"] .ail-hero__stack-category {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

html[data-theme="dark"] .ail-hero__stack-category--featured {
  border-color: rgba(103, 232, 249, 0.27);
  background: linear-gradient(
    135deg,
    rgba(103, 232, 249, 0.07),
    rgba(255, 255, 255, 0.02)
  );
}

html[data-theme="dark"] .ail-hero__stack-category-icon {
  color: #67e8f9;
  background: rgba(103, 232, 249, 0.1);
}

html[data-theme="dark"]
  .ail-hero__stack-category--featured
  .ail-hero__stack-category-icon {
  color: #67e8f9;
  background: rgba(103, 232, 249, 0.13);
}

html[data-theme="dark"] .ail-hero__stack-matrix .ail-hero__stack-item {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .ail-hero__stack-matrix .ail-hero__stack-item:hover {
  border-color: rgba(103, 232, 249, 0.38);
  background: rgba(103, 232, 249, 0.055);
}

html[data-theme="dark"]
  .ail-hero__stack-matrix
  .ail-hero__stack-item--skill::before {
  background: #67e8f9;
}

@media (max-width: 640px) {
  .ail-hero__stack {
    padding: 0.9rem;
  }

  .ail-hero__stack-matrix {
    grid-template-columns: 1fr;
  }
}

.ail-hero__media-wrap {
  position: relative;
  z-index: 0;
}

.ail-hero__media-glow {
  position: absolute;
  inset: 8% 4%;
  border-radius: calc(var(--ail-radius) + 12px);
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.35),
    rgba(99, 102, 241, 0.25)
  );
  filter: blur(34px);
  opacity: 0.34;
  z-index: 0;
  animation: ail-glow-pulse 6s ease-in-out infinite;
}

html[data-theme="dark"] .ail-hero__media-glow {
  background: linear-gradient(
    135deg,
    rgba(103, 232, 249, 0.35),
    rgba(165, 180, 252, 0.28)
  );
  opacity: 0.3;
}

@keyframes ail-glow-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.015);
  }
}

.ail-hero__orbit {
  position: absolute;
  inset: -3.5rem -2.2rem;
  pointer-events: none;
  z-index: 3;
}

.ail-hero__float {
  --ail-float-delay: 0s;
  --ail-bubble-size: 4.1rem;
  position: absolute;
  width: var(--ail-bubble-size);
  height: var(--ail-bubble-size);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.55) 38%,
      transparent 62%
    ),
    linear-gradient(
      155deg,
      rgba(240, 253, 250, 0.95) 0%,
      rgba(224, 242, 254, 0.75) 55%,
      rgba(199, 210, 254, 0.55) 100%
    );
  border: 1.5px solid rgba(13, 148, 136, 0.22);
  box-shadow:
    0 10px 24px rgba(13, 148, 136, 0.13),
    0 4px 12px rgba(15, 23, 42, 0.07),
    inset 0 2px 10px rgba(255, 255, 255, 0.95),
    inset 0 -6px 14px rgba(13, 148, 136, 0.08);
  font-size: 1.55rem;
  color: var(--ail-accent);
  animation: ail-icon-float 5.5s ease-in-out infinite;
  animation-delay: var(--ail-float-delay);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ail-hero__float::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 16%;
  width: 38%;
  height: 24%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(0.5px);
  pointer-events: none;
}

.ail-hero__float i {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(13, 148, 136, 0.15));
}

html[data-theme="dark"] .ail-hero__float {
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.06) 38%,
      transparent 62%
    ),
    linear-gradient(
      155deg,
      rgba(20, 28, 38, 0.92) 0%,
      rgba(16, 24, 36, 0.82) 55%,
      rgba(12, 20, 32, 0.72) 100%
    );
  border-color: rgba(103, 232, 249, 0.28);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.45),
    0 6px 16px rgba(103, 232, 249, 0.12),
    inset 0 2px 10px rgba(255, 255, 255, 0.12),
    inset 0 -6px 14px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .ail-hero__float::before {
  background: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .ail-hero__float i {
  filter: drop-shadow(0 2px 6px rgba(103, 232, 249, 0.25));
}

.ail-hero__float img {
  position: relative;
  z-index: 1;
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
}

.ail-hero__float--1 {
  top: 0%;
  right: 2%;
  --ail-bubble-size: 4.45rem;
  font-size: 1.65rem;
}
.ail-hero__float--2 {
  top: 16%;
  left: -0.5rem;
  --ail-bubble-size: 4.35rem;
}
.ail-hero__float--3 {
  top: 46%;
  right: -1rem;
  --ail-bubble-size: 4.55rem;
  font-size: 1.65rem;
  animation-duration: 5.2s;
}
.ail-hero__float--4 {
  bottom: 20%;
  left: 0;
  animation-duration: 4s;
}
.ail-hero__float--5 {
  bottom: 6%;
  right: 10%;
  --ail-bubble-size: 4.4rem;
  animation-duration: 5.8s;
}
.ail-hero__float--6 {
  top: 60%;
  left: -0.75rem;
  animation-duration: 4.8s;
}
.ail-hero__float--7 {
  top: 4%;
  left: 26%;
  --ail-bubble-size: 3.85rem;
  font-size: 1.35rem;
  animation-duration: 5.5s;
}
.ail-hero__float--8 {
  bottom: 2%;
  left: 36%;
  --ail-bubble-size: 4rem;
  animation-duration: 4.2s;
}

@keyframes ail-icon-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-7px) scale(1.015);
  }
}

.ail-hero__media {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: calc(var(--ail-radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--ail-border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 22px 48px rgba(15, 23, 42, 0.1);
  animation: ail-fade-up 0.6s ease 0.1s both;
}

html[data-theme="dark"] .ail-hero__media {
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.36);
}

.ail-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.ail-hero__badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7b1fa2, #9c27b0);
  box-shadow: 0 4px 14px rgba(123, 31, 162, 0.35);
}

.ail-hero__badge i {
  font-size: 0.9rem;
}

/* ── Buttons ─────────────────────────────────────────────── */

.ail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.ail-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.ail-btn:focus-visible {
  outline: 2px solid var(--ail-accent);
  outline-offset: 3px;
}

.ail-btn--lg {
  padding: 1rem 2rem;
  font-size: 1.45rem;
}

.ail-btn--block {
  width: 100%;
}

.ail-btn--primary {
  color: #fff;
  background: var(--ail-accent);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.ail-btn--primary:hover {
  color: #fff;
  opacity: 0.92;
}

html[data-theme="dark"] .ail-btn--primary {
  color: var(--ail-on-accent, #042f2e);
  box-shadow: 0 4px 18px rgba(103, 232, 249, 0.22);
}

.ail-btn--student {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
}

.ail-btn--student:hover {
  color: #fff;
  opacity: 0.95;
}

html[data-theme="dark"] .ail-btn--student {
  color: #042f2e;
  background: linear-gradient(135deg, #2dd4bf 0%, #5eead4 100%);
  box-shadow: 0 4px 18px rgba(45, 212, 191, 0.28);
}

.ail-btn--line {
  color: var(--ail-text);
  background: transparent;
  border: 1px solid var(--ail-border);
}

.ail-btn--line:hover {
  border-color: var(--ail-accent);
  color: var(--ail-accent);
}

html[data-theme="dark"] body.ail-page main a.ail-btn--line,
html[data-theme="dark"] body.ail-page main a.ail-btn--line:hover {
  color: var(--ail-text) !important;
  border: 1px solid var(--ail-border) !important;
  background: transparent !important;
}

html[data-theme="dark"] body.ail-page main a.ail-btn--line:hover {
  color: var(--ail-accent) !important;
  border-color: var(--ail-accent) !important;
  background: rgba(103, 232, 249, 0.08) !important;
}

html[data-theme="dark"] body.ail-page main a.ail-btn--primary {
  color: var(--ail-on-accent, #042f2e) !important;
}

html[data-theme="dark"] body.ail-page main a.ail-btn--primary:hover {
  color: var(--ail-on-accent, #042f2e) !important;
}

.ail-btn--ghost {
  color: var(--ail-muted);
  background: transparent;
  border: 1px solid var(--ail-border);
}

.ail-btn--ghost:hover {
  color: var(--ail-accent);
  border-color: rgba(13, 148, 136, 0.45);
  background: rgba(13, 148, 136, 0.06);
}

html[data-theme="dark"] .ail-btn--ghost:hover {
  background: rgba(103, 232, 249, 0.08);
  border-color: rgba(103, 232, 249, 0.35);
}

/* ── Course status ───────────────────────────────────────── */

.ail-status {
  margin-bottom: 2.5rem;
  animation: ail-fade-up 0.6s ease 0.12s both;
}

.ail-status__card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--ail-radius);
  border: 1px solid var(--ail-border);
  background: var(--ail-surface);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}

.ail-status__card--live {
  border-color: rgba(13, 148, 136, 0.28);
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.08),
    var(--ail-surface)
  );
}

.ail-status__card--ended {
  border-color: rgba(100, 116, 139, 0.28);
}

.ail-status__card--presale {
  border-color: rgba(6, 182, 212, 0.28);
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.06),
    var(--ail-surface)
  );
}

.ail-status__card--soon {
  border-color: rgba(6, 182, 212, 0.28);
}

.ail-status__card--recorded {
  border-color: rgba(37, 99, 235, 0.28);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05),
    var(--ail-surface)
  );
}

.ail-status__icon-wrap {
  flex-shrink: 0;
}

.ail-status__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 12px;
  font-size: 1.35rem;
  color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.12);
}

.ail-status__card--live .ail-status__icon {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.16);
}

.ail-status__card--ended .ail-status__icon {
  color: #64748b;
  background: rgba(100, 116, 139, 0.12);
}

.ail-status__card--presale .ail-status__icon {
  color: #0e7490;
  background: rgba(6, 182, 212, 0.12);
}

.ail-status__card--soon .ail-status__icon {
  color: #0e7490;
  background: rgba(6, 182, 212, 0.12);
}

.ail-status__card--recorded .ail-status__icon {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
}

.ail-status__icon--pulse {
  position: relative;
}

.ail-status__icon--pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 2px solid rgba(13, 148, 136, 0.35);
  animation: ail-status-ring 2.4s ease-out infinite;
}

@keyframes ail-status-ring {
  0% {
    opacity: 0.8;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

.ail-status__body {
  flex: 1 1 22rem;
  min-width: 0;
}

.ail-status__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0e7490;
  padding: 0.7rem 1rem;
  width: max-content;
  border-radius: 1rem;
  background-color: rgba(6, 182, 212, 0.1);
}

.ail-status__value {
  margin: 1rem 0 0.85rem;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ail-text);
  line-height: 1.3;
}

.ail-status__hint {
  margin: 0;
  font-size: 1.25rem;
  line-height: 2rem;
  color: var(--ail-muted);
}

.ail-status__countdown {
  flex: 0 0 auto;
  align-self: center;
  min-width: min(100%, 30rem);
  margin-right: auto;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(6, 182, 212, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(8, 145, 178, 0.08);
}

html[data-theme="dark"] .ail-status__countdown {
  background: rgba(15, 23, 42, 0.62);
  border-color: rgba(103, 232, 249, 0.3);
}

.ail-status__countdown-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0e7490;
}

html[data-theme="dark"] .ail-status__countdown-title {
  color: #67e8f9;
}

.ail-status__countdown-clock {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem;
}

.ail-status__countdown-clock > span {
  display: grid;
  min-width: 4.6rem;
  gap: 0.35rem;
  text-align: center;
}

.ail-status__countdown-clock b {
  display: block;
  padding: 0.6rem 0.45rem;
  border-radius: 10px;
  font:
    800 1.65rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: #0e7490;
  background: rgba(236, 254, 255, 0.96);
  border: 1px solid rgba(6, 182, 212, 0.15);
}

html[data-theme="dark"] .ail-status__countdown-clock b {
  color: #67e8f9;
  background: rgba(17, 24, 39, 0.86);
  border-color: rgba(103, 232, 249, 0.2);
}

.ail-status__countdown-clock small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ail-muted);
}

.ail-status__countdown-clock > i {
  margin-top: 0.55rem;
  color: #06b6d4;
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 900;
}

.ail-status__countdown.ail-presale--expired {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  text-align: center;
}

@media (max-width: 640px) {
  .ail-status__card {
    flex-direction: column;
    align-items: stretch;
  }

  .ail-status__body {
    flex-basis: auto;
  }

  .ail-status__countdown {
    width: 100%;
    min-width: 0;
    margin-right: 0;
  }

  .ail-status__countdown-clock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .ail-status__countdown-clock > span {
    min-width: 0;
  }

  .ail-status__countdown-clock > i {
    display: none;
  }
}

/* ── Course intro video (before about section) ───────────── */

.ail-intro-video {
  margin-bottom: 3.5rem;
  animation: ail-fade-up 0.6s ease 0.12s both;
}

.ail-intro-video__head {
  margin-bottom: 1.35rem;
}

.ail-intro-video__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ail-intro-video__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  font-size: 1.2rem;
  color: #7c3aed;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.14),
    rgba(124, 58, 237, 0.05)
  );
  border: 1px solid rgba(124, 58, 237, 0.18);
}

html[data-theme="dark"] .ail-intro-video__title-icon {
  color: #c4b5fd;
  background: linear-gradient(
    135deg,
    rgba(167, 139, 250, 0.18),
    rgba(167, 139, 250, 0.06)
  );
  border-color: rgba(167, 139, 250, 0.22);
}

.ail-intro-video__sub {
  margin: 0;
  max-width: 100%;
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--ail-muted);
}

.ail-intro-video__sub strong {
  color: var(--ail-text);
  font-weight: 700;
}

.ail-intro-video__card {
  border: 1px solid var(--ail-border);
  border-radius: calc(var(--ail-radius) + 2px);
  background:
    radial-gradient(
      ellipse 70% 55% at 0% 0%,
      rgba(124, 58, 237, 0.07),
      transparent 58%
    ),
    radial-gradient(
      ellipse 60% 50% at 100% 100%,
      rgba(13, 148, 136, 0.06),
      transparent 55%
    ),
    var(--ail-surface);
  padding: 1.35rem;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
}

html[data-theme="dark"] .ail-intro-video__card {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}

.ail-intro-video__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .ail-intro-video__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2rem;
  }
}

.ail-intro-video__lead {
  margin: 0 0 1.15rem;
  font-size: 1.4rem;
  line-height: 1.95;
  color: var(--ail-muted);
}

.ail-intro-video__points {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.ail-intro-video__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 1.35rem;
  line-height: 1.75;
  color: var(--ail-text);
}

.ail-intro-video__point-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-top: 0.1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.1);
}

html[data-theme="dark"] .ail-intro-video__point-icon {
  background: rgba(103, 232, 249, 0.12);
}

.ail-intro-video__note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 1.3rem;
  line-height: 1.75;
  color: var(--ail-muted);
  background: rgba(13, 148, 136, 0.06);
  border: 1px solid rgba(13, 148, 136, 0.12);
}

html[data-theme="dark"] .ail-intro-video__note {
  background: rgba(103, 232, 249, 0.06);
  border-color: rgba(103, 232, 249, 0.14);
}

.ail-intro-video__note i {
  margin-top: 0.2rem;
  color: var(--ail-accent);
}

.ail-intro-video__frame {
  border-radius: var(--ail-radius);
  overflow: hidden;
  border: 1px solid var(--ail-border);
  background: #000;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

html[data-theme="dark"] .ail-intro-video__frame {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.ail-intro-video__frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.ail-intro-video__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--ail-radius);
  border: 1px dashed var(--ail-border);
  background: var(--ail-bg);
}

.ail-intro-video__placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  font-size: 1.35rem;
  color: var(--ail-muted);
  background: rgba(148, 163, 184, 0.12);
}

.ail-intro-video__placeholder-title {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ail-text);
}

.ail-intro-video__placeholder-text {
  margin: 0;
  max-width: 22rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ail-muted);
}

/* ── Preview video (legacy) ──────────────────────────────── */

.ail-preview {
  margin-bottom: 3.5rem;
}

.ail-preview__title {
  margin: 0 0 1rem;
  font-size: 1.65rem;
  font-weight: 700;
}

.ail-preview__frame {
  border-radius: var(--ail-radius);
  overflow: hidden;
  border: 1px solid var(--ail-border);
  background: #000;
}

.ail-preview__frame video {
  display: block;
  width: 100%;
}

/* ── Curriculum ──────────────────────────────────────────── */

.ail-curriculum {
  margin-bottom: 3.5rem;
  scroll-margin-top: 2rem;
}

.ail-curriculum__head {
  margin-bottom: 2rem;
}

.ail-curriculum__title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ail-curriculum__sub {
  margin: 0;
  font-size: 1.45rem;
  color: var(--ail-muted);
}

/* ── Course description preview ──────────────────────────── */

.ail-desc {
  margin-bottom: 3rem;
}

.ail-desc__card {
  border: 1px solid var(--ail-border);
  border-radius: calc(var(--ail-radius) + 2px);
  background:
    radial-gradient(
      ellipse 80% 60% at 100% 0%,
      rgba(13, 148, 136, 0.06),
      transparent 55%
    ),
    var(--ail-surface);
  padding: 1.6rem 1.6rem 1.35rem;
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.06);
}

html[data-theme="dark"] .ail-desc__card {
  background:
    radial-gradient(
      ellipse 80% 60% at 100% 0%,
      rgba(103, 232, 249, 0.08),
      transparent 55%
    ),
    var(--ail-surface);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.ail-desc__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  font-size: clamp(1.85rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ail-desc__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  font-size: 1.25rem;
  color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.1);
}

html[data-theme="dark"] .ail-desc__title-icon {
  background: rgba(103, 232, 249, 0.12);
}

.ail-desc-preview {
  --course-desc-preview-lines: 20;
  --course-desc-preview-lh: 2.75rem;
  border: none;
  border-radius: 12px;
  background: var(--ail-bg);
  padding: 1.2rem 1.3rem 0.9rem;
}

.ail-desc-preview__body {
  color: var(--ail-text);
}

.ail-desc__prose p {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  line-height: 2.75rem;
  color: var(--ail-muted);
}

.ail-desc__lead {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.08),
    rgba(13, 148, 136, 0.02)
  );
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.ail-desc__lead-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  font-size: 1.2rem;
  color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.12);
}

.ail-desc__lead p {
  margin: 0;
  font-size: 1.4rem !important;
  line-height: 2.6rem;
  color: var(--ail-text);
}

.ail-desc__section-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.5rem 0 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ail-border);
  font-size: 1.38rem;
  font-weight: 800;
  line-height: 2rem;
  color: var(--ail-text);
}

.ail-desc__section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--ail-ai);
  background: rgba(124, 58, 237, 0.1);
}

.ail-desc__text {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 2.65rem;
  color: var(--ail-muted);
}

.ail-desc__text strong {
  color: var(--ail-text);
  font-weight: 800;
}

.ail-desc__text--compact {
  margin-top: 0.65rem;
  font-size: 1.28rem;
  line-height: 2.35rem;
}

.ail-desc__inline-icon {
  margin-left: 0.35rem;
  color: var(--ail-accent);
  opacity: 0.85;
}

.ail-desc__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .ail-desc__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ail-desc__card-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--ail-border);
  background: var(--ail-surface);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.ail-desc__card-item:hover {
  border-color: rgba(13, 148, 136, 0.25);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.08);
}

.ail-desc__card-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9px;
  font-size: 1rem;
}

.ail-desc__card-icon--teal {
  color: #0d9488;
  background: rgba(13, 148, 136, 0.12);
}

.ail-desc__card-icon--purple {
  color: #7b1fa2;
  background: rgba(123, 31, 162, 0.1);
}

.ail-desc__card-icon--blue {
  color: #1565c0;
  background: rgba(21, 101, 192, 0.1);
}

.ail-desc__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ail-desc__card-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.9rem;
  color: var(--ail-text);
}

.ail-desc__card-text {
  font-size: 1.2rem;
  line-height: 2.12rem;
  color: #526176;
}

.ail-desc__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.35rem;
  margin-bottom: 0.35rem;
}

.ail-desc__flow-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ail-text);
  background: var(--ail-surface);
  border: 1px solid var(--ail-border);
}

.ail-desc__flow-step i {
  font-size: 0.95rem;
  color: var(--ail-accent);
  opacity: 0.9;
}

.ail-desc__flow-step--highlight {
  border-color: rgba(123, 31, 162, 0.35);
  background: linear-gradient(
    135deg,
    rgba(123, 31, 162, 0.08),
    rgba(123, 31, 162, 0.02)
  );
}

.ail-desc__flow-step--highlight i {
  color: #7b1fa2;
}

.ail-desc__flow-step--free {
  color: #0f766e;
  border-color: rgba(13, 148, 136, 0.28);
  background: rgba(13, 148, 136, 0.06);
}

.ail-desc__flow-step--free i {
  color: #0d9488;
}

.ail-desc__flow-step--step {
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.055);
}

.ail-desc__flow-step--step i {
  color: #2563eb;
}

.ail-desc__flow-arrow {
  display: inline-flex;
  color: var(--ail-muted);
  font-size: 0.75rem;
  opacity: 0.6;
}

.ail-desc__notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f4fc, #f3e8ff);
  border: 1px solid #e8dff5;
}

.ail-desc__notice-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  font-size: 1rem;
  color: #7b1fa2;
  background: rgba(123, 31, 162, 0.12);
}

.ail-desc__notice-text {
  margin: 0;
  font-size: 1.28rem;
  line-height: 2.35rem;
  color: var(--ail-muted);
}

.ail-desc__notice-text strong {
  color: var(--ail-text);
}

.ail-desc__audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.ail-desc__audience li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--ail-border);
  border-radius: 10px;
  background: var(--ail-surface);
  color: var(--ail-text);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.9rem;
}

.ail-desc__audience i {
  flex: 0 0 auto;
  margin-top: 0.3rem;
  color: var(--ail-accent);
  font-size: 1rem;
}

@media (max-width: 760px) {
  .ail-desc__audience {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ail-desc__card {
    padding: 1.25rem 1.1rem 1.1rem;
  }

  .ail-desc-preview {
    padding: 1rem;
  }

  .ail-desc__section-title {
    margin-top: 1.25rem;
  }
}

html[data-theme="dark"] .ail-desc__lead {
  background: linear-gradient(
    135deg,
    rgba(103, 232, 249, 0.1),
    rgba(103, 232, 249, 0.02)
  );
  border-color: rgba(103, 232, 249, 0.2);
}

html[data-theme="dark"] .ail-desc__notice {
  background: linear-gradient(
    135deg,
    rgba(8, 145, 178, 0.16),
    rgba(8, 47, 73, 0.3)
  );
  border-color: rgba(103, 232, 249, 0.24);
}

html[data-theme="dark"] .ail-desc__section-icon {
  color: #67e8f9;
  background: rgba(103, 232, 249, 0.1);
}

html[data-theme="dark"] .ail-desc__card-text {
  color: #aeb8c8;
}

html[data-theme="dark"] .ail-desc__flow-step--free {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.28);
  background: rgba(45, 212, 191, 0.07);
}

html[data-theme="dark"] .ail-desc__flow-step--free i {
  color: #5eead4;
}

html[data-theme="dark"] .ail-desc__flow-step--step {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.26);
  background: rgba(59, 130, 246, 0.08);
}

html[data-theme="dark"] .ail-desc__flow-step--step i {
  color: #93c5fd;
}

html[data-theme="dark"] .ail-desc__flow-step--highlight {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.3);
  background: rgba(103, 232, 249, 0.08);
}

html[data-theme="dark"] .ail-desc__flow-step--highlight i,
html[data-theme="dark"] .ail-desc__audience i {
  color: #67e8f9;
}

.ail-desc__prose h3 {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 2.25rem;
  color: var(--ail-text);
}

/* Keep the shared course roadmap presentation intact inside the AI intro. */
.ail-desc__prose .ail-inline-roadmap {
  margin: 2rem 0;
}

.ail-desc__prose .ail-inline-roadmap .dm-details-section__title {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.6;
  color: var(--dm-premium-heading);
}

.course-desc-preview__body .ail-inline-roadmap .dm-details-section__subtitle {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.7;
  text-align: center !important;
}

.ail-desc__prose .ail-inline-roadmap .dm-learn-card__description {
  margin: 0.65rem 0 0;
  font-size: 1.1rem;
  line-height: 1.85;
  text-align: right !important;
}

.ail-inline-roadmap .dm-learn-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ail-inline-roadmap .dm-learn-card__price {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 8px;
  background: rgba(13, 148, 136, 0.09);
  color: #0f766e;
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.ail-inline-roadmap .dm-learn-card__price--free {
  border-color: rgba(5, 150, 105, 0.2);
  background: rgba(5, 150, 105, 0.09);
  color: #047857;
}

.ail-inline-roadmap .dm-learn-card__price--bonus {
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.09);
  color: #6d28d9;
}

html[data-theme="dark"] .ail-inline-roadmap .dm-learn-card__price {
  border-color: rgba(103, 232, 249, 0.2);
  background: rgba(103, 232, 249, 0.08);
  color: #a5f3fc;
}

html[data-theme="dark"] .ail-inline-roadmap .dm-learn-card__price--free {
  border-color: rgba(110, 231, 183, 0.22);
  background: rgba(110, 231, 183, 0.09);
  color: #a7f3d0;
}

html[data-theme="dark"] .ail-inline-roadmap .dm-learn-card__price--bonus {
  border-color: rgba(196, 181, 253, 0.24);
  background: rgba(196, 181, 253, 0.1);
  color: #ddd6fe;
}

@media (max-width: 575.98px) {
  .course-desc-preview__body .ail-inline-roadmap .dm-details-section__subtitle {
    text-align: right !important;
  }

  .ail-inline-roadmap .dm-learn-card__topline {
    align-items: flex-start;
  }

  .ail-inline-roadmap .dm-learn-card__meta {
    flex-direction: column-reverse;
    align-items: flex-end;
  }
}

.ail-desc__prose ul {
  margin: 0 0 1rem;
  padding: 0 1.5rem 0 0;
  list-style: none;
}

.ail-desc__prose li {
  position: relative;
  margin: 0 0 0.65rem;
  padding-right: 1.35rem;
  font-size: 1.35rem;
  line-height: 2.5rem;
  color: var(--ail-muted);
}

.ail-desc__prose li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 1rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.ail-desc__prose li strong {
  color: var(--ail-text);
}

html[data-theme="dark"] .ail-desc__prose p[style*="background"] {
  background: linear-gradient(135deg, #2a1a35, #1f1528) !important;
  border-color: #4a3560 !important;
}

.ail-desc__prose p:last-child {
  margin-bottom: 0;
}

.ail-desc__prose strong {
  color: var(--ail-text);
  font-weight: 700;
}

.ail-desc-preview .course-desc-preview__fade {
  background: linear-gradient(to bottom, transparent, var(--ail-bg));
}

.ail-desc-preview .course-desc-preview__actions {
  margin-top: 1.1rem;
  padding-top: 0.4rem;
}

.ail-desc__read-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  font-family: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ail-desc__read-btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--ail-accent) 0%,
    var(--ail-accent-2) 100%
  );
  opacity: 1;
}

.ail-desc__read-btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: ail-read-shine 4s ease-in-out infinite;
}

@keyframes ail-read-shine {
  0%,
  100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}

.ail-desc__read-btn-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.2rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
}

html[data-theme="dark"] .ail-desc__read-btn-inner {
  color: var(--ail-on-accent, #042f2e);
}

.ail-desc__read-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .ail-desc__read-btn-icon {
  background: rgba(4, 47, 46, 0.15);
}

.ail-desc__read-btn-label {
  flex: 1;
  text-align: center;
}

.ail-desc__read-btn-arrow {
  font-size: 1.1rem;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.ail-desc__read-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.35);
}

.ail-desc__read-btn:hover .ail-desc__read-btn-arrow {
  transform: translateX(-4px);
}

html[data-theme="dark"] .ail-desc__read-btn:hover {
  box-shadow: 0 12px 32px rgba(103, 232, 249, 0.3);
}

.ail-desc__read-btn:focus-visible {
  outline: 3px solid var(--ail-accent-glow);
  outline-offset: 3px;
}

html[data-theme="dark"] body.ail-page .ail-desc__read-btn-shine {
  background: linear-gradient(135deg, #a5f3fc 0%, #67e8f9 48%, #0891b2 100%);
}

html[data-theme="dark"] body.ail-page .ail-desc__read-btn-inner {
  color: #083344;
}

html[data-theme="dark"]
  body.ail-page
  [data-ail-roadmap-modal]
  .course-desc-read__eyebrow,
html[data-theme="dark"]
  body.ail-page
  [data-ail-roadmap-modal]
  .course-desc-read__title {
  color: #67e8f9 !important;
}

/* ── Course stats (below path) ───────────────────────────── */

.ail-desc__faq {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ail-border);
}

.ail-desc__faq-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.ail-desc__faq-icon,
.ail-desc__faq-question-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
}

.ail-desc__faq-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  font-size: 1.35rem;
}

.ail-desc__faq-title {
  margin: 0 0 0.2rem;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--ail-text);
}

.ail-desc__faq-subtitle {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--ail-muted);
}

.ail-desc__faq-list {
  display: grid;
  gap: 0.7rem;
}

.ail-desc__faq-item {
  overflow: hidden;
  border: 1px solid var(--ail-border);
  border-radius: 12px;
  background: var(--ail-bg);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.ail-desc__faq-item[open] {
  border-color: rgba(13, 148, 136, 0.32);
  background: var(--ail-surface);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.07);
}

.ail-desc__faq-question {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 5.5rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 2.1rem;
  color: var(--ail-text);
}

.ail-desc__faq-question::-webkit-details-marker {
  display: none;
}

.ail-desc__faq-question-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 9px;
  font-size: 1.1rem;
}

.ail-desc__faq-question:focus-visible {
  outline: 3px solid var(--ail-accent-glow);
  outline-offset: -3px;
}

.ail-desc__faq-chevron {
  margin-right: auto;
  font-size: 1.1rem;
  color: var(--ail-muted);
  transition: transform 0.25s ease;
}

.ail-desc__faq-item[open] .ail-desc__faq-chevron {
  transform: rotate(180deg);
  color: var(--ail-accent);
}

.ail-desc__faq-answer {
  padding: 0 4.55rem 1.2rem 1.2rem;
}

.ail-desc__faq-answer p {
  margin: 0;
  font-size: 1.35rem;
  line-height: 2.35rem;
  color: var(--ail-muted);
}

@media (max-width: 640px) {
  .ail-desc__faq-question {
    align-items: flex-start;
    font-size: 1.32rem;
  }

  .ail-desc__faq-chevron {
    margin-top: 0.65rem;
  }

  .ail-desc__faq-answer {
    padding-right: 1.1rem;
  }
}

.ail-stats {
  margin: 0 0 2.5rem;
}

body.ail-page .course-syllabus-header--aiengineering {
  --syllabus-accent: var(--ail-accent);
  --syllabus-accent-soft: rgba(13, 148, 136, 0.12);
  --syllabus-accent-glow: rgba(13, 148, 136, 0.22);
  --syllabus-border: rgba(13, 148, 136, 0.28);
  --syllabus-text: var(--ail-text);
  --syllabus-muted: var(--ail-muted);
  --syllabus-surface: var(--ail-surface);
  background:
    radial-gradient(
      ellipse 90% 70% at 0% 0%,
      var(--syllabus-accent-soft) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 70% 60% at 100% 100%,
      rgba(99, 102, 241, 0.08) 0%,
      transparent 55%
    ),
    linear-gradient(
      155deg,
      var(--ail-surface) 0%,
      var(--ail-bg) 48%,
      var(--ail-surface) 100%
    );
  box-shadow: 0 10px 36px rgba(13, 148, 136, 0.08);
}

html[data-theme="dark"] body.ail-page .course-syllabus-header--aiengineering {
  --syllabus-accent: var(--ail-accent);
  --syllabus-accent-soft: rgba(103, 232, 249, 0.1);
  --syllabus-accent-glow: rgba(103, 232, 249, 0.2);
  --syllabus-border: rgba(103, 232, 249, 0.28);
  background:
    radial-gradient(
      ellipse 85% 65% at 0% 0%,
      var(--syllabus-accent-soft) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 70% 55% at 100% 100%,
      rgba(165, 180, 252, 0.1) 0%,
      transparent 55%
    ),
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.04) 0%,
      var(--ail-surface) 52%
    );
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

body.ail-page
  .course-syllabus-header--aiengineering
  .course-syllabus-header__title,
body.ail-page
  .course-syllabus-header--aiengineering
  .course-syllabus-header__stat-value {
  color: var(--ail-text);
}

body.ail-page
  .course-syllabus-header--aiengineering
  .course-syllabus-header__title-icon,
body.ail-page
  .course-syllabus-header--aiengineering
  .course-syllabus-header__stat-icon {
  color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.1);
}

html[data-theme="dark"]
  body.ail-page
  .course-syllabus-header--aiengineering
  .course-syllabus-header__stat-icon {
  background: rgba(103, 232, 249, 0.12);
}

.ail-stats__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .ail-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Bundle offer ────────────────────────────────────────── */

.ail-bundle {
  margin-bottom: 3.5rem;
}

.ail-bundle > .course-syllabus-wrap {
  margin-bottom: 1.75rem;
}

.ail-bundle__card {
  border: 1px solid var(--ail-border);
  border-radius: calc(var(--ail-radius) + 4px);
  background: var(--ail-surface);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 16px 48px rgba(13, 148, 136, 0.08);
}

html[data-theme="dark"] .ail-bundle__card {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.ail-presale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.4rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(6, 182, 212, 0.32);
  border-radius: 5px;
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.12),
    rgba(8, 145, 178, 0.06)
  );
}

.ail-presale__intro {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ail-presale__intro > div {
  display: grid;
  gap: 0.2rem;
}

.ail-presale__intro strong {
  color: var(--ail-text);
  font-size: 1.2rem;
}

.ail-presale__intro span {
  color: var(--ail-muted);
  font-size: 1rem;
}

.ail-presale__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 2.8rem;
  border-radius: 12px;
  color: #0e7490;
  background: rgba(6, 182, 212, 0.16);
}

.ail-presale__clock {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.ail-presale__clock > i {
  margin-top: 0.55rem;
  color: #06b6d4;
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 900;
}

.ail-presale__unit {
  display: grid;
  min-width: 4.6rem;
  gap: 0.35rem;
  text-align: center;
}

.ail-presale__unit b {
  display: block;
  padding: 0.6rem 0.45rem;
  border-radius: 5px;
  font:
    800 1.65rem/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: #0e7490;
  background: rgba(236, 254, 255, 0.96);
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.ail-presale__unit small {
  color: var(--ail-muted);
  font-size: 1rem;
  font-weight: 700;
}

html[data-theme="dark"] .ail-presale__unit b {
  color: #67e8f9;
  background: rgba(17, 24, 39, 0.86);
  border-color: rgba(103, 232, 249, 0.2);
}

.ail-presale--expired {
  justify-content: center;
}

.ail-presale__expired {
  color: #0891b2;
}

.ail-bundle__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.1);
  margin-bottom: 0.75rem;
}

.ail-bundle__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 800;
}

.ail-bundle__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.65rem;
}

.ail-bundle__info-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(13, 148, 136, 0.28);
  border-radius: 999px;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.08);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.ail-bundle__info-btn:hover,
.ail-bundle__info-btn:focus-visible {
  background: rgba(13, 148, 136, 0.14);
  border-color: rgba(13, 148, 136, 0.42);
  outline: none;
}

.ail-bundle__info-btn:active {
  transform: scale(0.98);
}

.ail-bundle__subtitle {
  margin: 0 0 1.35rem;
  max-width: 52rem;
  font-size: 1.28rem;
  line-height: 1.8;
  color: var(--ail-muted);
}

.ail-bundle__subtitle strong {
  color: var(--ail-text);
  font-weight: 800;
}

.ail-bundle__points {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  max-width: 100%;
}

.ail-bundle__point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.35rem 1.45rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.07);
}

html[data-theme="dark"] .ail-bundle__point {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.ail-bundle__point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.12);
}

.ail-bundle__point-title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ail-text);
}

.ail-bundle__point-body p {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.9;
  color: var(--ail-muted);
}

.ail-bundle__point-body strong {
  color: var(--ail-text);
  font-weight: 800;
}

html[data-theme="dark"] .ail-bundle__point-body strong {
  color: #f8fafc;
}

.ail-bundle__point-lead {
  font-size: 1.32rem !important;
}

.ail-bundle__point--highlight {
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.08),
    rgba(13, 148, 136, 0.03)
  );
  border-color: rgba(13, 148, 136, 0.22);
}

.ail-bundle__point--highlight .ail-bundle__point-icon {
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.28);
}

.ail-bundle__point--credit {
  background: rgba(6, 182, 212, 0.06);
  border-color: rgba(6, 182, 212, 0.18);
}

.ail-bundle__point--credit .ail-bundle__point-icon {
  color: #0e7490;
  background: rgba(6, 182, 212, 0.14);
}

html[data-theme="dark"] .ail-bundle__point--credit .ail-bundle__point-icon {
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.18);
}

.ail-bundle__point-meta {
  margin-top: 0.85rem !important;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(6, 182, 212, 0.35);
  font-size: 1.12rem !important;
  color: #0e7490 !important;
}

.ail-bundle__point--note {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.16);
}

.ail-bundle__point--note .ail-bundle__point-icon {
  color: #4f46e5;
  background: rgba(99, 102, 241, 0.12);
}

html[data-theme="dark"] .ail-bundle__point--note .ail-bundle__point-icon {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.2);
}

.ail-bundle__point-meta--muted {
  color: var(--ail-muted) !important;
  border-top-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="dark"] .ail-bundle__point-meta {
  color: #67e8f9 !important;
}

html[data-theme="dark"] .ail-bundle__point-meta--muted {
  color: var(--ail-muted) !important;
}

/* ── Bundle info modal ────────────────────────────────────── */

[data-ail-bundle-info-modal].course-desc-read:not([hidden]) {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: color-mix(in srgb, #0b0d12 52%, transparent);
  backdrop-filter: blur(4px);
}

[data-ail-bundle-info-modal] .ail-bundle-info-modal__panel {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  width: min(100%, 680px);
  max-height: min(90vh, 820px);
  margin: 0;
  border-radius: 20px;
  box-shadow:
    0 28px 72px color-mix(in srgb, #000 32%, transparent),
    0 0 0 1px color-mix(in srgb, #fff 8%, transparent);
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

[data-ail-bundle-info-modal] .course-desc-read__head {
  padding: 1.25rem 1.75rem;
}

[data-ail-bundle-info-modal] .ail-bundle-info-modal__body {
  flex: 1;
  padding: 0.25rem 1.75rem 1.75rem;
  overflow-y: auto;
}

.ail-bundle-info-modal__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.65rem;
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.07),
    rgba(13, 148, 136, 0.02)
  );
  border: 1px solid rgba(13, 148, 136, 0.16);
}

.ail-bundle-info-modal__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.ail-bundle-info-modal__stat--price {
  grid-column: 1 / -1;
  padding-bottom: 0.85rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px dashed rgba(13, 148, 136, 0.22);
}

.ail-bundle-info-modal__stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ail-muted);
}

.ail-bundle-info-modal__stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ail-text);
  line-height: 1.3;
}

.ail-bundle-info-modal__stat--price .ail-bundle-info-modal__stat-value {
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  color: var(--ail-accent);
}

.ail-bundle-info-modal__stat-value small {
  font-size: 0.72em;
  font-weight: 700;
}

.ail-bundle-info-modal__stat-hint {
  font-size: 1.2rem;
  color: var(--ail-muted);
}

.ail-bundle-info-modal__progress {
  display: block;
  height: 6px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.12);
  overflow: hidden;
}

.ail-bundle-info-modal__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.ail-bundle-info-modal__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.75rem 1.35rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
}

html[data-theme="dark"] .ail-bundle-info-modal__foot {
  border-top-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.ail-bundle-info-modal__foot-price {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ail-bundle-info-modal__foot-price span {
  font-size: 1rem;
  color: var(--ail-muted);
}

.ail-bundle-info-modal__foot-price strong {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ail-accent);
}

[data-ail-bundle-info-modal] .ail-bundle-info-modal__foot .ail-btn {
  min-width: 11rem;
  padding: 0.75rem 1.35rem;
  font-size: 1.15rem;
}

[data-ail-bundle-info-modal] .ail-bundle__points {
  margin-bottom: 0;
  gap: 1.25rem;
}

[data-ail-bundle-info-modal].ail-bundle-info-modal--open
  .ail-bundle-info-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-ail-bundle-info-modal].ail-bundle-info-modal--closing
  .ail-bundle-info-modal__panel {
  opacity: 0;
  transform: translateY(12px) scale(0.99);
  transition-duration: 0.24s;
}

@media (max-width: 560px) {
  [data-ail-bundle-info-modal] .ail-bundle-info-modal__body {
    padding: 0.25rem 1.15rem 1.35rem;
  }

  [data-ail-bundle-info-modal] .course-desc-read__head,
  [data-ail-bundle-info-modal] .ail-bundle-info-modal__foot {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .ail-bundle__point {
    padding: 1.15rem 1.1rem;
    gap: 0.9rem;
  }

  .ail-bundle-info-modal__foot {
    flex-direction: column;
    align-items: stretch;
  }

  [data-ail-bundle-info-modal] .ail-bundle-info-modal__foot .ail-btn {
    width: 100%;
    justify-content: center;
  }
}

.ail-bundle__lead {
  margin: 0 0 1.5rem;
  font-size: 1.4rem;
  color: var(--ail-muted);
  max-width: 52rem;
}

.ail-bundle__lifecycle {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ail-accent);
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.18);
}

.ail-bundle__progress {
  font-size: 0.95em;
  font-weight: 600;
  color: var(--ail-muted);
}

.ail-bundle__hint,
.ail-bundle__guest-note {
  margin: 0.35rem 0 0;
  font-size: 1.1rem;
  color: var(--ail-muted);
}

.ail-bundle__guest-note {
  margin-top: 0.85rem;
  text-align: center;
}

.ail-path__price--soon {
  color: #0891b2;
}

.ail-path__soon-text {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  line-height: 1.7rem;
  color: var(--ail-muted);
}

.ail-bundle__compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.ail-bundle__col {
  border: 1px solid var(--ail-border);
  border-radius: 12px;
  padding: 1.25rem;
  background: var(--ail-bg);
}

.ail-bundle__col--bundle {
  border-color: rgba(13, 148, 136, 0.35);
  background: rgba(13, 148, 136, 0.05);
}

html[data-theme="dark"] .ail-bundle__col--bundle {
  border-color: rgba(103, 232, 249, 0.35);
  background: rgba(103, 232, 249, 0.06);
}

.ail-bundle__col-label {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ail-muted);
}

.ail-bundle__col-price {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ail-text);
}

.ail-bundle__col-price small {
  font-size: 1.2rem;
  font-weight: 600;
}

.ail-bundle__col-price--accent {
  color: var(--ail-accent);
}

.ail-bundle__was {
  margin: -0.35rem 0 0.65rem;
  font-size: 1.2rem;
  color: var(--ail-muted);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ail-bundle__save {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
}

html[data-theme="dark"] .ail-bundle__save {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
}

.ail-bundle__save-pct {
  font-weight: 600;
  opacity: 0.9;
}

.ail-bundle__save--deduct {
  color: #0e7490;
  background: rgba(6, 182, 212, 0.12);
}

html[data-theme="dark"] .ail-bundle__save--deduct {
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.15);
}

.ail-bundle__col-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.25rem;
  color: var(--ail-muted);
  line-height: 1.7;
}

.ail-bundle__col-list li {
  position: relative;
  padding-right: 1rem;
  margin-bottom: 0.35rem;
}

.ail-bundle__col-list li::before {
  content: "•";
  position: absolute;
  right: 0;
  color: var(--ail-accent);
}

.ail-bundle__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ail-muted);
  padding: 0 0.25rem;
}

.ail-bundle__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.ail-bundle-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  flex: 1 0 100%;
  padding: 1rem 1.1rem;
  border: 2px solid var(--ail-border);
  border-radius: 16px;
  background: var(--ail-surface);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.ail-bundle-choice:hover,
.ail-bundle-choice--selected {
  border-color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.06);
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.1);
}

.ail-bundle-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ail-bundle-choice__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 2px solid var(--ail-border);
  border-radius: 50%;
  color: transparent;
  background: var(--ail-surface);
  transition: all 0.2s ease;
}

.ail-bundle-choice--selected .ail-bundle-choice__check {
  border-color: var(--ail-accent);
  color: #fff;
  background: var(--ail-accent);
}

.ail-bundle-choice__body {
  display: grid;
  gap: 0.2rem;
}

.ail-bundle-choice__body strong {
  color: var(--ail-text);
  font-size: 1.5rem;
  font-weight: 800;
}

.ail-bundle-choice__body small {
  color: var(--ail-muted);
  font-size: 1.3rem;
}

.ail-bundle-choice__price {
  color: var(--ail-accent);
  font-size: 1.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.ail-bundle-choice__price small {
  font-size: 1.05rem;
  font-weight: 600;
}

.ail-bundle__actions .ail-btn--primary {
  flex: 1 0 100% !important;
  width: 100% !important;
  text-align: center;
  padding: 1.5rem 0;
}

@media (max-width: 768px) {
  .ail-presale {
    align-items: stretch;
    flex-direction: column;
  }

  .ail-presale__clock {
    justify-content: center;
  }

  .ail-bundle-choice {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ail-bundle-choice__price {
    grid-column: 2;
  }

  .ail-bundle__compare {
    grid-template-columns: 1fr;
  }

  .ail-bundle__vs {
    padding: 0.25rem 0;
  }
}

/* ── Path blocks ─────────────────────────────────────────── */

.ail-path {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ail-path__block {
  border-radius: var(--ail-radius);
  border: 1px solid var(--ail-border);
  background: var(--ail-surface);
  overflow: hidden;
  transition:
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ail-path__block--open {
  box-shadow: 0 16px 40px rgba(13, 148, 136, 0.08);
}

html[data-theme="dark"] .ail-path__block--open {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.ail-path__block--open.ail-path__block--free {
  box-shadow: 0 22px 52px rgba(13, 148, 136, 0.14);
}

.ail-path__block--free {
  border-color: rgba(13, 148, 136, 0.4);
  background:
    linear-gradient(var(--ail-surface), var(--ail-surface)) padding-box,
    linear-gradient(135deg, rgba(13, 148, 136, 0.5), rgba(99, 102, 241, 0.35))
      border-box;
  border: 1px solid transparent;
  box-shadow: 0 20px 50px rgba(13, 148, 136, 0.1);
}

html[data-theme="dark"] .ail-path__block--free {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.ail-path__block--paid {
  opacity: 0.98;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.ail-path__block--paid:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.ail-path__block--bonus {
  border-color: rgba(14, 165, 233, 0.28);
  background: linear-gradient(
    135deg,
    rgba(240, 249, 255, 0.95),
    rgba(255, 255, 255, 0.98)
  );
}

html[data-theme="dark"] .ail-path__block--bonus {
  border-color: rgba(56, 189, 248, 0.25);
  background: linear-gradient(
    135deg,
    rgba(8, 47, 73, 0.55),
    rgba(15, 23, 42, 0.92)
  );
}

.ail-path__flag--bonus {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.12);
}

html[data-theme="dark"] .ail-path__flag--bonus {
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.16);
}

.ail-path__price--bonus {
  color: #0369a1;
  font-weight: 700;
}

html[data-theme="dark"] .ail-path__price--bonus {
  color: #7dd3fc;
}

.ail-roadmap__step--bonus .ail-roadmap__badge--bonus {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.12);
}

html[data-theme="dark"] .ail-roadmap__step--bonus .ail-roadmap__badge--bonus {
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.16);
}

html[data-theme="dark"] .ail-path__block--paid:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.ail-path__top {
  display: grid;
  position: relative;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition:
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ail-path__top::after {
  content: "\f078";
  position: absolute;
  top: 50%;
  inset-inline-end: 1.65rem;
  color: var(--ail-accent);
  font-family: "Font Awesome 5 Free";
  font-size: 1rem;
  font-weight: 900;
  transform: translateY(-50%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ail-path__top:focus-visible {
  outline: 3px solid rgba(6, 182, 212, 0.32);
  outline-offset: -3px;
}

.ail-path__block--open .ail-path__top {
  border-bottom-color: rgba(13, 148, 136, 0.22);
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.08),
    rgba(6, 182, 212, 0.025)
  );
}

.ail-path__block--open .ail-path__top::after {
  transform: translateY(-50%) rotate(180deg);
}

html[data-theme="dark"] .ail-path__block--open .ail-path__top {
  border-bottom-color: rgba(103, 232, 249, 0.28);
  background: linear-gradient(
    135deg,
    rgba(103, 232, 249, 0.1),
    rgba(8, 47, 73, 0.24)
  );
}

@media (min-width: 768px) {
  .ail-path__top {
    grid-template-columns: 1fr 200px;
    align-items: center;
  }
}

.ail-path__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.ail-path__flag--free {
  color: var(--ail-accent);
}

.ail-path__flag--paid {
  color: var(--ail-accent-2);
}

.ail-path__name {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.35;
}

.ail-path__summary {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  color: var(--ail-muted);
  line-height: 1.65;
}

.ail-path__stats {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  color: var(--ail-muted);
}

.ail-path__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ail-muted);
  opacity: 0.5;
}

.ail-path__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.ail-path__tags span {
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ail-muted);
  background: var(--ail-bg);
  border: 1px solid var(--ail-border);
}

.ail-path__action {
  text-align: center;
}

.ail-path__price {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ail-text);
}

.ail-path__price small {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ail-muted);
}

.ail-path__price--free {
  font-size: 2rem;
  color: var(--ail-accent);
}

.ail-path__price--student {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
  color: #0d9488;
  text-align: center;
}

html[data-theme="dark"] .ail-path__price--student {
  color: #2dd4bf;
}

.ail-path__price--student i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ail-path__price-was {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ail-muted);
  opacity: 0.85;
}

.ail-path__price-off {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #9e12b1, #c026d3);
  vertical-align: middle;
}

.ail-path__price-off--presale {
  padding: 0.25rem 0.65rem;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.28);
}

.ail-project-presale {
  display: grid;
  gap: 0.4rem;
  margin: -0.35rem 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.08);
}

.ail-project-presale__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #0e7490;
  font-size: 1rem;
  font-weight: 700;
}

.ail-project-presale__clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--ail-text);
}

.ail-project-presale__clock b {
  min-width: 1.75rem;
  padding: 0.25rem 0.3rem;
  border-radius: 7px;
  background: var(--ail-surface);
  font:
    800 1.5rem/1.1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}

.ail-project-presale__clock small {
  color: var(--ail-muted);
  font-size: 0.95rem;
}

.ail-project-presale__clock i {
  color: #0891b2;
  font-style: normal;
  font-weight: 800;
}

html[data-theme="dark"] .ail-project-presale__label {
  color: #67e8f9;
}

.ail-path__block--owned {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.12);
}

.ail-path__block--owned .ail-path__action {
  padding: 0.85rem;
  border-radius: 14px;
  background: linear-gradient(
    165deg,
    rgba(13, 148, 136, 0.08),
    rgba(255, 255, 255, 0.98)
  );
  border: 1px solid rgba(13, 148, 136, 0.18);
}

.ail-path__owned {
  margin-bottom: 0.85rem;
}

.ail-path__owned-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  color: #0f766e;
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.14),
    rgba(20, 184, 166, 0.08)
  );
  border: 1px solid rgba(13, 148, 136, 0.22);
}

.ail-path__owned-badge i {
  font-size: 1.15rem;
  color: #0d9488;
}

.ail-path__owned-text {
  margin: 0.55rem 0 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ail-muted);
}

.ail-btn--owned {
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.28);
}

.ail-btn--owned:hover {
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.ail-path__sales-closed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  color: #64748b;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
}

.ail-path__sales-closed i {
  font-size: 1.05rem;
}

html[data-theme="dark"] .ail-path__block--owned {
  border-color: rgba(45, 212, 191, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .ail-path__block--owned .ail-path__action {
  background: linear-gradient(
    165deg,
    rgba(13, 148, 136, 0.14),
    rgba(27, 30, 35, 0.98)
  );
  border-color: rgba(45, 212, 191, 0.2);
}

html[data-theme="dark"] .ail-path__owned-badge {
  color: #5eead4;
  background: rgba(13, 148, 136, 0.16);
  border-color: rgba(45, 212, 191, 0.24);
}

html[data-theme="dark"] .ail-path__sales-closed {
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.ail-path__action .ail-btn + .ail-btn {
  margin-top: 0.5rem;
}

/* ── Lessons accordion ───────────────────────────────────── */

.ail-path__collapse {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    grid-template-rows 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ail-path__block--open .ail-path__collapse {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.ail-path__lessons {
  min-height: 0;
  overflow: hidden;
  padding: 0.5rem 1rem 1rem;
}

.ail-path__detail-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(13, 148, 136, 0.28);
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.1) 0%,
    rgba(99, 102, 241, 0.07) 100%
  );
  color: var(--ail-text);
  font-size: 1.4rem;
  font-weight: 700;
  font-family: inherit;
  text-align: right;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.1);
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}

.ail-path__detail-link-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ail-accent), var(--ail-accent-2));
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.ail-path__detail-link-text {
  flex: 1;
  color: var(--ail-accent);
}

.ail-path__detail-link:hover {
  border-color: rgba(13, 148, 136, 0.45);
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.14) 0%,
    rgba(99, 102, 241, 0.1) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.16);
}

.ail-path__detail-link:hover .ail-path__detail-link-text {
  color: var(--ail-accent);
}

.ail-path__detail-link-arrow {
  flex-shrink: 0;
  margin-right: auto;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8rem;
  color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.12);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.ail-path__detail-link:hover .ail-path__detail-link-arrow {
  transform: translateX(-3px);
  background: rgba(13, 148, 136, 0.2);
}

html[data-theme="dark"] .ail-path__detail-link {
  background: linear-gradient(
    135deg,
    rgba(103, 232, 249, 0.1) 0%,
    rgba(165, 180, 252, 0.08) 100%
  );
  border-color: rgba(103, 232, 249, 0.28);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .ail-path__detail-link:hover {
  background: linear-gradient(
    135deg,
    rgba(103, 232, 249, 0.14) 0%,
    rgba(165, 180, 252, 0.1) 100%
  );
  border-color: rgba(103, 232, 249, 0.4);
}

html[data-theme="dark"] .ail-path__detail-link-icon {
  color: var(--ail-on-accent, #042f2e);
  box-shadow: 0 4px 14px rgba(103, 232, 249, 0.25);
}

.ail-lesson {
  margin-bottom: 0.35rem;
}

.ail-lesson__item {
  border: none !important;
  background: transparent !important;
}

.ail-lesson__toggle {
  padding: 1.15rem 0.85rem !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  color: var(--ail-text) !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center !important;
  gap: 0.85rem !important;
  transition:
    color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.ail-lesson__toggle:not(.collapsed) {
  color: var(--ail-accent) !important;
  background: rgba(13, 148, 136, 0.06) !important;
}

.ail-lesson__toggle::after {
  grid-column: 4;
  flex-shrink: 0;
  margin: 0 !important;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.ail-lesson__toggle:not(.collapsed)::after {
  transform: rotate(-180deg);
}

.ail-lesson__icon {
  grid-column: 1;
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ail-accent), var(--ail-accent-2));
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.22);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.ail-lesson__icon--teal {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.ail-lesson__icon--purple {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
}

.ail-lesson__icon--blue {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.ail-lesson__icon--cyan {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.ail-lesson__icon--pink {
  background: linear-gradient(135deg, #db2777, #ec4899);
}

.ail-lesson__icon--amber {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.ail-lesson__icon--green {
  background: linear-gradient(135deg, #059669, #10b981);
}

.ail-lesson__icon--indigo {
  background: linear-gradient(135deg, #4338ca, #6366f1);
}

.ail-lesson__icon--slate {
  background: linear-gradient(135deg, #475569, #64748b);
}

html[data-theme="dark"] .ail-lesson__icon--teal,
html[data-theme="dark"] .ail-lesson__icon--purple,
html[data-theme="dark"] .ail-lesson__icon--blue,
html[data-theme="dark"] .ail-lesson__icon--cyan,
html[data-theme="dark"] .ail-lesson__icon--pink,
html[data-theme="dark"] .ail-lesson__icon--amber,
html[data-theme="dark"] .ail-lesson__icon--green,
html[data-theme="dark"] .ail-lesson__icon--indigo,
html[data-theme="dark"] .ail-lesson__icon--slate {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  box-shadow: 0 4px 14px rgba(103, 232, 249, 0.22);
}

.ail-lesson__toggle:not(.collapsed) .ail-lesson__icon {
  transform: scale(1.06) translateY(-1px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.28);
}

.ail-lesson .accordion-collapse {
  transition: height 0.52s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.ail-lesson .collapsing {
  transition: height 0.52s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.ail-lesson__videos {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.5rem 0.65rem 1.1rem;
  animation: ailLessonReveal 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ailLessonReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ail-lesson__title {
  grid-column: 2;
  min-width: 0;
  text-align: right;
}

.ail-lesson__meta {
  grid-column: 3;
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ail-muted);
}

.ail-vid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 6.4rem;
  padding: 0.7rem 0.8rem;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(13, 148, 136, 0.16);
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.055),
    var(--ail-surface) 52%
  );
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.04);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.ail-vid:hover {
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.12),
    var(--ail-surface) 60%
  );
  border-color: rgba(6, 182, 212, 0.38);
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.12);
  transform: translateY(-2px);
}

html[data-theme="dark"] .ail-vid {
  border-color: rgba(103, 232, 249, 0.16);
  background: linear-gradient(
    135deg,
    rgba(103, 232, 249, 0.08),
    rgba(15, 23, 42, 0.7) 58%
  );
}

html[data-theme="dark"] .ail-vid:hover {
  background: linear-gradient(
    135deg,
    rgba(103, 232, 249, 0.14),
    rgba(15, 23, 42, 0.88) 62%
  );
  border-color: rgba(103, 232, 249, 0.42);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(103, 232, 249, 0.08);
}

.ail-vid__link {
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: var(--ail-text);
}

.ail-vid__link--locked {
  opacity: 0.72;
  cursor: not-allowed;
}

.ail-vid__link--locked-enroll {
  opacity: 0.88;
  cursor: pointer;
  text-decoration: none;
}

.ail-vid__link--locked-enroll:hover .ail-vid__name {
  color: var(--ail-accent);
}

.ail-vid__lock {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #0e7490;
  background: rgba(6, 182, 212, 0.18);
}

html[data-theme="dark"] .ail-vid__lock {
  color: #67e8f9;
  background: rgba(103, 232, 249, 0.15);
}

.ail-vid__link--locked .ail-vid__play {
  color: var(--ail-muted);
  background: var(--ail-bg);
  opacity: 0.45;
}

a.ail-vid__link:hover .ail-vid__name {
  color: var(--ail-accent);
}

.ail-vid__play {
  position: relative;
  flex-shrink: 0;
  width: 4.8rem;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 11px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.82), rgba(8, 145, 178, 0.96)),
    radial-gradient(
      circle at 72% 20%,
      rgba(255, 255, 255, 0.35),
      transparent 35%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 5px 14px rgba(8, 145, 178, 0.18);
  font-size: 1rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.ail-vid__play::before {
  content: "";
  position: absolute;
  width: 6.2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.26);
  transform: rotate(-42deg);
}

.ail-vid__play i {
  position: relative;
  z-index: 1;
  transform: translateX(-1px);
}

.ail-vid:hover .ail-vid__play {
  transform: scale(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 8px 20px rgba(8, 145, 178, 0.3);
}

.ail-vid__name {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}

.ail-vid__dur {
  flex-shrink: 0;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ail-muted);
}

html[data-theme="dark"] .accordion-button::after {
  filter: invert(0.85);
}

/* ── Teacher ─────────────────────────────────────────────── */

.ail-teacher {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  border-radius: var(--ail-radius);
  border: 1px solid var(--ail-border);
  background: var(--ail-surface);
}

.ail-teacher__photo {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ail-border);
}

.ail-teacher__name {
  margin: 0 0 0.2rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.ail-teacher__role {
  margin: 0;
  font-size: 1.25rem;
  color: var(--ail-muted);
}

/* ── Reviews ─────────────────────────────────────────────── */

.ail-reviews {
  margin-bottom: 3rem;
}

.ail-reviews__title {
  margin: 0 0 1.25rem;
  font-size: 1.65rem;
  font-weight: 800;
}

.ail-review {
  margin: 0 0 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--ail-radius);
  border: 1px solid var(--ail-border);
  background: var(--ail-surface);
}

.ail-review p {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  line-height: 1.7;
}

.ail-review footer {
  font-size: 1.2rem;
  color: var(--ail-muted);
}

/* ── Bottom CTA ──────────────────────────────────────────── */

.ail-bottom-cta {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--ail-radius);
  border: 1px solid var(--ail-border);
  background:
    linear-gradient(var(--ail-surface), var(--ail-surface)) padding-box,
    linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(99, 102, 241, 0.15))
      border-box;
  border: 1px solid transparent;
  box-shadow: 0 16px 40px rgba(13, 148, 136, 0.08);
}

html[data-theme="dark"] .ail-bottom-cta {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .ail-hero,
  .ail-hero__media,
  .ail-hero__media-wrap,
  .ail-steps {
    animation: none;
  }

  .ail-hero__kicker-dot,
  .ail-hero__float,
  .ail-hero__media-glow,
  .ail-desc__read-btn-shine::after {
    animation: none;
  }
}

@media (max-width: 1099px) {
  .ail-hero__copy {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .ail-hero__kicker {
    justify-content: center;
  }

  .ail-hero__desc {
    max-width: 62rem;
    margin-right: auto;
    margin-left: auto;
  }

  .ail-hero__pricing,
  .ail-hero__stats {
    max-width: 68rem;
    margin-right: auto;
    margin-left: auto;
    text-align: right;
  }

  .ail-hero__media-wrap {
    width: min(100%, 58rem);
    margin-inline: auto;
  }

  .ail-hero__tags,
  .ail-hero__cta,
  .ail-hero__trust,
  .ail-hero__stack {
    justify-content: center;
  }

  .ail-hero__fact-body {
    text-align: right;
  }

  .ail-hero__orbit {
    inset: -2rem -1rem;
  }

  .ail-hero__float {
    --ail-bubble-size: 3.8rem;
    font-size: 1.45rem;
  }

  .ail-hero__float--1,
  .ail-hero__float--3 {
    --ail-bubble-size: 4.1rem;
    font-size: 1.55rem;
  }

  .ail-hero__float--7,
  .ail-hero__float--8 {
    display: none;
  }
}

@media (max-width: 640px) {
  .ail-hero {
    gap: 2.5rem;
    padding: 1.25rem 0 2.25rem;
  }

  .ail-hero__kicker {
    max-width: 100%;
    justify-content: center;
    line-height: 1.6;
  }

  .ail-hero__title {
    margin-bottom: 0.85rem;
    font-size: clamp(2.45rem, 9.5vw, 3.2rem);
    line-height: 1.42;
    letter-spacing: -0.06rem;
  }

  .ail-hero__desc {
    margin-bottom: 1rem;
    font-size: 1.28rem;
    line-height: 2.05;
  }

  .ail-hero__tags {
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .ail-hero__tag {
    padding: 0.45rem 0.7rem;
    font-size: 1rem;
  }

  .ail-hero__cta {
    width: 100%;
  }

  .ail-hero__cta .ail-btn {
    width: 100%;
    min-height: 4.5rem;
  }

  .ail-hero__pricing {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .ail-hero__pricing-main {
    justify-content: flex-start;
  }

  .ail-hero__pricing-benefit {
    grid-column: auto;
    align-items: flex-start;
    line-height: 1.75;
  }

  .ail-hero__purchase,
  .ail-hero__owned {
    width: 100%;
    min-height: 4.2rem;
  }

  .ail-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-top: 0.7rem;
  }

  .ail-hero__stats li {
    min-height: 3.7rem;
    padding: 0.4rem 0.55rem;
  }

  .ail-hero__stats li + li {
    border-right: 0;
  }

  .ail-hero__stats li:nth-child(even) {
    border-right: 1px solid var(--ail-border);
  }

  .ail-hero__stats li:nth-child(n + 3) {
    border-top: 1px solid var(--ail-border);
  }

  .ail-hero__media-wrap {
    width: calc(100% - 2rem);
  }

  .ail-hero__facts {
    gap: 0.6rem;
  }

  .ail-hero__lower {
    gap: 0.55rem;
    margin: 0 0 2.5rem;
    padding: 0.5rem;
  }

  .ail-hero__fact {
    padding: 0.8rem 0.9rem;
  }

  .ail-hero__stack {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.9rem;
  }

  .ail-hero__stack-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ail-hero__stack-item {
    min-height: 3.3rem;
  }
}

.ail-bottom-cta__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 800;
}

.ail-bottom-cta__text {
  margin: 0 0 1.5rem;
  font-size: 1.4rem;
  color: var(--ail-muted);
}

.ail-path__top[data-ail-project-toggle] {
  cursor: pointer;
}

.ail-path__top[data-ail-project-toggle]:focus-visible {
  outline: 2px solid var(--ail-accent);
  outline-offset: 2px;
}

.ail-path__lessons--scroll {
  max-height: min(52vh, 520px);
  overflow-y: auto;
  padding-left: 0.25rem;
  scrollbar-width: thin;
}

@media (prefers-reduced-motion: reduce) {
  .ail-path__collapse,
  .ail-path__block,
  .ail-path__top,
  .ail-lesson__toggle,
  .ail-lesson__icon,
  .ail-lesson .accordion-collapse,
  .ail-lesson .collapsing,
  .ail-lesson__videos {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ── Detail modal ─────────────────────────────────────────── */

[data-ail-detail-modal].course-desc-read:not([hidden]) {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

[data-ail-detail-modal] .course-desc-read__panel {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-ail-detail-modal].ail-detail-modal--open .course-desc-read__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-ail-detail-modal].ail-detail-modal--closing .course-desc-read__panel {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition-duration: 0.28s;
}

@media (prefers-reduced-motion: reduce) {
  [data-ail-detail-modal] .course-desc-read__panel {
    transition: none;
  }
}

/* ── Roadmap modal ────────────────────────────────────────── */

[data-ail-roadmap-modal].course-desc-read:not([hidden]) {
  display: flex !important;
  align-items: stretch;
  justify-content: center;
  background: color-mix(in srgb, #0b0d12 48%, transparent);
  backdrop-filter: blur(4px);
}

[data-ail-roadmap-modal] .course-desc-read__panel {
  position: relative;
  inset: auto;
  flex-shrink: 0;
  width: 70%;
  max-width: 1080px;
  min-width: min(70vw, 100%);
  height: 100%;
  height: 100dvh;
  margin: 0;
  border-radius: 20px;
  box-shadow:
    0 24px 80px color-mix(in srgb, #000 28%, transparent),
    0 0 0 1px color-mix(in srgb, #fff 8%, transparent);
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-ail-roadmap-modal] .course-desc-read__head {
  padding: 1.1rem 1.75rem;
}

[data-ail-roadmap-modal] .course-desc-read__eyebrow {
  font-size: 1.05rem;
}

[data-ail-roadmap-modal] .course-desc-read__title {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

[data-ail-roadmap-modal] .course-desc-read__body.ail-roadmap {
  padding: 1.5rem 1.75rem 2rem;
}

[data-ail-roadmap-modal].ail-roadmap-modal--open .course-desc-read__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-ail-roadmap-modal].ail-roadmap-modal--closing .course-desc-read__panel {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition-duration: 0.28s;
}

.ail-roadmap__lead {
  margin: 0 0 1.35rem;
  font-size: 1.22rem;
  line-height: 1.9;
  color: var(--ail-text-muted, #5c6478);
}

.ail-roadmap__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0 0 2.25rem;
  padding: 1rem 1.25rem;
  list-style: none;
  border-radius: 14px;
  background: color-mix(in srgb, var(--ail-accent, #7c5cff) 8%, transparent);
  border: 1px solid
    color-mix(in srgb, var(--ail-accent, #7c5cff) 18%, transparent);
}

.ail-roadmap__summary li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ail-text, #1a1d26);
}

.ail-roadmap__summary i {
  color: var(--ail-accent, #7c5cff);
  font-size: 1.05rem;
}

.ail-roadmap__track {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ail-roadmap__step {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 0 1.35rem;
  position: relative;
  padding-bottom: 2.25rem;
}

.ail-roadmap__step:not(.ail-roadmap__step--last)::after {
  content: "";
  position: absolute;
  top: 4rem;
  right: 2rem;
  width: 3px;
  height: calc(100% - 2.75rem);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--ail-accent, #7c5cff) 55%, #c8cdd8) 0%,
    color-mix(in srgb, var(--ail-accent, #7c5cff) 12%, #e8ebf0) 100%
  );
}

.ail-roadmap__step--free .ail-roadmap__marker-icon {
  background: color-mix(in srgb, #22c55e 14%, #fff);
  border-color: color-mix(in srgb, #22c55e 45%, #ccc);
  color: #16a34a;
}

.ail-roadmap__marker {
  position: relative;
  z-index: 1;
  padding-top: 0.45rem;
}

.ail-roadmap__marker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: var(--ail-surface, #f8f9fc);
  border: 2px solid color-mix(in srgb, var(--ail-accent, #7c5cff) 28%, #d0d5e0);
  color: var(--ail-accent, #7c5cff);
  font-size: 1.5rem;
  box-shadow: 0 8px 24px
    color-mix(in srgb, var(--ail-accent, #7c5cff) 12%, transparent);
}

.ail-roadmap__card {
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  background: var(--ail-surface, #fff);
  border: 1px solid color-mix(in srgb, var(--ail-text, #1a1d26) 8%, transparent);
  box-shadow: 0 10px 32px color-mix(in srgb, #000 6%, transparent);
}

.ail-roadmap__card-head {
  margin-bottom: 1.1rem;
}

.ail-roadmap__card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-bottom: 0.65rem;
}

.ail-roadmap__step-num {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ail-accent, #7c5cff);
}

.ail-roadmap__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
}

.ail-roadmap__badge--free {
  background: color-mix(in srgb, #22c55e 12%, transparent);
  color: #15803d;
}

.ail-roadmap__badge--paid {
  background: color-mix(in srgb, var(--ail-accent, #7c5cff) 12%, transparent);
  color: var(--ail-accent, #7c5cff);
}

.ail-roadmap__card-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.6;
  color: var(--ail-text, #1a1d26);
}

.ail-roadmap__card-desc {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--ail-text-muted, #5c6478);
}

.ail-roadmap__chapters {
  margin-bottom: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed
    color-mix(in srgb, var(--ail-text, #1a1d26) 12%, transparent);
}

.ail-roadmap__chapters-label {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ail-text-muted, #5c6478);
}

.ail-roadmap__chapter-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.ail-roadmap__chapter {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--ail-text, #1a1d26) 3%, transparent);
}

.ail-roadmap__chapter-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.65;
  color: var(--ail-text, #1a1d26);
}

.ail-roadmap__chapter-meta {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ail-text-muted, #5c6478);
  white-space: nowrap;
}

.ail-roadmap__card-foot {
  display: grid;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid
    color-mix(in srgb, var(--ail-text, #1a1d26) 8%, transparent);
}

.ail-roadmap__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ail-text-muted, #5c6478);
}

.ail-roadmap__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.ail-roadmap__price {
  color: var(--ail-accent, #7c5cff);
}

.ail-roadmap__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ail-roadmap__tags span {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--ail-accent, #7c5cff) 10%, transparent);
  color: var(--ail-accent, #7c5cff);
}

.ail-roadmap__goto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1px solid
    color-mix(in srgb, var(--ail-accent, #7c5cff) 35%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--ail-accent, #7c5cff) 6%, transparent);
  color: var(--ail-accent, #7c5cff);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.ail-roadmap__goto:hover {
  background: color-mix(in srgb, var(--ail-accent, #7c5cff) 12%, transparent);
  border-color: var(--ail-accent, #7c5cff);
  transform: translateY(-1px);
}

body.ail-page.theme-dark .ail-roadmap__card,
html[data-theme="dark"] body.ail-page .ail-roadmap__card {
  background: color-mix(in srgb, #fff 4%, #12151c);
  border-color: color-mix(in srgb, #fff 10%, transparent);
  box-shadow: 0 12px 36px color-mix(in srgb, #000 35%, transparent);
}

body.ail-page.theme-dark .ail-roadmap__chapter,
html[data-theme="dark"] body.ail-page .ail-roadmap__chapter {
  background: color-mix(in srgb, #fff 5%, transparent);
}

@media (max-width: 992px) {
  [data-ail-roadmap-modal] .course-desc-read__panel {
    width: 86%;
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  [data-ail-roadmap-modal] .course-desc-read__panel {
    width: 100%;
    border-radius: 0;
  }

  [data-ail-roadmap-modal] .course-desc-read__body.ail-roadmap {
    padding: 1.15rem 1.1rem 1.5rem;
  }

  .ail-roadmap__step {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0 0.85rem;
  }

  .ail-roadmap__marker-icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-ail-roadmap-modal] .course-desc-read__panel,
  .ail-roadmap__goto {
    transition: none;
  }
}

/* ── Teacher + comments (scoped to AI page) ───────────────── */

.ail-teacher-full {
  margin-bottom: 3rem;
}

.ail-section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ail-teacher-full__card.coursePage__Teacher {
  background: var(--ail-surface);
  border: 1px solid var(--ail-border);
  box-shadow: none;
}

.ail-teacher-full .coursePage__Teacher-Header-Left-Link {
  border-color: var(--ail-accent) !important;
  color: var(--ail-accent) !important;
  background: transparent !important;
}

.ail-teacher-full .coursePage__Teacher-Header-Left-Link:hover {
  background: var(--ail-accent) !important;
  color: var(--ail-on-accent, #fff) !important;
}

html[data-theme="dark"]
  .ail-teacher-full
  .coursePage__Teacher-Header-Text-Persion,
html[data-theme="dark"]
  .ail-teacher-full
  .coursePage__Teacher-Header-Text-English,
html[data-theme="dark"]
  .ail-teacher-full
  .coursePage__Teacher-Description-Text {
  color: var(--ail-text) !important;
}

.ail-comments {
  margin-bottom: 3rem;
}

.comments--ail .comments__Content {
  background: var(--ail-surface);
  border: 1px solid var(--ail-border);
  box-shadow: none;
}

.comments--ail .comments__Content-Header-Icon,
.comments--ail .comments__Content-Header-Value {
  color: var(--ail-accent);
}

.comments--ail .comments__Content-Box,
.comments--ail .comments__Content-Box-admin {
  border-color: var(--ail-border);
  background: var(--ail-bg);
}

/* Comment threads */
.ail-comment-thread {
  margin-top: 1rem;
}

.ail-comment-thread__main {
  margin-top: 0;
}

.ail-comment-thread__replies {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.75rem 0 0;
  padding: 0 0.5rem 0 0;
  border-right: 2px solid rgba(13, 148, 136, 0.2);
}

.comments--ail .ail-comment-reply {
  position: relative;
  margin: 0 1.25rem 0 0;
  padding: 1.1rem 1.25rem 1.25rem;
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 0.9rem;
  background:
    linear-gradient(
      135deg,
      rgba(13, 148, 136, 0.07) 0%,
      rgba(99, 102, 241, 0.04) 100%
    ),
    var(--ail-bg);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.06);
}

.comments--ail .ail-comment-reply::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  right: -1.55rem;
  width: 1rem;
  height: 2px;
  background: rgba(13, 148, 136, 0.35);
}

.ail-comment-reply__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ail-comment-reply__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.12);
  color: var(--ail-accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.ail-comment-reply__date {
  font-size: 1.2rem;
  color: var(--ail-muted, #64748b);
}

.ail-comment-reply__author {
  margin-bottom: 0.35rem;
}

.ail-comment-reply__avatar {
  width: 4.6rem;
  height: 4.6rem;
  border: 2px solid rgba(13, 148, 136, 0.25);
  background: rgba(13, 148, 136, 0.08);
}

.comments--ail .ail-comment-reply .comments__Content-Name-Family {
  color: var(--ail-accent);
  font-weight: 700;
}

.comments--ail .ail-comment-reply .comments__Content-Text-Description {
  margin: 0;
  line-height: 1.9;
  color: var(--ail-text, #1e293b);
}

html[data-theme="dark"] .comments--ail .ail-comment-thread__replies {
  border-right-color: rgba(103, 232, 249, 0.25);
}

html[data-theme="dark"] .comments--ail .ail-comment-reply {
  border-color: rgba(103, 232, 249, 0.22);
  background:
    linear-gradient(
      135deg,
      rgba(103, 232, 249, 0.08) 0%,
      rgba(165, 180, 252, 0.06) 100%
    ),
    var(--ail-bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .comments--ail .ail-comment-reply::before {
  background: rgba(103, 232, 249, 0.35);
}

html[data-theme="dark"] .comments--ail .ail-comment-reply__badge {
  background: rgba(103, 232, 249, 0.12);
  color: var(--ail-accent);
}

@media (max-width: 767px) {
  .ail-comment-thread__replies {
    margin-right: 0.35rem;
    padding-right: 0.75rem;
  }

  .comments--ail .ail-comment-reply {
    margin-right: 0.5rem;
  }
}

.comments--ail .coursePage__Teacher-Header-Left-Link {
  border-color: var(--ail-accent);
  color: var(--ail-accent);
}

.comments--ail .coursePage__Teacher-Header-Left-Link:hover {
  background: var(--ail-accent);
  color: var(--ail-on-accent, #fff);
}

html[data-theme="dark"] .comments--ail .coursePage__Teacher-Header-Text-Persion,
html[data-theme="dark"] .comments--ail .coursePage__Teacher-Header-Text-English,
html[data-theme="dark"] .comments--ail .coursePage__Teacher-Description-Text,
html[data-theme="dark"] .comments--ail .comments__Content-Name-Family,
html[data-theme="dark"] .comments--ail .comments__Content-Name-Date,
html[data-theme="dark"] .comments--ail .comments__Content-Text-Description {
  color: var(--ail-muted);
}

html[data-theme="dark"] .comments--ail .Comments-articles-Title,
html[data-theme="dark"] .comments--ail .comments__Content-Header {
  color: var(--ail-text);
}

html[data-theme="dark"] .ail-path__block--free {
  background:
    linear-gradient(var(--ail-surface), var(--ail-surface)) padding-box,
    linear-gradient(
        135deg,
        rgba(103, 232, 249, 0.45),
        rgba(165, 180, 252, 0.35)
      )
      border-box;
}

/* ── Course description modal (ail accent) ───────────────── */

body.ail-page [data-course-desc-modal] .course-desc-read__panel {
  --course-desc-read-heading: var(--ail-accent);
}

body.ail-page [data-course-desc-modal] .fs-guide-hero {
  border-color: rgba(13, 148, 136, 0.2);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(13, 148, 136, 0.12) 0%,
      transparent 42%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(99, 102, 241, 0.08) 0%,
      transparent 38%
    ),
    linear-gradient(165deg, #f0fdfa 0%, #ffffff 45%, #f8fafc 100%);
}

html[data-theme="dark"] body.ail-page [data-course-desc-modal] .fs-guide-hero {
  border-color: rgba(103, 232, 249, 0.2);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(103, 232, 249, 0.12) 0%,
      transparent 42%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(165, 180, 252, 0.1) 0%,
      transparent 38%
    ),
    linear-gradient(165deg, #0b0d12 0%, #141820 45%, #0b0d12 100%);
}

body.ail-page [data-course-desc-modal] .fs-guide-hero__badge {
  border-color: rgba(13, 148, 136, 0.22);
}

body.ail-page [data-course-desc-modal] .fs-guide-hero__badge-icon {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .fs-guide-hero__badge-icon {
  background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 100%);
  color: #042f2e;
}

body.ail-page [data-course-desc-modal] .fs-guide-hero__title::after {
  background: linear-gradient(
    90deg,
    var(--ail-accent) 0%,
    rgba(13, 148, 136, 0.2) 100%
  );
}

body.ail-page [data-course-desc-modal] .fs-guide-hero__stat {
  border-color: rgba(13, 148, 136, 0.12);
}

body.ail-page [data-course-desc-modal] .fs-guide-hero__stat-icon {
  background: linear-gradient(
    145deg,
    rgba(13, 148, 136, 0.14) 0%,
    rgba(13, 148, 136, 0.05) 100%
  );
  color: var(--ail-accent);
}

/* Course information card: a distinct, concise identity before the roadmap. */
body.ail-page [data-course-desc-modal] .ail-guide-info {
  isolation: isolate;
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(13, 148, 136, 0.1);
}

body.ail-page [data-course-desc-modal] .ail-guide-info::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 0 28px 28px 0;
  background: linear-gradient(180deg, #14b8a6, #0d9488 48%, #6366f1);
}

body.ail-page [data-course-desc-modal] .ail-guide-info .fs-guide-hero__inner {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  padding: clamp(2.2rem, 4vw, 3.8rem);
}

body.ail-page [data-course-desc-modal] .ail-guide-info__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
  color: #0f766e;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

body.ail-page [data-course-desc-modal] .ail-guide-info__eyebrow i {
  color: #8b5cf6;
}

body.ail-page [data-course-desc-modal] .ail-guide-info .fs-guide-hero__title {
  max-width: 620px;
  font-size: clamp(2rem, 3.25vw, 3.2rem);
  line-height: 1.35;
}

body.ail-page [data-course-desc-modal] .ail-guide-info .fs-guide-hero__lead {
  max-width: 640px;
  margin-top: 1.15rem;
  font-size: 1.38rem;
  line-height: 2;
}

body.ail-page [data-course-desc-modal] .ail-guide-info__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
}

body.ail-page [data-course-desc-modal] .ail-guide-info__highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.62rem 1.2rem;
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #334155;
  font-size: 1.1rem;
  font-weight: 800;
}

body.ail-page [data-course-desc-modal] .ail-guide-info__highlights i {
  color: #0d9488;
}

body.ail-page [data-course-desc-modal] .ail-guide-info .fs-guide-hero__stats {
  gap: 0.8rem;
  flex-direction: column;
  display: flex;
  justify-content: center;
}

body.ail-page [data-course-desc-modal] .ail-guide-info .fs-guide-hero__stat {
  min-height: 6.3rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(13, 148, 136, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

body.ail-page
  [data-course-desc-modal]
  .ail-guide-info
  .fs-guide-hero__stat:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 148, 136, 0.32);
  box-shadow: 0 14px 28px rgba(13, 148, 136, 0.12);
}

body.ail-page
  [data-course-desc-modal]
  .ail-guide-info
  .fs-guide-hero__stat-icon {
  width: 2.7rem;
  height: 2.7rem;
  font-size: 1rem;
}

body.ail-page
  [data-course-desc-modal]
  .ail-guide-info
  .fs-guide-hero__stat-value {
  color: #0f172a;
  font-size: 1.7rem;
}

body.ail-page
  [data-course-desc-modal]
  .ail-guide-info
  .fs-guide-hero__stat-label {
  color: #64748b;
  font-weight: 800;
}

html[data-theme="dark"] body.ail-page [data-course-desc-modal] .ail-guide-info {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-info__eyebrow {
  color: #67e8f9;
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-info__highlights
  li,
html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-info
  .fs-guide-hero__stat {
  border-color: rgba(103, 232, 249, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-info
  .fs-guide-hero__stat-value {
  color: #f8fafc;
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-info__highlights
  li,
html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-info
  .fs-guide-hero__stat-label {
  color: #cbd5e1;
}

@media (max-width: 767.98px) {
  body.ail-page [data-course-desc-modal] .ail-guide-info .fs-guide-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 1.5rem;
  }

  body.ail-page [data-course-desc-modal] .ail-guide-info .fs-guide-hero__title {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
  }
}

body.ail-page [data-course-desc-modal] .fs-guide-special {
  border-color: rgba(13, 148, 136, 0.22);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience {
  position: relative;
  margin-bottom: 2.4rem;
  padding: 2.2rem;
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(13, 148, 136, 0.1),
      transparent 34%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(99, 102, 241, 0.08),
      transparent 32%
    ),
    #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__head {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__head-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 16px;
  font-size: 2.1rem;
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #4f46e5);
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.22);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ail-accent);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__title {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 900;
  line-height: 1.45;
  color: var(--ail-text);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__lead {
  max-width: 78rem;
  margin: 0;
  font-size: 1.42rem;
  line-height: 2.3rem;
  color: var(--ail-muted);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__card {
  --audience-card-color: #0d9488;
  --audience-card-bg: rgba(13, 148, 136, 0.09);
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid
    color-mix(in srgb, var(--audience-card-color) 22%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--audience-card-color) 4%, #fff);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--audience-card-color) 42%, transparent);
  box-shadow: 0 12px 28px
    color-mix(in srgb, var(--audience-card-color) 12%, transparent);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__card--violet {
  --audience-card-color: #7c3aed;
  --audience-card-bg: rgba(124, 58, 237, 0.09);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__card--blue {
  --audience-card-color: #2563eb;
  --audience-card-bg: rgba(37, 99, 235, 0.09);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__card-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 12px;
  font-size: 1.55rem;
  color: var(--audience-card-color);
  background: var(--audience-card-bg);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__card-body {
  min-width: 0;
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__card h4 {
  margin: 0 0 0.45rem;
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 2rem;
  color: var(--ail-text);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__card p {
  margin: 0 0 0.8rem;
  font-size: 1.22rem;
  line-height: 2rem;
  color: var(--ail-muted);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--audience-card-color);
  background: var(--audience-card-bg);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__fit {
  display: grid;
  grid-template-columns: minmax(20rem, 0.75fr) minmax(0, 1.5fr);
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.35rem;
  border: 1px solid rgba(13, 148, 136, 0.15);
  border-radius: 16px;
  background: rgba(13, 148, 136, 0.045);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__fit-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__fit-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 11px;
  font-size: 1.4rem;
  color: #0f766e;
  background: rgba(13, 148, 136, 0.12);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__fit h4 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--ail-text);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__fit-copy p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.9rem;
  color: var(--ail-muted);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__checklist {
  display: flex;
  flex-direction: column;
  gap: 0.7rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 4.2rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(13, 148, 136, 0.14);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  font-size: 1.2rem;
  line-height: 1.9rem;
  color: var(--ail-text);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__checklist li:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 148, 136, 0.34);
  box-shadow: 0 10px 22px rgba(13, 148, 136, 0.1);
}

body.ail-page
  [data-course-desc-modal]
  .ail-guide-audience__checklist
  li:nth-child(2) {
  border-color: rgba(99, 102, 241, 0.18);
  background: rgba(245, 243, 255, 0.86);
}

body.ail-page
  [data-course-desc-modal]
  .ail-guide-audience__checklist
  li:nth-child(3) {
  border-color: rgba(14, 165, 233, 0.18);
  background: rgba(240, 249, 255, 0.9);
}

body.ail-page
  [data-course-desc-modal]
  .ail-guide-audience__checklist
  li:nth-child(4) {
  border-color: rgba(168, 85, 247, 0.18);
  background: rgba(250, 245, 255, 0.9);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__checklist i {
  flex: 0 0 auto;
  margin-top: 0.32rem;
  color: #0d9488;
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-radius: 13px;
  background: rgba(99, 102, 241, 0.055);
  color: var(--ail-muted);
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__note > i {
  flex: 0 0 auto;
  font-size: 1.5rem;
  color: #6366f1;
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__note p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 2rem;
}

body.ail-page [data-course-desc-modal] .ail-guide-audience__note strong {
  color: var(--ail-text);
}

body.ail-page [data-course-desc-modal] .ail-guide-faq {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(13, 148, 136, 0.18);
}

body.ail-page [data-course-desc-modal] .ail-guide-final-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.65rem 1.8rem;
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.15), transparent 36%),
    radial-gradient(
      circle at 100% 100%,
      rgba(20, 184, 166, 0.18),
      transparent 42%
    ),
    linear-gradient(135deg, #ecfdf5, #eff6ff);
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.1);
}

body.ail-page [data-course-desc-modal] .ail-guide-final-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

body.ail-page [data-course-desc-modal] .ail-guide-final-cta__icon {
  display: grid;
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #0d9488, #4f46e5);
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 10px 22px rgba(13, 148, 136, 0.25);
}

body.ail-page [data-course-desc-modal] .ail-guide-final-cta__eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  color: #0f766e;
  font-size: 0.92rem;
  font-weight: 900;
}

body.ail-page [data-course-desc-modal] .ail-guide-final-cta h3 {
  margin: 0;
  color: var(--ail-text);
  font-size: 1.4rem;
  font-weight: 900;
}

body.ail-page [data-course-desc-modal] .ail-guide-final-cta p {
  margin: 0.35rem 0 0;
  color: var(--ail-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

body.ail-page [data-course-desc-modal] .ail-guide-final-cta__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.35rem;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(13, 148, 136, 0.23);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

body.ail-page [data-course-desc-modal] .ail-guide-final-cta__button:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 26px rgba(13, 148, 136, 0.32);
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-final-cta {
  border-color: rgba(103, 232, 249, 0.2);
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.23), transparent 38%),
    radial-gradient(
      circle at 100% 100%,
      rgba(20, 184, 166, 0.18),
      transparent 42%
    ),
    linear-gradient(135deg, #102f34, #171a3a);
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-final-cta__eyebrow {
  color: #67e8f9;
}

@media (max-width: 640px) {
  body.ail-page [data-course-desc-modal] .ail-guide-final-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 1.3rem;
  }

  body.ail-page [data-course-desc-modal] .ail-guide-final-cta__button {
    width: 100%;
  }
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-audience {
  border-color: rgba(103, 232, 249, 0.18);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(103, 232, 249, 0.09),
      transparent 34%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(165, 180, 252, 0.08),
      transparent 32%
    ),
    #141820;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-audience__card {
  background: color-mix(in srgb, var(--audience-card-color) 7%, #141820);
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-audience__fit {
  border-color: rgba(103, 232, 249, 0.15);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(20, 184, 166, 0.16),
      transparent 38%
    ),
    linear-gradient(135deg, rgba(15, 45, 49, 0.72), rgba(30, 27, 75, 0.72));
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-audience__checklist
  li,
html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-audience__checklist
  li:nth-child(2),
html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-audience__checklist
  li:nth-child(3),
html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-audience__checklist
  li:nth-child(4) {
  border-color: rgba(103, 232, 249, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-audience__note {
  border-color: rgba(165, 180, 252, 0.16);
  background: rgba(165, 180, 252, 0.05);
}

@media (max-width: 900px) {
  body.ail-page [data-course-desc-modal] .ail-guide-audience__cards {
    grid-template-columns: 1fr;
  }

  body.ail-page [data-course-desc-modal] .ail-guide-audience__fit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.ail-page [data-course-desc-modal] .ail-guide-audience {
    padding: 1.35rem;
    border-radius: 16px;
  }

  body.ail-page [data-course-desc-modal] .ail-guide-audience__head {
    gap: 0.85rem;
  }

  body.ail-page [data-course-desc-modal] .ail-guide-audience__head-icon {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 13px;
    font-size: 1.65rem;
  }

  body.ail-page [data-course-desc-modal] .ail-guide-audience__lead {
    font-size: 1.3rem;
    line-height: 2.15rem;
  }

  body.ail-page [data-course-desc-modal] .ail-guide-audience__card {
    padding: 1.05rem;
  }

  body.ail-page [data-course-desc-modal] .ail-guide-audience__checklist {
    grid-template-columns: 1fr;
  }

  body.ail-page [data-course-desc-modal] .ail-guide-audience__note {
    align-items: flex-start;
  }
}

body.ail-page [data-course-desc-modal] .fs-guide-section__title,
body.ail-page [data-course-desc-modal] .fs-guide-curriculum__title {
  color: var(--ail-accent);
}

body.ail-page [data-course-desc-modal] .ail-guide-price-tag {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ail-accent);
  background: rgba(13, 148, 136, 0.1);
  vertical-align: middle;
}

html[data-theme="dark"]
  body.ail-page
  [data-course-desc-modal]
  .ail-guide-price-tag {
  background: rgba(103, 232, 249, 0.12);
}

/* The hero owns the primary actions; avoid repeating them at the page bottom. */
body.ail-page .ail-bottom-cta {
  display: none;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__compare--single {
  grid-template-columns: minmax(0, 1fr);
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__col--bundle {
  max-width: 100%;
}
/* Bootstrap's collapse state is kept explicit for the course accordion. */
#ail-syllabus .accordion-collapse:not(.show):not(.collapsing) {
  display: none;
}
#ail-syllabus .accordion-collapse.show {
  display: block;
}
#ail-syllabus .accordion-collapse.collapsing {
  display: block;
  overflow: hidden;
}

/* Premium curriculum chapter cards */
#ail-syllabus .ail-path__lessons {
  padding: 1rem;
  background: linear-gradient(
    180deg,
    rgba(13, 148, 136, 0.025),
    transparent 22%
  );
}

#ail-syllabus .ail-lesson {
  margin: 0 0 0.85rem;
}

#ail-syllabus .ail-lesson:last-child {
  margin-bottom: 0;
}

#ail-syllabus .ail-lesson__item {
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.16) !important;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(240, 253, 250, 0.72)
  ) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

#ail-syllabus .ail-lesson__item:hover {
  border-color: rgba(6, 182, 212, 0.38) !important;
  box-shadow: 0 12px 28px rgba(8, 145, 178, 0.1);
  transform: translateY(-2px);
}

#ail-syllabus .ail-lesson__toggle {
  grid-template-columns: 4.15rem minmax(0, 1fr) auto !important;
  gap: 1rem !important;
  min-height: 7.5rem;
  padding: 1.1rem 1.2rem !important;
  text-align: right;
}

#ail-syllabus .ail-lesson__toggle::after {
  grid-column: 3;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 50%;
  background-color: rgba(13, 148, 136, 0.07);
  background-position: center;
}

#ail-syllabus .ail-lesson__toggle:not(.collapsed) {
  color: var(--ail-text) !important;
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.1),
    rgba(6, 182, 212, 0.04)
  ) !important;
}

#ail-syllabus .ail-lesson__toggle:not(.collapsed)::after {
  border-color: rgba(6, 182, 212, 0.42);
  background-color: rgba(6, 182, 212, 0.13);
}

#ail-syllabus .ail-lesson__body {
  display: flex;
  grid-column: 2;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

#ail-syllabus .ail-lesson__icon {
  grid-column: 1;
  width: 4.15rem;
  height: 4.15rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 14px;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 7px 17px rgba(8, 145, 178, 0.2);
  font-size: 1.45rem;
}

#ail-syllabus .ail-lesson__title {
  display: flex;
  grid-column: auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  color: var(--ail-text);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.6;
}

#ail-syllabus .ail-lesson__number {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.2rem 0.58rem;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 999px;
  color: #0e7490;
  background: rgba(13, 148, 136, 0.08);
  font-size: 1.02rem;
  font-weight: 800;
  white-space: nowrap;
}

#ail-syllabus .ail-lesson__subtitle {
  overflow: hidden;
  max-width: 100%;
  color: var(--ail-muted);
  font-size: 1.12rem;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ail-syllabus .ail-lesson__meta {
  display: flex;
  grid-column: auto;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
  color: #0e7490;
  font-size: 1.03rem;
  font-weight: 700;
}

#ail-syllabus .ail-lesson__meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 1.85rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.06);
}

#ail-syllabus .ail-lesson__meta i {
  color: #06b6d4;
  font-size: 0.9rem;
}

#ail-syllabus .ail-lesson--project .ail-lesson__item {
  border-color: rgba(6, 182, 212, 0.32) !important;
  background: linear-gradient(
    135deg,
    rgba(236, 254, 255, 0.94),
    rgba(224, 242, 254, 0.72)
  ) !important;
}

#ail-syllabus .ail-lesson__project-badge {
  color: #075985 !important;
  border-color: rgba(6, 182, 212, 0.28) !important;
  background: rgba(6, 182, 212, 0.13) !important;
}

#ail-syllabus .ail-lesson__videos {
  gap: 0.65rem;
  margin: 0 1.2rem 1.2rem;
  padding: 0.9rem;
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: 14px;
  background: rgba(13, 148, 136, 0.035);
}

#ail-syllabus .ail-vid {
  min-height: 5.8rem;
  border-radius: 12px;
}

html[data-theme="dark"] #ail-syllabus .ail-path__lessons {
  background: linear-gradient(
    180deg,
    rgba(103, 232, 249, 0.045),
    transparent 22%
  );
}

html[data-theme="dark"] #ail-syllabus .ail-lesson__item {
  border-color: rgba(103, 232, 249, 0.18) !important;
  background: linear-gradient(
    135deg,
    rgba(19, 31, 43, 0.98),
    rgba(13, 24, 35, 0.98)
  ) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] #ail-syllabus .ail-lesson__item:hover {
  border-color: rgba(103, 232, 249, 0.46) !important;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(103, 232, 249, 0.07);
}

html[data-theme="dark"] #ail-syllabus .ail-lesson__toggle:not(.collapsed) {
  background: linear-gradient(
    135deg,
    rgba(103, 232, 249, 0.13),
    rgba(8, 47, 73, 0.28)
  ) !important;
}

html[data-theme="dark"] #ail-syllabus .ail-lesson__toggle::after {
  border-color: rgba(103, 232, 249, 0.24);
  background-color: rgba(103, 232, 249, 0.09);
}

html[data-theme="dark"] #ail-syllabus .ail-lesson__icon {
  border-color: rgba(103, 232, 249, 0.38);
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 7px 18px rgba(103, 232, 249, 0.18);
}

html[data-theme="dark"] #ail-syllabus .ail-lesson__number,
html[data-theme="dark"] #ail-syllabus .ail-lesson__meta > span {
  border-color: rgba(103, 232, 249, 0.2);
  color: #a5f3fc;
  background: rgba(103, 232, 249, 0.08);
}

html[data-theme="dark"] #ail-syllabus .ail-lesson__subtitle {
  color: #aebdce;
}

html[data-theme="dark"] #ail-syllabus .ail-lesson--project .ail-lesson__item {
  border-color: rgba(103, 232, 249, 0.34) !important;
  background: linear-gradient(
    135deg,
    rgba(11, 43, 56, 0.9),
    rgba(13, 27, 39, 0.98)
  ) !important;
}

html[data-theme="dark"] #ail-syllabus .ail-lesson__project-badge {
  color: #a5f3fc !important;
  border-color: rgba(103, 232, 249, 0.3) !important;
  background: rgba(103, 232, 249, 0.14) !important;
}

html[data-theme="dark"] #ail-syllabus .ail-lesson__videos {
  border-color: rgba(103, 232, 249, 0.14);
  background: rgba(8, 47, 73, 0.2);
}

@media (max-width: 575.98px) {
  #ail-syllabus .ail-lesson__toggle {
    grid-template-columns: 3.55rem minmax(0, 1fr) 2rem !important;
    gap: 0.75rem !important;
    min-height: 6.5rem;
    padding: 0.9rem !important;
  }

  #ail-syllabus .ail-lesson__icon {
    width: 3.55rem;
    height: 3.55rem;
    border-radius: 12px;
    font-size: 1.2rem;
  }

  #ail-syllabus .ail-lesson__title {
    font-size: 1.28rem;
  }

  #ail-syllabus .ail-lesson__subtitle {
    font-size: 1rem;
  }

  #ail-syllabus .ail-lesson__toggle::after {
    width: 2rem;
    height: 2rem;
    background-size: 0.8rem;
  }

  #ail-syllabus .ail-lesson__videos {
    margin: 0 0.75rem 0.75rem;
    padding: 0.65rem;
  }
}

/* Keep an open chapter and its lesson list as one premium card. */
#ail-syllabus .ail-path__block--open .ail-path__chapter-top {
  border-radius: 18px 18px 0 0;
  border-bottom-color: rgba(6, 182, 212, 0.22);
}

#ail-syllabus .ail-path__block--open .ail-path__chapter-top::after {
  color: #06b6d4;
}

#ail-syllabus .ail-path__block--open .ail-path__chapter-icon {
  transform: translateY(-1px) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 22px rgba(8, 145, 178, 0.28);
}

#ail-syllabus .ail-path__collapse {
  margin-top: 0;
}

#ail-syllabus .ail-path__lessons {
  margin: 0;
  padding: 1rem 1.2rem 1.2rem;
  border-color: rgba(6, 182, 212, 0.22);
  border-radius: 0 0 18px 18px;
  background: linear-gradient(
    180deg,
    rgba(13, 148, 136, 0.055),
    rgba(255, 255, 255, 0.76)
  );
  box-shadow: 0 14px 30px rgba(8, 145, 178, 0.09);
}

#ail-syllabus .ail-lesson {
  margin: 0 0 0.9rem;
}

#ail-syllabus .ail-lesson__group-title {
  min-height: 2.6rem;
  margin: 0 0 0.55rem;
  padding: 0.55rem 0.75rem;
  border-inline-start: 3px solid #06b6d4;
  border-radius: 8px;
  color: #0e7490;
  background: rgba(13, 148, 136, 0.075);
  font-size: 1.13rem;
}

#ail-syllabus .ail-lesson__videos {
  gap: 0.45rem;
  padding: 0.55rem;
  border-color: rgba(13, 148, 136, 0.13);
  background: rgba(255, 255, 255, 0.62);
}

#ail-syllabus .ail-vid {
  min-height: 5.05rem;
  padding: 1.2rem 1rem;
  border-radius: 11px;
  box-shadow: none;
}

#ail-syllabus .ail-vid:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(8, 145, 178, 0.1);
}

#ail-syllabus .ail-vid__link {
  grid-template-columns: 3.65rem minmax(0, 1fr);
  gap: 0.7rem;
}

#ail-syllabus .ail-vid__play {
  width: 3.65rem;
  height: 3.65rem;
  border-radius: 10px;
  font-size: 0.85rem;
}

#ail-syllabus .ail-vid__play::before {
  width: 5rem;
}

#ail-syllabus .ail-vid__lock {
  width: 3.65rem;
  height: 3.65rem;
  border: 1px solid rgba(6, 182, 212, 0.22);
  border-radius: 10px;
  font-size: 1rem;
}

#ail-syllabus .ail-vid__name {
  font-size: 1.3rem;
  font-weight: 700;
}

#ail-syllabus .ail-vid__dur {
  min-width: 4.4rem;
  padding: 0.3rem 0.5rem;
  border-radius: 7px;
  color: #0e7490;
  background: rgba(13, 148, 136, 0.075);
  font-size: 1.08rem;
  text-align: center;
}

html[data-theme="dark"]
  #ail-syllabus
  .ail-path__block--open
  .ail-path__chapter-top {
  border-bottom-color: rgba(103, 232, 249, 0.34);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.38),
    0 0 26px rgba(103, 232, 249, 0.12);
}

html[data-theme="dark"] #ail-syllabus .ail-path__lessons {
  border-color: rgba(103, 232, 249, 0.18);
  background: linear-gradient(
    180deg,
    rgba(8, 47, 73, 0.48),
    rgba(13, 24, 35, 0.96)
  );
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] #ail-syllabus .ail-lesson__group-title {
  border-inline-start-color: #67e8f9;
  color: #a5f3fc;
  background: rgba(103, 232, 249, 0.09);
}

html[data-theme="dark"] #ail-syllabus .ail-lesson__videos {
  border-color: rgba(103, 232, 249, 0.15);
  background: rgba(2, 12, 21, 0.24);
}

html[data-theme="dark"] #ail-syllabus .ail-vid__dur {
  color: #a5f3fc;
  background: rgba(103, 232, 249, 0.09);
}

#ail-syllabus .ail-vid__free-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.85rem;
  padding: 0.24rem 0.52rem;
  border: 1px solid rgba(6, 182, 212, 0.26);
  border-radius: 7px;
  color: #0e7490;
  background: rgba(6, 182, 212, 0.1);
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
}

html[data-theme="dark"] #ail-syllabus .ail-vid__free-badge {
  border-color: rgba(103, 232, 249, 0.3);
  color: #a5f3fc;
  background: rgba(103, 232, 249, 0.12);
}

/* A collapsed chapter must not retain the lesson panel's inner spacing. */
#ail-syllabus .ail-path__collapse .ail-path__lessons {
  margin: 0;
  padding: 0;
  border-width: 0;
  overflow: hidden;
  transition:
    padding 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-width 0.2s ease;
}

#ail-syllabus .ail-path__block--open .ail-path__lessons {
  margin: 0;
  padding: 1rem 1.2rem 1.2rem;
  border-width: 0 1px 1px;
}

@media (max-width: 575.98px) {
  #ail-syllabus .ail-path__block--open .ail-path__lessons {
    padding: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  #ail-syllabus .ail-path__lessons {
    padding: 0.75rem;
  }

  #ail-syllabus .ail-vid {
    min-height: 4.6rem;
  }

  #ail-syllabus .ail-vid__link {
    grid-template-columns: 3.1rem minmax(0, 1fr);
  }

  #ail-syllabus .ail-vid__play,
  #ail-syllabus .ail-vid__lock {
    width: 3.1rem;
    height: 3.1rem;
  }

  #ail-syllabus .ail-vid__name {
    font-size: 1.08rem;
  }
}

/* Chapter identity belongs to the path header; its panel contains lessons only. */
#ail-syllabus .ail-path__chapter-top {
  grid-template-columns: 4.6rem minmax(0, 1fr) !important;
  align-items: center;
  gap: 1.15rem;
  padding: 2rem 1.35rem !important;
  padding-inline-start: 2.75rem !important;
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(240, 253, 250, 0.72)
  );
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease,
    background 0.28s ease;
}

#ail-syllabus .ail-path__chapter-top:hover {
  border-color: rgba(6, 182, 212, 0.38);
  box-shadow: 0 12px 28px rgba(8, 145, 178, 0.1);
  transform: translateY(-2px);
}

#ail-syllabus .ail-path__block {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#ail-syllabus .ail-path__block--open {
  box-shadow: none;
}

#ail-syllabus .ail-path__block--open .ail-path__chapter-top {
  border-color: rgba(6, 182, 212, 0.44);
  background: linear-gradient(
    135deg,
    rgba(236, 254, 255, 0.98),
    rgba(224, 242, 254, 0.72)
  );
  box-shadow: 0 14px 30px rgba(8, 145, 178, 0.13);
}

#ail-syllabus .ail-path__chapter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.6rem;
  height: 4.6rem;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 18px rgba(8, 145, 178, 0.2);
  font-size: 1.55rem;
}

#ail-syllabus .ail-path__chapter-top .ail-path__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: var(--ail-text);
  font-size: 1.6rem;
  font-weight: 800;
}

#ail-syllabus .ail-path__chapter-number {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.2rem 0.62rem;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 999px;
  color: #0e7490;
  background: rgba(13, 148, 136, 0.08);
  font-size: 1.03rem;
  font-weight: 800;
  white-space: nowrap;
}

#ail-syllabus .ail-path__chapter-subtitle {
  margin: 0.4rem 0 0;
  overflow: hidden;
  color: var(--ail-muted);
  font-size: 1.12rem;
  line-height: 1.65;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#ail-syllabus .ail-path__chapter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

#ail-syllabus .ail-path__chapter-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 1.85rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 999px;
  color: #0e7490;
  background: rgba(13, 148, 136, 0.06);
  font-size: 1.02rem;
  font-weight: 700;
}

#ail-syllabus .ail-path__chapter-meta i {
  color: #06b6d4;
  font-size: 0.9rem;
}

#ail-syllabus .ail-path__chapter-kind--project {
  border-color: rgba(6, 182, 212, 0.28) !important;
  color: #075985 !important;
  background: rgba(6, 182, 212, 0.13) !important;
}

#ail-syllabus .ail-path__block--project .ail-path__chapter-top {
  border-color: rgba(6, 182, 212, 0.18);
  background: linear-gradient(
    135deg,
    rgba(236, 254, 255, 0.58),
    rgba(248, 250, 252, 0.85)
  );
}

#ail-syllabus .ail-path__collapse {
  margin-top: 0;
}

#ail-syllabus .ail-path__lessons {
  margin: 0 0.85rem;
  padding: 1.2rem 0.9rem 0.9rem;
  border: 1px solid rgba(13, 148, 136, 0.13);
  border-top: 0;
  border-radius: 0 0 16px 16px;
}

#ail-syllabus .ail-lesson {
  margin: 0 0 1.1rem;
}

#ail-syllabus .ail-lesson:last-child {
  margin-bottom: 0;
}

#ail-syllabus .ail-lesson__group-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.6rem;
  color: var(--ail-text);
  font-size: 1.4rem;
  font-weight: 800;
  padding: 2rem;
}

#ail-syllabus .ail-lesson__group-title i {
  color: #06b6d4;
  font-size: 1.8rem;
}

#ail-syllabus .ail-lesson__videos {
  margin: 0;
}

html[data-theme="dark"] #ail-syllabus .ail-path__chapter-top {
  border-color: rgba(103, 232, 249, 0.18);
  background: linear-gradient(
    135deg,
    rgba(19, 31, 43, 0.98),
    rgba(13, 24, 35, 0.98)
  );
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] #ail-syllabus .ail-path__chapter-top:hover,
html[data-theme="dark"]
  #ail-syllabus
  .ail-path__block--open
  .ail-path__chapter-top {
  border-color: rgba(103, 232, 249, 0.46);
  background: linear-gradient(
    135deg,
    rgba(13, 53, 68, 0.92),
    rgba(13, 27, 39, 0.98)
  );
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(103, 232, 249, 0.07);
}

html[data-theme="dark"] #ail-syllabus .ail-path__chapter-icon {
  border-color: rgba(103, 232, 249, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 18px rgba(103, 232, 249, 0.18);
}

html[data-theme="dark"] #ail-syllabus .ail-path__chapter-number,
html[data-theme="dark"] #ail-syllabus .ail-path__chapter-meta > span {
  border-color: rgba(103, 232, 249, 0.2);
  color: #a5f3fc;
  background: rgba(103, 232, 249, 0.08);
}

html[data-theme="dark"] #ail-syllabus .ail-path__chapter-subtitle {
  color: #aebdce;
}

html[data-theme="dark"] #ail-syllabus .ail-path__chapter-kind--project {
  border-color: rgba(103, 232, 249, 0.3) !important;
  color: #a5f3fc !important;
  background: rgba(103, 232, 249, 0.14) !important;
}

html[data-theme="dark"] #ail-syllabus .ail-path__lessons {
  border-color: rgba(103, 232, 249, 0.14);
  background: rgba(8, 47, 73, 0.2);
}

/* Projects students build ------------------------------------------------- */
.ail-project-showcase {
  --ail-showcase-accent: #0891b2;
  position: relative;
  margin: 0 !important;
  padding: clamp(1.1rem, 3vw, 2.2rem);
  overflow: hidden;
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(236, 254, 255, 0.78),
    rgba(255, 255, 255, 0.94) 52%,
    rgba(240, 249, 255, 0.9)
  );
  box-shadow: 0 20px 55px rgba(8, 47, 73, 0.08);
}
.ail-project-showcase::before {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  inset: -16rem -10rem auto auto;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.19),
    transparent 67%
  );
}
.ail-project-showcase__head {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}
.ail-project-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #0e7490;
  font-size: 0.81rem;
  font-weight: 800;
}
.ail-project-showcase__eyebrow i {
  color: #06b6d4;
}
.ail-project-showcase__head h2 {
  margin: 0.45rem 0 0.55rem;
  color: #0f172a;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}
.ail-project-showcase__head p {
  max-width: 42rem;
  margin: 0;
  color: #475569;
  font-size: 1.2rem;
  line-height: 1.95;
}
.ail-project-showcase__count {
  flex: 0 0 auto;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(6, 182, 212, 0.22);
  border-radius: 14px;
  color: #155e75;
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.ail-project-showcase__count strong {
  margin-inline-end: 0.25rem;
  color: #0891b2;
  font-size: 1.1rem;
}
.ail-project-showcase__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.8fr);
  gap: clamp(1rem, 2.3vw, 1.7rem);
  align-items: stretch;
}
.ail-project-showcase__viewer {
  min-width: 0;
}
.ail-project-showcase__panel {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(8, 47, 73, 0.1);
  animation: ail-showcase-panel-in 0.3s ease both;
}
.ail-project-showcase__image-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #083344, #0e7490 55%, #22d3ee);
}
.ail-project-showcase__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transform: scale(1.035);
  transition:
    opacity 0.36s ease,
    transform 0.65s ease;
}
.ail-project-showcase__image.is-active {
  opacity: 1;
  transform: scale(1);
}
.ail-project-showcase__image-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.05),
    transparent 55%,
    rgba(2, 6, 23, 0.28)
  );
}
.ail-project-showcase__window-dots {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  display: flex;
  direction: ltr;
  gap: 0.32rem;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(8px);
}
.ail-project-showcase__window-dots i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #67e8f9;
  opacity: 0.9;
}
.ail-project-showcase__window-dots i:nth-child(2) {
  opacity: 0.65;
}
.ail-project-showcase__window-dots i:nth-child(3) {
  opacity: 0.4;
}
.ail-project-showcase__gallery-controls {
  position: absolute;
  z-index: 3;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  direction: ltr;
  gap: 0.5rem;
}
.ail-project-showcase__gallery-controls button {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid rgba(165, 243, 252, 0.5);
  border-radius: 10px;
  color: #ecfeff;
  background: rgba(2, 6, 23, 0.5);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.ail-project-showcase__gallery-controls button:hover {
  transform: translateY(-2px);
  background: rgba(8, 145, 178, 0.92);
}
.ail-project-showcase__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  color: #ecfeff;
  text-align: center;
  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(103, 232, 249, 0.35),
      transparent 28%
    ),
    linear-gradient(135deg, #082f49, #0e7490);
}
.ail-project-showcase__placeholder span {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin: auto;
  place-items: center;
  border: 1px solid rgba(165, 243, 252, 0.4);
  border-radius: 18px;
  color: #a5f3fc;
  background: rgba(2, 6, 23, 0.2);
  font-size: 1.7rem;
}
.ail-project-showcase__placeholder b {
  font-size: 1.06rem;
}
.ail-project-showcase__placeholder small {
  color: #cffafe;
}
.ail-project-showcase__panel-body {
  padding: 1.15rem 1.25rem 1.3rem;
}
.ail-project-showcase__panel-body > span {
  color: #0891b2;
  font-size: 0.75rem;
  font-weight: 800;
}
.ail-project-showcase__panel-body h3 {
  margin: 0.35rem 0 0.45rem;
  color: #0f172a;
  font-size: 1.22rem;
  font-weight: 900;
}
.ail-project-showcase__panel-body p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}
.ail-project-showcase__panel-body small {
  display: block;
  margin-top: 0.55rem;
  color: #64748b;
  line-height: 1.7;
}
.ail-project-showcase__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ail-project-showcase__item {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid rgba(8, 145, 178, 0.14);
  border-radius: 16px;
  color: #0f172a;
  text-align: right;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}
.ail-project-showcase__item:hover {
  transform: translateX(-3px);
  border-color: rgba(6, 182, 212, 0.42);
  background: #fff;
  box-shadow: 0 10px 20px rgba(8, 47, 73, 0.08);
}
.ail-project-showcase__item.is-active {
  border-color: rgba(6, 182, 212, 0.68);
  background: linear-gradient(
    135deg,
    rgba(236, 254, 255, 0.96),
    rgba(240, 249, 255, 0.88)
  );
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.13);
}
.ail-project-showcase__item-number {
  color: #0891b2;
  font-size: 0.76rem;
  font-weight: 900;
}
.ail-project-showcase__item-icon {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid rgba(6, 182, 212, 0.24);
  border-radius: 11px;
  color: #0891b2;
  background: rgba(236, 254, 255, 0.8);
}
.ail-project-showcase__item.is-active .ail-project-showcase__item-icon {
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
}
.ail-project-showcase__item-copy {
  min-width: 0;
}
.ail-project-showcase__item-copy strong,
.ail-project-showcase__item-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ail-project-showcase__item-copy strong {
  font-size: 1.1rem;
  font-weight: 800;
}
.ail-project-showcase__item-copy small {
  margin-top: 0.22rem;
  color: #64748b;
  font-size: 0.75rem;
}
.ail-project-showcase__item-arrow {
  color: #0891b2;
  font-size: 0.76rem;
  transition: transform 0.22s ease;
}
.ail-project-showcase__item.is-active .ail-project-showcase__item-arrow {
  transform: translateX(-3px);
}
@keyframes ail-showcase-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
html[data-theme="dark"] .ail-project-showcase {
  border-color: rgba(34, 211, 238, 0.23);
  background: linear-gradient(
    135deg,
    rgba(8, 28, 42, 0.98),
    rgba(10, 37, 53, 0.98)
  );
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.26);
}
html[data-theme="dark"] .ail-project-showcase__head h2 {
  color: #f1f5f9;
}
html[data-theme="dark"] .ail-project-showcase__head p {
  color: #b5c6d5;
}
html[data-theme="dark"] .ail-project-showcase__eyebrow,
html[data-theme="dark"] .ail-project-showcase__count,
html[data-theme="dark"] .ail-project-showcase__count strong {
  color: #a5f3fc;
}
html[data-theme="dark"] .ail-project-showcase__count {
  border-color: rgba(103, 232, 249, 0.23);
  background: rgba(8, 47, 73, 0.42);
}
html[data-theme="dark"] .ail-project-showcase__panel,
html[data-theme="dark"] .ail-project-showcase__item {
  border-color: rgba(103, 232, 249, 0.18);
  background: rgba(9, 29, 43, 0.88);
}
html[data-theme="dark"] .ail-project-showcase__item:hover,
html[data-theme="dark"] .ail-project-showcase__item.is-active {
  border-color: rgba(103, 232, 249, 0.55);
  background: linear-gradient(
    135deg,
    rgba(8, 47, 73, 0.9),
    rgba(13, 53, 68, 0.76)
  );
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22);
}
html[data-theme="dark"] .ail-project-showcase__panel-body h3,
html[data-theme="dark"] .ail-project-showcase__item {
  color: #e2e8f0;
}
html[data-theme="dark"] .ail-project-showcase__panel-body p,
html[data-theme="dark"] .ail-project-showcase__panel-body small,
html[data-theme="dark"] .ail-project-showcase__item-copy small {
  color: #aebdce;
}
html[data-theme="dark"] .ail-project-showcase__item-icon {
  border-color: rgba(103, 232, 249, 0.24);
  color: #a5f3fc;
  background: rgba(8, 47, 73, 0.58);
}
@media (max-width: 767.98px) {
  .ail-project-showcase {
    border-radius: 22px;
  }
  .ail-project-showcase__head {
    display: block;
  }
  .ail-project-showcase__count {
    display: inline-block;
    margin-top: 1rem;
  }
  .ail-project-showcase__layout {
    grid-template-columns: 1fr;
  }
  .ail-project-showcase__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ail-project-showcase__item {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .ail-project-showcase__item-number,
  .ail-project-showcase__item-arrow {
    display: none;
  }
}
@media (max-width: 480px) {
  .ail-project-showcase {
    margin-inline: -0.15rem;
    padding: 1rem;
  }
  .ail-project-showcase__list {
    grid-template-columns: 1fr;
  }
  .ail-project-showcase__panel-body {
    padding: 1rem;
  }
  .ail-project-showcase__image-stage {
    aspect-ratio: 1.38 / 1;
  }
}

/* Showcase list intentionally stays text-first: number + project title only. */
.ail-project-showcase__item {
  grid-template-columns: auto minmax(0, 1fr);
}
.ail-project-showcase__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #082f49;
}
.ail-project-showcase__video-play {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(165, 243, 252, 0.58);
  border-radius: 999px;
  color: #ecfeff;
  background: rgba(2, 6, 23, 0.66);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.ail-project-showcase__video-play:hover {
  background: #0891b2;
  transform: translate(-50%, -54%);
}
.ail-project-showcase__video-play i {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 50%;
  color: #083344;
  background: #a5f3fc;
  font-size: 0.7rem;
}
.ail-project-showcase__image-stage.is-playing::after {
  opacity: 0;
}
.ail-project-showcase__panel-body p a {
  color: #0891b2;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
html[data-theme="dark"] .ail-project-showcase__panel-body p a {
  color: #67e8f9;
}
.ail-project-showcase__project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.8rem;
  color: #0891b2;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
}
.ail-project-showcase__project-link:hover {
  color: #0e7490;
}
.ail-project-showcase__project-link i {
  font-size: 0.72rem;
}
html[data-theme="dark"] .ail-project-showcase__project-link {
  color: #67e8f9;
}

/* Reference-aligned project showcase composition. */
.ail-project-showcase {
  padding: clamp(1.6rem, 3vw, 2.8rem);
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(139, 92, 246, 0.15),
      transparent 24rem
    ),
    radial-gradient(
      circle at 5% 100%,
      rgba(34, 211, 238, 0.12),
      transparent 26rem
    ),
    #fbfcff;
}
.ail-project-showcase__layout {
  grid-template-columns: minmax(21rem, 0.57fr) minmax(0, 1fr);
  gap: clamp(1.7rem, 3vw, 3.7rem);
}
.ail-project-showcase__head h2 {
  max-width: 25rem;
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  line-height: 1.27;
}
.ail-project-showcase__head h2 strong {
  color: #5668ee;
  font-weight: 900;
}
.ail-project-showcase__head p {
  max-width: 25rem;
}
.ail-project-showcase__list-wrap {
  max-height: 42rem;
  padding: 0.15rem 0.05rem 0.15rem 0.65rem;
}
.ail-project-showcase__item {
  min-height: 6.35rem;
  padding: 0.9rem;
  border-radius: 1.15rem;
}
.ail-project-showcase__item.is-active {
  border-color: #9baaff;
  background: linear-gradient(110deg, #e7ebff, #f9f8ff);
  box-shadow: 0 1rem 2.2rem rgba(83, 97, 211, 0.16);
}
.ail-project-showcase__item-copy strong {
  font-size: 0.97rem;
}
.ail-project-showcase__item-copy small {
  font-size: 0.75rem;
}
.ail-project-showcase__item-check {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border: 1px solid #dce2f3;
  border-radius: 50%;
  color: transparent;
  background: #fff;
  font-size: 0.64rem;
  transition: 0.2s ease;
}
.ail-project-showcase__item.is-active .ail-project-showcase__item-check {
  border-color: #6475ed;
  color: #fff;
  background: #6475ed;
  box-shadow: 0 0.35rem 0.85rem rgba(100, 117, 237, 0.3);
}
.ail-project-showcase__all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  color: #fff !important;
  background: linear-gradient(105deg, #526cf2, #8a5cf5);
  box-shadow: 0 1rem 2.2rem rgba(92, 92, 226, 0.27);
  font-size: 0.92rem;
  font-weight: 900;
}
.ail-project-showcase__all-link:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.ail-project-showcase__panel {
  border-radius: 1.8rem;
  box-shadow: 0 2rem 4.6rem rgba(40, 48, 117, 0.18);
}
.ail-project-showcase__image-stage {
  min-height: clamp(21rem, 32vw, 29rem);
  aspect-ratio: auto;
  background:
    radial-gradient(
      circle at 15% 18%,
      rgba(103, 232, 249, 0.23),
      transparent 23%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(139, 92, 246, 0.34),
      transparent 30%
    ),
    linear-gradient(135deg, #071d4e, #152c69 56%, #3d287e);
}
.ail-project-showcase__dashboard {
  padding: 4rem 2.4rem 2rem;
  opacity: 0.93;
  background: linear-gradient(
    135deg,
    rgba(51, 65, 158, 0.2),
    rgba(10, 23, 65, 0.08)
  );
}
.ail-project-showcase__dashboard
  > span:not(.ail-project-showcase__dashboard-mark),
.ail-project-showcase__dashboard > b {
  border-color: rgba(174, 203, 255, 0.16);
  background: linear-gradient(
    145deg,
    rgba(180, 205, 255, 0.14),
    rgba(84, 99, 189, 0.11)
  );
  box-shadow: 0 1rem 2rem rgba(0, 10, 44, 0.24);
}
.ail-project-showcase__dashboard > span:nth-child(3) {
  background: linear-gradient(
    160deg,
    rgba(45, 212, 191, 0.2),
    rgba(64, 104, 207, 0.13)
  );
}
.ail-project-showcase__dashboard > span:nth-child(4) {
  background: linear-gradient(
    160deg,
    rgba(167, 139, 250, 0.28),
    rgba(82, 104, 230, 0.12)
  );
}
.ail-project-showcase__dashboard-mark {
  top: 4.6rem;
  color: #fff;
  background: linear-gradient(135deg, #34d4ef, #7966f5);
}
.ail-project-showcase__image {
  opacity: 0.72;
  mix-blend-mode: screen;
}
.ail-project-showcase__image-stage::after {
  background: linear-gradient(
    180deg,
    rgba(3, 12, 48, 0.14),
    transparent 45%,
    rgba(3, 12, 48, 0.48)
  );
}
.ail-project-showcase__window-dots {
  background: rgba(1, 10, 42, 0.38);
}
.ail-project-showcase__window-dots i {
  background: #8cc9ff;
}
.ail-project-showcase__demo-link {
  position: absolute;
  z-index: 5;
  bottom: 1.35rem;
  right: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.82rem 1.05rem 0.82rem 1.25rem;
  border: 1px solid rgba(196, 217, 255, 0.37);
  border-radius: 0.85rem;
  color: #fff;
  background: rgba(4, 16, 55, 0.62);
  box-shadow: 0 0.8rem 1.8rem rgba(0, 7, 37, 0.3);
  backdrop-filter: blur(12px);
  font-size: 0.84rem;
  font-weight: 850;
}
.ail-project-showcase__demo-link i {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 50%;
  color: #1d2d73;
  background: #fff;
  font-size: 0.62rem;
}
.ail-project-showcase__demo-link:hover {
  color: #fff;
  background: rgba(57, 71, 174, 0.84);
}
.ail-project-showcase__panel-body {
  padding: 1.35rem 1.55rem 1.55rem;
}
.ail-project-showcase__panel-body h3 {
  font-size: 1.55rem;
}
.ail-project-showcase__panel-body p {
  max-width: 50rem;
}
.ail-project-showcase__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.2rem;
}
.ail-project-showcase__features > span {
  min-height: 6.3rem;
  padding: 0.72rem 0.65rem;
  border: 1px solid #e0e6f8;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 0.45rem 1rem rgba(47, 57, 124, 0.05);
}
.ail-project-showcase__features i {
  display: block;
  margin-bottom: 0.38rem;
  color: #6375ed;
  font-size: 0.9rem;
}
.ail-project-showcase__features b,
.ail-project-showcase__features small {
  display: block;
}
.ail-project-showcase__features b {
  color: #273457;
  font-size: 0.72rem;
  font-weight: 900;
}
.ail-project-showcase__features small {
  margin-top: 0.22rem;
  color: #8994a8;
  font-size: 0.63rem;
  line-height: 1.45;
}
.ail-project-showcase__metadata {
  display: grid;
  grid-template-columns: 0.75fr 1.2fr 1.05fr;
  gap: 0.7rem;
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid #e7eaf4;
}
.ail-project-showcase__metadata span {
  min-width: 0;
}
.ail-project-showcase__metadata i {
  margin-left: 0.38rem;
  color: #6b78e9;
  font-size: 0.78rem;
}
.ail-project-showcase__metadata b {
  color: #4b5871;
  font-size: 0.68rem;
}
.ail-project-showcase__metadata small {
  display: block;
  overflow: hidden;
  margin-top: 0.23rem;
  color: #7a879d;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-theme="dark"] .ail-project-showcase {
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(139, 92, 246, 0.21),
      transparent 24rem
    ),
    #10172c;
}
html[data-theme="dark"] .ail-project-showcase__features > span {
  border-color: #354266;
  background: #18213b;
}
html[data-theme="dark"] .ail-project-showcase__features b {
  color: #e1e8fa;
}
html[data-theme="dark"] .ail-project-showcase__features small,
html[data-theme="dark"] .ail-project-showcase__metadata small {
  color: #a9b6cb;
}
html[data-theme="dark"] .ail-project-showcase__metadata {
  border-color: #34405d;
}
html[data-theme="dark"] .ail-project-showcase__metadata b {
  color: #d3ddf1;
}
@media (max-width: 767.98px) {
  .ail-project-showcase__layout {
    grid-template-columns: 1fr;
  }
  .ail-project-showcase__image-stage {
    min-height: 18rem;
  }
  .ail-project-showcase__dashboard {
    padding: 3.5rem 1.3rem 1.2rem;
  }
  .ail-project-showcase__dashboard-mark {
    top: 4rem;
    right: 2rem;
  }
  .ail-project-showcase__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ail-project-showcase__metadata {
    grid-template-columns: 1fr;
  }
  .ail-project-showcase__metadata small {
    white-space: normal;
  }
  .ail-project-showcase__list-wrap {
    max-height: 26rem;
  }
  .ail-project-showcase__item-check {
    display: none;
  }
}

/* Premium project showcase: RTL list on the right, selected dashboard on the left. */
.ail-project-showcase {
  --ail-showcase-ink: #172554;
  --ail-showcase-blue: #5267ef;
  --ail-showcase-purple: #8b5cf6;
  margin: clamp(3.5rem, 7vw, 6rem) auto;
  padding: clamp(1.4rem, 3.4vw, 3rem);
  border-color: #dce5ff;
  border-radius: 2.2rem;
  background:
    radial-gradient(
      circle at 94% 5%,
      rgba(139, 92, 246, 0.14),
      transparent 23rem
    ),
    radial-gradient(
      circle at 7% 100%,
      rgba(59, 130, 246, 0.13),
      transparent 24rem
    ),
    linear-gradient(135deg, #f8fbff, #fff 45%, #f9f7ff);
  box-shadow: 0 2rem 5rem rgba(55, 65, 160, 0.12);
}
.ail-project-showcase::before {
  inset: -14rem -11rem auto auto;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 68%);
}
.ail-project-showcase__layout {
  display: grid;
  grid-template-areas: "content viewer";
  grid-template-columns: minmax(21rem, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(1.6rem, 3.2vw, 4rem);
  align-items: start;
}
.ail-project-showcase__content {
  grid-area: content;
  min-width: 0;
}
.ail-project-showcase__viewer {
  grid-area: viewer;
  min-width: 0;
}
.ail-project-showcase__head {
  display: block;
  margin: 0 0 1.65rem;
}
.ail-project-showcase__eyebrow {
  width: max-content;
  padding: 0.46rem 0.78rem;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  color: #6d48c7;
  background: #f5f1ff;
  font-size: 0.78rem;
}
.ail-project-showcase__eyebrow i {
  color: #8b5cf6;
}
.ail-project-showcase__head h2 {
  margin: 0.9rem 0 0.7rem;
  color: var(--ail-showcase-ink);
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  line-height: 1.35;
  letter-spacing: -0.045em;
}
.ail-project-showcase__head p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 2;
}
.ail-project-showcase__list-wrap {
  max-height: 42rem;
  overflow-y: auto;
  padding-left: 0.65rem;
  scrollbar-color: #a5b4fc #edf1ff;
  scrollbar-width: thin;
}
.ail-project-showcase__list-wrap::-webkit-scrollbar {
  width: 0.45rem;
}
.ail-project-showcase__list-wrap::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #edf1ff;
}
.ail-project-showcase__list-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(#a5b4fc, #818cf8);
}
.ail-project-showcase__list {
  gap: 0.7rem;
  padding: 0.1rem 0 0.25rem;
}
.ail-project-showcase__item {
  grid-template-columns: 2.25rem 2.65rem minmax(0, 1fr) auto;
  gap: 0.72rem;
  min-height: 5.7rem;
  padding: 0.8rem;
  border-color: #e3e8f8;
  border-radius: 1.1rem;
  color: #263553;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0.25rem 0.8rem rgba(35, 49, 104, 0.025);
}
.ail-project-showcase__item:hover {
  transform: translateX(-0.25rem);
  border-color: #bfc9f9;
  box-shadow: 0 0.8rem 1.7rem rgba(66, 80, 160, 0.1);
}
.ail-project-showcase__item.is-active {
  border-color: #aebcff;
  background: linear-gradient(108deg, #eef2ff, #fff 70%);
  box-shadow: 0 0.9rem 2rem rgba(87, 95, 196, 0.14);
}
.ail-project-showcase__item-number {
  display: flex !important;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  align-items: center;
  justify-content: center;
  border-radius: 0.72rem;
  color: #667085;
  background: #f4f6fc;
  font:
    0.85rem/1 ui-monospace,
    monospace;
  font-weight: 800;
}
.ail-project-showcase__item.is-active .ail-project-showcase__item-number {
  color: #fff;
  background: linear-gradient(135deg, #6674ef, #8b5cf6);
}
.ail-project-showcase__item-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-color: #dbe3ff;
  border-radius: 0.85rem;
  color: #6274ed;
  background: #f4f6ff;
}
.ail-project-showcase__item.is-active .ail-project-showcase__item-icon {
  background: linear-gradient(135deg, #6475ed, #9467ed);
}
.ail-project-showcase__item-copy strong {
  color: #223052;
  font-size: 1.2rem;
}
.ail-project-showcase__item-copy small {
  margin-top: 0.26rem;
  color: #8490a5;
  font-size: 0.72rem;
  line-height: 1.55;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ail-project-showcase__item-arrow {
  color: #8797dc;
}
.ail-project-showcase__panel {
  border-color: #dfe6fb;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 1.8rem 4rem rgba(43, 57, 130, 0.14);
}
.ail-project-showcase__image-stage {
  aspect-ratio: 16/8.5;
  background: linear-gradient(135deg, #e9edff, #eff8ff 55%, #eee9ff);
}
.ail-project-showcase__dashboard {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.08fr 0.85fr 0.85fr;
  grid-template-rows: 0.6fr 1.45fr 0.95fr;
  gap: 0.75rem;
  padding: clamp(2.5rem, 4.5vw, 4.2rem) clamp(1.2rem, 3vw, 2.3rem) 1.25rem;
  opacity: 1;
  background:
    radial-gradient(
      circle at 16% 15%,
      rgba(139, 92, 246, 0.28),
      transparent 26%
    ),
    radial-gradient(circle at 88% 88%, rgba(37, 99, 235, 0.24), transparent 30%);
}
.ail-project-showcase__dashboard
  > span:not(.ail-project-showcase__dashboard-mark),
.ail-project-showcase__dashboard > b {
  display: block;
  border: 1px solid rgba(165, 180, 252, 0.53);
  border-radius: 0.95rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.88),
    rgba(235, 241, 255, 0.78)
  );
  box-shadow: 0 0.75rem 1.3rem rgba(68, 86, 166, 0.09);
}
.ail-project-showcase__dashboard > span:nth-child(2) {
  grid-column: 1/4;
  opacity: 0.78;
}
.ail-project-showcase__dashboard > span:nth-child(3) {
  grid-column: 1/3;
  grid-row: 2;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.9),
    rgba(219, 234, 254, 0.78)
  );
}
.ail-project-showcase__dashboard > span:nth-child(4) {
  grid-column: 3;
  grid-row: 2/4;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(237, 233, 254, 0.85)
  );
}
.ail-project-showcase__dashboard > b:nth-of-type(1) {
  grid-column: 1;
  grid-row: 3;
}
.ail-project-showcase__dashboard > b:nth-of-type(2) {
  grid-column: 2;
  grid-row: 3;
}
.ail-project-showcase__dashboard > b:nth-of-type(3) {
  display: none;
}
.ail-project-showcase__dashboard-mark {
  position: absolute;
  z-index: 1;
  top: calc(clamp(2.5rem, 4.5vw, 4.2rem) + 0.55rem);
  right: clamp(1.8rem, 3.5vw, 3rem);
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.8rem;
  color: #fff;
  background: linear-gradient(135deg, #6574ef, #915ff0);
  box-shadow: 0 0.5rem 1.2rem rgba(103, 89, 213, 0.3);
}
.ail-project-showcase__image {
  z-index: 2;
  opacity: 1;
  transform: none;
}
.ail-project-showcase__image-stage::after {
  z-index: 3;
  background: linear-gradient(
    180deg,
    rgba(25, 32, 87, 0.04),
    transparent 54%,
    rgba(18, 23, 65, 0.17)
  );
}
.ail-project-showcase__window-dots {
  z-index: 4;
  top: 1rem;
  right: 1rem;
  background: rgba(70, 81, 146, 0.12);
  backdrop-filter: blur(10px);
}
.ail-project-showcase__window-dots i {
  background: #6f7eeb;
}
.ail-project-showcase__preview-label {
  position: absolute;
  z-index: 4;
  bottom: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #eef2ff;
  background: rgba(38, 47, 108, 0.56);
  backdrop-filter: blur(10px);
  font-size: 0.73rem;
  font-weight: 800;
}
.ail-project-showcase__panel-body {
  padding: 1.35rem 1.55rem 1.5rem;
}
.ail-project-showcase__panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.ail-project-showcase__panel-heading > span {
  color: #6574e9;
  font-size: 1.2rem;
  font-weight: 900;
}
.ail-project-showcase__panel-heading em {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  color: #7650bd;
  background: #f2edff;
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 800;
}
.ail-project-showcase__panel-body h3 {
  margin: 0.45rem 0;
  color: #172554;
  font-size: 1.72rem;
}
.ail-project-showcase__panel-body p {
  color: #637189;
  font-size: 0.9rem;
  line-height: 1.9;
}
.ail-project-showcase__tech,
.ail-project-showcase__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin-top: 1rem;
}
.ail-project-showcase__tech span {
  padding: 0.35rem 0.62rem;
  border: 1px solid #dbe4ff;
  border-radius: 0.55rem;
  color: #5363bf;
  background: #f5f7ff;
  font:
    0.7rem/1.4 ui-monospace,
    monospace;
  font-weight: 700;
}
.ail-project-showcase__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: #5e6b81;
  font-size: 0.72rem;
  line-height: 1.5;
}
.ail-project-showcase__meta i {
  color: #7182e7;
}
.ail-project-showcase__project-link {
  margin-top: 1.1rem;
  padding: 0.66rem 0.92rem;
  border-radius: 0.72rem;
  color: #fff;
  background: linear-gradient(135deg, #5c70ed, #8b5cf6);
  box-shadow: 0 0.55rem 1.2rem rgba(99, 102, 241, 0.22);
}
.ail-project-showcase__project-link:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-1px);
}
html[data-theme="dark"] .ail-project-showcase {
  border-color: #303d6d;
  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(139, 92, 246, 0.18),
      transparent 23rem
    ),
    linear-gradient(135deg, #10172c, #14162e);
}
html[data-theme="dark"] .ail-project-showcase__head h2,
html[data-theme="dark"] .ail-project-showcase__item-copy strong,
html[data-theme="dark"] .ail-project-showcase__panel-body h3 {
  color: #eef2ff;
}
html[data-theme="dark"] .ail-project-showcase__head p,
html[data-theme="dark"] .ail-project-showcase__panel-body p {
  color: #b4bfd4;
}
html[data-theme="dark"] .ail-project-showcase__item,
html[data-theme="dark"] .ail-project-showcase__panel {
  border-color: #303b63;
  background: #171d34;
}
html[data-theme="dark"] .ail-project-showcase__item.is-active {
  background: linear-gradient(110deg, #20264b, #171d34);
}
html[data-theme="dark"] .ail-project-showcase__item-number {
  background: #252d4b;
  color: #c6d1ef;
}
@media (max-width: 767.98px) {
  .ail-project-showcase__layout {
    grid-template-areas: "viewer" "content";
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }
  .ail-project-showcase__list-wrap {
    max-height: 28rem;
  }
  .ail-project-showcase__image-stage {
    aspect-ratio: 1.45/1;
  }
  .ail-project-showcase__panel-body {
    padding: 1.1rem;
  }
  .ail-project-showcase__dashboard {
    gap: 0.5rem;
    padding-top: 3.4rem;
  }
  .ail-project-showcase__dashboard-mark {
    top: 3.9rem;
  }
  .ail-project-showcase__item {
    grid-template-columns: 2.2rem 2.45rem minmax(0, 1fr) auto;
  }
  .ail-project-showcase__item-number {
    width: 2.2rem;
    height: 2.2rem;
  }
  .ail-project-showcase__item-icon {
    width: 2.45rem;
    height: 2.45rem;
  }
}
@media (max-width: 420px) {
  .ail-project-showcase {
    padding: 1.1rem;
    border-radius: 1.5rem;
  }
  .ail-project-showcase__item {
    padding: 0.7rem;
    gap: 0.55rem;
  }
  .ail-project-showcase__item-arrow {
    display: none;
  }
  .ail-project-showcase__panel-body h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  #ail-syllabus .ail-path__chapter-top {
    grid-template-columns: 3.6rem minmax(0, 1fr) !important;
    gap: 0.8rem;
    padding: 0.95rem !important;
    padding-inline-start: 3.75rem !important;
  }

  #ail-syllabus .ail-path__chapter-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 12px;
    font-size: 1.25rem;
  }

  #ail-syllabus .ail-path__chapter-top .ail-path__name {
    font-size: 1.28rem;
  }

  #ail-syllabus .ail-path__chapter-subtitle {
    font-size: 1rem;
  }

  #ail-syllabus .ail-path__lessons {
    margin: 0 0.45rem;
    padding: 0.9rem 0.65rem 0.65rem;
  }
}

/* AI Engineering hero: coding-agent terminal (scoped to this landing page). */
.ail-hero__media-wrap {
  min-width: 0;
  isolation: isolate;
}
.ail-hero__media-wrap .ail-hero__media-glow {
  inset: 10% -2% 3%;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.38),
    rgba(99, 102, 241, 0.3)
  );
  filter: blur(42px);
  opacity: 0.42;
}
html[data-theme="dark"] .ail-hero__media-wrap .ail-hero__media-glow {
  background: linear-gradient(
    135deg,
    rgba(45, 212, 191, 0.28),
    rgba(129, 140, 248, 0.3)
  );
  opacity: 0.46;
}
.ail-cli {
  --ail-cli-bg: #17191c;
  --ail-cli-panel: #202328;
  --ail-cli-panel-strong: #292d32;
  --ail-cli-border: rgba(255, 255, 255, 0.11);
  --ail-cli-text: #f0ede7;
  --ail-cli-muted: #aaa6a0;
  --ail-cli-faint: #747980;
  --ail-cli-warm: #f09270;
  --ail-cli-green: #5bd5ae;
  position: relative;
  z-index: 1;
  direction: ltr;
  overflow: hidden;
  color: var(--ail-cli-text);
  background: var(--ail-cli-bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(1rem, 1vw, 1.18rem);
  line-height: 1.55;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.09),
    0 2px 5px rgba(15, 23, 42, 0.12),
    0 28px 65px rgba(15, 23, 42, 0.32),
    0 0 0 1px rgba(15, 23, 42, 0.12);
  animation: ail-fade-up 0.6s ease 0.1s both;
}
html[data-theme="dark"] .ail-cli {
  --ail-cli-bg: #0d0f11;
  --ail-cli-panel: #15181b;
  --ail-cli-panel-strong: #1c2024;
  --ail-cli-border: rgba(255, 255, 255, 0.1);
  --ail-cli-text: #e8e5df;
  --ail-cli-muted: #99958f;
  --ail-cli-faint: #666b70;
  --ail-cli-warm: #ef8f6d;
  --ail-cli-green: #58d6ae;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 0 45px rgba(103, 232, 249, 0.06);
}
.ail-cli__topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4.4rem;
  padding: 0 1.35rem;
  color: var(--ail-cli-muted);
  background: linear-gradient(
    180deg,
    var(--ail-cli-panel),
    var(--ail-cli-panel-strong)
  );
  border-bottom: 1px solid var(--ail-cli-border);
}
.ail-cli__traffic,
.ail-cli__top-actions,
.ail-cli__tab,
.ail-cli__welcome,
.ail-cli__meta,
.ail-cli__tool,
.ail-cli__change-head,
.ail-cli__success,
.ail-cli__composer,
.ail-cli__statusbar {
  display: flex;
  align-items: center;
}
.ail-cli__traffic {
  gap: 0.55rem;
}
.ail-cli__traffic span {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.ail-cli__traffic span:nth-child(1) {
  background: #ff5f57;
}
.ail-cli__traffic span:nth-child(2) {
  background: #febc2e;
}
.ail-cli__traffic span:nth-child(3) {
  background: #28c840;
}
.ail-cli__tab {
  gap: 0.65rem;
  color: var(--ail-cli-text);
  font-weight: 600;
}
.ail-cli__tab i {
  color: var(--ail-cli-warm);
  font-size: 0.95em;
}
.ail-cli__top-actions {
  justify-content: flex-end;
  gap: 1.1rem;
  font-size: 1.35rem;
}
.ail-cli__workspace {
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
}
.ail-cli__welcome {
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.ail-cli__brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 3.6rem;
  height: 3.6rem;
  color: #fff7ed;
  font-size: 2.1rem;
  background: linear-gradient(145deg, #d06a47, #9f472d);
  border-radius: 11px;
  box-shadow:
    0 8px 22px rgba(194, 93, 61, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.3);
}
.ail-cli__welcome > div {
  display: grid;
  line-height: 1.4;
}
.ail-cli__welcome strong {
  font-size: 1.12em;
  letter-spacing: -0.02em;
}
.ail-cli__welcome > div span {
  color: var(--ail-cli-muted);
  font-size: 0.88em;
}
.ail-cli__online {
  margin-left: auto;
  color: var(--ail-cli-muted);
  font-size: 0.82em;
  white-space: nowrap;
}
.ail-cli__online i,
.ail-cli__status-ready i {
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--ail-cli-green);
  box-shadow: 0 0 0 3px rgba(22, 128, 103, 0.14);
}
html[data-theme="dark"] .ail-cli__online i,
html[data-theme="dark"] .ail-cli__status-ready i {
  box-shadow: 0 0 0 3px rgba(88, 214, 174, 0.13);
}
.ail-cli__meta {
  justify-content: space-between;
  margin-bottom: 0.9rem;
  color: var(--ail-cli-muted);
  font-size: 0.86em;
}
.ail-cli__meta b {
  color: var(--ail-cli-text);
  font-weight: 500;
}
.ail-cli__meta span:last-child {
  color: var(--ail-cli-warm);
}
.ail-cli__prompt {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.8rem;
  padding: 1rem 1.15rem;
  background: var(--ail-cli-panel);
  border: 1px solid var(--ail-cli-border);
  border-radius: 10px;
  box-shadow: inset 3px 0 var(--ail-cli-warm);
}
.ail-cli__prompt p {
  margin: 0;
  color: var(--ail-cli-text);
}
.ail-cli__chevron {
  color: var(--ail-cli-warm);
  font-size: 1.6em;
  line-height: 1;
  font-weight: 700;
}
.ail-cli__response {
  padding: 1.25rem 0.25rem 0;
}
.ail-cli__response p {
  margin: 0;
}
.ail-cli__thinking {
  margin-bottom: 1rem !important;
  color: var(--ail-cli-muted);
}
.ail-cli__thinking span {
  display: inline-block;
  margin-right: 0.6rem;
  color: var(--ail-cli-warm);
  animation: ail-cli-spark 2.6s ease-in-out infinite;
}
@keyframes ail-cli-spark {
  50% {
    transform: rotate(45deg) scale(1.15);
    filter: drop-shadow(0 0 5px currentColor);
  }
}
.ail-cli__tool {
  gap: 0.7rem;
  min-height: 2.2rem;
  color: var(--ail-cli-muted);
}
.ail-cli__tool i {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--ail-cli-green);
  font-size: 0.65em;
  border: 1px solid var(--ail-cli-green);
  border-radius: 50%;
}
.ail-cli__tool span {
  color: var(--ail-cli-text);
  font-weight: 600;
}
.ail-cli__tool em {
  margin-left: auto;
  color: var(--ail-cli-faint);
  font-style: normal;
  font-size: 0.82em;
}
.ail-cli__change {
  margin: 1rem 0;
  overflow: hidden;
  background: var(--ail-cli-panel);
  border: 1px solid var(--ail-cli-border);
  border-radius: 10px;
}
.ail-cli__change-head {
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ail-cli-muted);
  border-bottom: 1px solid var(--ail-cli-border);
}
.ail-cli__change-head i {
  margin-right: 0.45rem;
  color: var(--ail-cli-warm);
}
.ail-cli__change-head b {
  color: var(--ail-cli-text);
  font-weight: 500;
}
.ail-cli__diff-stat {
  white-space: nowrap;
}
.ail-cli__diff-stat i {
  color: var(--ail-cli-green);
  font-style: normal;
}
.ail-cli__diff-stat del {
  margin-left: 0.5rem;
  color: var(--ail-cli-warm);
  text-decoration: none;
}
.ail-cli__change pre {
  direction: ltr;
  margin: 0;
  padding: 0.85rem 1rem;
  overflow: hidden;
  color: var(--ail-cli-muted);
  background: var(--ail-cli-bg);
  font: inherit;
  line-height: 1.65;
}
.ail-cli__change code {
  font: inherit;
  white-space: pre;
}
.ail-cli__line-num {
  display: inline-block;
  width: 2.2rem;
  color: var(--ail-cli-faint);
  user-select: none;
}
.ail-cli__code-key {
  color: #8b5cf6;
}
.ail-cli__code-fn {
  color: #2563eb;
}
.ail-cli__code-add {
  color: var(--ail-cli-green);
}
html[data-theme="dark"] .ail-cli__code-key {
  color: #c4a7ff;
}
html[data-theme="dark"] .ail-cli__code-fn {
  color: #7dd3fc;
}
.ail-cli__success {
  gap: 0.7rem;
  color: var(--ail-cli-muted);
}
.ail-cli__success > span {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  color: #fff;
  font-size: 0.7em;
  background: var(--ail-cli-green);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(22, 128, 103, 0.3);
}
.ail-cli__success b {
  color: var(--ail-cli-text);
  font-weight: 600;
}
.ail-cli__composer {
  gap: 0.9rem;
  margin: 0 1.2rem 1rem;
  padding: 0.8rem 1rem;
  color: var(--ail-cli-muted);
  background: var(--ail-cli-panel);
  border: 1px solid var(--ail-cli-border);
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}
.ail-cli__composer-plus {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  color: var(--ail-cli-text);
  border: 1px solid var(--ail-cli-border);
  border-radius: 6px;
}
.ail-cli__composer-placeholder {
  flex: 1;
}
.ail-cli__composer kbd {
  padding: 0.15rem 0.4rem;
  color: var(--ail-cli-faint);
  background: var(--ail-cli-bg);
  border: 1px solid var(--ail-cli-border);
  border-radius: 4px;
  box-shadow: none;
  font: inherit;
  font-size: 0.78em;
}
.ail-cli__statusbar {
  gap: 1.3rem;
  padding: 0.55rem 1.25rem;
  color: var(--ail-cli-muted);
  font-size: 0.78em;
  background: var(--ail-cli-panel-strong);
  border-top: 1px solid var(--ail-cli-border);
}
.ail-cli__statusbar i {
  margin-right: 0.35rem;
}
.ail-cli__status-ready {
  display: flex;
  align-items: center;
  margin-left: auto;
}

@media (max-width: 640px) {
  .ail-cli {
    font-size: 0.92rem;
    border-radius: 14px;
  }
  .ail-cli__topbar {
    min-height: 4rem;
    padding-inline: 1rem;
  }
  .ail-cli__top-actions {
    display: none;
  }
  .ail-cli__workspace {
    padding: 1.15rem;
  }
  .ail-cli__welcome {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .ail-cli__brand-mark {
    flex-basis: 3.1rem;
    height: 3.1rem;
    font-size: 1.8rem;
  }
  .ail-cli__online {
    display: none;
  }
  .ail-cli__prompt {
    grid-template-columns: 1.5rem 1fr;
    padding: 0.8rem;
  }
  .ail-cli__response {
    padding-top: 1rem;
  }
  .ail-cli__tool em {
    display: none;
  }
  .ail-cli__change-head {
    align-items: flex-start;
    padding: 0.65rem 0.8rem;
  }
  .ail-cli__change-head > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ail-cli__change pre {
    padding: 0.7rem 0.8rem;
    font-size: 0.86em;
  }
  .ail-cli__line-num {
    width: 1.7rem;
  }
  .ail-cli__composer {
    margin: 0 0.8rem 0.75rem;
    padding: 0.7rem 0.8rem;
  }
  .ail-cli__composer kbd {
    display: none;
  }
  .ail-cli__statusbar {
    gap: 0.8rem;
    padding-inline: 0.9rem;
  }
  .ail-cli__statusbar > span:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ail-cli,
  .ail-cli__thinking span {
    animation: none;
  }
}

/* Premium hero refinement: title, lightweight motion and terminal balance. */
.ail-hero__future-note {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: var(--ail-muted);
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}
.ail-hero__future-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  color: #fff;
  font-size: 0.82rem;
  background: linear-gradient(135deg, var(--ail-ai), var(--ail-accent));
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.18);
  animation: ail-future-float 4.8s ease-in-out infinite;
}
.ail-hero__future-pulse {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--ail-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--ail-accent-glow);
  animation: ail-future-pulse 2.8s ease-in-out infinite;
}

.ail-hero__title {
  position: relative;
  z-index: 0;
  max-width: 66rem;
  margin-bottom: 0.75rem;
  color: #111827;
  font-size: clamp(3rem, 3.75vw, 5.15rem);
  font-weight: 950;
  line-height: 1.24;
  letter-spacing: -0.13rem;
  text-shadow: none;
}
html[data-theme="dark"] .ail-hero__title {
  color: #f4f7fb;
}
.ail-hero__title-main {
  display: block;
}
.ail-hero__title-accent {
  position: relative;
  display: inline-block;
  margin-top: 0.14em;
  padding: 0 0.06em 0.12em;

  background: linear-gradient(100deg, #7c3aed 5%, #8b5cf6 42%, #0d9488 105%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 8px 18px rgba(124, 58, 237, 0.13));
}
html[data-theme="dark"] .ail-hero__title-accent {
  background-image: linear-gradient(
    100deg,
    #c4b5fd 0%,
    #a78bfa 44%,
    #67e8f9 110%
  );
  filter: drop-shadow(0 8px 22px rgba(103, 232, 249, 0.1));
}
.ail-hero__title-accent::after {
  content: "";
  position: absolute;
  right: 3%;
  bottom: 0.02em;
  width: 72%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--ail-ai),
    var(--ail-accent),
    transparent
  );
  border-radius: 99px;
  opacity: 0.58;
  transform-origin: right;
  animation: ail-title-line 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both;
}

.ail-hero__phrase-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}
.ail-hero__phrase-rail span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  color: var(--ail-muted);
  font-size: 1.02rem;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--ail-border);
  border-radius: 999px;
  animation: ail-phrase-breathe 5s ease-in-out infinite;
  animation-delay: var(--ail-phrase-delay);
}
.ail-hero__phrase-rail i {
  color: var(--ail-accent);
  font-size: 0.88em;
}
html[data-theme="dark"] .ail-hero__phrase-rail span {
  background: rgba(255, 255, 255, 0.035);
}

@media (min-width: 1100px) {
  .ail-hero__media-wrap {
    width: 106%;
    margin-inline: -3%;
  }
}
.ail-hero__media-wrap .ail-hero__media-glow {
  inset: 14% 2% 7%;
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.22),
    rgba(99, 102, 241, 0.16)
  );
  filter: blur(52px);
  opacity: 0.24;
}
html[data-theme="dark"] .ail-hero__media-wrap .ail-hero__media-glow {
  background: linear-gradient(
    135deg,
    rgba(45, 212, 191, 0.18),
    rgba(129, 140, 248, 0.16)
  );
  opacity: 0.22;
}
.ail-cli {
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.075),
    0 18px 42px rgba(15, 23, 42, 0.2),
    0 2px 7px rgba(15, 23, 42, 0.11);
}
html[data-theme="dark"] .ail-cli {
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.065),
    0 20px 48px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(103, 232, 249, 0.035);
}

.ail-hero__agent-tags {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  direction: ltr;
  pointer-events: none;
}
.ail-hero__agent-tags--top {
  top: -3.35rem;
  left: 1.25rem;
}
.ail-hero__agent-tags--bottom {
  right: 1.1rem;
  bottom: -3.35rem;
}
.ail-hero__agent-tag,
.ail-hero__media-caption {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  padding: 0.45rem 0.75rem;
  color: var(--ail-text);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font:
    650 0.94rem/1.2 "SFMono-Regular",
    Consolas,
    monospace;
  white-space: nowrap;
}
html[data-theme="dark"] .ail-hero__agent-tag,
html[data-theme="dark"] .ail-hero__media-caption {
  color: #dfe6ee;
  background: rgba(20, 24, 32, 0.82);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}
.ail-hero__agent-tag {
  animation: ail-agent-float 5.2s ease-in-out infinite;
}
.ail-hero__agent-tag:nth-child(2) {
  animation-delay: -1.7s;
}
.ail-hero__agent-tag i {
  color: var(--ail-ai);
  font-style: normal;
  font-weight: 800;
}
.ail-hero__agent-tag--codex i {
  color: var(--ail-accent);
}
.ail-hero__agent-tag--gemini i {
  color: #2563eb;
}
html[data-theme="dark"] .ail-hero__agent-tag--gemini i {
  color: #7dd3fc;
}
.ail-hero__agent-tag small {
  color: var(--ail-muted);
  font: inherit;
  font-size: 0.82em;
  font-weight: 500;
}
.ail-hero__media-caption {
  direction: rtl;
  color: var(--ail-muted);
  font-family: var(--ail-font);
  font-weight: 650;
}

@keyframes ail-title-line {
  from {
    opacity: 0;
    transform: scaleX(0.08);
  }
  to {
    opacity: 0.58;
    transform: scaleX(1);
  }
}
@keyframes ail-future-float {
  50% {
    transform: translateY(-3px) rotate(-3deg);
  }
}
@keyframes ail-future-pulse {
  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}
@keyframes ail-phrase-breathe {
  0%,
  100% {
    opacity: 0.78;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
@keyframes ail-agent-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 1099px) {
  .ail-hero__future-note {
    display: flex;
    width: max-content;
    margin-inline: auto;
    justify-content: center;
  }
  .ail-hero__phrase-rail {
    justify-content: center;
  }
  .ail-hero__agent-tags {
    position: static;
    justify-content: center;
    margin: 0 0 0.8rem;
  }
  .ail-hero__agent-tags--bottom {
    margin: 0.8rem 0 0;
  }
}

@media (max-width: 640px) {
  .ail-hero__media-wrap {
    width: min(92vw, calc(100% - 3rem));
    max-width: 100%;
  }
  .ail-hero__future-note {
    margin-bottom: 0.6rem;
    font-size: 0.98rem;
  }
  .ail-hero__future-icon {
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 7px;
  }
  .ail-hero__title {
    margin-bottom: 0.65rem;
    font-size: clamp(2.7rem, 10.2vw, 3.55rem);
    line-height: 1.3;
    letter-spacing: -0.075rem;
  }
  .ail-hero__title-accent::after {
    height: 2px;
  }
  .ail-hero__phrase-rail {
    gap: 0.32rem;
    margin-bottom: 0.8rem;
  }
  .ail-hero__phrase-rail span {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
  }
  .ail-hero__agent-tag,
  .ail-hero__media-caption {
    min-height: 2.35rem;
    padding: 0.35rem 0.58rem;
    font-size: 0.83rem;
  }
  .ail-hero__agent-tag--gemini,
  .ail-hero__media-caption {
    display: none;
  }
  .ail-hero__agent-tags {
    margin-bottom: 0.55rem;
  }
  .ail-hero__agent-tags--bottom {
    margin: 0.55rem 0 0;
  }
  .ail-cli {
    font-size: 0.84rem;
  }
  .ail-cli__topbar {
    min-height: 3.5rem;
  }
  .ail-cli__workspace {
    padding: 0.85rem;
  }
  .ail-cli__welcome {
    margin-bottom: 0.65rem;
  }
  .ail-cli__brand-mark {
    flex-basis: 2.7rem;
    height: 2.7rem;
    font-size: 1.55rem;
    border-radius: 9px;
  }
  .ail-cli__welcome > div span,
  .ail-cli__meta {
    display: none;
  }
  .ail-cli__prompt {
    padding: 0.62rem 0.7rem;
  }
  .ail-cli__thinking {
    margin-bottom: 0.55rem !important;
  }
  .ail-cli__tool {
    min-height: 1.85rem;
  }
  .ail-cli__tool:nth-of-type(3) {
    display: none;
  }
  .ail-cli__change {
    margin: 0.6rem 0;
  }
  .ail-cli__change-head {
    padding: 0.5rem 0.65rem;
  }
  .ail-cli__change pre {
    padding: 0.48rem 0.65rem;
    line-height: 1.45;
  }
  .ail-cli__composer {
    margin-bottom: 0.55rem;
    padding-block: 0.5rem;
  }
  .ail-cli__statusbar {
    padding-block: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ail-hero__future-icon,
  .ail-hero__future-pulse,
  .ail-hero__title-accent::after,
  .ail-hero__phrase-rail span,
  .ail-hero__agent-tag {
    animation: none;
  }
}

/* Live terminal sequence and stronger hero hierarchy. */
.ail-hero__title {
  max-width: 69rem;
  font-size: clamp(3.25rem, 4.05vw, 5.6rem);
  line-height: 1.16;
  letter-spacing: -0.155rem;
}
.ail-hero__title-main {
  font-weight: 950;
  text-shadow: 0 0.12em 0.75em rgba(15, 23, 42, 0.08);
}
html[data-theme="dark"] .ail-hero__title-main {
  text-shadow: 0 0.12em 0.8em rgba(0, 0, 0, 0.28);
}
.ail-hero__title-accent {
  margin-top: 0.18em;
  font-size: 1.12em;
  font-weight: 950;
  letter-spacing: -0.18rem;
  filter: drop-shadow(0 10px 22px rgba(124, 58, 237, 0.16));
}
.ail-hero__title-accent::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 15% -4% 4%;
  background: radial-gradient(
    ellipse,
    rgba(124, 58, 237, 0.1),
    transparent 68%
  );
  filter: blur(14px);
  pointer-events: none;
}
html[data-theme="dark"] .ail-hero__title-accent::before {
  background: radial-gradient(
    ellipse,
    rgba(103, 232, 249, 0.08),
    transparent 68%
  );
}

.ail-cli__cursor {
  display: none;
  width: 0.62em;
  height: 1.18em;
  margin-left: 0.2em;
  vertical-align: -0.18em;
  background: var(--ail-cli-warm);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(240, 146, 112, 0.25);
}
.ail-cli--demo .ail-cli__cursor {
  display: inline-block;
  animation: ail-cli-cursor 0.82s steps(1) infinite;
}
.ail-cli--complete .ail-cli__cursor {
  opacity: 0;
  animation: none;
}
.ail-cli__code-line {
  display: block;
  min-height: 1.65em;
}
.ail-cli--demo [data-ail-cli-stage] {
  visibility: hidden;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0s linear 0.3s;
}
.ail-cli--demo [data-ail-cli-stage].is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
.ail-cli--demo .ail-cli__code-line {
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}
.ail-cli--demo .ail-cli__code-line.is-written {
  opacity: 1;
  transform: translateX(0);
}
.ail-cli--demo .ail-cli__change.is-visible .ail-cli__change-head::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-left: auto;
  background: var(--ail-cli-warm);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(240, 146, 112, 0.12);
  animation: ail-cli-working-dot 1s ease-in-out infinite;
}
.ail-cli--complete .ail-cli__change-head::after {
  display: none;
}
.ail-cli__workspace,
.ail-cli__composer,
.ail-cli__statusbar {
  transition:
    opacity 0.38s ease,
    filter 0.38s ease;
}
.ail-cli--resetting .ail-cli__workspace,
.ail-cli--resetting .ail-cli__composer,
.ail-cli--resetting .ail-cli__statusbar {
  opacity: 0.18;
  filter: blur(1px);
}
.ail-cli__status-ready b {
  color: inherit;
  font: inherit;
  font-weight: 500;
}
.ail-cli[data-ail-cli-state="typing"] .ail-cli__status-ready i {
  background: var(--ail-cli-warm);
  animation: ail-cli-status-pulse 1.1s ease-in-out infinite;
}
.ail-cli[data-ail-cli-state="thinking"] .ail-cli__status-ready i,
.ail-cli[data-ail-cli-state="working"] .ail-cli__status-ready i {
  background: #fbbf24;
  animation: ail-cli-status-pulse 1.1s ease-in-out infinite;
}
.ail-cli[data-ail-cli-state="writing"] .ail-cli__status-ready i {
  background: #7dd3fc;
  animation: ail-cli-status-pulse 0.85s ease-in-out infinite;
}
.ail-cli[data-ail-cli-state="verified"] .ail-cli__status-ready i {
  background: var(--ail-cli-green);
}
.ail-cli[data-ail-cli-state="writing"]::after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  height: 1px;
  top: 34%;
  opacity: 0.22;
  background: linear-gradient(90deg, transparent, #7dd3fc, transparent);
  box-shadow: 0 0 10px rgba(125, 211, 252, 0.35);
  pointer-events: none;
  animation: ail-cli-scan 2.2s ease-in-out infinite;
}

.ail-hero__agent-tag {
  position: relative;
  overflow: hidden;
  min-height: 3rem;
  padding: 0.42rem 0.72rem 0.42rem 0.48rem;
  border-color: rgba(124, 58, 237, 0.16);
  box-shadow:
    0 8px 22px rgba(15, 23, 42, 0.075),
    inset 0 1px rgba(255, 255, 255, 0.7);
}
.ail-hero__agent-tag::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -35%;
  width: 28%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.72),
    transparent
  );
  transform: skewX(-18deg);
  animation: ail-agent-sheen 7s ease-in-out infinite;
}
.ail-hero__agent-tag::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.15rem;
  background: var(--ail-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ail-accent-glow);
}
.ail-hero__agent-tag i {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border-radius: 7px;
  box-shadow: 0 5px 12px rgba(109, 40, 217, 0.2);
  font-size: 0.88em;
}
.ail-hero__agent-tag--codex i {
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  box-shadow: 0 5px 12px rgba(15, 118, 110, 0.2);
}
.ail-hero__agent-tag--gemini i {
  color: #fff;
  background: linear-gradient(135deg, #60a5fa, #7c3aed);
  box-shadow: 0 5px 12px rgba(96, 165, 250, 0.2);
}
html[data-theme="dark"] .ail-hero__agent-tag {
  border-color: rgba(167, 139, 250, 0.16);
  box-shadow:
    0 9px 24px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .ail-hero__agent-tag::before {
  opacity: 0.12;
}

@keyframes ail-cli-cursor {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0.14;
  }
}
@keyframes ail-cli-working-dot {
  50% {
    opacity: 0.35;
    transform: scale(0.78);
  }
}
@keyframes ail-cli-status-pulse {
  50% {
    opacity: 0.42;
    transform: scale(0.78);
  }
}
@keyframes ail-cli-scan {
  0% {
    transform: translateY(-2.5rem);
    opacity: 0;
  }
  30%,
  70% {
    opacity: 0.22;
  }
  100% {
    transform: translateY(16rem);
    opacity: 0;
  }
}
@keyframes ail-agent-sheen {
  0%,
  68% {
    left: -35%;
    opacity: 0;
  }
  76% {
    opacity: 0.65;
  }
  88%,
  100% {
    left: 115%;
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .ail-hero__title {
    font-size: clamp(2.95rem, 10.8vw, 3.75rem);
    line-height: 1.2;
    letter-spacing: -0.095rem;
  }
  .ail-hero__title-accent {
    font-size: 1.08em;
    letter-spacing: -0.11rem;
  }
  .ail-hero__agent-tag {
    min-height: 2.55rem;
    padding: 0.32rem 0.55rem 0.32rem 0.36rem;
  }
  .ail-hero__agent-tag i {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 5px;
  }
  .ail-cli__code-line {
    min-height: 1.45em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ail-cli__cursor,
  .ail-cli__change-head::after,
  .ail-cli__status-ready i,
  .ail-hero__agent-tag::before {
    animation: none !important;
  }
  .ail-cli[data-ail-cli-state="writing"]::after {
    display: none;
  }
}

/* Reference-led typography hierarchy: compact, bold and conversion focused. */
body.ail-page .ail h1,
body.ail-page .ail h2,
body.ail-page .ail h3,
body.ail-page .ail h4,
body.ail-page .ail h5,
body.ail-page .ail h6,
body.ail-page .ail [class$="__title"],
body.ail-page .ail [class*="__title "],
body.ail-page .ail [class$="__heading"],
body.ail-page .ail [class*="__heading "],
body.ail-page .ail .ail-path__name {
  font-family: PeydaSpecial, iransansweb, sans-serif;
}

.ail-hero__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}
.ail-hero__eyebrow-row .ail-hero__future-note,
.ail-hero__eyebrow-row .ail-hero__kicker {
  margin: 0;
}
.ail-hero__eyebrow-row .ail-hero__future-note {
  padding: 0.34rem 0.55rem;
  color: var(--ail-text);
  background: rgba(124, 58, 237, 0.055);
  border: 1px solid rgba(124, 58, 237, 0.13);
  border-radius: 999px;
}
html[data-theme="dark"] .ail-hero__eyebrow-row .ail-hero__future-note {
  background: rgba(167, 139, 250, 0.065);
  border-color: rgba(167, 139, 250, 0.16);
}
.ail-hero__eyebrow-row .ail-hero__future-icon {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.65rem;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}
.ail-hero__eyebrow-row .ail-hero__future-pulse {
  width: 0.42rem;
  height: 0.42rem;
  box-shadow: 0 0 0 3px var(--ail-accent-glow);
}
.ail-hero__eyebrow-row .ail-hero__kicker {
  padding-block: 0.34rem;
  font-size: 1.08rem;
}

.ail-hero__title {
  max-width: 72rem;
  margin: 0 0 1.1rem;
  font-size: clamp(3.55rem, 4.2vw, 5.8rem);
  font-weight: 900;
  line-height: 1.2 !important;
  letter-spacing: -0.18rem;
  text-wrap: balance;
  margin-top: 2rem;
  margin-bottom: 3rem;
}
.ail-hero__title-main {
  color: #0b1220;
  font-weight: 900;
  letter-spacing: -0.19rem;
  text-shadow: 0 0.14em 0.8em rgba(15, 23, 42, 0.07);
}
html[data-theme="dark"] .ail-hero__title-main {
  color: #f7f9fc;
  text-shadow: 0 0.14em 0.85em rgba(0, 0, 0, 0.25);
}
.ail-hero__title-accent {
  margin-top: 0.11em;
  padding-bottom: 0.13em;
  font-size: 1.1em;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.2rem;
  background-image: linear-gradient(
    96deg,
    #6d28d9 2%,
    #8b5cf6 44%,
    #0891b2 103%
  );
  filter: drop-shadow(0 8px 18px rgba(109, 40, 217, 0.13));
}
html[data-theme="dark"] .ail-hero__title-accent {
  background-image: linear-gradient(
    96deg,
    #ddd6fe 0%,
    #a78bfa 45%,
    #67e8f9 106%
  );
  filter: drop-shadow(0 8px 20px rgba(103, 232, 249, 0.09));
}
.ail-hero__title-accent::after {
  right: 1%;
  bottom: 0.01em;
  width: 82%;
  height: 3px;
  opacity: 0.48;
}

.ail-hero__desc {
  max-width: 61rem;
  margin: 0 0 0.9rem;
  color: #56647a;
  font-size: 1.46rem;
  font-weight: 500;
  line-height: 2.08;
}
html[data-theme="dark"] .ail-hero__desc {
  color: #a4adbd;
}
.ail-hero__phrase-rail {
  gap: 0.4rem;
  margin: 0 0 1.15rem;
}
.ail-hero__phrase-rail span {
  padding: 0.28rem 0.62rem;
  color: var(--ail-muted);
  background: transparent;
  border-color: rgba(148, 163, 184, 0.24);
  font-size: 0.96rem;
}
html[data-theme="dark"] .ail-hero__phrase-rail span {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.17);
}
.ail-hero__tags {
  gap: 0.48rem;
  margin-bottom: 1.2rem;
}
.ail-hero__tag {
  padding: 0.43rem 0.76rem;
  font-size: 1.02rem;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 4px 13px rgba(15, 23, 42, 0.035);
}
html[data-theme="dark"] .ail-hero__tag {
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}
.ail-hero__cta {
  gap: 0.72rem;
  margin-bottom: 1.15rem;
}
.ail-hero__cta .ail-btn {
  min-height: 4.65rem;
  padding-inline: 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
}
.ail-hero__cta .ail-btn--primary {
  padding-inline: 2.35rem;
  box-shadow:
    0 10px 24px rgba(13, 148, 136, 0.2),
    0 2px 5px rgba(13, 148, 136, 0.14);
}
html[data-theme="dark"] .ail-hero__cta .ail-btn--primary {
  box-shadow: 0 10px 26px rgba(103, 232, 249, 0.12);
}

@media (min-width: 1100px) {
  .ail-hero__title-main {
    white-space: nowrap;
  }
}

@media (max-width: 1099px) {
  .ail-hero__eyebrow-row {
    justify-content: center;
    margin-bottom: 1rem;
  }
  .ail-hero__eyebrow-row .ail-hero__future-note {
    margin: 0;
  }
  .ail-hero__desc {
    margin-inline: auto;
  }
  .ail-hero__phrase-rail {
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .ail-hero__eyebrow-row {
    gap: 0.38rem;
    margin-bottom: 0.8rem;
  }
  .ail-hero__eyebrow-row .ail-hero__future-note {
    width: auto;
    padding: 0.26rem 0.45rem;
    font-size: 0.88rem;
  }
  .ail-hero__eyebrow-row .ail-hero__future-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  .ail-hero__eyebrow-row .ail-hero__kicker {
    width: auto;
    padding: 0.28rem 0.5rem;
    font-size: 0.92rem;
  }
  .ail-hero__eyebrow-row .ail-hero__status {
    font-size: 0.86rem;
  }
  .ail-hero__title {
    margin-bottom: 0.85rem;
    font-size: clamp(3.05rem, 11vw, 3.85rem);
    line-height: 1.1;
    letter-spacing: -0.095rem;
  }
  .ail-hero__title-main {
    letter-spacing: -0.105rem;
  }
  .ail-hero__title-accent {
    margin-top: 0.12em;
    font-size: 1.08em;
    letter-spacing: -0.12rem;
  }
  .ail-hero__desc {
    margin-bottom: 0.72rem;
    font-size: 1.2rem;
    line-height: 1.95;
  }
  .ail-hero__phrase-rail {
    margin-bottom: 0.85rem;
  }
  .ail-hero__phrase-rail span {
    padding: 0.22rem 0.48rem;
    font-size: 0.84rem;
  }
  .ail-hero__tags {
    gap: 0.34rem;
    margin-bottom: 0.9rem;
  }
  .ail-hero__tag {
    padding: 0.38rem 0.58rem;
    font-size: 0.9rem;
  }
  .ail-hero__cta {
    gap: 0.55rem;
    margin-bottom: 0.9rem;
  }
  .ail-hero__cta .ail-btn {
    min-height: 4.35rem;
    padding-inline: 1.4rem;
    font-size: 1.2rem;
    border-radius: 10px;
  }
}

/* Why learn AI now: premium post-hero benefit section. */
.ail-why-now {
  position: relative;
  margin: clamp(2.8rem, 5vw, 5.5rem) 0 clamp(3rem, 5.5vw, 6rem);
  padding: clamp(2rem, 4vw, 4.2rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(99, 102, 241, 0.1), transparent 28%),
    radial-gradient(
      circle at 94% 88%,
      rgba(13, 148, 136, 0.1),
      transparent 30%
    ),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.07);
}
.ail-why-now::before {
  content: "";
  position: absolute;
  top: -4rem;
  left: 11%;
  width: 16rem;
  height: 8rem;
  opacity: 0.28;
  background-image: radial-gradient(
    circle,
    var(--ail-accent) 1px,
    transparent 1.5px
  );
  background-size: 14px 14px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}
html[data-theme="dark"] .ail-why-now {
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(129, 140, 248, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 94% 88%,
      rgba(45, 212, 191, 0.08),
      transparent 30%
    ),
    linear-gradient(145deg, rgba(20, 24, 32, 0.98), rgba(12, 15, 20, 0.96));
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}
.ail-why-now__header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: end;
  gap: 2.5rem;
  margin-bottom: 1.35rem;
}
.ail-why-now__heading-group {
  min-width: 0;
}
.ail-why-now__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.7rem;
  color: #0f766e;
  background: rgba(13, 148, 136, 0.075);
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 750;
}
.ail-why-now__eyebrow i {
  color: var(--ail-ai);
}
html[data-theme="dark"] .ail-why-now__eyebrow {
  color: #99f6e4;
  background: rgba(45, 212, 191, 0.07);
  border-color: rgba(45, 212, 191, 0.15);
}
.ail-why-now__title {
  max-width: 72rem;
  margin: 0;
  color: var(--ail-text);
  font-size: clamp(2.8rem, 3.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.09rem;
  text-wrap: balance;
}
.ail-why-now__lead {
  max-width: 46rem;
  margin: 0;
  color: var(--ail-muted);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 2.05;
}
.ail-why-now__signals {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}
.ail-why-now__signals span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.78rem;
  color: var(--ail-muted);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.035);
}
.ail-why-now__signals i {
  color: var(--ail-accent);
}
.ail-why-now__signals b {
  color: var(--ail-text);
  font-weight: 800;
}
html[data-theme="dark"] .ail-why-now__signals span {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(148, 163, 184, 0.13);
  box-shadow: none;
}
.ail-why-now__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1rem;
}
.ail-why-now__featured {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 36rem;
  padding: clamp(1.8rem, 3vw, 3rem);
  overflow: hidden;
  color: #f8fafc;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(129, 140, 248, 0.25),
      transparent 34%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(45, 212, 191, 0.18),
      transparent 36%
    ),
    linear-gradient(145deg, #151827, #0d111b 72%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 21px;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.ail-why-now__featured:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, 0.24);
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.23);
}
.ail-why-now__featured-glow {
  position: absolute;
  inset: auto -10% -35% 30%;
  height: 18rem;
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.32),
    rgba(45, 212, 191, 0.26)
  );
  filter: blur(58px);
  opacity: 0.5;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.4s ease;
}
.ail-why-now__featured:hover .ail-why-now__featured-glow {
  opacity: 0.7;
  transform: translateY(-8px);
}
.ail-why-now__featured-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
}
.ail-why-now__number {
  color: rgba(255, 255, 255, 0.42);
  font:
    700 1.05rem/1 "SFMono-Regular",
    Consolas,
    monospace;
  letter-spacing: 0.08em;
}
.ail-why-now__featured-icon {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  color: #0f172a;
  background: linear-gradient(135deg, #a5f3fc, #c4b5fd);
  border-radius: 14px;
  box-shadow:
    0 12px 28px rgba(103, 232, 249, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.65);
  font-size: 1.45rem;
}
.ail-why-now__featured-copy {
  position: relative;
  margin-top: 3.5rem;
}
.ail-why-now__card-kicker {
  display: block;
  margin-bottom: 0.65rem;
  color: #67e8f9;
  font-size: 1rem;
  font-weight: 750;
}
.ail-why-now__featured .ail-why-now__card-title {
  max-width: 48rem;
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: clamp(2.35rem, 2.6vw, 3.35rem);
  font-weight: 900;
  line-height: 1.3;
}
.ail-why-now__featured-copy p {
  max-width: 51rem;
  margin: 0;
  color: #aeb7c7;
  font-size: 1.18rem;
  line-height: 1.95;
}
.ail-why-now__flow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.7rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ail-why-now__flow span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.65rem;
  color: #dce4ef;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  font-size: 0.95rem;
}
.ail-why-now__flow > i {
  color: #68738a;
  font-size: 0.8rem;
}
.ail-why-now__flow span:last-child i {
  color: #5eead4;
}
.ail-why-now__supporting {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.ail-why-now__card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  min-height: 0;
  padding: 1.45rem 1.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 17px;
  box-shadow: 0 11px 28px rgba(15, 23, 42, 0.055);
  transition:
    transform 0.26s ease,
    border-color 0.26s ease,
    box-shadow 0.26s ease;
}
.ail-why-now__card::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 3px;
  opacity: 0.7;
  background: linear-gradient(180deg, var(--ail-ai), var(--ail-accent));
}
.ail-why-now__card:hover {
  transform: translateX(-4px);
  border-color: rgba(99, 102, 241, 0.27);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.085);
}
html[data-theme="dark"] .ail-why-now__card {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(148, 163, 184, 0.13);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
html[data-theme="dark"] .ail-why-now__card:hover {
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 17px 36px rgba(0, 0, 0, 0.28);
}
.ail-why-now__card-icon {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.09);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 13px;
  font-size: 1.35rem;
}
.ail-why-now__card--career .ail-why-now__card-icon {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.09);
  border-color: rgba(13, 148, 136, 0.13);
}
.ail-why-now__card--future .ail-why-now__card-icon {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.085);
  border-color: rgba(14, 165, 233, 0.13);
}
html[data-theme="dark"] .ail-why-now__card-icon {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.09);
  border-color: rgba(167, 139, 250, 0.14);
}
html[data-theme="dark"] .ail-why-now__card--career .ail-why-now__card-icon {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.13);
}
html[data-theme="dark"] .ail-why-now__card--future .ail-why-now__card-icon {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.13);
}
.ail-why-now__card .ail-why-now__card-title {
  margin: 0 0 0.25rem;
  color: var(--ail-text);
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1.45;
}
.ail-why-now__card p {
  margin: 0;
  color: var(--ail-muted);
  font-size: 1.03rem;
  line-height: 1.8;
}
.ail-why-now__card-arrow {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  color: var(--ail-muted);
  background: var(--ail-bg);
  border: 1px solid var(--ail-border);
  border-radius: 50%;
  font-size: 0.85rem;
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}
.ail-why-now__card:hover .ail-why-now__card-arrow {
  color: var(--ail-accent);
  border-color: var(--ail-accent);
  transform: translateX(-2px);
}

@media (max-width: 899px) {
  .ail-why-now__header {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    align-items: start;
  }
  .ail-why-now__lead {
    max-width: 65rem;
  }
  .ail-why-now__grid {
    grid-template-columns: 1fr;
  }
  .ail-why-now__featured {
    min-height: 31rem;
  }
  .ail-why-now__supporting {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .ail-why-now__card {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0.8rem;
  }
  .ail-why-now__card-arrow {
    display: none;
  }
}

@media (max-width: 640px) {
  .ail-why-now {
    margin-block: 2.5rem 3rem;
    padding: 1.35rem;
    border-radius: 20px;
  }
  .ail-why-now__header {
    margin-bottom: 1rem;
  }
  .ail-why-now__eyebrow {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }
  .ail-why-now__title {
    font-size: clamp(2.45rem, 8.7vw, 3.25rem);
    line-height: 1.3;
    letter-spacing: -0.055rem;
  }
  .ail-why-now__lead {
    font-size: 1.12rem;
    line-height: 1.95;
  }
  .ail-why-now__signals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    margin-bottom: 1rem;
  }
  .ail-why-now__signals span {
    min-height: 3.4rem;
    padding: 0.42rem 0.65rem;
    font-size: 0.92rem;
  }
  .ail-why-now__featured {
    min-height: 28rem;
    padding: 1.45rem;
    border-radius: 16px;
  }
  .ail-why-now__featured-icon {
    width: 3.7rem;
    height: 3.7rem;
    border-radius: 12px;
  }
  .ail-why-now__featured-copy {
    margin-top: 2.4rem;
  }
  .ail-why-now__featured .ail-why-now__card-title {
    font-size: 2.2rem;
  }
  .ail-why-now__featured-copy p {
    font-size: 1.05rem;
    line-height: 1.85;
  }
  .ail-why-now__flow {
    gap: 0.35rem;
    margin-top: 1.25rem;
    overflow: hidden;
  }
  .ail-why-now__flow span {
    padding: 0.35rem 0.45rem;
    font-size: 0.83rem;
    white-space: nowrap;
  }
  .ail-why-now__flow > i {
    font-size: 0.66rem;
  }
  .ail-why-now__supporting {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .ail-why-now__card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem;
    border-radius: 14px;
  }
  .ail-why-now__card-icon {
    width: 3.7rem;
    height: 3.7rem;
    border-radius: 11px;
  }
  .ail-why-now__card .ail-why-now__card-title {
    font-size: 1.38rem;
  }
  .ail-why-now__card p {
    font-size: 0.96rem;
    line-height: 1.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ail-why-now__featured,
  .ail-why-now__featured-glow,
  .ail-why-now__card,
  .ail-why-now__card-arrow {
    transition: none;
  }
}

html[data-theme="dark"] .ail-hero__installment-note {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.075);
  border-color: rgba(196, 181, 253, 0.13);
}

/* Technologies and skills: guiding intro and supporting outro. */
.ail-skills-intro {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  padding: clamp(0.9rem, 2vw, 1.6rem) 1rem 0.45rem;
  text-align: center;
}
.ail-skills-intro__title {
  max-width: 76rem;
  margin: 0;
  color: var(--ail-text);
  font-size: clamp(2.35rem, 3vw, 3.7rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.065rem;
  text-wrap: balance;
}
.ail-skills-intro__title::after {
  content: "";
  display: block;
  width: min(11rem, 30vw);
  height: 2px;
  margin: 0.7rem auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--ail-ai),
    var(--ail-accent),
    transparent
  );
  border-radius: 999px;
  opacity: 0.55;
}
.ail-skills-intro__arrow {
  position: relative;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--ail-accent);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(13, 148, 136, 0.09);
  font-size: 0.9rem;
  animation: ail-skills-guide 2.4s ease-in-out infinite;
}
.ail-skills-intro__arrow::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 50%;
  animation: ail-skills-guide-ring 2.4s ease-out infinite;
}
html[data-theme="dark"] .ail-skills-intro__arrow {
  color: #67e8f9;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(103, 232, 249, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.ail-skills-outro {
  position: relative;
  max-width: 82rem;
  margin: 0.55rem auto 0;
  padding: 1.2rem 1.5rem;
  color: var(--ail-muted);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.19);
  border-radius: 14px;
  text-align: center;
  font-size: 1.18rem;
  font-weight: 550;
  line-height: 1.95;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.035);
}
.ail-skills-outro i {
  margin-left: 0.45rem;
  color: var(--ail-ai);
  filter: drop-shadow(0 3px 6px rgba(124, 58, 237, 0.17));
}
html[data-theme="dark"] .ail-skills-outro {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: none;
}

.ail-hero__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.ail-hero__actions .ail-hero__presale {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0.75rem 1.5rem;
  gap: 0.55rem;
  border-radius: 5px;
  box-shadow:
    0 10px 24px rgba(8, 145, 178, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.65);
}

.ail-hero__actions .ail-presale__intro {
  min-width: 0;
  gap: 0.5rem;
}

.ail-hero__actions .ail-presale__intro > div {
  min-width: 0;
}

.ail-hero__actions .ail-presale__intro strong {
  font-size: 0.95rem;
  white-space: nowrap;
}

.ail-hero__actions .ail-presale__intro span {
  display: none;
}

.ail-hero__actions .ail-presale__icon {
  width: 2.35rem;
  height: 2.35rem;
  flex-basis: 2.35rem;
}

.ail-hero__actions .ail-presale__clock {
  gap: 0.2rem;
}

.ail-hero__actions .ail-presale__unit {
  min-width: 2.65rem;
  gap: 0.15rem;
}

.ail-hero__actions .ail-presale__unit b {
  padding: 0.6rem 1.5rem;
  font-size: 1.2rem;
}

.ail-hero__actions .ail-presale__unit small {
  font-size: 0.72rem;
}

.ail-hero__actions .ail-presale__clock > i {
  margin-top: 0.35rem;
  font-size: 1rem;
}

.ail-hero__actions .ail-hero__cta {
  align-items: stretch;
  margin: 0;
}

.ail-hero__actions .ail-hero__cta .ail-btn {
  white-space: nowrap;
}

html[data-theme="dark"] .ail-hero__presale {
  border-color: rgba(103, 232, 249, 0.3);
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.16),
    rgba(30, 41, 59, 0.38)
  );
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.24),
    0 0 22px rgba(103, 232, 249, 0.08);
}

@media (max-width: 1099px) {
  .ail-hero__actions {
    grid-template-columns: 1fr;
  }

  .ail-hero__actions .ail-hero__presale {
    width: 100%;
  }

  .ail-hero__actions .ail-hero__cta .ail-btn {
    width: 100%;
    justify-content: center;
  }

  .ail-hero__pricing {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ail-hero__pricing-main,
  .ail-hero__pricing-copy {
    min-width: 0;
  }

  .ail-hero__pricing-benefit {
    grid-column: auto;
  }

  .ail-hero__purchase,
  .ail-hero__owned {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ail-hero__actions {
    grid-template-columns: 1fr;
  }

  .ail-hero__actions .ail-hero__presale {
    justify-content: center;
  }

  .ail-hero__actions .ail-hero__cta .ail-btn {
    width: 100%;
    justify-content: center;
  }
}

/* AI tools: a compact, RTL-friendly toolkit between skills and the outro. */
.ail-ai-tools {
  margin: clamp(1.4rem, 3vw, 2.25rem) auto 0;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.88),
    rgba(238, 242, 255, 0.56)
  );
}
.ail-ai-tools__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.ail-ai-tools__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #4f46e5;
  font-size: 0.88rem;
  font-weight: 850;
}
.ail-ai-tools__eyebrow i {
  color: #0d9488;
}
.ail-ai-tools__header h3 {
  margin: 0;
  color: var(--ail-text);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 900;
  line-height: 1.5;
}
.ail-ai-tools__grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.65rem;
}
.ail-ai-tool {
  --ail-tool-color: #6366f1;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.85rem 0.45rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--ail-tool-color) 19%, #cbd5e1);
  border-radius: 0.9rem;
  color: var(--ail-text);
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  box-shadow: 0 0.35rem 0.8rem rgba(15, 23, 42, 0.035);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.ail-ai-tool:hover {
  border-color: color-mix(in srgb, var(--ail-tool-color) 48%, #cbd5e1);
  box-shadow: 0 0.75rem 1.3rem
    color-mix(in srgb, var(--ail-tool-color) 16%, transparent);
  transform: translateY(-0.22rem);
}
.ail-ai-tool--codex {
  --ail-tool-color: #111827;
}
.ail-ai-tool--claude {
  --ail-tool-color: #c2410c;
}
.ail-ai-tool--gemini {
  --ail-tool-color: #2563eb;
}
.ail-ai-tool--jules {
  --ail-tool-color: #7c3aed;
}
.ail-ai-tool--kimi {
  --ail-tool-color: #0891b2;
}
.ail-ai-tool--ollama {
  --ail-tool-color: #059669;
}
.ail-ai-tool--cursor {
  --ail-tool-color: #475569;
}
.ail-ai-tool--copilot {
  --ail-tool-color: #6d28d9;
}
.ail-ai-tool--more {
  --ail-tool-color: #64748b;
}
.ail-ai-tool__logo {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 0.82rem;
  color: var(--ail-tool-color);
  background: color-mix(in srgb, var(--ail-tool-color) 10%, white);
  box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--ail-tool-color) 16%, transparent);
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1;
}
.ail-ai-tool--claude .ail-ai-tool__logo {
  font-size: 1.55rem;
}
.ail-ai-tool--gemini .ail-ai-tool__logo {
  font-size: 1.75rem;
}
.ail-ai-tool__logo i {
  font-size: 1.15rem;
}
.ail-ai-tool__logo img {
  display: block;
  width: 1.72rem;
  height: 1.72rem;
  object-fit: contain;
}
.ail-ai-tool strong {
  overflow: hidden;
  max-width: 100%;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ail-ai-tool small {
  color: var(--ail-muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.025em;
}
html[data-theme="dark"] .ail-ai-tools {
  border-color: rgba(165, 180, 252, 0.17);
  background: linear-gradient(
    135deg,
    rgba(20, 31, 55, 0.82),
    rgba(30, 27, 75, 0.42)
  );
}
html[data-theme="dark"] .ail-ai-tools__eyebrow {
  color: #a5b4fc;
}
html[data-theme="dark"] .ail-ai-tools__header h3 {
  color: var(--ail-text);
}
html[data-theme="dark"] .ail-ai-tool {
  border-color: color-mix(in srgb, var(--ail-tool-color) 30%, #263a55);
  color: #eef7ff;
  background: rgba(10, 24, 45, 0.65);
  box-shadow: none;
}
html[data-theme="dark"] .ail-ai-tool__logo {
  background: color-mix(in srgb, var(--ail-tool-color) 16%, #0f1e35);
}
.ail-ai-tool small {
  color: var(--ail-muted);
}
@media (max-width: 1100px) {
  .ail-ai-tools__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .ail-ai-tools__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .ail-ai-tools {
    padding: 0.9rem;
  }
  .ail-ai-tools__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.8rem;
  }
  .ail-ai-tools__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .ail-ai-tool {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    column-gap: 0.6rem;
    padding: 0.7rem;
    text-align: right;
  }
  .ail-ai-tool__logo {
    grid-row: span 2;
    width: 2.55rem;
    height: 2.55rem;
  }
  .ail-ai-tool strong {
    font-size: 0.9rem;
  }
  .ail-ai-tool small {
    font-size: 0.69rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ail-ai-tool {
    transition: none;
  }
}

/* Premium AI tool showcase: neon glass surface, with a distinct light-mode system. */
.ail-ai-tools {
  position: relative;
  isolation: isolate;
  margin-top: clamp(1.35rem, 2.4vw, 2rem);
  padding: clamp(1.15rem, 2.7vw, 2.2rem);
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: clamp(1.35rem, 2.8vw, 1.9rem);
  background:
    radial-gradient(
      circle at 4% 0%,
      rgba(139, 92, 246, 0.12),
      transparent 29rem
    ),
    radial-gradient(
      circle at 96% 100%,
      rgba(14, 165, 233, 0.1),
      transparent 26rem
    ),
    linear-gradient(145deg, #f8fbff, #eef3fb);
  box-shadow:
    0 1.2rem 3rem rgba(30, 41, 59, 0.09),
    inset 0 1px rgba(255, 255, 255, 0.85);
}
.ail-ai-tools::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.42;
  background-image: radial-gradient(
    rgba(99, 102, 241, 0.26) 0.65px,
    transparent 0.75px
  );
  background-size: 1.1rem 1.1rem;
  mask-image: linear-gradient(135deg, #000, transparent 80%);
}
.ail-ai-tools__header {
  display: flex;
  justify-items: center;
  gap: 0.35rem;
  margin-bottom: clamp(1rem, 2vw, 1.45rem);
  text-align: center;
}
.ail-ai-tools__eyebrow {
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 999px;
  color: #4f46e5;
  background: rgba(238, 242, 255, 0.86);
  font-size: 0.84rem;
  box-shadow: 0 0.35rem 0.8rem rgba(79, 70, 229, 0.07);
}
.ail-ai-tools__header h3 {
  color: #172554;
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  letter-spacing: -0.045rem;
}
.ail-ai-tools__grid {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.65rem;
}
.ail-ai-tool {
  --ail-tool-color: #6366f1;
  position: relative;
  min-height: 8.8rem;
  padding: 0.9rem 0.4rem 0.75rem;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--ail-tool-color) 26%, #dbe5f1);
  border-radius: 1rem;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.96),
    color-mix(in srgb, var(--ail-tool-color) 4%, #f8fafc)
  );
  box-shadow:
    0 0.5rem 1.1rem rgba(15, 23, 42, 0.055),
    inset 0 1px rgba(255, 255, 255, 0.95);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}
.ail-ai-tool::after {
  content: "";
  position: absolute;
  inset: auto 14% 0;
  height: 2px;
  border-radius: 99px;
  background: var(--ail-tool-color);
  opacity: 0.5;
  transition:
    inset 0.24s ease,
    opacity 0.24s ease,
    box-shadow 0.24s ease;
}
.ail-ai-tool:hover,
.ail-ai-tool:focus-within {
  border-color: color-mix(in srgb, var(--ail-tool-color) 62%, #dbe5f1);
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--ail-tool-color) 8%, white),
    #fff
  );
  box-shadow:
    0 0.9rem 1.7rem color-mix(in srgb, var(--ail-tool-color) 17%, transparent),
    0 0.7rem 1.2rem rgba(15, 23, 42, 0.08);
  transform: translateY(-0.32rem);
}
.ail-ai-tool:hover::after,
.ail-ai-tool:focus-within::after {
  inset-inline: 7%;
  opacity: 1;
  box-shadow: 0 0 0.8rem var(--ail-tool-color);
}
.ail-ai-tool--featured {
  border-color: color-mix(in srgb, var(--ail-tool-color) 53%, #dbe5f1);
  box-shadow:
    0 0.65rem 1.35rem color-mix(in srgb, var(--ail-tool-color) 14%, transparent),
    inset 0 1px rgba(255, 255, 255, 0.95);
}
.ail-ai-tool--featured:hover {
  box-shadow:
    0 1rem 2rem color-mix(in srgb, var(--ail-tool-color) 25%, transparent),
    0 0.75rem 1.3rem rgba(15, 23, 42, 0.08);
}
.ail-ai-tool__featured-badge {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  padding: 0.18rem 0.38rem;
  border: 1px solid color-mix(in srgb, var(--ail-tool-color) 30%, transparent);
  border-radius: 0.42rem;
  color: var(--ail-tool-color);
  background: color-mix(in srgb, var(--ail-tool-color) 10%, white);
  font-size: 0.57rem;
  font-weight: 950;
  line-height: 1;
}
.ail-ai-tool__logo {
  width: 3.05rem;
  height: 3.05rem;
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--ail-tool-color) 10%, white);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--ail-tool-color) 18%, transparent),
    0 0.3rem 0.75rem color-mix(in srgb, var(--ail-tool-color) 9%, transparent);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}
.ail-ai-tool:hover .ail-ai-tool__logo {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--ail-tool-color) 35%, transparent),
    0 0.45rem 1rem color-mix(in srgb, var(--ail-tool-color) 19%, transparent);
  transform: scale(1.06);
}
.ail-ai-tool__logo img {
  width: 1.92rem;
  height: 1.92rem;
}
.ail-ai-tool strong {
  font-size: 0.87rem;
}
.ail-ai-tool small {
  font-size: 0.67rem;
  color: #64748b;
}
.ail-ai-tools__message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: clamp(1rem, 2vw, 1.35rem) 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 1rem;
  color: #40506a;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.8;
}
.ail-ai-tools__message-icon {
  display: grid;
  flex: 0 0 2.15rem;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 0.72rem;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
  box-shadow: 0 0.4rem 0.9rem rgba(79, 70, 229, 0.22);
}
.ail-ai-tools__message em {
  color: #4f46e5;
  font-style: normal;
  font-weight: 900;
}
html[data-theme="dark"] .ail-ai-tools {
  border-color: rgba(96, 165, 250, 0.3);
  background:
    radial-gradient(
      circle at 4% 0%,
      rgba(139, 92, 246, 0.19),
      transparent 29rem
    ),
    radial-gradient(
      circle at 96% 100%,
      rgba(14, 165, 233, 0.14),
      transparent 26rem
    ),
    linear-gradient(145deg, #07152b, #0b1c38);
  box-shadow:
    0 1.5rem 3.5rem rgba(0, 0, 0, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.035);
}
html[data-theme="dark"] .ail-ai-tools::before {
  opacity: 0.3;
  background-image: radial-gradient(
    rgba(125, 211, 252, 0.28) 0.65px,
    transparent 0.75px
  );
}
html[data-theme="dark"] .ail-ai-tools__eyebrow {
  border-color: rgba(129, 140, 248, 0.36);
  color: #c7d2fe;
  background: rgba(79, 70, 229, 0.15);
  box-shadow: 0 0.35rem 0.9rem rgba(79, 70, 229, 0.12);
}
html[data-theme="dark"] .ail-ai-tools__header h3 {
  color: #eef7ff;
}
html[data-theme="dark"] .ail-ai-tool {
  border-color: color-mix(in srgb, var(--ail-tool-color) 33%, #28415f);
  background: linear-gradient(
    150deg,
    rgba(15, 33, 61, 0.9),
    color-mix(in srgb, var(--ail-tool-color) 8%, #0d1d38)
  );
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}
html[data-theme="dark"] .ail-ai-tool:hover,
html[data-theme="dark"] .ail-ai-tool:focus-within {
  border-color: color-mix(in srgb, var(--ail-tool-color) 72%, #60a5fa);
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--ail-tool-color) 17%, #0d1d38),
    rgba(15, 33, 61, 0.96)
  );
  box-shadow:
    0 0.95rem 2rem rgba(0, 0, 0, 0.3),
    0 0 1.4rem color-mix(in srgb, var(--ail-tool-color) 22%, transparent);
}
html[data-theme="dark"] .ail-ai-tool--featured {
  border-color: color-mix(in srgb, var(--ail-tool-color) 68%, #60a5fa);
  box-shadow:
    0 0.6rem 1.55rem color-mix(in srgb, var(--ail-tool-color) 17%, transparent),
    inset 0 1px rgba(255, 255, 255, 0.04);
}
html[data-theme="dark"] .ail-ai-tool__logo {
  background: color-mix(in srgb, var(--ail-tool-color) 15%, #0b1930);
  box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--ail-tool-color) 34%, transparent);
}
html[data-theme="dark"] .ail-ai-tool strong {
  color: #eaf5ff;
}
html[data-theme="dark"] .ail-ai-tool small {
  color: #a9c0d8;
}
html[data-theme="dark"] .ail-ai-tools__message {
  border-color: rgba(96, 165, 250, 0.24);
  color: #c7d9eb;
  background: rgba(7, 22, 45, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}
html[data-theme="dark"] .ail-ai-tools__message em {
  color: #a5b4fc;
}
@media (max-width: 1100px) {
  .ail-ai-tools__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .ail-ai-tools__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .ail-ai-tools {
    padding: 1rem 0.8rem;
  }
  .ail-ai-tools__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .ail-ai-tool {
    min-height: 7.65rem;
  }
  .ail-ai-tool__logo {
    width: 2.75rem;
    height: 2.75rem;
  }
  .ail-ai-tools__message {
    align-items: flex-start;
    padding: 0.75rem;
    font-size: 0.92rem;
    text-align: right;
  }
  .ail-ai-tools__message-icon {
    width: 1.95rem;
    height: 1.95rem;
    flex-basis: 1.95rem;
  }
}

@keyframes ail-skills-guide {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
@keyframes ail-skills-guide-ring {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }
  35% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@media (max-width: 640px) {
  .ail-skills-intro {
    gap: 0.6rem;
    padding: 0.75rem 0.25rem 0.3rem;
  }
  .ail-skills-intro__title {
    font-size: clamp(2.05rem, 7.6vw, 2.75rem);
    line-height: 1.4;
    letter-spacing: -0.04rem;
  }
  .ail-skills-intro__title::after {
    margin-top: 0.55rem;
  }
  .ail-skills-intro__arrow {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 0.8rem;
  }
  .ail-skills-outro {
    margin-top: 0.4rem;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.05rem;
    line-height: 1.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ail-skills-intro__arrow,
  .ail-skills-intro__arrow::after {
    animation: none;
  }
}

/* Premium course introduction video. */
.ail-intro-video {
  margin: clamp(3.5rem, 6vw, 6.5rem) 0 1.25rem;
}
.ail-intro-video__card {
  position: relative;
  padding: clamp(1rem, 2vw, 1.65rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 90%, rgba(99, 102, 241, 0.1), transparent 28%),
    radial-gradient(
      circle at 92% 8%,
      rgba(13, 148, 136, 0.08),
      transparent 28%
    ),
    #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 26px;
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.08);
}
html[data-theme="dark"] .ail-intro-video__card {
  background:
    radial-gradient(
      circle at 8% 90%,
      rgba(129, 140, 248, 0.11),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 8%,
      rgba(45, 212, 191, 0.07),
      transparent 28%
    ),
    #10141b;
  border-color: rgba(148, 163, 184, 0.13);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}
.ail-intro-video__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
  align-items: stretch;
}
.ail-intro-video__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.5rem, 2.6vw, 2.6rem);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 19px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}
html[data-theme="dark"] .ail-intro-video__copy {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: none;
}
.ail-intro-video__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--ail-text);
  font-size: clamp(2.45rem, 2.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.06rem;
}
.ail-intro-video__title-icon {
  display: grid;
  place-items: center;
  flex: 0 0 3.4rem;
  height: 3.4rem;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  border: 0;
  border-radius: 12px;
  box-shadow:
    0 9px 22px rgba(99, 102, 241, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
}
html[data-theme="dark"] .ail-intro-video__title-icon {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #0891b2);
  border: 0;
}
.ail-intro-video__lead {
  margin: 0 0 1.25rem;
  color: var(--ail-muted);
  font-size: 1.24rem;
  line-height: 2;
}
.ail-intro-video__points {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
}
.ail-intro-video__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ail-text);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.8;
}
.ail-intro-video__point-icon {
  display: grid;
  place-items: center;
  flex: 0 0 2rem;
  height: 2rem;
  margin-top: 0.12rem;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(13, 148, 136, 0.17);
  font-size: 0.72rem;
}
html[data-theme="dark"] .ail-intro-video__point-icon {
  background: linear-gradient(135deg, #2dd4bf, #0e7490);
}
.ail-intro-video__note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: auto 0 0;
  padding: 0.9rem 1rem;
  color: #334155;
  background: linear-gradient(
    115deg,
    rgba(6, 182, 212, 0.09),
    rgba(99, 102, 241, 0.055)
  );
  border: 1px solid rgba(6, 182, 212, 0.17);
  border-radius: 11px;
  font-size: 1.08rem;
  font-weight: 550;
  line-height: 1.85;
}
.ail-intro-video__note i {
  margin-top: 0.25rem;
  color: #0891b2;
}
html[data-theme="dark"] .ail-intro-video__note {
  color: #b8c2d1;
  background: linear-gradient(
    115deg,
    rgba(34, 211, 238, 0.075),
    rgba(129, 140, 248, 0.055)
  );
  border-color: rgba(103, 232, 249, 0.14);
}
.ail-intro-video__media {
  position: relative;
  display: flex;
  min-width: 0;
}
.ail-intro-video__frame {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #07090d;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  box-shadow:
    0 24px 55px rgba(30, 41, 59, 0.2),
    0 0 36px rgba(99, 102, 241, 0.09);
}
.ail-intro-video__frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 22, 0.04),
    rgba(8, 12, 22, 0.2)
  );
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.ail-intro-video__frame.is-loaded::after {
  opacity: 0;
}
html[data-theme="dark"] .ail-intro-video__frame {
  border-color: rgba(129, 140, 248, 0.22);
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.44),
    0 0 34px rgba(103, 232, 249, 0.055);
}
.ail-intro-video__frame video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 31rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #07090d;
}
.ail-intro-video__badge {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.78rem;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}
.ail-intro-video__frame.is-loaded .ail-intro-video__badge {
  visibility: hidden;
  opacity: 0;
}
.ail-intro-video__frame .course-preview-video__trigger {
  z-index: 4;
  width: 7.4rem;
  height: 7.4rem;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb 58%, #0891b2);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.42),
    0 0 0 0.8rem rgba(99, 102, 241, 0.15);
}
.ail-intro-video__frame .course-preview-video__trigger:hover,
.ail-intro-video__frame .course-preview-video__trigger:focus-visible {
  transform: translate(-50%, -50%) scale(1.07);
  box-shadow:
    0 20px 44px rgba(15, 23, 42, 0.5),
    0 0 0 1rem rgba(99, 102, 241, 0.18);
}
.ail-intro-video__frame .course-preview-video__loading {
  z-index: 5;
}
.ail-intro-video__placeholder {
  width: 100%;
  min-height: 31rem;
  border-radius: 20px;
}

/* Premium about-course card. */
.ail-about {
  margin: 0 0 clamp(3.5rem, 6vw, 6rem);
}
.ail-about__card {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 3.8rem);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 4% 5%,
      rgba(99, 102, 241, 0.075),
      transparent 24%
    ),
    radial-gradient(
      circle at 97% 96%,
      rgba(13, 148, 136, 0.07),
      transparent 26%
    ),
    #fff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 26px;
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.075);
}
html[data-theme="dark"] .ail-about__card {
  background:
    radial-gradient(
      circle at 4% 5%,
      rgba(129, 140, 248, 0.09),
      transparent 24%
    ),
    radial-gradient(
      circle at 97% 96%,
      rgba(45, 212, 191, 0.055),
      transparent 26%
    ),
    #10141b;
  border-color: rgba(148, 163, 184, 0.13);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.3);
}
.ail-about__header {
  margin-bottom: 1.2rem;
}
.ail-about__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--ail-text);
  font-size: clamp(2.5rem, 3.1vw, 3.8rem);
  font-weight: 900;
  line-height: 1.3;
}
.ail-about__title-icon {
  display: grid;
  place-items: center;
  flex: 0 0 3.5rem;
  height: 3.5rem;
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #6366f1);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 9px 22px rgba(37, 99, 235, 0.18);
  font-size: 1.2rem;
}
html[data-theme="dark"] .ail-about__title-icon {
  color: #fff;
  background: linear-gradient(135deg, #0e7490, #7c3aed);
  border: 0;
}
.ail-about__quote {
  position: relative;
  margin: 0 0 1.5rem;
  padding: clamp(1.4rem, 2.5vw, 2.2rem) clamp(1.5rem, 3vw, 2.8rem);
  overflow: hidden;
  background: linear-gradient(
    120deg,
    rgba(6, 182, 212, 0.09),
    rgba(99, 102, 241, 0.065)
  );
  border: 1px solid rgba(6, 182, 212, 0.16);
  border-right: 4px solid #06b6d4;
  border-radius: 16px;
}
html[data-theme="dark"] .ail-about__quote {
  background: linear-gradient(
    120deg,
    rgba(34, 211, 238, 0.075),
    rgba(129, 140, 248, 0.06)
  );
  border-color: rgba(103, 232, 249, 0.13);
  border-right-color: #22d3ee;
}
.ail-about__quote-mark {
  position: absolute;
  top: -1.2rem;
  left: 1.4rem;
  color: rgba(6, 182, 212, 0.15);
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 1;
  pointer-events: none;
}
.ail-about__quote p {
  position: relative;
  max-width: 98rem;
  margin: 0 0 0.45rem;
  color: var(--ail-text);
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  font-weight: 750;
  line-height: 1.85;
}
.ail-about__quote footer {
  position: relative;
  color: var(--ail-muted);
  font-size: 1.18rem;
  font-weight: 550;
  line-height: 1.85;
}
.ail-about__summary {
  margin-bottom: 1.45rem;
}
.ail-about__summary > p {
  max-width: 104rem;
  margin: 0 0 1rem;
  color: var(--ail-muted);
  font-size: 1.28rem;
  line-height: 2.05;
}
.ail-about__emphasis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.ail-about__emphasis span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  color: var(--ail-text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
}
.ail-about__emphasis i {
  color: var(--ail-accent);
}
html[data-theme="dark"] .ail-about__emphasis span {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(148, 163, 184, 0.13);
}
.ail-about__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.ail-about__benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 7rem;
  padding: 1rem;
  background: rgba(248, 250, 252, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.ail-about__benefit:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 13px 28px rgba(15, 23, 42, 0.07);
}
html[data-theme="dark"] .ail-about__benefit {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: none;
}
.ail-about__benefit-icon {
  display: grid;
  place-items: center;
  flex: 0 0 3.3rem;
  height: 3.3rem;
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.085);
  border-radius: 11px;
  font-size: 1.1rem;
}
.ail-about__benefit:nth-child(2) .ail-about__benefit-icon {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.085);
}
.ail-about__benefit:nth-child(3) .ail-about__benefit-icon {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.085);
}
.ail-about__benefit:nth-child(4) .ail-about__benefit-icon {
  color: #4f46e5;
  background: rgba(99, 102, 241, 0.085);
}
html[data-theme="dark"] .ail-about__benefit-icon {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.08);
}
html[data-theme="dark"]
  .ail-about__benefit:nth-child(2)
  .ail-about__benefit-icon {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.07);
}
html[data-theme="dark"]
  .ail-about__benefit:nth-child(3)
  .ail-about__benefit-icon {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.07);
}
.ail-about__benefit h3 {
  margin: 0;
  color: var(--ail-text);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.55;
}
.ail-about__journey {
  padding: clamp(1.35rem, 2.5vw, 2.25rem);
  background: rgba(248, 250, 252, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
}
html[data-theme="dark"] .ail-about__journey {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(148, 163, 184, 0.12);
}
.ail-about__journey-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}
.ail-about__journey-icon {
  display: grid;
  place-items: center;
  flex: 0 0 3.5rem;
  height: 3.5rem;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
  border-radius: 12px;
  box-shadow: 0 9px 21px rgba(99, 102, 241, 0.17);
  font-size: 1.15rem;
}
.ail-about__journey-head h3 {
  margin: 0 0 0.2rem;
  color: var(--ail-text);
  font-size: 1.8rem;
  font-weight: 850;
}
.ail-about__journey-head p {
  margin: 0;
  color: var(--ail-muted);
  font-size: 1rem;
}
.ail-about__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ail-about__steps::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 2.45rem;
  right: 8%;
  left: 8%;
  border-top: 2px dashed rgba(99, 102, 241, 0.2);
}
html[data-theme="dark"] .ail-about__steps::before {
  border-color: rgba(103, 232, 249, 0.16);
}
.ail-about__ai-access {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
  margin-top: 1rem;
  padding: clamp(1.35rem, 2.4vw, 2.1rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 3% 10%, rgba(124, 58, 237, 0.12), transparent 28%),
    linear-gradient(125deg, rgba(6, 182, 212, 0.085), rgba(99, 102, 241, 0.07));
  border: 1px solid rgba(6, 182, 212, 0.22);
  border-right: 4px solid #06b6d4;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.065);
}
.ail-about__ai-access::after {
  position: absolute;
  z-index: -1;
  bottom: -4.5rem;
  left: -3rem;
  width: 11rem;
  height: 11rem;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.13), transparent 68%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.ail-about__ai-access-icon {
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  color: #fff;
  background: linear-gradient(135deg, #06b6d4, #6366f1 58%, #7c3aed);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  box-shadow:
    0 12px 26px rgba(79, 70, 229, 0.22),
    0 0 0 0.45rem rgba(6, 182, 212, 0.07);
  font-size: 1.65rem;
}
.ail-about__ai-access-copy {
  min-width: 0;
}
.ail-about__ai-access-copy h3 {
  margin: 0 0 0.65rem;
  color: var(--ail-text);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 850;
  line-height: 1.75;
}
.ail-about__ai-access-copy p {
  max-width: 100rem;
  margin: 0 0 1rem;
  color: var(--ail-muted);
  font-size: 1.12rem;
  line-height: 2;
}
.ail-about__ai-access-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.9rem;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}
.ail-about__ai-access-badge i {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #06b6d4);
  border-radius: 50%;
  font-size: 0.68rem;
}
html[data-theme="dark"] .ail-about__ai-access {
  background:
    radial-gradient(circle at 3% 10%, rgba(139, 92, 246, 0.13), transparent 30%),
    linear-gradient(125deg, rgba(34, 211, 238, 0.07), rgba(129, 140, 248, 0.055));
  border-color: rgba(103, 232, 249, 0.16);
  border-right-color: #22d3ee;
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.18);
}
html[data-theme="dark"] .ail-about__ai-access-icon {
  background: linear-gradient(135deg, #0891b2, #6366f1 58%, #7c3aed);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 13px 28px rgba(0, 0, 0, 0.3),
    0 0 0 0.45rem rgba(34, 211, 238, 0.055);
}
html[data-theme="dark"] .ail-about__ai-access-badge {
  color: #a7f3d0;
  background: rgba(45, 212, 191, 0.075);
  border-color: rgba(94, 234, 212, 0.16);
}
.ail-about__step {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0 0.45rem 0.7rem;
  text-align: center;
}
.ail-about__step-icon {
  display: grid;
  place-items: center;
  width: 4.9rem;
  height: 4.9rem;
  margin: 0 auto 0.65rem;
  color: #6d28d9;
  background: #fff;
  border: 2px solid rgba(124, 58, 237, 0.18);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  font-size: 1.3rem;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.ail-about__step:hover .ail-about__step-icon {
  transform: translateY(-3px);
  border-color: rgba(13, 148, 136, 0.34);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.1);
}
.ail-about__step:nth-child(2) .ail-about__step-icon {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.18);
}
.ail-about__step:nth-child(3) .ail-about__step-icon {
  color: #0891b2;
  border-color: rgba(8, 145, 178, 0.18);
}
.ail-about__step:nth-child(4) .ail-about__step-icon {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.18);
}
.ail-about__step:nth-child(5) .ail-about__step-icon {
  color: #4f46e5;
  border-color: rgba(79, 70, 229, 0.18);
}
html[data-theme="dark"] .ail-about__step-icon {
  color: #c4b5fd;
  background: #161b24;
  border-color: rgba(167, 139, 250, 0.2);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.22);
}
html[data-theme="dark"] .ail-about__step:nth-child(2) .ail-about__step-icon {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.18);
}
html[data-theme="dark"] .ail-about__step:nth-child(3) .ail-about__step-icon {
  color: #67e8f9;
  border-color: rgba(103, 232, 249, 0.18);
}
html[data-theme="dark"] .ail-about__step:nth-child(4) .ail-about__step-icon {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.18);
}
.ail-about__step-number {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ail-ai);
  font:
    700 0.82rem/1 "SFMono-Regular",
    Consolas,
    monospace;
}
.ail-about__step h4 {
  margin: 0 0 0.3rem;
  color: var(--ail-text);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.5;
}
.ail-about__step p {
  margin: 0;
  color: var(--ail-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.ail-about__full-description {
  max-height: none !important;
  margin: 1rem 0 0;
  overflow: visible !important;
}
.ail-about__source {
  display: none;
}
.ail-about__more {
  width: auto;
  min-width: min(100%, 25rem);
  margin: 0 auto;
}
.ail-about__more .ail-desc__read-btn-inner {
  min-height: 4rem;
  padding: 0.5rem 0.8rem;
}
.ail-about__result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 1.15rem 1.4rem;
  color: #0f4c5c;
  background: linear-gradient(
    110deg,
    rgba(20, 184, 166, 0.1),
    rgba(99, 102, 241, 0.07)
  );
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 14px;
  text-align: center;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.85;
}
.ail-about__result-icon {
  display: grid;
  place-items: center;
  flex: 0 0 2.4rem;
  height: 2.4rem;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #4f46e5);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.18);
  font-size: 0.85rem;
}
html[data-theme="dark"] .ail-about__result {
  color: #c5f5ee;
  background: linear-gradient(
    110deg,
    rgba(45, 212, 191, 0.07),
    rgba(129, 140, 248, 0.055)
  );
  border-color: rgba(94, 234, 212, 0.14);
}

@media (max-width: 991px) {
  .ail-intro-video__grid {
    grid-template-columns: 1fr;
  }
  .ail-intro-video__media {
    order: -1;
  }
  .ail-intro-video__frame video {
    min-height: 0;
  }
  .ail-intro-video__copy {
    padding: clamp(1.35rem, 3vw, 2.2rem);
  }
  .ail-about__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ail-about__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 1.2rem;
  }
  .ail-about__steps::before {
    display: none;
  }
  .ail-about__step {
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 13px;
  }
  html[data-theme="dark"] .ail-about__step {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(148, 163, 184, 0.1);
  }
}

@media (max-width: 640px) {
  .ail-intro-video {
    margin-block: 2.8rem 1rem;
  }
  .ail-intro-video__card {
    padding: 0.75rem;
    border-radius: 19px;
  }
  .ail-intro-video__grid {
    gap: 0.75rem;
  }
  .ail-intro-video__frame {
    border-radius: 15px;
  }
  .ail-intro-video__frame .course-preview-video__trigger {
    width: 5.5rem;
    height: 5.5rem;
    font-size: 1.8rem;
  }
  .ail-intro-video__badge {
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.82rem;
  }
  .ail-intro-video__copy {
    padding: 1.15rem;
    border-radius: 14px;
  }
  .ail-intro-video__title {
    margin-bottom: 0.7rem;
    font-size: 2.3rem;
  }
  .ail-intro-video__title-icon {
    flex-basis: 2.9rem;
    height: 2.9rem;
    border-radius: 10px;
  }
  .ail-intro-video__lead {
    margin-bottom: 0.9rem;
    font-size: 1.08rem;
    line-height: 1.9;
  }
  .ail-intro-video__points {
    gap: 0.55rem;
    margin-bottom: 0.9rem;
  }
  .ail-intro-video__points li {
    gap: 0.55rem;
    font-size: 1rem;
    line-height: 1.72;
  }
  .ail-intro-video__point-icon {
    flex-basis: 1.75rem;
    height: 1.75rem;
  }
  .ail-intro-video__note {
    padding: 0.75rem;
    font-size: 0.98rem;
    line-height: 1.75;
  }
  .ail-about {
    margin-bottom: 3rem;
  }
  .ail-about__card {
    padding: 1.1rem;
    border-radius: 19px;
  }
  .ail-about__header {
    margin-bottom: 0.85rem;
  }
  .ail-about__title {
    font-size: 2.35rem;
  }
  .ail-about__title-icon {
    flex-basis: 3rem;
    height: 3rem;
    border-radius: 10px;
  }
  .ail-about__quote {
    margin-bottom: 1rem;
    padding: 1.15rem;
    border-radius: 13px;
  }
  .ail-about__quote-mark {
    font-size: 6rem;
  }
  .ail-about__quote p {
    font-size: 1.26rem;
    line-height: 1.75;
  }
  .ail-about__quote footer {
    font-size: 1.02rem;
    line-height: 1.75;
  }
  .ail-about__summary > p {
    font-size: 1.08rem;
    line-height: 1.9;
  }
  .ail-about__emphasis {
    gap: 0.4rem;
  }
  .ail-about__emphasis span {
    padding: 0.35rem 0.55rem;
    font-size: 0.9rem;
  }
  .ail-about__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .ail-about__benefit {
    display: grid;
    justify-items: center;
    min-height: 8.5rem;
    padding: 0.8rem 0.6rem;
    text-align: center;
  }
  .ail-about__benefit-icon {
    flex-basis: auto;
    width: 3rem;
    height: 3rem;
  }
  .ail-about__benefit h3 {
    font-size: 1.03rem;
    line-height: 1.45;
  }
  .ail-about__journey {
    padding: 1rem;
    border-radius: 14px;
  }
  .ail-about__journey-head {
    margin-bottom: 1rem;
  }
  .ail-about__journey-icon {
    flex-basis: 3rem;
    height: 3rem;
  }
  .ail-about__journey-head h3 {
    font-size: 1.5rem;
  }
  .ail-about__journey-head p {
    font-size: 0.9rem;
  }
  .ail-about__ai-access {
    grid-template-columns: 3.6rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 14px;
  }
  .ail-about__ai-access-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 12px;
    font-size: 1.25rem;
  }
  .ail-about__ai-access-copy h3 {
    margin-bottom: 0.5rem;
    font-size: 1.18rem;
    line-height: 1.75;
  }
  .ail-about__ai-access-copy p {
    margin-bottom: 0.8rem;
    font-size: 0.98rem;
    line-height: 1.9;
  }
  .ail-about__ai-access-badge {
    padding: 0.5rem 0.7rem;
    font-size: 0.88rem;
  }
  .ail-about__steps {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .ail-about__steps::before {
    display: block;
    top: 1.5rem;
    right: 2.45rem;
    bottom: 1.5rem;
    left: auto;
    border-top: 0;
    border-right: 2px dashed rgba(99, 102, 241, 0.18);
  }
  .ail-about__step {
    min-height: 6.9rem;
    padding: 0.8rem 5.6rem 0.8rem 0.8rem;
    text-align: right;
  }
  .ail-about__step-icon {
    position: absolute;
    top: 0.9rem;
    right: 0.75rem;
    width: 3.8rem;
    height: 3.8rem;
    margin: 0;
    border-radius: 12px;
  }
  .ail-about__step-number {
    margin-bottom: 0.2rem;
  }
  .ail-about__step h4 {
    font-size: 1.15rem;
  }
  .ail-about__step p {
    font-size: 0.92rem;
  }
  .ail-about__more {
    width: 100%;
  }
  .ail-about__result {
    align-items: flex-start;
    padding: 0.9rem;
    font-size: 1.02rem;
    line-height: 1.75;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ail-about__benefit,
  .ail-about__step-icon,
  .ail-intro-video__frame::after,
  .ail-intro-video__badge {
    transition: none;
  }
}

/* Premium full-course purchase experience. */
body.course-offer-page .ail-full-course-offer {
  --ail-accent: #0d9488;
  --ail-accent-2: #6366f1;
  --ail-ai: #7c3aed;
  --ail-surface: #ffffff;
  --ail-border: #e2e8f0;
  --ail-text: #0f172a;
  --ail-muted: #64748b;
  --ail-on-accent: #ffffff;
}
html[data-theme="dark"] body.course-offer-page .ail-full-course-offer {
  --ail-accent: #67e8f9;
  --ail-accent-2: #a5b4fc;
  --ail-ai: #a78bfa;
  --ail-surface: #141820;
  --ail-border: #252b38;
  --ail-text: #e8edf5;
  --ail-muted: #8b95a8;
  --ail-on-accent: #042f2e;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer {
  margin: clamp(4rem, 7vw, 7rem) 0 clamp(4rem, 7vw, 7rem);
}
body.course-offer-page .ail-full-course-offer {
  width: min(1185px, calc(100vw - 12px));
  max-width: none;
  margin-inline: calc(
    (100% - min(1185px, calc(100vw - 12px))) / 2
  );
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer > .course-syllabus-wrap {
  margin-bottom: clamp(2rem, 3vw, 3.2rem);
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__card {
  position: relative;
  isolation: isolate;
  padding: clamp(1.4rem, 3.5vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(20, 184, 166, 0.13),
      transparent 26%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(99, 102, 241, 0.1),
      transparent 28%
    ),
    linear-gradient(145deg, #f4fbfa 0%, #f8fafc 46%, #f8f7ff 100%);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 30px;
  box-shadow:
    0 28px 78px rgba(15, 23, 42, 0.09),
    0 2px 10px rgba(13, 148, 136, 0.05);
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__card::before,
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__card::before {
  top: -13rem;
  right: -8rem;
  background: rgba(45, 212, 191, 0.13);
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__card::after {
  bottom: -15rem;
  left: -7rem;
  background: rgba(129, 140, 248, 0.11);
}
html[data-theme="dark"] body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__card {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(45, 212, 191, 0.09),
      transparent 28%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(129, 140, 248, 0.085),
      transparent 28%
    ),
    linear-gradient(145deg, #0f1519 0%, #11151c 52%, #13131d 100%);
  border-color: rgba(94, 234, 212, 0.14);
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.36);
}
.ail-full-course-offer .ail-bundle__head {
  max-width: 68rem;
  margin: 0 auto clamp(1.6rem, 2.8vw, 2.6rem);
  text-align: center;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  padding: 0.45rem 0.85rem;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.095);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 750;
  box-shadow: 0 5px 14px rgba(13, 148, 136, 0.06);
}
html[data-theme="dark"]
  body:is(.ail-page, .course-offer-page)
  .ail-full-course-offer
  .ail-bundle__badge {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.075);
  border-color: rgba(94, 234, 212, 0.15);
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__title {
  margin: 0;
  color: var(--ail-text);
  font-size: clamp(3rem, 4.6vw, 5rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.085rem;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__subtitle {
  max-width: 62rem;
  margin: 0.8rem auto 0;
  color: var(--ail-muted);
  font-size: clamp(1.1rem, 1.35vw, 1.35rem);
  line-height: 1.95;
}

body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-presale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 1rem;
  padding: 1.15rem 1.35rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(6, 182, 212, 0.19);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(8, 145, 178, 0.065);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
html[data-theme="dark"] body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-presale {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(103, 232, 249, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.ail-full-course-offer .ail-presale__intro {
  gap: 0.8rem;
}
.ail-full-course-offer .ail-presale__icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-basis: 3.5rem;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  border-radius: 13px;
  box-shadow:
    0 9px 20px rgba(8, 145, 178, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.28);
  font-size: 1.15rem;
}
.ail-full-course-offer .ail-presale__intro strong {
  color: var(--ail-text);
  font-size: 1.3rem;
  font-weight: 850;
}
.ail-full-course-offer .ail-presale__intro span {
  font-size: 1.02rem;
  line-height: 1.65;
}
.ail-full-course-offer .ail-presale__clock {
  gap: 0.5rem;
}
.ail-full-course-offer .ail-presale__clock > i {
  margin-top: 0.85rem;
  color: rgba(8, 145, 178, 0.55);
  font-size: 1.2rem;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-presale__unit {
  min-width: 5rem;
  gap: 0.3rem;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-presale__unit b {
  min-height: 3.85rem;
  padding: 0.72rem 0.45rem;
  color: #0e7490;
  background: linear-gradient(180deg, #fff, #ecfeff);
  border: 1px solid rgba(6, 182, 212, 0.19);
  border-radius: 11px;
  box-shadow: 0 7px 17px rgba(8, 145, 178, 0.075);
  font-size: 1.75rem;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-presale__unit small {
  font-size: 0.9rem;
}
html[data-theme="dark"]
  body:is(.ail-page, .course-offer-page)
  .ail-full-course-offer
  .ail-presale__unit
  b {
  color: #67e8f9;
  background: linear-gradient(180deg, #171d26, #111820);
  border-color: rgba(103, 232, 249, 0.16);
  box-shadow: 0 8px 19px rgba(0, 0, 0, 0.22);
}

.ail-full-course-offer .ail-bundle__access-card {
  display: grid;
  grid-template-columns: minmax(20rem, 0.88fr) minmax(0, 1.12fr);
  margin-bottom: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 21px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.055);
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__access-card {
  background: rgba(255, 255, 255, 0.032);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: none;
}
.ail-full-course-offer .ail-bundle__price-area,
.ail-full-course-offer .ail-bundle__benefits-area {
  padding: clamp(1.5rem, 3vw, 2.8rem);
}
.ail-full-course-offer .ail-bundle__price-area {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(204, 251, 241, 0.43),
    rgba(238, 242, 255, 0.38)
  );
  border-left: 1px solid rgba(148, 163, 184, 0.16);
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__price-area {
  background: linear-gradient(
    145deg,
    rgba(45, 212, 191, 0.045),
    rgba(129, 140, 248, 0.04)
  );
  border-left-color: rgba(148, 163, 184, 0.1);
}
.ail-full-course-offer .ail-bundle__price-icon {
  position: absolute;
  top: 1.45rem;
  left: 1.45rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.09);
  border: 1px solid rgba(99, 102, 241, 0.13);
  border-radius: 11px;
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__price-icon {
  color: #a5b4fc;
  background: rgba(129, 140, 248, 0.08);
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__col-label {
  margin: 0 0 0.35rem;
  color: var(--ail-muted);
  font-size: 1.08rem;
  font-weight: 650;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__col-price {
  margin: 0 0 0.55rem;
  color: var(--ail-text);
  font-size: clamp(2.65rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.055rem;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__col-price small {
  color: var(--ail-accent);
  font-size: 1.15rem;
  font-weight: 800;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__was {
  margin: -0.25rem 0 0.65rem;
}
.ail-full-course-offer .ail-bundle__installment {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.48rem 0.72rem;
  color: #5b21b6;
  background: rgba(124, 58, 237, 0.085);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 800;
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__installment {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.075);
  border-color: rgba(196, 181, 253, 0.13);
}
.ail-full-course-offer .ail-bundle__secure {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(13, 148, 136, 0.22);
}
.ail-full-course-offer .ail-bundle__secure-icon {
  display: grid;
  place-items: center;
  flex: 0 0 2.8rem;
  height: 2.8rem;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.09);
  border-radius: 50%;
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__secure-icon {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.07);
}
.ail-full-course-offer .ail-bundle__secure > span:last-child {
  display: grid;
  gap: 0.18rem;
}
.ail-full-course-offer .ail-bundle__secure strong {
  color: var(--ail-text);
  font-size: 1.05rem;
}
.ail-full-course-offer .ail-bundle__secure small {
  color: var(--ail-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.ail-full-course-offer .ail-bundle__benefits-title {
  margin: 0 0 1rem;
  color: var(--ail-text);
  font-family: PeydaSpecial, iransansweb, sans-serif;
  font-size: 1.45rem;
  font-weight: 850;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__col-list {
  display: grid;
  gap: 0;
  font-size: inherit;
  line-height: normal;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__col-list li {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__col-list li:first-child {
  padding-top: 0;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__col-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__col-list li::before {
  display: none;
}
.ail-full-course-offer .ail-bundle__col-list li > span {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.085);
  border-radius: 11px;
  font-size: 1rem;
}
.ail-full-course-offer .ail-bundle__col-list li:nth-child(2) > span {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.075);
}
.ail-full-course-offer .ail-bundle__col-list li:nth-child(3) > span {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.075);
}
.ail-full-course-offer .ail-bundle__col-list li:nth-child(4) > span {
  color: #0891b2;
  background: rgba(8, 145, 178, 0.075);
}
.ail-full-course-offer .ail-bundle__col-list li > div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}
.ail-full-course-offer .ail-bundle__col-list strong {
  color: var(--ail-text);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.55;
}
.ail-full-course-offer .ail-bundle__col-list small {
  color: var(--ail-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__col-list li > span {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.065);
}
html[data-theme="dark"]
  .ail-full-course-offer
  .ail-bundle__col-list
  li:nth-child(2)
  > span {
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.06);
}
html[data-theme="dark"]
  .ail-full-course-offer
  .ail-bundle__col-list
  li:nth-child(3)
  > span {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.06);
}

.ail-full-course-offer .ail-bundle__payments {
  scroll-margin-top: 7rem;
  margin-bottom: 1rem;
  padding: clamp(1.3rem, 2.5vw, 2.2rem);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 20px;
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__payments {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(148, 163, 184, 0.11);
}
.ail-full-course-offer .ail-bundle__section-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
}
.ail-full-course-offer .ail-bundle__section-icon {
  display: grid;
  place-items: center;
  flex: 0 0 3.25rem;
  height: 3.25rem;
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #6366f1);
  border-radius: 11px;
  box-shadow: 0 8px 19px rgba(13, 148, 136, 0.17);
}
.ail-full-course-offer .ail-bundle__section-head h3 {
  margin: 0 0 0.2rem;
  color: var(--ail-text);
  font-size: 1.65rem;
  font-weight: 850;
}
.ail-full-course-offer .ail-bundle__section-head p {
  margin: 0;
  color: var(--ail-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.ail-full-course-offer .ail-payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.ail-full-course-offer .ail-payment-method {
  position: relative;
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr);
  gap: 0.9rem;
  min-width: 0;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 15px;
  box-shadow: 0 9px 24px rgba(15, 23, 42, 0.045);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.ail-full-course-offer .ail-payment-method:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 148, 136, 0.28);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.075);
}
.ail-full-course-offer .ail-payment-method--installment {
  background: linear-gradient(145deg, #f5fffd, #fbfaff);
  border-color: rgba(13, 148, 136, 0.22);
}
html[data-theme="dark"] .ail-full-course-offer .ail-payment-method {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(148, 163, 184, 0.11);
  box-shadow: none;
}
html[data-theme="dark"]
  .ail-full-course-offer
  .ail-payment-method--installment {
  background: linear-gradient(
    145deg,
    rgba(45, 212, 191, 0.045),
    rgba(129, 140, 248, 0.03)
  );
  border-color: rgba(94, 234, 212, 0.14);
}
.ail-full-course-offer .ail-payment-method__brand {
  display: grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  color: #fff;
  border-radius: 13px;
  font-size: 1.25rem;
  box-shadow: 0 9px 20px rgba(15, 23, 42, 0.14);
}
.ail-full-course-offer .ail-payment-method__brand--snapp {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
}
.ail-full-course-offer .ail-payment-method__brand--zarin {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}
.ail-full-course-offer .ail-payment-method__copy {
  min-width: 0;
}
.ail-full-course-offer .ail-payment-method__eyebrow {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ail-accent);
  font-size: 0.82rem;
  font-weight: 800;
}
.ail-full-course-offer .ail-payment-method h4 {
  margin: 0 0 0.35rem;
  color: var(--ail-text);
  font-size: 1.28rem;
  font-weight: 850;
  line-height: 1.5;
}
.ail-full-course-offer .ail-payment-method p {
  margin: 0;
  color: var(--ail-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}
.ail-full-course-offer .ail-payment-method__tag {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.4rem;
  padding: 0.38rem 0.62rem;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.075);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 750;
}
.ail-full-course-offer .ail-payment-method--gateway .ail-payment-method__tag {
  color: #4f46e5;
  background: rgba(99, 102, 241, 0.07);
}
html[data-theme="dark"] .ail-full-course-offer .ail-payment-method__tag {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.06);
}
html[data-theme="dark"]
  .ail-full-course-offer
  .ail-payment-method--gateway
  .ail-payment-method__tag {
  color: #a5b4fc;
  background: rgba(129, 140, 248, 0.06);
}

body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__actions {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.15rem, 2.3vw, 1.9rem);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 148, 136, 0.17);
  border-radius: 20px;
  box-shadow: 0 13px 32px rgba(13, 148, 136, 0.055);
}
html[data-theme="dark"]
  body:is(.ail-page, .course-offer-page)
  .ail-full-course-offer
  .ail-bundle__actions {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(94, 234, 212, 0.12);
  box-shadow: none;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(
    105deg,
    rgba(204, 251, 241, 0.5),
    rgba(238, 242, 255, 0.48)
  );
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: 14px;
  cursor: default;
  box-shadow: none;
}
html[data-theme="dark"]
  body:is(.ail-page, .course-offer-page)
  .ail-full-course-offer
  .ail-bundle-choice {
  background: linear-gradient(
    105deg,
    rgba(45, 212, 191, 0.05),
    rgba(129, 140, 248, 0.04)
  );
  border-color: rgba(94, 234, 212, 0.15);
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle-choice__check {
  width: 2.75rem;
  height: 2.75rem;
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  border: 0;
  box-shadow: 0 7px 16px rgba(13, 148, 136, 0.2);
}
.ail-full-course-offer .ail-bundle-choice__body strong {
  font-size: 1.28rem;
  font-weight: 850;
}
.ail-full-course-offer .ail-bundle-choice__body small {
  font-size: 1rem;
  line-height: 1.65;
}
.ail-full-course-offer .ail-bundle-choice__price {
  color: var(--ail-text);
  font-size: 1.65rem;
  font-weight: 900;
}
.ail-full-course-offer .ail-bundle-choice__price small {
  display: block;
  margin-top: 0.1rem;
  color: var(--ail-accent);
  text-align: left;
}
.ail-full-course-offer .ail-bundle__installment-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  color: #5b21b6;
  font-size: 1rem;
  font-weight: 750;
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__installment-note {
  color: #c4b5fd;
}
body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__actions .ail-btn--primary {
  position: relative;
  display: grid;
  grid-template-columns: 1.5rem minmax(0, auto) 1.5rem;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  width: 100% !important;
  min-height: 5.2rem;
  padding: 1rem 1.4rem;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(105deg, #0f766e, #0891b2 52%, #4f46e5);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  box-shadow:
    0 17px 34px rgba(8, 145, 178, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.25);
  font-family: PeydaSpecial, iransansweb, sans-serif;
  font-size: 1.35rem;
  font-weight: 850;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}
body:is(.ail-page, .course-offer-page)
  .ail-full-course-offer
  .ail-bundle__actions
  .ail-btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.16) 48%,
    transparent 66%
  );
  transform: translateX(120%);
  transition: transform 0.55s ease;
}
body:is(.ail-page, .course-offer-page)
  .ail-full-course-offer
  .ail-bundle__actions
  .ail-btn--primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow:
    0 21px 40px rgba(8, 145, 178, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.25);
}
body:is(.ail-page, .course-offer-page)
  .ail-full-course-offer
  .ail-bundle__actions
  .ail-btn--primary:hover::before {
  transform: translateX(-120%);
}
.ail-full-course-offer .ail-bundle__cta-arrow {
  transition: transform 0.25s ease;
}
.ail-full-course-offer
  .ail-bundle__actions
  .ail-btn--primary:hover
  .ail-bundle__cta-arrow {
  transform: translateX(-4px);
}
.ail-full-course-offer .ail-bundle__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  margin: 0;
  color: var(--ail-muted);
  font-size: 0.92rem;
}
.ail-full-course-offer .ail-bundle__guarantee i {
  color: var(--ail-accent);
}
.ail-full-course-offer .ail-bundle__owned {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.3rem;
  background: rgba(20, 184, 166, 0.075);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 16px;
}
.ail-full-course-offer .ail-bundle__owned > span {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  color: #fff;
  background: #0d9488;
  border-radius: 50%;
}
.ail-full-course-offer .ail-bundle__owned > div {
  display: grid;
  gap: 0.18rem;
}
.ail-full-course-offer .ail-bundle__owned strong {
  color: var(--ail-text);
  font-size: 1.25rem;
}
.ail-full-course-offer .ail-bundle__owned small {
  color: var(--ail-muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .ail-full-course-offer .ail-bundle__access-card {
    grid-template-columns: 1fr;
  }
  .ail-full-course-offer .ail-bundle__price-area {
    border-left: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  }
  html[data-theme="dark"] .ail-full-course-offer .ail-bundle__price-area {
    border-bottom-color: rgba(148, 163, 184, 0.1);
  }
  .ail-full-course-offer .ail-payment-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer {
    margin-block: 3rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__card {
    padding: 0.8rem;
    border-radius: 20px;
  }
  .ail-full-course-offer .ail-bundle__head {
    padding: 1.05rem 0.65rem 0;
    margin-bottom: 1.25rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__badge {
    font-size: 0.88rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__title {
    font-size: clamp(2.75rem, 11vw, 3.5rem);
    letter-spacing: -0.055rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__subtitle {
    font-size: 1.03rem;
    line-height: 1.85;
  }
  .ail-hero__payment-meta {
    gap: 0.3rem 0.55rem;
  }
  .ail-hero__installment-note,
  .ail-hero__payment-link {
    font-size: 0.84rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-presale {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 15px;
  }
  .ail-full-course-offer .ail-presale__intro {
    justify-content: center;
    text-align: right;
  }
  .ail-full-course-offer .ail-presale__clock {
    width: 100%;
    justify-content: center;
    gap: 0.25rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-presale__unit {
    min-width: 0;
    flex: 1 1 0;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-presale__unit b {
    min-height: 3.3rem;
    padding: 0.6rem 0.25rem;
    font-size: 1.42rem;
  }
  .ail-full-course-offer .ail-presale__clock > i {
    margin-top: 0.72rem;
  }
  .ail-full-course-offer .ail-bundle__access-card,
  .ail-full-course-offer .ail-bundle__payments,
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__actions {
    border-radius: 15px;
  }
  .ail-full-course-offer .ail-bundle__price-area,
  .ail-full-course-offer .ail-bundle__benefits-area {
    padding: 1.25rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__col-price {
    padding-left: 2.5rem;
    font-size: clamp(2.45rem, 10vw, 3.2rem);
  }
  .ail-full-course-offer .ail-bundle__price-icon {
    top: 1.15rem;
    left: 1.15rem;
    width: 2.7rem;
    height: 2.7rem;
  }
  .ail-full-course-offer .ail-bundle__benefits-title {
    font-size: 1.3rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__col-list li {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 0.65rem;
  }
  .ail-full-course-offer .ail-bundle__col-list li > span {
    width: 2.8rem;
    height: 2.8rem;
  }
  .ail-full-course-offer .ail-bundle__payments {
    padding: 1.05rem;
  }
  .ail-full-course-offer .ail-bundle__section-head {
    align-items: flex-start;
  }
  .ail-full-course-offer .ail-bundle__section-head h3 {
    font-size: 1.4rem;
  }
  .ail-full-course-offer .ail-payment-method {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    padding: 1rem;
  }
  .ail-full-course-offer .ail-payment-method__brand {
    width: 3.25rem;
    height: 3.25rem;
  }
  .ail-full-course-offer .ail-payment-method h4 {
    font-size: 1.14rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__actions {
    padding: 1rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle-choice {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.85rem;
  }
  .ail-full-course-offer .ail-bundle-choice__price {
    grid-column: 2;
    font-size: 1.45rem;
  }
  .ail-full-course-offer .ail-bundle-choice__price small {
    display: inline;
    margin-right: 0.25rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-bundle__actions .ail-btn--primary {
    grid-template-columns: 1.2rem minmax(0, auto) 1.2rem;
    min-height: 4.65rem;
    padding-inline: 0.8rem;
    font-size: 1.12rem;
  }
  .ail-full-course-offer .ail-bundle__installment-note {
    font-size: 0.92rem;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .ail-full-course-offer .ail-presale__intro span {
    font-size: 0.9rem;
  }
  body:is(.ail-page, .course-offer-page) .ail-full-course-offer .ail-presale__unit small {
    font-size: 0.78rem;
  }
  .ail-full-course-offer .ail-payment-method {
    grid-template-columns: 1fr;
  }
  .ail-full-course-offer .ail-payment-method__tag {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ail-full-course-offer .ail-payment-method,
  .ail-full-course-offer .ail-bundle__actions .ail-btn--primary,
  .ail-full-course-offer .ail-bundle__cta-arrow {
    transition: none !important;
  }
  .ail-full-course-offer .ail-bundle__actions .ail-btn--primary::before {
    display: none;
  }
  .ail-hero__payment-link,
  .ail-hero__payment-link i {
    transition: none;
  }
}

/* Final project-showcase reference overrides: kept last to win over legacy rules. */
.ail-projects-divider {
  position: relative;
  display: grid;
  justify-items: center;
  margin: clamp(2.6rem, 5vw, 4.5rem) auto clamp(0.6rem, 1.4vw, 1.25rem);
  padding-bottom: 1.35rem;
  overflow: hidden;
}
.ail-projects-divider__line {
  position: absolute;
  top: 1.15rem;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(96, 111, 239, 0.28) 18%,
    rgba(139, 92, 246, 0.72) 50%,
    rgba(34, 211, 238, 0.28) 82%,
    transparent
  );
  box-shadow: 0 0 0.85rem rgba(105, 96, 239, 0.26);
}
.ail-projects-divider__label {
  position: relative;
  z-index: 1;
  padding: 0.56rem 1.15rem;
  border: 1px solid rgba(132, 118, 239, 0.27);
  border-radius: 999px;
  color: #5363c4;
  background: linear-gradient(105deg, #fff, #f5f4ff);
  box-shadow:
    0 0.4rem 1.2rem rgba(81, 87, 180, 0.09),
    0 0 2rem rgba(139, 92, 246, 0.09);
  font-size: 0.8rem;
  font-weight: 850;
  white-space: nowrap;
}
.ail-projects-divider__arrow {
  position: absolute;
  z-index: 1;
  bottom: 0;
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border: 1px solid #d9ddfb;
  border-radius: 50%;
  color: #6977dc;
  background: #fff;
  box-shadow: 0 0.3rem 0.8rem rgba(69, 80, 169, 0.12);
  font-size: 0.58rem;
}
.ail-projects-divider__arrow::before {
  position: absolute;
  bottom: 100%;
  width: 1px;
  height: 0.58rem;
  background: linear-gradient(#a9b4fa, transparent);
  content: "";
}
html[data-theme="dark"] .ail-projects-divider__label {
  border-color: rgba(157, 145, 255, 0.3);
  color: #c2c9ff;
  background: #1b2140;
}
html[data-theme="dark"] .ail-projects-divider__arrow {
  border-color: #404b78;
  color: #b5c0ff;
  background: #19203a;
}
@media (max-width: 575.98px) {
  .ail-projects-divider {
    margin-top: 2.2rem;
  }
  .ail-projects-divider__label {
    padding: 0.52rem 0.9rem;
    font-size: 0.72rem;
  }
  .ail-projects-divider__line {
    top: 1.05rem;
  }
}
.ail-projects-divider {
  margin: 5.3rem auto 5.3rem;
  padding: 0;
  overflow: visible;
}
.ail-projects-divider__line {
  top: 2.15rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(133, 92, 246, 0.08) 9%,
    rgba(139, 92, 246, 0.68) 28%,
    rgba(59, 130, 246, 0.88) 50%,
    rgba(139, 92, 246, 0.68) 72%,
    rgba(133, 92, 246, 0.08) 91%,
    transparent 100%
  );
  box-shadow: 0 0 1.25rem rgba(100, 91, 239, 0.3);
}
.ail-projects-divider__label {
  min-height: 4.2rem;
  padding: 0.7rem 2.5rem;
  border-color: rgba(119, 105, 240, 0.36);
  color: #4e55bd;
  background: linear-gradient(105deg, #fff 5%, #f5f2ff 52%, #eef7ff);
  box-shadow:
    0 0.55rem 1.6rem rgba(78, 79, 184, 0.13),
    0 0 2.6rem rgba(113, 93, 242, 0.15);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 2.75rem;
}
.ail-projects-divider__label::before,
.ail-projects-divider__label::after {
  position: absolute;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 1px;
  background: #8b6cf4;
  box-shadow: 0 0 0.65rem rgba(99, 102, 241, 0.75);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}
.ail-projects-divider__label::before {
  right: 0.92rem;
}
.ail-projects-divider__label::after {
  left: 0.92rem;
  background: #4e91ef;
}
.ail-projects-divider__arrow {
  bottom: -3.2rem;
  width: 2.3rem;
  height: 2.3rem;
  border-color: #cbd2ff;
  color: #705bed;
  background: linear-gradient(145deg, #fff, #f1efff);
  box-shadow:
    0 0.5rem 1.15rem rgba(89, 80, 201, 0.2),
    0 0 1.2rem rgba(103, 91, 241, 0.15);
  font-size: 0.9rem;
  animation: ail-project-divider-float 2.2s ease-in-out infinite;
}
.ail-projects-divider__arrow::before {
  height: 0.85rem;
  background: linear-gradient(#9ba7fa, transparent);
}
@keyframes ail-project-divider-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.35rem);
  }
}
@media (max-width: 575.98px) {
  .ail-projects-divider {
    height: 7.4rem;
    margin: 1rem auto 0.55rem;
  }
  .ail-projects-divider__line {
    top: 2rem;
  }
  .ail-projects-divider__label {
    min-height: 4rem;
    padding: 0.65rem 2.2rem;
    font-size: 1.35rem;
  }
  .ail-projects-divider__arrow {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.85rem;
  }
}
.ail-project-showcase .ail-project-showcase__layout {
  grid-template-areas: "viewer content";
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.57fr);
  gap: clamp(1.7rem, 3vw, 3.7rem);
}
.ail-project-showcase .ail-project-showcase__head h2 {
  max-width: 37rem;
  font-size: clamp(4rem, 3.1vw, 2.75rem);
  line-height: 1.27;
}
.ail-project-showcase .ail-project-showcase__head h2 strong {
  color: #5668ee;
  font-weight: 900;
}
.ail-project-showcase .ail-project-showcase__head p {
  max-width: 37rem;
}
.ail-project-showcase .ail-project-showcase__list-wrap {
  max-height: 42rem;
  padding: 0.15rem 0.05rem 0.15rem 0.65rem;
}
.ail-project-showcase .ail-project-showcase__item {
  min-height: 6.35rem;
  padding: 0.9rem;
}
.ail-project-showcase .ail-project-showcase__item-check {
  display: grid;
}
.ail-project-showcase .ail-project-showcase__image-stage {
  min-height: clamp(21rem, 32vw, 29rem);
  aspect-ratio: auto;
  background:
    radial-gradient(
      circle at 15% 18%,
      rgba(103, 232, 249, 0.23),
      transparent 23%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(139, 92, 246, 0.34),
      transparent 30%
    ),
    linear-gradient(135deg, #071d4e, #152c69 56%, #3d287e);
}
.ail-project-showcase .ail-project-showcase__dashboard {
  padding: 4rem 2.4rem 2rem;
  opacity: 0.93;
  background: linear-gradient(
    135deg,
    rgba(51, 65, 158, 0.2),
    rgba(10, 23, 65, 0.08)
  );
}
.ail-project-showcase
  .ail-project-showcase__dashboard
  > span:not(.ail-project-showcase__dashboard-mark),
.ail-project-showcase .ail-project-showcase__dashboard > b {
  border-color: rgba(174, 203, 255, 0.16);
  background: linear-gradient(
    145deg,
    rgba(180, 205, 255, 0.14),
    rgba(84, 99, 189, 0.11)
  );
  box-shadow: 0 1rem 2rem rgba(0, 10, 44, 0.24);
}
.ail-project-showcase .ail-project-showcase__dashboard-mark {
  top: 4.6rem;
  color: #fff;
  background: linear-gradient(135deg, #34d4ef, #7966f5);
}
.ail-project-showcase .ail-project-showcase__image {
  opacity: 0.72;
  mix-blend-mode: screen;
}
.ail-project-showcase .ail-project-showcase__image-stage::after {
  background: linear-gradient(
    180deg,
    rgba(3, 12, 48, 0.14),
    transparent 45%,
    rgba(3, 12, 48, 0.48)
  );
}
.ail-project-showcase .ail-project-showcase__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.2rem;
}
.ail-project-showcase .ail-project-showcase__metadata {
  display: grid;
  grid-template-columns: 0.75fr 1.2fr 1.05fr;
  gap: 0.7rem;
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid #e7eaf4;
}
.ail-project-showcase .ail-project-showcase__list {
  gap: 0.82rem;
}
.ail-project-showcase .ail-project-showcase__all-link {
  min-height: 3.85rem;
  padding: 1.08rem 1.25rem;
  font-size: 1.2rem;
}
.ail-project-showcase .ail-project-showcase__metadata > span {
  padding-inline-start: 0.72rem;
  border-inline-start: 1px solid #e4e8f3;
}
.ail-project-showcase .ail-project-showcase__metadata > span:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}
@media (max-width: 767.98px) {
  .ail-project-showcase .ail-project-showcase__layout {
    grid-template-areas: "viewer" "content";
    grid-template-columns: 1fr;
  }
  .ail-project-showcase .ail-project-showcase__image-stage {
    min-height: 18rem;
  }
  .ail-project-showcase .ail-project-showcase__dashboard {
    padding: 3.5rem 1.3rem 1.2rem;
  }
  .ail-project-showcase .ail-project-showcase__dashboard-mark {
    top: 4rem;
    right: 2rem;
  }
  .ail-project-showcase .ail-project-showcase__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ail-project-showcase .ail-project-showcase__metadata {
    grid-template-columns: 1fr;
  }
  .ail-project-showcase .ail-project-showcase__metadata > span {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
  .ail-project-showcase .ail-project-showcase__list-wrap {
    max-height: 26rem;
  }
  .ail-project-showcase .ail-project-showcase__item-check {
    display: none;
  }
}

/* Shared, colorful project feature and metadata cards. */
.ail-project-showcase .ail-project-showcase__features > span {
  position: relative;
  overflow: hidden;
  border-width: 1px;
  box-shadow: 0 0.75rem 1.6rem rgba(49, 59, 126, 0.09);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.ail-project-showcase .ail-project-showcase__features > span::after {
  position: absolute;
  top: -2.1rem;
  left: -1.8rem;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  content: "";
  opacity: 0.7;
}
.ail-project-showcase .ail-project-showcase__features > span:hover {
  transform: translateY(-0.35rem);
  box-shadow: 0 1.15rem 2.2rem rgba(54, 64, 152, 0.18);
}
.ail-project-showcase .ail-project-showcase__features > span:nth-child(1) {
  border-color: #d6ccff;
  background: linear-gradient(145deg, #fbfaff, #f2eeff);
}
.ail-project-showcase
  .ail-project-showcase__features
  > span:nth-child(1)::after {
  background: #ddd1ff;
}
.ail-project-showcase .ail-project-showcase__features > span:nth-child(1) i {
  color: #7c5ce6;
  filter: drop-shadow(0 0.25rem 0.35rem rgba(124, 92, 230, 0.25));
}
.ail-project-showcase .ail-project-showcase__features > span:nth-child(2) {
  border-color: #c6e6ff;
  background: linear-gradient(145deg, #f8fdff, #ecf8ff);
}
.ail-project-showcase
  .ail-project-showcase__features
  > span:nth-child(2)::after {
  background: #c6eeff;
}
.ail-project-showcase .ail-project-showcase__features > span:nth-child(2) i {
  color: #2389df;
  filter: drop-shadow(0 0.25rem 0.35rem rgba(35, 137, 223, 0.25));
}
.ail-project-showcase .ail-project-showcase__features > span:nth-child(3) {
  border-color: #bdebed;
  background: linear-gradient(145deg, #f5fffe, #e8faf7);
}
.ail-project-showcase
  .ail-project-showcase__features
  > span:nth-child(3)::after {
  background: #baf0e5;
}
.ail-project-showcase .ail-project-showcase__features > span:nth-child(3) i {
  color: #079c90;
  filter: drop-shadow(0 0.25rem 0.35rem rgba(7, 156, 144, 0.24));
}
.ail-project-showcase .ail-project-showcase__features > span:nth-child(4) {
  border-color: #c9e7d1;
  background: linear-gradient(145deg, #f9fff9, #ecf9ef);
}
.ail-project-showcase
  .ail-project-showcase__features
  > span:nth-child(4)::after {
  background: #cdf1d6;
}
.ail-project-showcase .ail-project-showcase__features > span:nth-child(4) i {
  color: #35a566;
  filter: drop-shadow(0 0.25rem 0.35rem rgba(53, 165, 102, 0.24));
}
.ail-project-showcase .ail-project-showcase__features i {
  position: relative;
  z-index: 1;
  font-size: 1.08rem;
}
.ail-project-showcase .ail-project-showcase__features b {
  position: relative;
  z-index: 1;
  color: #263554;
  font-size: 1.1rem;
}
.ail-project-showcase .ail-project-showcase__features small {
  position: relative;
  z-index: 1;
  color: #72809a;
  font-size: 0.86rem;
}
.ail-project-showcase .ail-project-showcase__metadata {
  gap: 0;
  overflow: hidden;
  border: 1px solid #e4e9f7;
  border-radius: 0.9rem;
  padding: 0;
  background: #fbfcff;
  box-shadow: 0 0.45rem 1.2rem rgba(54, 62, 130, 0.05);
}
.ail-project-showcase .ail-project-showcase__metadata > span {
  display: block;
  min-height: 5.1rem;
  padding: 0.8rem 1rem;
  border-inline-start: 1px solid #e4e9f7 !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(247, 249, 255, 0.82)
  );
}
.ail-project-showcase .ail-project-showcase__metadata > span:first-child {
  border-inline-start: 0 !important;
  background: linear-gradient(145deg, #faf8ff, #f2eeff);
}
.ail-project-showcase .ail-project-showcase__metadata > span:nth-child(2) {
  background: linear-gradient(145deg, #f7fdff, #eef8ff);
}
.ail-project-showcase .ail-project-showcase__metadata > span:nth-child(3) {
  background: linear-gradient(145deg, #f7fffc, #edf9f3);
}
.ail-project-showcase .ail-project-showcase__metadata i {
  font-size: 0.88rem;
}
.ail-project-showcase .ail-project-showcase__metadata > span:nth-child(1) i {
  color: #7c5ce6;
}
.ail-project-showcase .ail-project-showcase__metadata > span:nth-child(2) i {
  color: #2389df;
}
.ail-project-showcase .ail-project-showcase__metadata > span:nth-child(3) i {
  color: #35a566;
}
.ail-project-showcase .ail-project-showcase__metadata b {
  font-size: 0.71rem;
  font-weight: 900;
}
.ail-project-showcase .ail-project-showcase__metadata small {
  color: #64738d;
  font-size: 0.73rem;
  font-weight: 700;
}

/* Front-End mentorship deliberately mirrors the preview/list positions only. */
@media (min-width: 768px) {
  .FullStack--frontend .ail-project-showcase .ail-project-showcase__layout {
    grid-template-areas: "content viewer";
    grid-template-columns: minmax(21rem, 0.57fr) minmax(0, 1fr);
  }
}
@media (max-width: 767.98px) {
  .ail-project-showcase .ail-project-showcase__metadata > span {
    border-inline-start: 0 !important;
    border-top: 1px solid #e4e9f7;
  }
  .ail-project-showcase .ail-project-showcase__metadata > span:first-child {
    border-top: 0;
  }
  .FullStack--frontend .ail-projects-divider {
    margin-top: 1.2rem;
  }
}

/* Front-End Projects Showcase: explicit paired light/dark surfaces. */
.FullStack--frontend .ail-project-showcase {
  border-color: #dce5f7;
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(139, 92, 246, 0.12),
      transparent 24rem
    ),
    radial-gradient(
      circle at 5% 100%,
      rgba(34, 211, 238, 0.1),
      transparent 25rem
    ),
    linear-gradient(135deg, #f9fbff, #fff 48%, #faf8ff);
  box-shadow: 0 1.8rem 4rem rgba(55, 65, 150, 0.1);
}
.FullStack--frontend .ail-project-showcase__item,
.FullStack--frontend .ail-project-showcase__panel {
  border-color: #dfe7f6;
  background: #fff;
  box-shadow: 0 1rem 2.2rem rgba(45, 58, 126, 0.08);
}
.FullStack--frontend .ail-project-showcase__item {
  color: #253452;
}
.FullStack--frontend .ail-project-showcase__item.is-active {
  border-color: #aab8fa;
  background: linear-gradient(110deg, #eff2ff, #fbfaff);
  box-shadow: 0 1rem 2rem rgba(88, 97, 197, 0.14);
}
.FullStack--frontend .ail-project-showcase__item-copy strong,
.FullStack--frontend .ail-project-showcase__panel-body h3 {
  color: #17284a;
}
.FullStack--frontend .ail-project-showcase__item-copy small,
.FullStack--frontend .ail-project-showcase__head p,
.FullStack--frontend .ail-project-showcase__panel-body p {
  color: #697790;
}
.FullStack--frontend .ail-project-showcase__metadata {
  border-color: #e1e8f5;
  background: #f9fbff;
}
.FullStack--frontend .ail-project-showcase__metadata > span {
  border-color: #e1e8f5 !important;
}
.FullStack--frontend .ail-project-showcase__metadata b {
  color: #465674;
}
.FullStack--frontend .ail-project-showcase__metadata small {
  color: #73819a;
}
.FullStack--frontend .ail-project-showcase__image-stage {
  border-bottom-color: #dfe7f6;
}
.FullStack--frontend .ail-project-showcase__features > span {
  box-shadow: 0 0.65rem 1.45rem rgba(52, 63, 130, 0.08);
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__panel {
  border-color: #344b70;
  background: #15233b;
  box-shadow: 0 1.3rem 2.8rem rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__image-stage {
  background:
    radial-gradient(
      circle at 15% 18%,
      rgba(103, 232, 249, 0.19),
      transparent 23%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(139, 92, 246, 0.29),
      transparent 30%
    ),
    linear-gradient(135deg, #07132f, #122651 56%, #302263);
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__item {
  border-color: #334a70;
  color: #e6efff;
  background: #17263f;
  box-shadow: 0 0.8rem 1.7rem rgba(0, 0, 0, 0.18);
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__item:hover {
  border-color: #5c79b5;
  background: #1b2d49;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item.is-active {
  border-color: #8c7bf0;
  background: linear-gradient(110deg, #29254f, #192d4a);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item-number {
  color: #d5e0f8;
  background: #243653;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__item-icon {
  border-color: #3e5782;
  color: #a9c5ff;
  background: #223552;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__head h2,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item-copy
  strong,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__panel-body
  h3 {
  color: #f0f5ff;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__head p,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item-copy
  small,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__panel-body
  p {
  color: #adbad0;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__metadata {
  border-color: #344b70;
  background: #142139;
  box-shadow: 0 0.5rem 1.3rem rgba(0, 0, 0, 0.2);
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span:first-child,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span:nth-child(2),
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span:nth-child(3) {
  border-color: #344b70 !important;
  background: #192943;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__metadata b {
  color: #e0eaff;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  small {
  color: #aab9d1;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  > span {
  box-shadow: 0 0.75rem 1.7rem rgba(0, 0, 0, 0.25);
}

/* Force every Front-End showcase surface into the shared dark palette. */
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase {
  border-color: #334a6f !important;
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(139, 92, 246, 0.2),
      transparent 24rem
    ),
    radial-gradient(
      circle at 5% 100%,
      rgba(34, 211, 238, 0.1),
      transparent 25rem
    ),
    linear-gradient(135deg, #0f192c, #121e34 52%, #10263a) !important;
  box-shadow: 0 2rem 4.5rem rgba(0, 0, 0, 0.32) !important;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__content,
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__viewer {
  background: transparent !important;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__panel {
  border-color: #344d74 !important;
  background: #15243d !important;
  box-shadow: 0 1.3rem 2.8rem rgba(0, 0, 0, 0.26) !important;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__panel-body {
  background: #15243d !important;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__item {
  border-color: #344d74 !important;
  color: #e7efff !important;
  background: #172740 !important;
  box-shadow: 0 0.8rem 1.7rem rgba(0, 0, 0, 0.18) !important;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__item:hover {
  border-color: #617fba !important;
  background: #1b2e4b !important;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item.is-active {
  border-color: #8c7bf0 !important;
  background: linear-gradient(110deg, #292650, #1a2d4a) !important;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28) !important;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item-number {
  color: #d5e0fa !important;
  background: #243756 !important;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__item-icon {
  border-color: #415d88 !important;
  color: #abc9ff !important;
  background: #223653 !important;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__head h2,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item-copy
  strong,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__panel-body
  h3,
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__features b,
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__metadata b {
  color: #f0f5ff !important;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__head p,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item-copy
  small,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__panel-body
  p,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  small,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  small {
  color: #aebdd4 !important;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  > span:nth-child(1) {
  border-color: #574d91 !important;
  background: linear-gradient(145deg, #211e3d, #29234d) !important;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  > span:nth-child(2) {
  border-color: #32617f !important;
  background: linear-gradient(145deg, #152c43, #183851) !important;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  > span:nth-child(3) {
  border-color: #2e6c69 !important;
  background: linear-gradient(145deg, #153535, #17433f) !important;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  > span:nth-child(4) {
  border-color: #3a6c4b !important;
  background: linear-gradient(145deg, #193424, #1c432c) !important;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__metadata {
  border-color: #344d74 !important;
  background: #14223a !important;
  box-shadow: 0 0.55rem 1.35rem rgba(0, 0, 0, 0.2) !important;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span:first-child,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span:nth-child(2),
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span:nth-child(3) {
  border-color: #344d74 !important;
  background: #192a45 !important;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__tech span {
  border-color: #40587f !important;
  color: #bfd1ff !important;
  background: #202f4d !important;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__image-stage {
  background:
    radial-gradient(
      circle at 15% 18%,
      rgba(103, 232, 249, 0.19),
      transparent 23%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(139, 92, 246, 0.29),
      transparent 30%
    ),
    linear-gradient(135deg, #07132f, #122651 56%, #302263) !important;
}

/* Front-End course: Projects Showcase dark-mode surfaces and contrast. */
.FullStack--frontend .ail-project-showcase__panel-body {
  position: relative;
  isolation: isolate;
  padding: clamp(1.5rem, 2.5vw, 2.35rem);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(139, 92, 246, 0.12),
      transparent 16rem
    ),
    radial-gradient(
      circle at 0 100%,
      rgba(34, 211, 238, 0.1),
      transparent 15rem
    ),
    linear-gradient(145deg, #fff, #f8faff) !important;
}
.FullStack--frontend .ail-project-showcase__panel-body::before {
  position: absolute;
  z-index: -1;
  top: 1.1rem;
  left: 1.1rem;
  width: 6rem;
  height: 6rem;
  border: 1px solid rgba(106, 90, 205, 0.12);
  border-radius: 1.5rem;
  content: "";
  transform: rotate(18deg);
}
.FullStack--frontend .ail-project-showcase__panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.FullStack--frontend .ail-project-showcase__panel-heading span,
.FullStack--frontend .ail-project-showcase__panel-heading em {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid #dcd6f6;
  border-radius: 999px;
  color: #6849bd;
  background: rgba(244, 240, 255, 0.9);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}
.FullStack--frontend .ail-project-showcase__panel-heading em {
  border-color: #bfe5ee;
  color: #14768c;
  background: #edfbfe;
}
.FullStack--frontend .ail-project-showcase__panel-body h3 {
  position: relative;
  margin: 0.25rem 0 0.75rem;
  padding-right: 1rem;
  font-size: clamp(1.65rem, 2.3vw, 2.25rem);
  line-height: 1.5;
}
.FullStack--frontend .ail-project-showcase__panel-body h3::before {
  position: absolute;
  top: 0.25em;
  right: 0;
  width: 4px;
  height: 1.15em;
  border-radius: 999px;
  background: linear-gradient(#7c5ce6, #22b8cf);
  content: "";
}
.FullStack--frontend .ail-project-showcase__panel-body > p {
  margin: 0 0 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(202, 211, 232, 0.72);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 2;
}
.FullStack--frontend .ail-project-showcase__features {
  gap: 0.75rem;
}
.FullStack--frontend .ail-project-showcase__features > span {
  min-height: 7.6rem;
  padding: 1rem;
  border-radius: 1rem;
}
.FullStack--frontend .ail-project-showcase__metadata {
  margin-top: 1rem;
  border-radius: 1rem;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__panel-body {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(139, 92, 246, 0.16),
      transparent 16rem
    ),
    radial-gradient(
      circle at 0 100%,
      rgba(34, 211, 238, 0.08),
      transparent 15rem
    ),
    linear-gradient(145deg, #15243d, #142239) !important;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__panel-heading
  span {
  border-color: #524882;
  color: #d5ccff;
  background: #282249;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__panel-heading
  em {
  border-color: #2d6175;
  color: #9beafb;
  background: #173548;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__panel-body
  > p {
  border-color: #344d70;
  background: rgba(14, 28, 48, 0.62);
}
@media (max-width: 991.98px) {
  .FullStack--frontend .ail-project-showcase {
    padding: clamp(1.25rem, 3vw, 2rem);
  }
  .FullStack--frontend .ail-project-showcase__layout {
    grid-template-areas: "content" "viewer" !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem;
  }
  .FullStack--frontend .ail-project-showcase__content {
    grid-area: content;
    min-width: 0;
  }
  .FullStack--frontend .ail-project-showcase__viewer {
    grid-area: viewer;
    min-width: 0;
  }
  .FullStack--frontend .ail-project-showcase__head {
    margin-bottom: 1.25rem;
  }
  .FullStack--frontend .ail-project-showcase__list-wrap {
    max-height: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.2rem 0 0.7rem;
  }
  .FullStack--frontend .ail-project-showcase__list {
    display: flex;
    gap: 0.75rem;
    min-width: max-content;
  }
  .FullStack--frontend .ail-project-showcase__item {
    flex: 0 0 min(26rem, 72vw);
    min-height: 6.8rem;
  }
  .FullStack--frontend .ail-project-showcase__all-link {
    margin-top: 0.75rem;
  }
  .FullStack--frontend .ail-project-showcase__panel {
    width: 100%;
  }
  .FullStack--frontend .ail-project-showcase__metadata {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .FullStack--frontend .ail-project-showcase {
    margin-inline: -0.35rem;
    padding: 1.15rem;
    border-radius: 1.45rem;
  }
  .FullStack--frontend .ail-project-showcase__head h2 {
    font-size: 2rem;
    line-height: 1.45;
  }
  .FullStack--frontend .ail-project-showcase__head p {
    font-size: 0.95rem;
    line-height: 1.9;
  }
  .FullStack--frontend .ail-project-showcase__item {
    flex-basis: min(23rem, 82vw);
  }
  .FullStack--frontend .ail-project-showcase__image-stage {
    min-height: 19rem;
  }
  .FullStack--frontend .ail-project-showcase__panel-body {
    padding: 1.25rem;
  }
  .FullStack--frontend .ail-project-showcase__features {
    grid-template-columns: 1fr !important;
  }
  .FullStack--frontend .ail-project-showcase__features > span {
    min-height: 6.4rem;
  }
  .FullStack--frontend .ail-project-showcase__metadata {
    grid-template-columns: 1fr;
  }
  .FullStack--frontend .ail-project-showcase__metadata > span {
    min-height: 5.2rem;
  }
  .FullStack--frontend .ail-project-showcase__panel-body > p {
    font-size: 0.92rem;
  }
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase {
  border-color: #30415d;
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(139, 92, 246, 0.19),
      transparent 24rem
    ),
    radial-gradient(
      circle at 4% 100%,
      rgba(34, 211, 238, 0.1),
      transparent 24rem
    ),
    #101a2c;
  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__head h2,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item-copy
  strong,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__panel-body
  h3 {
  color: #edf3ff;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__head p,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__panel-body
  p,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item-copy
  small {
  color: #aebbd0;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__item,
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__panel {
  border-color: #30415d;
  background: #152239;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__item:hover {
  border-color: #596eaa;
  background: #192a45;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item.is-active {
  border-color: #8875df;
  background: linear-gradient(110deg, #242047, #182943);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__item-number {
  color: #c1cbe2;
  background: #202e48;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__item-icon {
  border-color: #3c4d70;
  color: #9bb7ff;
  background: #202d48;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  > span {
  box-shadow: 0 0.65rem 1.5rem rgba(0, 0, 0, 0.18);
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  > span:nth-child(1) {
  border-color: #54498a;
  background: linear-gradient(145deg, #211d3b, #29214b);
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  > span:nth-child(2) {
  border-color: #315c7c;
  background: linear-gradient(145deg, #152b42, #173650);
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  > span:nth-child(3) {
  border-color: #2d6969;
  background: linear-gradient(145deg, #153534, #16423f);
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  > span:nth-child(4) {
  border-color: #386948;
  background: linear-gradient(145deg, #193323, #1b402a);
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__features b {
  color: #e7efff;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__features
  small {
  color: #a8b7ce;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__metadata {
  border-color: #30415d;
  background: #142036;
  box-shadow: 0 0.55rem 1.35rem rgba(0, 0, 0, 0.18);
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span:first-child,
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span:nth-child(2),
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  > span:nth-child(3) {
  border-color: #30415d !important;
  background: #18263e;
}
html[data-theme="dark"] .FullStack--frontend .ail-project-showcase__metadata b {
  color: #dce7fb;
}
html[data-theme="dark"]
  .FullStack--frontend
  .ail-project-showcase__metadata
  small {
  color: #aebbd0;
}
html[data-theme="dark"] .FullStack--frontend .ail-projects-divider__label {
  border-color: #465482;
  color: #d1d8ff;
  background: linear-gradient(105deg, #192642, #211b3b);
}
html[data-theme="dark"] .FullStack--frontend .ail-projects-divider__arrow {
  border-color: #405172;
  color: #bfcaff;
  background: #192740;
}

/* AI engineering polish: dark-mode contrast and a calmer, more deliberate
   visual system for the skill stack and course introduction. */
html[data-theme="dark"] .ail-why-now__card-arrow {
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.16);
}
html[data-theme="dark"] .ail-why-now__card:hover .ail-why-now__card-arrow {
  color: #dbeafe;
  background: #2563eb;
}

.ail-hero__stack-category {
  overflow: hidden;
  padding: clamp(1.35rem, 2vw, 1.8rem);
  border: 1px solid rgba(94, 111, 166, 0.18);
  border-radius: 1.35rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98),
    rgba(242, 247, 255, 0.86)
  );
  box-shadow: 0 0.9rem 2rem rgba(36, 61, 116, 0.07);
}
.ail-hero__stack-category::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.32rem;
  border-radius: inherit;
  background: linear-gradient(#2563eb, #22d3ee);
  content: "";
  opacity: 0.72;
}
.ail-hero__stack-category:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 1.15rem 2.5rem rgba(37, 99, 235, 0.13);
}
.ail-hero__stack-category-head {
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.ail-hero__stack-category-icon {
  width: 3.1rem;
  height: 3.1rem;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 1rem;
  color: #2563eb;
  background: linear-gradient(145deg, #eef5ff, #e4f8ff);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.9);
}
.ail-hero__stack-category h3 {
  font-size: 1.2rem;
}
.ail-hero__stack-category p {
  font-size: 0.92rem;
  line-height: 1.75;
}
html[data-theme="dark"] .ail-hero__stack-category {
  border-color: rgba(96, 165, 250, 0.22);
  background: linear-gradient(145deg, #121d31, #13253d);
  box-shadow: 0 1rem 2.3rem rgba(0, 0, 0, 0.24);
}
html[data-theme="dark"] .ail-hero__stack-category::before {
  background: linear-gradient(#60a5fa, #22d3ee);
}
html[data-theme="dark"] .ail-hero__stack-category:hover {
  border-color: rgba(103, 232, 249, 0.45);
  box-shadow: 0 1.15rem 2.7rem rgba(34, 211, 238, 0.12);
}
html[data-theme="dark"] .ail-hero__stack-category-icon {
  border-color: rgba(96, 165, 250, 0.28);
  color: #93c5fd;
  background: linear-gradient(145deg, #182d4b, #12394d);
  box-shadow: 0 0.45rem 1rem rgba(0, 0, 0, 0.18);
}
html[data-theme="dark"] .ail-project-showcase__eyebrow {
  border-color: rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.16);
}
html[data-theme="dark"] .ail-project-showcase__features > span {
  border-color: #285274;
  background: linear-gradient(145deg, #10263b, #122f47);
}
html[data-theme="dark"] .ail-project-showcase__features b {
  color: #e5f2ff;
}
html[data-theme="dark"] .ail-project-showcase__features small {
  color: #a9c3d9;
}
html[data-theme="dark"] .ail-project-showcase__metadata {
  border-color: #294d6b;
  background: rgba(12, 29, 47, 0.72);
}
html[data-theme="dark"] .ail-project-showcase__metadata > span {
  border-color: #294d6b !important;
  background: #132b43 !important;
}
html[data-theme="dark"] .ail-project-showcase__metadata b {
  color: #ddecff;
}
html[data-theme="dark"] .ail-project-showcase__metadata small {
  color: #a9c3d9;
}
.ail-desc.ail-about {
  margin-top: clamp(2.5rem, 6vw, 5rem);
}
html[data-theme="light"] .ail-about__card {
  border-color: #d7e4fa;
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(96, 165, 250, 0.16),
      transparent 22rem
    ),
    radial-gradient(
      circle at 7% 100%,
      rgba(34, 211, 238, 0.1),
      transparent 20rem
    ),
    linear-gradient(145deg, #fff, #f6faff);
  box-shadow: 0 1.5rem 3.8rem rgba(37, 99, 235, 0.1);
}

/* The curriculum control is a real element so it is reliable across loaded
   Font Awesome variants and remains available to assistive technology. */
.ail-path__top::after {
  content: none;
}
.ail-path__toggle-icon {
  position: absolute;
  top: 50%;
  inset-inline-end: 1.65rem;
  color: var(--ail-accent);
  font-size: 1rem;
  transform: translateY(-50%);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s ease;
}
.ail-path__block--open .ail-path__toggle-icon {
  transform: translateY(-50%) rotate(180deg);
}
html[data-theme="dark"] .ail-path__toggle-icon {
  color: #67e8f9;
}

/* Tablet composition: retain the hero's hierarchy while using the available width. */
@media (min-width: 576px) and (max-width: 991.98px) {
  .ail-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    padding: clamp(1.8rem, 4vw, 3rem);
    text-align: center;
  }
  .ail-hero__copy {
    align-items: center;
    min-width: 0;
  }
  .ail-hero__eyebrow-row,
  .ail-hero__phrase-rail,
  .ail-hero__tags,
  .ail-hero__cta {
    justify-content: center;
  }
  .ail-hero__title {
    max-width: 46rem;
    margin-inline: auto;
    font-size: clamp(3.25rem, 6vw, 4.35rem);
    text-align: center;
  }
  .ail-hero__desc {
    max-width: 50rem;
    margin-inline: auto;
  }
  .ail-hero__pricing {
    width: min(100%, 50rem);
    margin-inline: auto;
    text-align: right;
  }
  .ail-hero__stats {
    width: min(100%, 45rem);
    margin-inline: auto;
  }
  .ail-hero__media-wrap {
    width: min(100%, 54rem);
    margin-inline: auto;
  }
  .ail-project-showcase {
    padding: clamp(1.5rem, 4vw, 2.6rem);
  }
  .ail-project-showcase .ail-project-showcase__layout {
    grid-template-areas: "viewer" "content";
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .ail-project-showcase .ail-project-showcase__content,
  .ail-project-showcase .ail-project-showcase__viewer {
    width: 100%;
    min-width: 0;
  }
  .ail-full-course-offer .ail-bundle__access-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .ail-full-course-offer .ail-bundle__price-area,
  .ail-full-course-offer .ail-bundle__benefits-area {
    width: 100%;
    padding: clamp(1.35rem, 3.5vw, 2rem);
    text-align: right;
  }
  .ail-full-course-offer .ail-bundle__price-area {
    border-left: 0;
    border-bottom: 1px solid rgba(96, 165, 250, 0.22);
  }
}

/* Mobile composition: compact without crowding the hero or syllabus. */
@media (max-width: 575.98px) {
  .ail-hero {
    gap: 1.5rem;
    padding: 1.15rem 0 2rem;
  }
  .ail-hero__copy {
    min-width: 0;
  }
  .ail-hero__eyebrow-row,
  .ail-hero__phrase-rail,
  .ail-hero__tags {
    justify-content: center;
  }
  .ail-hero__title {
    margin: 0 auto 0.85rem;
    font-size: clamp(2.35rem, 9vw, 3.05rem);
    line-height: 1.28;
    letter-spacing: -0.05rem;
    text-align: center;
  }
  .ail-hero__desc {
    max-width: 34rem;
    margin-inline: auto;
    font-size: 1rem;
    line-height: 1.95;
    text-align: center;
  }
  .ail-hero__cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.65rem;
  }
  .ail-hero__cta .ail-btn {
    justify-content: center;
    min-width: 0;
    padding-inline: 0.7rem;
    font-size: 0.9rem;
  }
  .ail-hero__pricing {
    padding: 1rem;
  }
  .ail-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ail-hero__media-wrap {
    margin-top: 0;
  }
  .ail-why-now__title {
    font-size: clamp(1.75rem, 6.8vw, 2.2rem);
    line-height: 1.45;
    letter-spacing: -0.035rem;
  }
  .ail-projects-divider {
    height: auto !important;
    min-height: 0;
    margin: 2.2rem auto 1.4rem;
    padding-bottom: 2.35rem;
  }
  .ail-projects-divider__label {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    height: auto;
    padding: 0.52rem 1rem;
    font-size: 0.86rem;
    line-height: 1.55;
    text-align: center;
    white-space: normal;
  }
  .ail-projects-divider__arrow {
    bottom: 0;
  }
  #ail-syllabus .ail-lesson__group-title {
    min-height: 0;
    padding: 0.65rem 0.8rem;
    font-size: 1rem;
    line-height: 1.55;
  }
  #ail-syllabus .ail-lesson__group-title i {
    font-size: 1.1rem;
  }
}

/* Income paths — a practical next step after the AI skills matrix. */
.ail-income-paths {
  position: relative;
  isolation: isolate;
  margin: clamp(3.5rem, 7vw, 7rem) 0 clamp(2.5rem, 5vw, 5rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: clamp(1.35rem, 3vw, 2rem);
  background:
    radial-gradient(
      circle at 6% 8%,
      rgba(99, 102, 241, 0.13),
      transparent 28rem
    ),
    radial-gradient(
      circle at 94% 90%,
      rgba(13, 148, 136, 0.11),
      transparent 26rem
    ),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 1.4rem 3.8rem rgba(15, 23, 42, 0.07);
}
.ail-income-paths::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(
    rgba(59, 130, 246, 0.2) 0.7px,
    transparent 0.7px
  );
  background-size: 1.2rem 1.2rem;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.ail-income-paths__header {
  max-width: 52rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.ail-income-paths__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.85rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  color: #4338ca;
  background: rgba(238, 242, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 850;
}
.ail-income-paths__eyebrow i {
  color: #0891b2;
}
.ail-income-paths__header h2 {
  margin: 0.9rem 0 0.65rem;
  color: var(--ail-text);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 950;
  line-height: 1.35;
  letter-spacing: -0.055rem;
  text-wrap: balance;
}
.ail-income-paths__header p {
  margin: 0;
  color: var(--ail-muted);
  font-size: 1.08rem;
  line-height: 1.9;
}
.ail-income-paths__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ail-income-path {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 17.5rem;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.045);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.ail-income-path::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--ail-income-color);
  opacity: 0.82;
}
.ail-income-path:hover {
  border-color: color-mix(in srgb, var(--ail-income-color) 42%, transparent);
  box-shadow: 0 1.2rem 2rem rgba(15, 23, 42, 0.1);
  transform: translateY(-0.35rem);
}
.ail-income-path--vibe {
  --ail-income-color: #6366f1;
}
.ail-income-path--freelance {
  --ail-income-color: #0891b2;
}
.ail-income-path--startup {
  --ail-income-color: #d97706;
}
.ail-income-path--global {
  --ail-income-color: #16a34a;
}
.ail-income-path__number {
  align-self: flex-start;
  color: var(--ail-income-color);
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.ail-income-path__icon {
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  margin: 0.9rem 0;
  place-items: center;
  border-radius: 1rem;
  color: var(--ail-income-color);
  background: color-mix(in srgb, var(--ail-income-color) 11%, white);
  font-size: 1.45rem;
  box-shadow: inset 0 0 0 1px
    color-mix(in srgb, var(--ail-income-color) 16%, transparent);
}
.ail-income-path h3 {
  margin: 0;
  color: var(--ail-text);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.65;
}
.ail-income-path p {
  margin: 0.6rem 0 1rem;
  color: var(--ail-muted);
  font-size: 0.95rem;
  line-height: 1.85;
}
.ail-income-path__signal {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  width: max-content;
  margin-top: auto;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  color: var(--ail-income-color);
  background: color-mix(in srgb, var(--ail-income-color) 9%, white);
  font-size: 0.78rem;
  font-weight: 850;
}
html[data-theme="dark"] .ail-income-paths {
  border-color: rgba(103, 232, 249, 0.16);
  background:
    radial-gradient(
      circle at 6% 8%,
      rgba(99, 102, 241, 0.16),
      transparent 28rem
    ),
    radial-gradient(
      circle at 94% 90%,
      rgba(13, 148, 136, 0.12),
      transparent 26rem
    ),
    rgba(9, 20, 38, 0.72);
  box-shadow: 0 1.4rem 3.8rem rgba(0, 0, 0, 0.24);
}
html[data-theme="dark"] .ail-income-paths__eyebrow {
  border-color: rgba(165, 180, 252, 0.2);
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.12);
}
html[data-theme="dark"] .ail-income-paths__header h2,
html[data-theme="dark"] .ail-income-path h3 {
  color: #edf7ff;
}
html[data-theme="dark"] .ail-income-paths__header p,
html[data-theme="dark"] .ail-income-path p {
  color: #aec4d9;
}
html[data-theme="dark"] .ail-income-path {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(15, 30, 53, 0.72);
  box-shadow: none;
}
html[data-theme="dark"] .ail-income-path:hover {
  border-color: color-mix(in srgb, var(--ail-income-color) 58%, transparent);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
}
html[data-theme="dark"] .ail-income-path__icon,
html[data-theme="dark"] .ail-income-path__signal {
  background: color-mix(in srgb, var(--ail-income-color) 15%, #0f1e35);
}
@media (max-width: 1080px) {
  .ail-income-paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .ail-income-paths {
    margin-top: 3rem;
    padding: 1rem;
    border-radius: 1.25rem;
  }
  .ail-income-paths__header {
    margin-bottom: 1.25rem;
  }
  .ail-income-paths__header h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    letter-spacing: -0.035rem;
  }
  .ail-income-paths__header p {
    font-size: 0.98rem;
  }
  .ail-income-paths__grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .ail-income-path {
    min-height: 0;
    padding: 1.1rem;
  }
  .ail-income-path__icon {
    margin: 0.7rem 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ail-income-path {
    transition: none;
  }
}

/* Refined income paths: tighter rhythm, stronger hierarchy, unified color system. */
.ail-income-paths {
  padding: clamp(1.1rem, 2.5vw, 2rem);
}
.ail-income-paths__header {
  margin-bottom: clamp(1.15rem, 2vw, 1.75rem);
}
.ail-income-paths__header h2 {
  margin: 0.7rem 0 0.4rem;
}
.ail-income-paths__header p {
  font-size: 1.13rem;
  line-height: 1.78;
}
.ail-income-paths__grid {
  gap: 0.85rem;
}
.ail-income-path {
  --ail-income-border: color-mix(in srgb, var(--ail-income-color) 24%, #cbd5e1);
  --ail-income-surface: color-mix(in srgb, var(--ail-income-color) 5%, white);
  --ail-income-glow: color-mix(
    in srgb,
    var(--ail-income-color) 20%,
    transparent
  );
  min-height: 18.25rem;
  padding: 1.35rem;
  border-color: var(--ail-income-border);
  background: linear-gradient(
    145deg,
    var(--ail-income-surface),
    rgba(255, 255, 255, 0.88)
  );
  box-shadow:
    0 0.7rem 1.45rem rgba(15, 23, 42, 0.055),
    inset 0 1px rgba(255, 255, 255, 0.92);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}
.ail-income-path::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 1.15rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--ail-income-border);
  border-radius: 50%;
  opacity: 0.46;
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}
.ail-income-path::after {
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--ail-income-color),
    transparent 85%
  );
  opacity: 0.9;
}
.ail-income-path:hover {
  border-color: color-mix(in srgb, var(--ail-income-color) 52%, #cbd5e1);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--ail-income-color) 9%, white),
    rgba(255, 255, 255, 0.94)
  );
  box-shadow:
    0 1.1rem 2.25rem var(--ail-income-glow),
    0 0.85rem 1.4rem rgba(15, 23, 42, 0.08);
  transform: translateY(-0.45rem);
}
.ail-income-path:hover::before {
  opacity: 0.82;
  transform: scale(1.16);
}
.ail-income-path--vibe {
  --ail-income-color: #6366f1;
  --ail-income-progress: 28%;
}
.ail-income-path--freelance {
  --ail-income-color: #0891b2;
  --ail-income-progress: 52%;
}
.ail-income-path--startup {
  --ail-income-color: #d97706;
  --ail-income-progress: 74%;
}
.ail-income-path--global {
  --ail-income-color: #16a34a;
  --ail-income-progress: 100%;
}
.ail-income-path__number {
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid
    color-mix(in srgb, var(--ail-income-color) 17%, transparent);
}
.ail-income-path__number::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: var(--ail-income-progress);
  height: 2px;
  border-radius: 99px;
  background: var(--ail-income-color);
  box-shadow: 0 0 0.65rem var(--ail-income-glow);
}
.ail-income-path__icon {
  width: 3.7rem;
  height: 3.7rem;
  margin: 0.9rem 0 0.8rem;
  border: 1px solid color-mix(in srgb, var(--ail-income-color) 22%, transparent);
  background: color-mix(in srgb, var(--ail-income-color) 11%, white);
  font-size: 1.6rem;
  box-shadow:
    0 0.55rem 1rem var(--ail-income-glow),
    inset 0 1px rgba(255, 255, 255, 0.72);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}
.ail-income-path:hover .ail-income-path__icon {
  transform: translateY(-0.18rem) scale(1.06);
  box-shadow:
    0 0.75rem 1.3rem var(--ail-income-glow),
    inset 0 1px rgba(255, 255, 255, 0.8);
}
.ail-income-path--vibe .ail-income-path__icon {
  border-radius: 50%;
}
.ail-income-path--freelance .ail-income-path__icon {
  border-radius: 1.1rem 0.75rem 1.1rem 0.75rem;
}
.ail-income-path--startup .ail-income-path__icon {
  border-radius: 0.7rem 0.7rem 0.7rem 1.35rem;
}
.ail-income-path--global .ail-income-path__icon {
  border-radius: 1.3rem 1.3rem 0.7rem 1.3rem;
}
.ail-income-path h3 {
  font-size: 1.34rem;
  line-height: 1.58;
}
.ail-income-path p {
  margin: 0.55rem 0 1.05rem;
  font-size: 1.07rem;
  line-height: 1.78;
}
.ail-income-path__signal {
  padding: 0.47rem 0.72rem;
  font-size: 0.84rem;
  border: 1px solid color-mix(in srgb, var(--ail-income-color) 17%, transparent);
}
html[data-theme="dark"] .ail-income-path {
  --ail-income-border: color-mix(in srgb, var(--ail-income-color) 34%, #233852);
  --ail-income-surface: color-mix(
    in srgb,
    var(--ail-income-color) 10%,
    #0f1e35
  );
  background: linear-gradient(
    145deg,
    var(--ail-income-surface),
    rgba(15, 30, 53, 0.84)
  );
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}
html[data-theme="dark"] .ail-income-path:hover {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--ail-income-color) 16%, #0f1e35),
    rgba(15, 30, 53, 0.93)
  );
  box-shadow:
    0 1.1rem 2.2rem rgba(0, 0, 0, 0.27),
    0 0 1.4rem var(--ail-income-glow);
}
html[data-theme="dark"] .ail-income-path__icon {
  border-color: color-mix(in srgb, var(--ail-income-color) 34%, transparent);
  box-shadow:
    0 0.55rem 1rem rgba(0, 0, 0, 0.16),
    0 0 0.8rem var(--ail-income-glow);
}
@media (max-width: 620px) {
  .ail-income-paths__header {
    margin-bottom: 1rem;
  }
  .ail-income-paths__header p {
    font-size: 1.02rem;
  }
  .ail-income-path {
    min-height: 0;
    padding: 1.15rem;
  }
  .ail-income-path h3 {
    font-size: 1.25rem;
  }
  .ail-income-path p {
    font-size: 1rem;
  }
}

/* Final AI-only dark surfaces and small-screen breathing room. */
html[data-theme="dark"] .ail-project-showcase__features > span,
html[data-theme="dark"] .ail-project-showcase__features > span:nth-child(n) {
  border-color: #27607f !important;
  background: linear-gradient(145deg, #102a43, #123a58) !important;
  box-shadow:
    inset 0 1px rgba(162, 239, 255, 0.05),
    0 0.8rem 1.7rem rgba(0, 0, 0, 0.24) !important;
}
html[data-theme="dark"] .ail-project-showcase__features > span::after {
  background: rgba(61, 193, 241, 0.16) !important;
}
html[data-theme="dark"] .ail-project-showcase__features > span i {
  color: #72e4ff !important;
  filter: drop-shadow(0 0.25rem 0.45rem rgba(67, 210, 255, 0.3));
}
html[data-theme="dark"] .ail-project-showcase__features > span b {
  color: #edf8ff !important;
}
html[data-theme="dark"] .ail-project-showcase__features > span small {
  color: #afcde0 !important;
}

@media (max-width: 575.98px) {
  .ail-hero {
    gap: 2.15rem;
    padding: 1.65rem 0.2rem 2.8rem;
  }
  .ail-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
  }
  .ail-hero__eyebrow-row {
    margin-bottom: 0.15rem;
  }
  .ail-hero__future-note,
  .ail-hero__kicker {
    max-width: 100%;
  }
  .ail-hero__title {
    margin: 0.25rem auto 0.15rem;
    font-size: clamp(2.15rem, 9.3vw, 2.85rem);
    line-height: 1.35;
  }
  .ail-hero__desc {
    margin-top: 0.2rem;
    font-size: 0.96rem;
    line-height: 2.05;
  }
  .ail-hero__phrase-rail {
    gap: 0.6rem;
    margin-top: 0.15rem;
  }
  .ail-hero__tags {
    gap: 0.55rem;
    margin: 0.1rem 0 0;
  }
  .ail-hero__tag {
    min-height: 2.3rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.76rem;
  }
  .ail-hero__cta {
    margin-top: 0.2rem;
    gap: 0.75rem;
  }
  .ail-hero__pricing {
    margin-top: 0.3rem;
    padding: 1.1rem;
  }
  .ail-hero__stats {
    gap: 0.65rem;
    margin-top: 0.1rem;
  }
  .ail-hero__media-wrap {
    margin-top: 0.4rem;
  }
  .ail-path__top.ail-path__chapter-top {
    padding-inline: 1.15rem;
  }
  .ail-path__toggle-icon {
    inset-inline-end: 1.15rem;
  }
  .ail-path__block.ail-path__block--paid.ail-curriculum-roadmap.ail-path__block--project {
    padding-left: 0.65rem;
    border-radius: 0;
  }
}

/* Unified database-backed pricing presentation. */
.ail-hero__pricing-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem 0.8rem;
  width: 100%;
}
.ail-hero__pricing-label {
  grid-column: 1 / -1;
}
.ail-hero__old-price {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgba(100, 116, 139, 0.16);
  border-radius: 0.7rem;
  color: #64748b;
  background: rgba(248, 250, 252, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}
.ail-hero__old-price s {
  margin-inline: 0.25rem;
  color: #8b5d68;
  text-decoration-color: #ef6f87;
  text-decoration-thickness: 2px;
}
.ail-hero__discount {
  justify-self: end;
  min-height: 2.15rem;
  margin: 0;
  padding: 0.38rem 0.7rem;
  border-color: rgba(14, 165, 233, 0.25);
  color: #075f94;
  background: linear-gradient(135deg, #eaf7ff, #edf4ff);
  box-shadow: 0 0.45rem 1.1rem rgba(14, 116, 185, 0.09);
  font-size: 0.78rem;
}
.ail-hero__discount i {
  color: #0ea5e9;
}
.ail-hero__final-label {
  grid-column: 1 / -1;
  margin: 0.2rem 0 -0.25rem;
  color: #3f6487;
  font-size: 0.74rem;
  letter-spacing: 0.01em;
}
.ail-hero__price {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 0.95rem;
  color: #15579e;
  background: linear-gradient(
    120deg,
    rgba(239, 246, 255, 0.96),
    rgba(224, 242, 254, 0.88)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0.7rem 1.5rem rgba(37, 99, 235, 0.09);
}
.ail-hero__price small {
  color: #277fbd;
}
.ail-hero__payment-meta {
  grid-column: 1 / -1;
}

html[data-theme="dark"] .ail-hero__old-price {
  border-color: rgba(125, 211, 252, 0.14);
  color: #a9bdd2;
  background: rgba(11, 35, 57, 0.72);
}
html[data-theme="dark"] .ail-hero__old-price s {
  color: #c7b4c0;
  text-decoration-color: #fb7185;
}
html[data-theme="dark"] .ail-hero__discount {
  border-color: rgba(82, 217, 255, 0.3);
  color: #a5efff;
  background: linear-gradient(
    135deg,
    rgba(16, 74, 107, 0.62),
    rgba(29, 55, 112, 0.5)
  );
  box-shadow: 0 0 1.25rem rgba(46, 201, 246, 0.1);
}
html[data-theme="dark"] .ail-hero__discount i {
  color: #67e8f9;
}
html[data-theme="dark"] .ail-hero__final-label {
  color: #9bcbe5;
}
html[data-theme="dark"] .ail-hero__price {
  border-color: rgba(103, 232, 249, 0.3);
  color: #b8f4ff;
  background: linear-gradient(
    120deg,
    rgba(13, 55, 87, 0.88),
    rgba(26, 38, 91, 0.75)
  );
  box-shadow:
    inset 0 1px 0 rgba(202, 247, 255, 0.08),
    0 0 1.5rem rgba(34, 211, 238, 0.1);
  text-shadow: 0 0 0.8rem rgba(103, 232, 249, 0.2);
}
html[data-theme="dark"] .ail-hero__price small {
  color: #82dff3;
}

.ail-full-course-offer .ail-bundle__pricing-stack {
  display: grid;
  gap: 0.7rem;
  margin: 0.8rem 0 1rem;
}
.ail-full-course-offer .ail-bundle__original-price,
.ail-full-course-offer .ail-bundle__discount-details,
.ail-full-course-offer .ail-bundle__final-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ail-full-course-offer .ail-bundle__original-price {
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(100, 116, 139, 0.15);
  border-radius: 0.8rem;
  color: #64748b;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}
.ail-full-course-offer .ail-bundle__original-price strong {
  color: #52647b;
  font-size: 1.08rem;
}
.ail-full-course-offer .ail-bundle__original-price strong.is-discounted {
  color: #8a6470;
  text-decoration: line-through;
  text-decoration-color: #ef6f87;
  text-decoration-thickness: 2px;
}
.ail-full-course-offer .ail-bundle__original-price small {
  font-size: 0.75em;
}
.ail-full-course-offer .ail-bundle__discount-details {
  flex-wrap: wrap;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 0.8rem;
  background: linear-gradient(
    120deg,
    rgba(224, 242, 254, 0.75),
    rgba(238, 242, 255, 0.72)
  );
}
.ail-full-course-offer .ail-bundle__discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0369a1;
  font-weight: 900;
}
.ail-full-course-offer .ail-bundle__discount-saving {
  color: #147e6d;
  font-size: 0.9rem;
  font-weight: 800;
}
.ail-full-course-offer .ail-bundle__final-price {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 1rem;
  color: #315d88;
  background: linear-gradient(125deg, #eff6ff, #e0f2fe);
  box-shadow:
    0 0.8rem 1.8rem rgba(37, 99, 235, 0.1),
    inset 0 1px 0 #fff;
  font-weight: 850;
}
.ail-full-course-offer .ail-bundle__final-price strong {
  color: #1558a0;
  font-size: clamp(2rem, 3.3vw, 3.15rem);
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.ail-full-course-offer .ail-bundle__final-price small {
  color: #2783bd;
  font-size: 0.38em;
  letter-spacing: 0;
}

html[data-theme="dark"] .ail-full-course-offer .ail-bundle__original-price {
  border-color: rgba(125, 211, 252, 0.13);
  color: #9fb4c9;
  background: rgba(8, 28, 47, 0.52);
}
html[data-theme="dark"]
  .ail-full-course-offer
  .ail-bundle__original-price
  strong {
  color: #bac9d8;
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__discount-details {
  border-color: rgba(82, 217, 255, 0.26);
  background: linear-gradient(
    120deg,
    rgba(11, 67, 98, 0.55),
    rgba(31, 43, 98, 0.45)
  );
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__discount-badge {
  color: #8cecff;
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__discount-saving {
  color: #83e6c9;
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__final-price {
  border-color: rgba(103, 232, 249, 0.3);
  color: #9fcce3;
  background: linear-gradient(
    125deg,
    rgba(10, 53, 84, 0.88),
    rgba(24, 37, 91, 0.78)
  );
  box-shadow:
    0 0 1.7rem rgba(34, 211, 238, 0.1),
    inset 0 1px 0 rgba(220, 251, 255, 0.08);
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__final-price strong {
  color: #b5f5ff;
  text-shadow: 0 0 0.9rem rgba(84, 222, 255, 0.22);
}
html[data-theme="dark"] .ail-full-course-offer .ail-bundle__final-price small {
  color: #82dcf3;
}

@media (max-width: 575.98px) {
  .ail-hero__pricing-copy {
    grid-template-columns: 1fr;
  }
  .ail-hero__old-price,
  .ail-hero__discount,
  .ail-hero__final-label,
  .ail-hero__price,
  .ail-hero__payment-meta {
    grid-column: 1;
    width: 100%;
    justify-self: stretch;
  }
  .ail-hero__discount {
    justify-content: center;
    text-align: center;
  }
  .ail-full-course-offer .ail-bundle__original-price,
  .ail-full-course-offer .ail-bundle__discount-details {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
  .ail-full-course-offer .ail-bundle__final-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
  .ail-full-course-offer .ail-bundle__final-price strong {
    font-size: 2rem;
  }
}

/* Full Stack / Front-End project cards: preserve a real text column on touch layouts. */
@media (max-width: 991.98px) {
  .FullStack--frontend .ail-project-showcase__item {
    grid-template-columns: 2.2rem 2.45rem minmax(14rem, 1fr) auto !important;
    width: min(30rem, 82vw) !important;
    min-width: min(30rem, 82vw) !important;
    max-width: none !important;
  }

  .FullStack--frontend .ail-project-showcase__item-copy {
    display: block;
    width: auto !important;
    min-width: 14rem !important;
    max-width: none !important;
    overflow: hidden;
  }

  .FullStack--frontend .ail-project-showcase__item-copy strong,
  .FullStack--frontend .ail-project-showcase__item-copy small {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 575.98px) {
  .FullStack--frontend .ail-project-showcase__item {
    grid-template-columns: 2rem 2.35rem minmax(12.5rem, 1fr) !important;
    width: min(27rem, calc(100vw - 3rem)) !important;
    min-width: min(27rem, calc(100vw - 3rem)) !important;
  }

  .FullStack--frontend .ail-project-showcase__item-arrow {
    display: none;
  }
  .FullStack--frontend .ail-project-showcase__item-copy {
    min-width: 12.5rem !important;
  }
}

.ail-hero__discount {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;

  padding: 0.58rem 0.55rem;
  border: 1px solid rgba(37, 137, 95, 0.22);
  border-radius: 0.65rem;
  color: #14734d;
  background: #ecfbf3;
  font-size: 0.76rem;
  font-weight: 850;
}
.ail-hero__discount i {
  color: #1aa56c;
}
.ail-hero__final-label {
  margin-top: 0.95rem;
  color: var(--ail-muted);
  font-size: 0.72rem;
  font-weight: 800;
}
html[data-theme="dark"] .ail-hero__discount {
  border-color: rgba(85, 231, 172, 0.32);
  color: #9af0c8;
  background: rgba(16, 91, 71, 0.34);
}
html[data-theme="dark"] .ail-hero__discount i {
  color: #64e8ad;
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .ail-hero__copy,
  .ail-hero__media-wrap {
    width: 82%;
    margin-inline: auto;
  }

  .ail-hero__cta {
    width: 100%;
    justify-content: center;
  }
}

/* Hero curriculum CTA: a focused blue action with restrained depth. */
.ail-hero__cta .ail-btn--line {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: min(100%, 16rem);
  border: 1px solid rgba(37, 99, 235, 0.42);
  border-radius: 5px;
  color: #145fc0;
  background: linear-gradient(
    135deg,
    rgba(239, 246, 255, 0.98),
    rgba(224, 242, 254, 0.94)
  );
  box-shadow:
    0 0.75rem 1.75rem rgba(37, 99, 235, 0.14),
    inset 0 1px rgba(255, 255, 255, 0.9);
  font-weight: 900;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}
.ail-hero__cta .ail-btn--line i {
  color: #2587dd;
  transition:
    transform 0.22s ease,
    color 0.22s ease;
}
.ail-hero__cta .ail-btn--line:hover {
  border-color: #2587dd;
  color: #fff;
  background: linear-gradient(135deg, #176ccc, #239fe4);
  box-shadow: 0 1rem 2.1rem rgba(30, 123, 211, 0.27);
  transform: translateY(-3px);
}
.ail-hero__cta .ail-btn--line:hover i {
  color: #dff8ff;
  transform: translateX(-0.2rem);
}
html[data-theme="dark"] body.ail-page main .ail-hero__cta a.ail-btn--line {
  border-color: rgba(89, 205, 255, 0.48) !important;
  color: #bceeff !important;
  background: linear-gradient(
    135deg,
    rgba(15, 55, 89, 0.94),
    rgba(19, 73, 104, 0.9)
  ) !important;
  box-shadow:
    0 0.85rem 2rem rgba(0, 0, 0, 0.25),
    0 0 1.2rem rgba(44, 190, 236, 0.1) !important;
}
html[data-theme="dark"]
  body.ail-page
  main
  .ail-hero__cta
  a.ail-btn--line:hover {
  border-color: #78e6ff !important;
  color: #041522 !important;
  background: linear-gradient(135deg, #63dcf3, #65a0ff) !important;
  box-shadow:
    0 0 1.8rem rgba(80, 211, 244, 0.28),
    0 1rem 2rem rgba(0, 0, 0, 0.25) !important;
}

@media (max-width: 991.98px) {
  .ail-hero__cta {
    margin-inline: auto;
    text-align: center;
  }
  .ail-hero__cta .ail-btn--line {
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .ail-hero__cta {
    display: grid;
    width: min(100%, 22rem);
    grid-template-columns: minmax(0, 1fr);
  }
  .ail-hero__cta .ail-btn--line {
    width: 100%;
    min-width: 0;
    min-height: 3.8rem;
    padding-inline: 1rem;
  }
  #ail-syllabus .ail-path__block .ail-path__chapter-top {
    padding-right: 0.85rem !important;
    padding-left: 0.85rem !important;
    border-radius: 0 !important;
  }
}

/* Keep the pre-sale controls aligned with the pricing card at every size.
   Only phone widths stack the countdown and curriculum CTA. */
.ail-hero__actions,
.ail-hero__pricing {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 576px) {
  .ail-hero__actions {
    grid-template-columns: minmax(0, 1fr) minmax(11rem, auto);
  }

  .ail-hero__actions .ail-hero__presale {
    width: 100%;
  }

  .ail-hero__actions .ail-hero__cta {
    width: auto;
    min-width: 0;
  }

  .ail-hero__actions .ail-hero__cta .ail-btn {
    width: 100%;
    min-width: 0;
    padding-inline: 1rem;
  }
}

@media (max-width: 575.98px) {
  .ail-hero__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .ail-hero__actions .ail-hero__cta,
  .ail-hero__actions .ail-hero__cta .ail-btn {
    width: 100%;
  }
}

/* Tablet Hero alignment: keep controls centered and at the same readable
   measure as the description instead of stretching to the viewport. */
@media (min-width: 992px) and (max-width: 1099.98px) {
  .ail-hero__title {
    margin-inline: auto;
    text-align: center;
  }

  .ail-hero__desc,
  .ail-hero__actions,
  .ail-hero__stats {
    width: min(100%, 62rem);
    margin-inline: auto;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .ail-hero__title {
    margin-inline: auto;
    text-align: center;
  }

  .ail-hero__actions,
  .ail-hero__stats {
    width: min(100%, 50rem);
    margin-inline: auto;
  }
}

/* The pre-sale heading and clock are one compact row at every breakpoint. */
.ail-hero__actions .ail-hero__presale {
  flex-direction: row !important;
  align-items: center;
}

@media (max-width: 575.98px) {
  .ail-hero__actions .ail-hero__presale {
    justify-content: space-between;
    padding-inline: 0.5rem;
  }

  .ail-hero__actions .ail-presale__intro {
    flex: 0 1 auto;
    gap: 0.3rem;
  }

  .ail-hero__actions .ail-presale__intro strong {
    font-size: 0.72rem;
  }

  .ail-hero__actions .ail-presale__icon {
    width: 1.9rem;
    height: 1.9rem;
    flex-basis: 1.9rem;
    font-size: 0.8rem;
  }

  .ail-hero__actions .ail-presale__clock {
    gap: 0.1rem;
  }

  .ail-hero__actions .ail-presale__unit {
    min-width: 1.9rem;
  }

  .ail-hero__actions .ail-presale__unit b {
    padding: 0.3rem 0.15rem;
    font-size: 0.88rem;
  }

  .ail-hero__actions .ail-presale__unit small {
    font-size: 0.58rem;
  }

  .ail-hero__actions .ail-presale__clock > i {
    margin-top: 0.25rem;
    font-size: 0.8rem;
  }
}

/* ── Final responsive composition for the AI Hero ─────────────── */
.ail-hero,
.ail-hero__copy,
.ail-hero__media-wrap,
.ail-hero__actions,
.ail-hero__pricing,
.ail-hero__stats {
  min-width: 0;
  max-width: 100%;
}

.ail-hero {
  --ail-hero-measure: 43rem;
}

.ail-hero__desc,
.ail-hero__actions,
.ail-hero__pricing,
.ail-hero__stats {
  /* width: min(100%, var(--ail-hero-measure)); */
}

.ail-hero__actions,
.ail-hero__pricing,
.ail-hero__stats {
  margin-inline: 0;
}

.ail-hero__pricing-main,
.ail-hero__pricing-copy,
.ail-hero__payment-meta,
.ail-hero__old-price,
.ail-hero__discount,
.ail-hero__price {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1440px) {
  .ail-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(31rem, 0.92fr);
    gap: clamp(3.5rem, 6vw, 7rem);
    padding-block: 2.75rem 3.5rem;
  }

  .ail-hero__title {
    max-width: 100%;
  }

  .ail-hero__title-accent {
    white-space: nowrap;
  }
}

@media (min-width: 1100px) and (max-width: 1439.98px) {
  .ail-hero {
    --ail-hero-measure: 100%;
    grid-template-columns: minmax(0, 1.05fr) minmax(28rem, 0.95fr);
    gap: clamp(2.25rem, 4vw, 4.5rem);
  }

  .ail-hero__title {
    max-width: 100%;
    font-size: clamp(3.2rem, 3.55vw, 4.85rem);
  }

  .ail-hero__title-accent {
    white-space: nowrap;
  }
}

@media (max-width: 1099.98px) {
  .ail-hero {
    --ail-hero-measure: 46rem;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.25rem, 5vw, 3.5rem);
    padding-block: clamp(1.75rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 3.5rem);
  }

  .ail-hero__copy {
    width: min(100%, 50rem);
    margin-inline: auto;
    text-align: center;
  }

  .ail-hero__title,
  .ail-hero__desc,
  .ail-hero__actions,
  .ail-hero__pricing,
  .ail-hero__stats {
    margin-inline: auto;
  }

  .ail-hero__title {
    max-width: 46rem;
    text-align: center;
  }

  .ail-hero__kicker,
  .ail-hero__eyebrow-row,
  .ail-hero__tags,
  .ail-hero__phrase-rail {
    justify-content: center;
  }

  .ail-hero__pricing {
    grid-template-columns: minmax(0, 1fr);
    text-align: right;
  }

  .ail-hero__pricing-benefit {
    grid-column: auto;
  }

  .ail-hero__purchase,
  .ail-hero__owned {
    width: 100%;
  }

  .ail-hero__media-wrap {
    width: min(100%, 46rem);
    margin-inline: auto;
  }

  .ail-hero__agent-tags {
    position: static;
    justify-content: center;
    margin: 0 0 0.8rem;
  }

  .ail-hero__agent-tags--bottom {
    margin: 0.8rem 0 0;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .ail-hero {
    --ail-hero-measure: 40rem;
  }

  .ail-hero__title {
    font-size: clamp(2.8rem, 7vw, 3.7rem);
  }

  .ail-hero__desc {
    font-size: 1.2rem;
    line-height: 2;
  }

  .ail-hero__actions {
    grid-template-columns: minmax(0, 1fr) minmax(9.5rem, auto);
  }

  .ail-hero__actions .ail-hero__presale {
    padding: 0.55rem;
  }

  .ail-hero__actions .ail-presale__intro strong {
    font-size: 0.82rem;
  }

  .ail-hero__actions .ail-presale__unit {
    min-width: 2.15rem;
  }

  .ail-hero__actions .ail-presale__unit b {
    padding: 0.35rem 0.16rem;
    font-size: 1rem;
  }

  .ail-hero__actions .ail-presale__unit small {
    font-size: 0.63rem;
  }

  .ail-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ail-hero__stats li {
    min-height: 3.5rem;
  }

  .ail-hero__stats li + li {
    border-right: 0;
  }

  .ail-hero__stats li:nth-child(even) {
    border-right: 1px solid var(--ail-border);
  }

  .ail-hero__stats li:nth-child(n + 3) {
    border-top: 1px solid var(--ail-border);
  }
}

@media (max-width: 575.98px) {
  .ail-hero {
    --ail-hero-measure: 100%;
    gap: 1.6rem;
    padding: 1.25rem 0 2.4rem;
  }

  .ail-hero__copy,
  .ail-hero__media-wrap {
    width: 100%;
  }

  .ail-hero__eyebrow-row {
    gap: 0.4rem;
  }

  .ail-hero__future-note {
    display: none;
  }

  .ail-hero__kicker {
    margin-bottom: 0.6rem;
    padding: 0.32rem 0.55rem;
    font-size: 0.88rem;
  }

  .ail-hero__status {
    font-size: 0.78rem;
  }

  .ail-hero__title {
    max-width: 28rem;
    margin-bottom: 0.7rem;
    font-size: clamp(2.25rem, 9.4vw, 3rem);
    line-height: 1.28;
    letter-spacing: -0.06rem;
  }

  .ail-hero__desc {
    max-width: 44rem;
    font-size: 0.98rem;
    line-height: 1.95;
  }

  .ail-hero__tags {
    max-width: 22rem;
    margin-inline: auto;
    gap: 0.35rem;
  }

  .ail-hero__tag {
    padding: 0.35rem 0.52rem;
    font-size: 0.78rem;
  }

  .ail-hero__actions,
  .ail-hero__pricing,
  .ail-hero__stats {
    width: min(100%, 44rem);
  }

  .ail-hero__actions {
    gap: 0.65rem;
  }

  .ail-hero__actions .ail-hero__cta {
    display: flex;
    width: 100%;
  }

  .ail-hero__actions .ail-hero__cta .ail-btn {
    min-height: 3.65rem;
    font-size: 1rem;
  }

  .ail-hero__pricing {
    padding: 0.9rem;
    gap: 0.7rem;
  }

  .ail-hero__pricing-main {
    align-items: flex-start;
    gap: 0.65rem;
  }

  .ail-hero__pricing-icon {
    width: 3.1rem;
    height: 3.1rem;
  }

  .ail-hero__price {
    padding: 0.6rem 0.7rem;
    font-size: 1.55rem;
  }

  .ail-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ail-hero__stats li {
    min-height: 3.25rem;
    padding: 0.35rem;
    font-size: 1rem;
  }

  .ail-hero__stats strong,
  .ail-hero__stats i {
    font-size: 1.18rem;
  }

  .ail-hero__agent-tags {
    display: none;
  }

  .ail-hero__media-wrap {
    width: min(100%, 44rem);
  }
}

/* Use the available tablet / small-laptop canvas without making phone
   layouts artificially narrow. */
@media (min-width: 768px) and (max-width: 1100px) {
  .ail-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .ail-hero__copy,
  .ail-hero__media-wrap {
    width: min(70%, 52rem);
  }

  .ail-hero__desc,
  .ail-hero__actions,
  .ail-hero__pricing,
  .ail-hero__stats {
    width: 100%;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .ail-hero__copy,
  .ail-hero__media-wrap {
    width: min(86%, 40rem);
  }
}

/* Match the full container measure used by .ail-why-now on iPad and phones. */
@media (max-width: 991.98px) {
  .ail-hero__copy,
  .ail-hero__media-wrap,
  .ail-hero__desc,
  .ail-hero__actions,
  .ail-hero__pricing,
  .ail-hero__stats {
    width: 100%;
    max-width: 100%;
  }
}

/* Viewport-based Hero shell: avoids compounded percentage widths from the
   legacy responsive layers above. */
@media (min-width: 992px) and (max-width: 1100px) {
  .ail-hero__copy,
  .ail-hero__media-wrap {
    width: min(calc(100vw - 4rem), 960px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  .ail-hero__desc,
  .ail-hero__actions,
  .ail-hero__pricing,
  .ail-hero__stats {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .ail-hero__copy,
  .ail-hero__media-wrap {
    width: min(calc(100vw - 3rem), 860px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  .ail-hero__desc,
  .ail-hero__actions,
  .ail-hero__pricing,
  .ail-hero__stats {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .ail-hero__copy,
  .ail-hero__media-wrap {
    width: min(calc(100vw - 2.5rem), 720px) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  .ail-hero__desc,
  .ail-hero__actions,
  .ail-hero__pricing,
  .ail-hero__stats {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 575.98px) {
  .ail-hero__copy,
  .ail-hero__media-wrap,
  .ail-hero__desc,
  .ail-hero__actions,
  .ail-hero__pricing,
  .ail-hero__stats {
    width: calc(100vw - 30px) !important;
    max-width: calc(100vw - 30px) !important;
    margin-inline: auto !important;
    box-sizing: border-box;
  }

  .ail-hero__pricing-main {
    width: 100%;
    min-width: 0;
  }

  .ail-hero__pricing-copy {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .ail-hero__price,
  .ail-hero__old-price,
  .ail-hero__discount,
  .ail-hero__payment-meta {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* Course projects: keep the submitted project artwork completely unobstructed
   and give the project details the same considered card language as the
   "Why now" smart card. */
.ail-project-showcase__dashboard,
.ail-project-showcase__window-dots,
.ail-project-showcase__image-stage::after {
  display: none !important;
}

.ail-project-showcase__image-stage {
  box-sizing: border-box;
  padding-bottom: 4.6rem;
  background: #0f172a !important;
}

.ail-project-showcase__image,
.ail-project-showcase__image.is-active,
.ail-project-showcase__video {
  bottom: 4.6rem !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  transform: none !important;
}

.ail-project-showcase__demo-link {
  right: 1rem !important;
  bottom: 0.85rem !important;
  border-color: #cbd9ef !important;
  color: #1f365b !important;
  background: #ffffff !important;
  box-shadow: 0 0.45rem 1rem rgba(15, 23, 42, 0.14) !important;
  backdrop-filter: none !important;
}

.ail-project-showcase__demo-link i {
  color: #ffffff !important;
  background: linear-gradient(135deg, #6366f1, #22b8cf) !important;
}

.ail-project-showcase__demo-link:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #5360db, #159bb2) !important;
}

.ail-project-showcase__demo-link:hover i {
  color: #283b92 !important;
  background: #ffffff !important;
}

.ail-project-showcase__panel-body {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.45rem, 2.4vw, 2.25rem) !important;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(99, 102, 241, 0.14),
      transparent 18rem
    ),
    radial-gradient(
      circle at 0 100%,
      rgba(14, 165, 233, 0.1),
      transparent 16rem
    ),
    linear-gradient(145deg, #ffffff, #f4f8ff) !important;
}

.ail-project-showcase__panel-body::before {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: inherit;
  background: linear-gradient(180deg, #6366f1, #22d3ee);
  content: "";
}

.ail-project-showcase__panel-body::after {
  position: absolute;
  z-index: -1;
  top: 1.35rem;
  left: 1.35rem;
  width: 5.75rem;
  height: 5.75rem;
  border: 1px solid rgba(99, 102, 241, 0.13);
  border-radius: 1.35rem;
  content: "";
  transform: rotate(18deg);
}

.ail-project-showcase__panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.ail-project-showcase__panel-heading > span,
.ail-project-showcase__panel-heading em {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.32rem 0.78rem;
  border: 1px solid #d9d4f6;
  border-radius: 999px;
  color: #5b43ae;
  background: rgba(244, 241, 255, 0.9);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 850;
}

.ail-project-showcase__panel-heading em {
  border-color: #b8e4ec;
  color: #08758d;
  background: #ebfbfe;
}

.ail-project-showcase__panel-body h3 {
  position: relative;
  margin: 0.2rem 0 0.85rem;
  padding-inline-start: 1rem;
  color: #16254a !important;
  font-size: clamp(1.5rem, 2.2vw, 2.15rem) !important;
  line-height: 1.5;
}

.ail-project-showcase__panel-body h3::before {
  position: absolute;
  top: 0.25em;
  inset-inline-start: 0;
  width: 4px;
  height: 1.15em;
  border-radius: 999px;
  background: linear-gradient(#6366f1, #22d3ee);
  content: "";
}

.ail-project-showcase__panel-body > p {
  margin: 0 0 1.3rem !important;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(194, 207, 230, 0.78);
  border-radius: 1rem;
  color: #5d6d87 !important;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem !important;
  line-height: 2 !important;
}

.ail-project-showcase__features {
  gap: 0.72rem !important;
  margin-top: 0 !important;
}

.ail-project-showcase__features > span {
  min-height: 7.1rem;
  padding: 0.95rem !important;
  border-radius: 1rem !important;
  box-shadow: 0 0.65rem 1.45rem rgba(53, 72, 132, 0.08) !important;
}

.ail-project-showcase__features > span:nth-child(1) {
  border-color: #ded7f5;
  background: linear-gradient(145deg, #fbfaff, #f2effe);
}
.ail-project-showcase__features > span:nth-child(2) {
  border-color: #c8e8ef;
  background: linear-gradient(145deg, #f6feff, #edfafe);
}
.ail-project-showcase__features > span:nth-child(3) {
  border-color: #c5ebe3;
  background: linear-gradient(145deg, #f4fffc, #eafbf6);
}
.ail-project-showcase__features > span:nth-child(4) {
  border-color: #d5e7c9;
  background: linear-gradient(145deg, #fbfff7, #f2faea);
}

.ail-project-showcase__features i {
  margin-bottom: 0.45rem !important;
  font-size: 1rem !important;
}

.ail-project-showcase__features b {
  color: #263657 !important;
  font-size: 0.82rem !important;
}

.ail-project-showcase__features small {
  color: #71819a !important;
  font-size: 0.72rem !important;
}

.ail-project-showcase__metadata {
  gap: 0.72rem !important;
  margin-top: 1rem !important;
  padding: 0 !important;
  border: 0 !important;
}

.ail-project-showcase__metadata > span {
  display: grid !important;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.72rem;
  align-items: center;
  min-height: 5.45rem;
  padding: 0.78rem !important;
  border: 1px solid #dce6f4 !important;
  border-radius: 0.95rem;
  background: rgba(250, 252, 255, 0.86) !important;
  box-shadow: 0 0.5rem 1.2rem rgba(53, 72, 132, 0.06);
}

.ail-project-showcase__metadata i {
  display: grid;
  grid-row: span 2;
  width: 2.8rem;
  height: 2.8rem;
  margin: 0 !important;
  place-items: center;
  border-radius: 0.8rem;
  color: #167b9a !important;
  background: #def7fc;
  font-size: 1rem !important;
}

.ail-project-showcase__metadata b,
.ail-project-showcase__metadata small {
  overflow: visible !important;
  margin: 0 !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

.ail-project-showcase__metadata b {
  color: #334965 !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
}

.ail-project-showcase__metadata small {
  color: #71819a !important;
  font-size: 0.74rem !important;
  line-height: 1.5;
}

html[data-theme="dark"] .ail-project-showcase__image-stage {
  background: #07111f !important;
}
html[data-theme="dark"] .ail-project-showcase__demo-link {
  border-color: #31506f !important;
  color: #dcecff !important;
  background: #152a44 !important;
}
html[data-theme="dark"] .ail-project-showcase__demo-link:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #4f46e5, #0e8ca2) !important;
}
html[data-theme="dark"] .ail-project-showcase__panel-body {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(129, 140, 248, 0.18),
      transparent 18rem
    ),
    radial-gradient(
      circle at 0 100%,
      rgba(34, 211, 238, 0.09),
      transparent 16rem
    ),
    linear-gradient(145deg, #15243d, #122039) !important;
}
html[data-theme="dark"] .ail-project-showcase__panel-body::after {
  border-color: rgba(165, 180, 252, 0.18);
}
html[data-theme="dark"] .ail-project-showcase__panel-heading > span {
  border-color: #51477d;
  color: #d8d1ff;
  background: #28234a;
}
html[data-theme="dark"] .ail-project-showcase__panel-heading em {
  border-color: #286176;
  color: #9be9fa;
  background: #153749;
}
html[data-theme="dark"] .ail-project-showcase__panel-body h3 {
  color: #eef4ff !important;
}
html[data-theme="dark"] .ail-project-showcase__panel-body > p {
  border-color: #344f72;
  color: #b2c1d6 !important;
  background: rgba(10, 26, 47, 0.66);
}
html[data-theme="dark"] .ail-project-showcase__features > span:nth-child(1) {
  border-color: #574b8e;
  background: linear-gradient(145deg, #211e3e, #29234e);
}
html[data-theme="dark"] .ail-project-showcase__features > span:nth-child(2) {
  border-color: #32637f;
  background: linear-gradient(145deg, #152d44, #193952);
}
html[data-theme="dark"] .ail-project-showcase__features > span:nth-child(3) {
  border-color: #2f6c68;
  background: linear-gradient(145deg, #153534, #17433f);
}
html[data-theme="dark"] .ail-project-showcase__features > span:nth-child(4) {
  border-color: #3a6d4b;
  background: linear-gradient(145deg, #193424, #1c432c);
}
html[data-theme="dark"] .ail-project-showcase__features b {
  color: #edf5ff !important;
}
html[data-theme="dark"] .ail-project-showcase__features small {
  color: #adc0d5 !important;
}
html[data-theme="dark"] .ail-project-showcase__metadata > span {
  border-color: #344f72 !important;
  background: #182a45 !important;
  box-shadow: 0 0.55rem 1.35rem rgba(0, 0, 0, 0.2);
}
html[data-theme="dark"] .ail-project-showcase__metadata i {
  color: #8eeafa !important;
  background: #123c52;
}
html[data-theme="dark"] .ail-project-showcase__metadata b {
  color: #e0ebfa !important;
}
html[data-theme="dark"] .ail-project-showcase__metadata small {
  color: #adc0d5 !important;
}

@media (max-width: 767.98px) {
  .ail-project-showcase__panel-body {
    padding: 1.2rem !important;
  }
  .ail-project-showcase__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ail-project-showcase__metadata {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .ail-project-showcase__image-stage {
    padding-bottom: 4.2rem;
  }
  .ail-project-showcase__image,
  .ail-project-showcase__image.is-active,
  .ail-project-showcase__video {
    bottom: 4.2rem !important;
    height: calc(100% - 4.2rem) !important;
  }
  .ail-project-showcase__demo-link {
    right: 0.75rem !important;
    bottom: 0.7rem !important;
  }
  .ail-project-showcase__features {
    grid-template-columns: 1fr;
  }
  .ail-project-showcase__features > span {
    min-height: 6.25rem;
  }
}

/* Software-engineering bridge: visual hand-off into the full-course offer. */
.ail-engineering-bridge{position:relative;isolation:isolate;max-width:1320px;margin:clamp(4rem,7vw,9rem) auto clamp(3.2rem,5vw,6.5rem);padding:clamp(2.6rem,4.5vw,5.4rem) clamp(2rem,4.5vw,5.6rem) 4.6rem;overflow:hidden;border:1px solid rgba(61,174,255,.46);border-radius:clamp(2rem,3.2vw,3.4rem);color:#f5f9ff;background:radial-gradient(circle at 10% 82%,rgba(29,180,255,.15),transparent 27%),radial-gradient(circle at 88% 20%,rgba(117,82,255,.15),transparent 28%),linear-gradient(125deg,#040b18 0%,#071426 54%,#0a1023 100%);box-shadow:inset 0 1px 0 rgba(205,238,255,.12),inset 0 0 7rem rgba(29,100,220,.06),0 2.5rem 6rem rgba(1,8,24,.3)}
.ail-engineering-bridge::before,.ail-engineering-bridge::after{position:absolute;z-index:-1;width:18rem;height:18rem;border-radius:50%;content:"";filter:blur(1rem);pointer-events:none}.ail-engineering-bridge::before{top:-11rem;right:-8rem;background:rgba(70,129,255,.18)}.ail-engineering-bridge::after{bottom:-12rem;left:20%;background:rgba(18,199,255,.1)}
.ail-engineering-bridge__texture{position:absolute;z-index:-1;inset:0;opacity:.46;background-image:linear-gradient(rgba(108,173,255,.065) 1px,transparent 1px),linear-gradient(90deg,rgba(108,173,255,.065) 1px,transparent 1px),radial-gradient(circle at 15% 22%,#67daff 0 1px,transparent 1.8px),radial-gradient(circle at 78% 68%,#aa73ff 0 1px,transparent 1.8px);background-size:3.7rem 3.7rem,3.7rem 3.7rem,13rem 13rem,17rem 17rem;mask-image:linear-gradient(105deg,transparent,black 16%,black 88%,transparent)}
.ail-engineering-bridge__layout{display:grid;grid-template-columns:minmax(0,.88fr) minmax(35rem,1.28fr);align-items:center;gap:clamp(1.2rem,2.8vw,3.5rem);direction:rtl}.ail-engineering-bridge__intro{position:relative;text-align:right}.ail-engineering-bridge__eyebrow{display:inline-flex;align-items:center;gap:.78rem;padding:.72rem 1.18rem;border:1px solid rgba(91,207,255,.42);border-radius:99px;color:#b5eaff;background:linear-gradient(100deg,rgba(19,83,133,.56),rgba(38,57,128,.4));box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 0 2.2rem rgba(37,178,255,.15);font-size:1.1rem;font-weight:800}.ail-engineering-bridge__eyebrow i{color:#65ddff;font-size:1.1em}.ail-engineering-bridge__intro h2{max-width:29rem;margin:1.08rem 0 .62rem;color:#fff;font-family:PeydaSpecial,iransansweb,sans-serif;font-size:clamp(2.6rem,3.35vw,4.35rem);font-weight:950;line-height:1.16;letter-spacing:-.1rem}.ail-engineering-bridge__intro h2 span{display:block;background:linear-gradient(100deg,#47dcff,#4f92ff 50%,#b268ff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 .15rem 1rem rgba(77,181,255,.33))}.ail-engineering-bridge__intro h2::after{display:block;width:8.8rem;height:.3rem;margin-top:.9rem;border-radius:9px;background:linear-gradient(90deg,#5ddfff,#6f7cff,transparent);box-shadow:0 0 1.2rem rgba(63,197,255,.65);content:""}.ail-engineering-bridge__intro p{margin:0;color:#a9bdd4;font-size:1.12rem;font-weight:500;line-height:1.85}.ail-engineering-bridge__intro p strong{color:#000;font-weight:900}.ail-engineering-bridge__intro p em{color:#79dfff;font-style:normal;font-weight:800}
.ail-engineering-bridge__path{position:relative;min-height:23rem;padding:1.3rem .45rem}.ail-engineering-bridge__connections{position:absolute;z-index:0;inset:1.3rem .45rem;width:calc(100% - .9rem);height:calc(100% - 2.6rem);overflow:visible}.ail-engineering-bridge__connection-glow{fill:none;stroke:#20c4ff;stroke-width:16;opacity:.24;filter:blur(9px)}.ail-engineering-bridge__connection-line{fill:none;stroke:url(#ail-roadmap-line);stroke-width:3;stroke-dasharray:10 7;opacity:1;filter:drop-shadow(0 0 .45rem rgba(44,199,255,.95));animation:ail-roadmap-dash 13s linear infinite}.ail-engineering-bridge__connection-nodes circle{fill:#d1f8ff;stroke:#44cfff;stroke-width:3.5}.ail-engineering-bridge__flow-dot{fill:#fff;filter:drop-shadow(0 0 .8rem #46d8ff) drop-shadow(0 0 1.3rem #7974ff)}.ail-engineering-bridge__cards{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,1fr);gap:1.15rem 1.15rem;height:100%;direction:rtl}.ail-engineering-bridge__card{--roadmap-accent:#50b9ff;--roadmap-rgb:80,185,255;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.62rem;min-height:6.35rem;padding:.65rem .45rem;border:1px solid rgba(var(--roadmap-rgb),.64);border-radius:1.22rem;color:#ecf8ff;background:linear-gradient(145deg,rgba(22,51,87,.9),rgba(6,16,34,.84));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 1.6rem rgba(var(--roadmap-rgb),.1),0 .9rem 1.8rem rgba(0,5,18,.22),0 0 1.6rem rgba(var(--roadmap-rgb),.15);backdrop-filter:blur(14px);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}.ail-engineering-bridge__card::after{position:absolute;top:.55rem;right:.55rem;width:.38rem;height:.38rem;border-radius:50%;background:var(--roadmap-accent);box-shadow:0 0 .7rem var(--roadmap-accent);content:""}.ail-engineering-bridge__card:nth-child(1),.ail-engineering-bridge__card:nth-child(4),.ail-engineering-bridge__card:nth-child(7){transform:translateY(-.32rem) scale(1.025)}.ail-engineering-bridge__card:nth-child(2),.ail-engineering-bridge__card:nth-child(5),.ail-engineering-bridge__card:nth-child(8){transform:translateY(.24rem)}.ail-engineering-bridge__card:nth-child(3),.ail-engineering-bridge__card:nth-child(6),.ail-engineering-bridge__card:nth-child(9){transform:translateY(-.1rem) scale(.975);opacity:.94}.ail-engineering-bridge__card:nth-child(5){border-color:rgba(var(--roadmap-rgb),.85);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 0 1.8rem rgba(var(--roadmap-rgb),.15),0 1.1rem 2rem rgba(0,5,18,.25),0 0 2.1rem rgba(var(--roadmap-rgb),.28)}.ail-engineering-bridge__card:hover{z-index:2;border-color:var(--roadmap-accent);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 0 2.2rem rgba(var(--roadmap-rgb),.38);transform:translateY(-.5rem) scale(1.04);opacity:1}.ail-engineering-bridge__card-icon{display:grid;width:2.55rem;height:2.55rem;place-items:center;border:1px solid rgba(var(--roadmap-rgb),.3);border-radius:.82rem;color:var(--roadmap-accent);background:rgba(var(--roadmap-rgb),.11);box-shadow:0 0 1.1rem rgba(var(--roadmap-rgb),.2);font-size:1.25rem}.ail-engineering-bridge__card strong{max-width:100%;overflow:hidden;color:#ecf6ff;font-family:"Segoe UI",iransansweb,sans-serif;font-size:.95rem;font-weight:700;line-height:1.2;text-align:center;text-overflow:ellipsis;white-space:nowrap;direction:ltr}.ail-engineering-bridge__card--blue{--roadmap-accent:#6d8eff;--roadmap-rgb:109,142,255}.ail-engineering-bridge__card--magenta{--roadmap-accent:#df73ff;--roadmap-rgb:223,115,255}.ail-engineering-bridge__card--cyan{--roadmap-accent:#49ddff;--roadmap-rgb:73,221,255}.ail-engineering-bridge__card--orange{--roadmap-accent:#ffad62;--roadmap-rgb:255,173,98}.ail-engineering-bridge__card--violet{--roadmap-accent:#b285ff;--roadmap-rgb:178,133,255}.ail-engineering-bridge__card--electric{--roadmap-accent:#5c9bff;--roadmap-rgb:92,155,255}.ail-engineering-bridge__card--teal{--roadmap-accent:#57e7c2;--roadmap-rgb:87,231,194}.ail-engineering-bridge__card--pink{--roadmap-accent:#ff78b4;--roadmap-rgb:255,120,180}.ail-engineering-bridge__card--sky{--roadmap-accent:#72c9ff;--roadmap-rgb:114,201,255}
.ail-engineering-bridge__scroll{position:absolute;right:50%;bottom:1.1rem;display:grid;width:2.7rem;height:2.7rem;place-items:center;border:1px solid rgba(97,212,255,.72);border-radius:50%;color:#b8f1ff;background:rgba(11,50,86,.76);box-shadow:0 0 1.7rem rgba(41,190,255,.38),inset 0 1px 0 rgba(255,255,255,.12);font-size:1rem;transform:translateX(50%);animation:ail-roadmap-scroll 2.4s ease-in-out infinite}.ail-engineering-bridge__scroll:hover,.ail-engineering-bridge__scroll:focus-visible{color:#fff;border-color:#c2f5ff;box-shadow:0 0 2.3rem rgba(41,190,255,.65),inset 0 1px 0 rgba(255,255,255,.2);outline:0}
.course-syllabus-divider .ail-engineering-bridge__scroll{position:relative;right:auto;bottom:auto;flex:0 0 auto;transform:none;animation-name:ail-roadmap-scroll-divider}.course-syllabus-divider .ail-engineering-bridge__scroll:focus-visible{outline:2px solid #b8f1ff;outline-offset:4px}
@keyframes ail-roadmap-dash{to{stroke-dashoffset:-180}}@keyframes ail-roadmap-scroll{0%,100%{transform:translateX(50%) translateY(0)}50%{transform:translateX(50%) translateY(.35rem)}}
@keyframes ail-roadmap-scroll-divider{0%,100%{transform:translateY(0)}50%{transform:translateY(.35rem)}}
html[data-theme="light"] .ail-engineering-bridge{color:#162b48;background:radial-gradient(circle at 10% 82%,rgba(29,180,255,.12),transparent 27%),radial-gradient(circle at 88% 20%,rgba(117,82,255,.09),transparent 28%),linear-gradient(125deg,#f8fcff,#edf6ff 54%,#f7f9ff);border-color:rgba(54,151,221,.45);box-shadow:inset 0 1px 0 #fff,0 1.7rem 4.5rem rgba(38,90,145,.12)}html[data-theme="light"] .ail-engineering-bridge__texture{opacity:.68;background-image:linear-gradient(rgba(56,132,201,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(56,132,201,.07) 1px,transparent 1px),radial-gradient(circle at 15% 22%,#278fd3 0 1px,transparent 1.8px),radial-gradient(circle at 78% 68%,#7e73dc 0 1px,transparent 1.8px)}html[data-theme="light"] .ail-engineering-bridge__eyebrow{color:#1676ad;background:rgba(255,255,255,.62);border-color:rgba(31,147,215,.28)}html[data-theme="light"] .ail-engineering-bridge__intro h2{color:#10243f}html[data-theme="light"] .ail-engineering-bridge__intro p{color:#58708d}html[data-theme="light"] .ail-engineering-bridge__card{background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(233,245,255,.74));box-shadow:inset 0 1px 0 #fff,0 .6rem 1.5rem rgba(37,97,151,.08)}html[data-theme="light"] .ail-engineering-bridge__card strong{color:#19344f}html[data-theme="light"] .ail-engineering-bridge__scroll{color:#147bb7;background:rgba(255,255,255,.86);box-shadow:0 0 1.2rem rgba(41,190,255,.25),inset 0 1px 0 #fff}
@media (max-width:991.98px){.ail-engineering-bridge__layout{grid-template-columns:1fr;gap:2rem}.ail-engineering-bridge__intro{max-width:43rem;margin-inline:auto;text-align:center}.ail-engineering-bridge__intro h2{max-width:none}.ail-engineering-bridge__intro h2::after{margin-inline:auto}.ail-engineering-bridge__path{width:min(100%,43rem);margin-inline:auto}}
@media (max-width:575.98px){.ail-engineering-bridge{margin-top:3.5rem;padding:2.8rem 1rem 4.6rem;border-radius:1.75rem}.ail-engineering-bridge__eyebrow{font-size:.86rem}.ail-engineering-bridge__intro h2{margin-top:1.05rem;font-size:clamp(2.3rem,10.4vw,3.15rem);letter-spacing:-.04rem}.ail-engineering-bridge__intro p{font-size:1rem}.ail-engineering-bridge__path{min-height:29rem;padding:.8rem .2rem}.ail-engineering-bridge__connections{display:none}.ail-engineering-bridge__cards{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,1fr);gap:.72rem}.ail-engineering-bridge__cards::before{position:absolute;z-index:-1;top:2.2rem;right:50%;bottom:2.2rem;width:1px;background:linear-gradient(#42d8ff,#677eff 48%,#b276ff);box-shadow:0 0 .8rem #55d2ff;content:""}.ail-engineering-bridge__card,.ail-engineering-bridge__card:nth-child(n){min-height:4.85rem;border-radius:1rem;transform:none;opacity:1}.ail-engineering-bridge__card-icon{width:2.15rem;height:2.15rem;font-size:1rem}.ail-engineering-bridge__card strong{font-size:.68rem}.ail-engineering-bridge__scroll{bottom:.85rem;width:2.5rem;height:2.5rem}}
@media (prefers-reduced-motion:reduce){.ail-engineering-bridge__connection-line,.ail-engineering-bridge__scroll{animation:none}.ail-engineering-bridge__flow-dot{display:none}.ail-engineering-bridge__card{transition:none}}

/* Final neon polish: a disciplined technical grid, brighter depth, and roomier path nodes. */
.ail-engineering-bridge__texture{opacity:.52;background-image:linear-gradient(rgba(108,173,255,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(108,173,255,.075) 1px,transparent 1px),radial-gradient(circle at 0 0,rgba(131,226,255,.68) 0 1px,transparent 1.35px);background-size:3.8rem 3.8rem,3.8rem 3.8rem,3.8rem 3.8rem;background-position:0 0,0 0,0 0}.ail-engineering-bridge__layout{grid-template-columns:minmax(0,.8fr) minmax(37rem,1.35fr);gap:clamp(.85rem,2vw,2.6rem)}.ail-engineering-bridge__intro h2{max-width:26rem;margin-top:.95rem;font-size:clamp(2.45rem,3.05vw,3.95rem);line-height:1.13}.ail-engineering-bridge__intro p strong{color:#fff}.ail-engineering-bridge__cards{column-gap:1.65rem;row-gap:1.1rem}.ail-engineering-bridge__card{overflow:hidden;border-color:rgba(var(--roadmap-rgb),.73);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 1.8rem rgba(var(--roadmap-rgb),.13),0 1rem 2rem rgba(0,5,18,.24),0 0 2.25rem rgba(var(--roadmap-rgb),.21)}.ail-engineering-bridge__card::before{position:absolute;z-index:0;inset:-1.6rem;border-radius:inherit;background:radial-gradient(circle at 50% 34%,rgba(var(--roadmap-rgb),.33),transparent 53%);content:"";filter:blur(1.1rem);opacity:.78;pointer-events:none}.ail-engineering-bridge__card::after{z-index:1;box-shadow:0 0 .9rem var(--roadmap-accent),0 0 1.5rem rgba(var(--roadmap-rgb),.65)}.ail-engineering-bridge__card-icon{position:relative;z-index:1;border-color:rgba(var(--roadmap-rgb),.52);background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.14),rgba(var(--roadmap-rgb),.18));box-shadow:0 0 .9rem rgba(var(--roadmap-rgb),.6),0 0 2rem rgba(var(--roadmap-rgb),.31),inset 0 1px 0 rgba(255,255,255,.16)}.ail-engineering-bridge__card strong{position:relative;z-index:1}.ail-engineering-bridge__card:nth-child(5){box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 0 2rem rgba(var(--roadmap-rgb),.2),0 1.2rem 2.3rem rgba(0,5,18,.28),0 0 2.8rem rgba(var(--roadmap-rgb),.38)}
html[data-theme="light"] .ail-engineering-bridge__texture{opacity:.52;background-image:linear-gradient(rgba(56,132,201,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(56,132,201,.075) 1px,transparent 1px),radial-gradient(circle at 0 0,rgba(30,139,212,.55) 0 1px,transparent 1.35px);background-size:3.8rem 3.8rem,3.8rem 3.8rem,3.8rem 3.8rem;background-position:0 0,0 0,0 0}html[data-theme="light"] .ail-engineering-bridge__intro p strong{color:#10243f}html[data-theme="light"] .ail-engineering-bridge__card::before{opacity:.38}html[data-theme="light"] .ail-engineering-bridge__card-icon{box-shadow:0 0 .8rem rgba(var(--roadmap-rgb),.28),0 0 1.5rem rgba(var(--roadmap-rgb),.14),inset 0 1px 0 #fff}
@media (max-width:991.98px){.ail-engineering-bridge__layout{grid-template-columns:1fr;gap:2rem}.ail-engineering-bridge__intro h2{max-width:none}}@media (max-width:575.98px){.ail-engineering-bridge__intro h2{font-size:clamp(2.3rem,10.4vw,3.15rem);line-height:1.16}.ail-engineering-bridge__cards{column-gap:.72rem;row-gap:.72rem}}

/* Full Stack panel-body parity for AI Engineering's project showcase. */
body.ail-page .ail-project-showcase{--project-ink:#172554;--project-muted:#60708d}body.ail-page .ail-project-showcase__panel-body{padding:clamp(1.3rem,2.5vw,2.2rem)!important;background:radial-gradient(circle at 100% 0,rgba(124,58,237,.1),transparent 18rem),linear-gradient(145deg,rgba(255,255,255,.98),rgba(245,248,255,.98))!important}body.ail-page :is(.ail-project-showcase__panel-heading>span,.ail-project-showcase__panel-heading em){min-height:2.75rem!important;padding:.42rem .9rem!important;border:1px solid rgba(91,78,211,.3)!important;color:#5544c2!important;background:rgba(240,238,255,.86)!important;box-shadow:0 0 1rem rgba(91,78,211,.08);font-size:.9rem!important}body.ail-page .ail-project-showcase__panel-body h3{margin-block:.45rem .9rem!important;color:var(--project-ink)!important;font-size:clamp(1.7rem,2.5vw,2.35rem)!important;line-height:1.5!important}body.ail-page .ail-project-showcase__panel-body>p{padding:1rem 1.1rem!important;border-color:rgba(116,133,177,.3)!important;color:var(--project-muted)!important;background:rgba(255,255,255,.62)!important;font-size:clamp(1.05rem,1.25vw,1.16rem)!important;line-height:2!important}body.ail-page .ail-project-showcase__features{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.85rem!important}body.ail-page :is(.ail-project-showcase__features>span,.ail-project-showcase__metadata>span){min-width:0;min-height:5.8rem!important;padding:.85rem!important;border:1px solid rgba(74,122,184,.44)!important;border-radius:1rem!important;background:linear-gradient(145deg,#f8fbff,#edf3fb)!important;box-shadow:inset 0 1px rgba(255,255,255,.92),0 .65rem 1.35rem rgba(31,52,94,.1)!important}body.ail-page .ail-project-showcase__features>span{--feature-accent:#22d3ee;--feature-glow:rgba(34,211,238,.32);position:relative;display:grid;grid-template-columns:3.15rem minmax(0,1fr);grid-template-rows:auto auto;column-gap:.85rem;align-content:center;align-items:center;overflow:visible;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,background .24s ease}body.ail-page .ail-project-showcase__features>span:nth-child(1){--feature-accent:#06b6d4;--feature-glow:rgba(6,182,212,.34);border-color:rgba(6,182,212,.58)!important}body.ail-page .ail-project-showcase__features>span:nth-child(2){--feature-accent:#8b5cf6;--feature-glow:rgba(139,92,246,.3);border-color:rgba(139,92,246,.54)!important}body.ail-page .ail-project-showcase__features>span:nth-child(3){--feature-accent:#3b82f6;--feature-glow:rgba(59,130,246,.3);border-color:rgba(59,130,246,.54)!important}body.ail-page .ail-project-showcase__features>span:nth-child(4){--feature-accent:#10b981;--feature-glow:rgba(16,185,129,.3);border-color:rgba(16,185,129,.54)!important}body.ail-page .ail-project-showcase__features>span{box-shadow:inset 0 1px rgba(255,255,255,.94),0 0 1rem var(--feature-glow),0 .7rem 1.5rem rgba(31,52,94,.1)!important}body.ail-page .ail-project-showcase__features>span::after{position:absolute!important;right:1rem!important;bottom:-1px!important;left:1rem!important;top:auto!important;width:auto!important;height:2px!important;border-radius:999px!important;background:var(--feature-accent)!important;box-shadow:0 0 .75rem var(--feature-glow);content:"";opacity:.72!important}body.ail-page .ail-project-showcase__features>span:hover{z-index:2;border-color:var(--feature-accent)!important;background:linear-gradient(145deg,#fff,#edf5ff)!important;box-shadow:inset 0 1px rgba(255,255,255,.95),0 0 0 1px var(--feature-glow),0 0 1.3rem var(--feature-glow),0 .9rem 1.8rem rgba(26,44,82,.15)!important;transform:translateY(-4px)}body.ail-page .ail-project-showcase__metadata i{color:#078da9!important;filter:drop-shadow(0 0 .5rem rgba(6,182,212,.25));font-size:1.15rem!important}body.ail-page .ail-project-showcase__features i{position:relative;z-index:1;display:grid!important;grid-row:1/span 2;width:3.15rem;height:3.15rem;margin:0!important;place-items:center;border:1px solid var(--feature-accent);border-radius:.9rem;color:var(--feature-accent)!important;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(226,237,249,.96));box-shadow:inset 0 1px rgba(255,255,255,.9),0 0 .85rem var(--feature-glow);filter:none!important;font-size:1.2rem!important;transition:transform .24s ease,box-shadow .24s ease}body.ail-page .ail-project-showcase__features>span:hover i{box-shadow:inset 0 1px rgba(255,255,255,.95),0 0 1.2rem var(--feature-glow);transform:scale(1.06)}body.ail-page :is(.ail-project-showcase__features b,.ail-project-showcase__metadata b){color:#24345e!important;font-size:1.02rem!important;line-height:1.55}body.ail-page :is(.ail-project-showcase__features small,.ail-project-showcase__metadata small){color:#667792!important;font-size:.9rem!important;line-height:1.65!important}body.ail-page .ail-project-showcase__metadata{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:.85rem!important;margin-top:.9rem!important}body.ail-page .ail-project-showcase__metadata>span{grid-template-columns:2.75rem minmax(0,1fr)!important;min-height:5.9rem!important}body.ail-page .ail-project-showcase__difficulty{display:block;min-width:0;margin-top:.35rem;cursor:help}body.ail-page .ail-project-showcase__difficulty>span{display:flex;direction:ltr;gap:.3rem}body.ail-page .ail-project-showcase__difficulty i{display:block;width:clamp(.72rem,1.1vw,.95rem);height:.48rem;border:1px solid rgba(93,112,158,.28);border-radius:999px;background:rgba(126,143,179,.18);filter:none}body.ail-page .ail-project-showcase__difficulty i.is-lit{border-color:rgba(6,182,212,.75);background:linear-gradient(90deg,#06b6d4,#6366f1);box-shadow:0 0 .55rem rgba(6,182,212,.5)}
html[data-theme="dark"] body.ail-page .ail-project-showcase{--project-ink:#eff7ff;--project-muted:#b2c3d8}html[data-theme="dark"] body.ail-page .ail-project-showcase__panel-body{background:radial-gradient(circle at 100% 0,rgba(124,58,237,.2),transparent 18rem),radial-gradient(circle at 0 100%,rgba(6,182,212,.1),transparent 18rem),linear-gradient(145deg,#101f38,#0d1b31)!important}html[data-theme="dark"] body.ail-page :is(.ail-project-showcase__panel-heading>span,.ail-project-showcase__panel-heading em){border-color:rgba(129,140,248,.42)!important;color:#d9d5ff!important;background:rgba(39,35,77,.88)!important;box-shadow:0 0 1rem rgba(124,58,237,.13)}html[data-theme="dark"] body.ail-page .ail-project-showcase__panel-body>p{border-color:rgba(75,105,143,.5)!important;background:rgba(7,22,42,.66)!important}html[data-theme="dark"] body.ail-page :is(.ail-project-showcase__features>span,.ail-project-showcase__metadata>span){background:linear-gradient(145deg,#0d2038,#0a192e)!important;box-shadow:inset 0 1px rgba(255,255,255,.05),0 .7rem 1.5rem rgba(0,0,0,.26)!important}html[data-theme="dark"] body.ail-page .ail-project-showcase__features>span:hover{background:linear-gradient(145deg,#112b49,#0b1e36)!important;box-shadow:inset 0 1px rgba(255,255,255,.08),0 0 0 1px var(--feature-glow),0 0 1.45rem var(--feature-glow),0 1rem 2rem rgba(0,0,0,.34)!important}html[data-theme="dark"] body.ail-page .ail-project-showcase__features i{background:linear-gradient(145deg,#102d49,#101b35);box-shadow:inset 0 1px rgba(255,255,255,.08),0 0 1rem var(--feature-glow)}html[data-theme="dark"] body.ail-page :is(.ail-project-showcase__features b,.ail-project-showcase__metadata b){color:#eff7ff!important}html[data-theme="dark"] body.ail-page :is(.ail-project-showcase__features small,.ail-project-showcase__metadata small){color:#afc2d8!important}html[data-theme="dark"] body.ail-page .ail-project-showcase__difficulty i{border-color:rgba(113,143,174,.35);background:rgba(91,118,151,.22)}html[data-theme="dark"] body.ail-page .ail-project-showcase__difficulty i.is-lit{border-color:#67e8f9;background:linear-gradient(90deg,#22d3ee,#818cf8);box-shadow:0 0 .7rem rgba(34,211,238,.62)}
@media (max-width:1199.98px){body.ail-page .ail-project-showcase__metadata{grid-template-columns:1fr!important}body.ail-page .ail-project-showcase__metadata>span{min-height:5.7rem!important}}@media (max-width:767.98px){body.ail-page .ail-project-showcase__features{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.ail-page .ail-project-showcase__metadata{grid-template-columns:1fr!important}body.ail-page .ail-project-showcase__features>span{min-height:6.6rem!important}}@media (max-width:575.98px){body.ail-page .ail-project-showcase__panel-heading{align-items:flex-start;flex-direction:column}body.ail-page .ail-project-showcase__panel-heading em{width:100%}body.ail-page .ail-project-showcase__panel-body h3{font-size:clamp(1.45rem,7vw,1.8rem)!important}body.ail-page .ail-project-showcase__features{grid-template-columns:1fr!important}body.ail-page :is(.ail-project-showcase__features>span,.ail-project-showcase__metadata>span){min-height:5.8rem!important}body.ail-page .ail-project-showcase__panel-body{padding:1rem!important}}
