/* ═══════════════════════════════════════════════════════
   AcademyTheme — Light · Navy CRM accent
   ═══════════════════════════════════════════════════════ */
:root {
  --s0: #0a192f;
  --s1: #102445;
  --s2: #16355f;
  --s3: #1e4470;
  --s4: #2a5688;
  --light: #f5f7fb;
  --light-2: #eef2f8;
  --white: #ffffff;

  --text: #14141f;
  --text-2: #4a4a5a;
  --text-3: #71717f;
  --on-dark: #f2f3f7;
  --on-dark-2: #a8b4c8;

  --cyan: #d4a853;
  --cyan-light: #e8c878;
  --indigo: #b8923f;
  --gold: #d4a853;
  --gold-light: #e8c878;
  --gold-dark: #a67f32;

  --grad-brand: linear-gradient(135deg, #e8c878 0%, #d4a853 45%, #b8923f 100%);
  --grad-dark: linear-gradient(160deg, #0a192f 0%, #16355f 50%, #102445 100%);
  --grad-mesh: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(212,168,83,.12) 0%, transparent 60%),
               radial-gradient(ellipse 60% 50% at 85% 80%, rgba(16,36,69,.06) 0%, transparent 55%);
  --grad-mesh-light: radial-gradient(ellipse 80% 55% at 15% 0%, rgba(212,168,83,.14) 0%, transparent 55%),
                     radial-gradient(ellipse 55% 45% at 90% 30%, rgba(16,52,96,.06) 0%, transparent 50%);

  --glass: rgba(255,255,255,.06);
  --glass-border: rgba(255,255,255,.12);
  --glass-light: rgba(255,255,255,.72);
  --glass-light-border: rgba(0,0,0,.06);

  --shadow-sm: 0 2px 12px rgba(0,0,0,.08);
  --shadow-md: 0 12px 40px rgba(0,0,0,.14);
  --shadow-glow: 0 0 40px rgba(212,168,83,.22);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --ease: .35s cubic-bezier(.4,0,.2,1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html[dir="rtl"] body { text-align: right; }

body.academy-body {
  font-family: 'Vazirmatn', system-ui, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
.academy-body h1, .academy-body h2, .academy-body h3,
.academy-body h4, .academy-body h5, .academy-body h6 {
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.tx-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(212,168,83,.08);
  border: 1px solid rgba(212,168,83,.2);
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-eyebrow--dark {
  color: var(--gold-dark);
  background: rgba(212,168,83,.1);
  border-color: rgba(212,168,83,.3);
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  margin-bottom: .75rem;
  color: var(--text);
}

.section-heading--dark { color: var(--on-dark); }

.section-lead {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
}

.section-lead--dark { color: var(--on-dark-2); }

/* ── Layout sections ── */
.ac-section { padding: 5rem 0; }
.ac-section--dark {
  background: #0a192f;
  background-image: linear-gradient(165deg, #0a192f 0%, #123056 55%, #0c2344 100%);
  color: var(--on-dark);
}
.ac-section--dark h1, .ac-section--dark h2,
.ac-section--dark h3, .ac-section--dark h4 { color: var(--on-dark); }
.ac-section--muted { background: var(--light-2); }
.ac-section--light { background: var(--white); }

/* ── Top bar ── */
.ac-topbar {
  background: var(--white);
  color: var(--text-2);
  font-size: .78rem;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.ac-topbar a { color: var(--gold-dark); text-decoration: none; font-weight: 600; }
.ac-topbar a:hover { color: var(--text); }

/* ── Navbar ── */
.ac-nav {
  position: sticky;
  top: 0;
  z-index: 1040;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: var(--ease);
  overflow: visible;
}
.ac-nav.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 4px 24px rgba(10,25,47,.08);
}
.ac-nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: .5rem;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}
.ac-nav-menu {
  flex: 1;
  min-width: 0;
  overflow: visible;
}
.ac-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 210px;
}
.section-heading--nowrap { white-space: nowrap; }

.ac-brand img { height: 38px; width: auto; max-width: 48px; object-fit: contain; flex-shrink: 0; }
.ac-brand-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.2;
}
.ac-brand-name span {
  display: none;
  font-size: .68rem;
  font-weight: 500;
  color: var(--text-3);
}
@media (min-width: 1400px) {
  .ac-brand { max-width: none; }
  .ac-brand-name span { display: block; }
}

.ac-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  overflow: visible;
}
.ac-nav-links > li { flex-shrink: 0; }
.ac-nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  font-size: .82rem;
  padding: .4rem .55rem;
  border-radius: 8px;
  transition: var(--ease);
  white-space: nowrap;
}
.ac-nav-shop-link {
  color: var(--gold-dark) !important;
  font-weight: 700 !important;
  background: rgba(212,168,83,.12);
}
.ac-nav-shop-link:hover,
.ac-nav-shop-link.active {
  color: var(--text) !important;
  background: rgba(212,168,83,.22) !important;
}
.ac-nav-links a:hover, .ac-nav-links a.active {
  color: var(--text);
  background: rgba(10,25,47,.05);
}
.ac-nav-tools {
  display: flex;
  gap: .35rem;
  align-items: center;
  flex-shrink: 0;
}
.btn-ac-nav {
  padding: .5rem .7rem;
  font-size: .82rem;
}
.btn-ac-nav--icon {
  padding: .5rem .65rem;
  position: relative;
}
@media (max-width: 1399px) {
  .ac-nav-label { display: none; }
  .ac-search-trigger .ac-nav-label { display: none; }
}
@media (min-width: 1400px) {
  .ac-nav-links a,
  .ac-nav-trigger {
    font-size: .88rem;
    padding: .45rem .7rem;
  }
}
.ac-nav-actions { display: flex; gap: .5rem; align-items: center; flex-shrink: 0; }

/* Mega menu dropdown */
.ac-nav-dropdown { position: relative; }
.ac-nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: .5rem;
  display: none;
}
.ac-nav-dropdown:hover::after,
.ac-nav-dropdown.is-open::after {
  display: block;
}
.ac-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: none;
  border: none;
  color: var(--text-2);
  font-weight: 500;
  font-size: .82rem;
  padding: .4rem .55rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
  font-family: inherit;
}
.ac-nav-trigger .bi { font-size: .65rem; transition: transform .2s; }
.ac-nav-dropdown:hover .ac-nav-trigger,
.ac-nav-dropdown.is-open .ac-nav-trigger {
  color: var(--text);
  background: rgba(10,25,47,.05);
}
.ac-nav-dropdown:hover .ac-nav-trigger .bi,
.ac-nav-dropdown.is-open .ac-nav-trigger .bi { transform: rotate(180deg); }
.ac-nav-panel {
  position: absolute;
  top: calc(100% + .35rem);
  right: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: .75rem;
  box-shadow: 0 20px 50px rgba(10,25,47,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  z-index: 1060;
  pointer-events: none;
}
.ac-nav-dropdown:hover .ac-nav-panel,
.ac-nav-dropdown.is-open .ac-nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.ac-nav-panel--wide { min-width: min(720px, 94vw); padding: 1rem 1.25rem; }
.ac-nav-panel--mega {
  left: 50%;
  right: auto;
  transform: translate(-50%, 8px);
}
.ac-nav-dropdown:hover .ac-nav-panel--mega,
.ac-nav-dropdown.is-open .ac-nav-panel--mega {
  transform: translate(-50%, 0);
}
.ac-nav-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.ac-nav-panel--mega .ac-nav-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}
.ac-nav-panel--mega .ac-nav-sublist li a {
  font-size: .8rem;
  line-height: 1.45;
  padding: .35rem .4rem;
}
.ac-nav-col-title {
  display: block;
  font-size: .82rem;
  font-weight: 800;
  color: var(--gold-dark);
  text-decoration: none;
  margin-bottom: .5rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.ac-nav-col-title:hover { color: var(--text); }
.ac-nav-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ac-nav-sublist li a {
  display: block;
  padding: .45rem .5rem;
  color: var(--text-2);
  text-decoration: none;
  font-size: .84rem;
  border-radius: 6px;
  transition: var(--ease);
  white-space: normal;
}
.ac-nav-sublist li span {
  display: block;
  padding: .45rem .5rem;
  color: var(--on-dark-2);
  font-size: .84rem;
  border-radius: 6px;
  white-space: normal;
  opacity: .75;
  cursor: default;
}
.ac-nav-sublist li a:hover {
  color: var(--text);
  background: rgba(10,25,47,.05);
}
.ac-nav-sublist--flat { padding: .25rem 0; }
.ac-nav-sublist--flat li span {
  display: block;
  padding: .45rem .5rem;
  color: var(--text-3);
  font-size: .84rem;
  border-radius: 6px;
  opacity: .75;
  cursor: default;
}

.ac-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.1);
  background: var(--light);
  color: var(--text-2);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
}
.ac-search-trigger:hover {
  color: var(--text);
  border-color: rgba(212, 168, 83, 0.4);
  background: #fff;
}
.ac-search-trigger--mobile {
  justify-content: flex-start;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: var(--text-2);
  background: var(--light);
  border-color: rgba(0, 0, 0, 0.08);
}

.ac-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.ac-search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
body.ac-search-open {
  overflow: hidden;
}
.ac-search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ac-search-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(80vh, 720px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: translateY(-12px);
  transition: transform 0.22s ease;
}
.ac-search-overlay.is-open .ac-search-panel {
  transform: translateY(0);
}
.ac-search-panel-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--light);
}
.ac-search-panel-icon {
  color: var(--gold);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.ac-search-panel-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1.05rem;
  color: var(--text);
  min-width: 0;
}
.ac-search-panel-input::placeholder {
  color: var(--text-3);
}
.ac-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.ac-search-close:hover {
  background: rgba(0, 0, 0, 0.1);
}
.ac-search-panel-body {
  overflow-y: auto;
  padding: 0.75rem;
}
.ac-search-hint,
.ac-search-empty {
  margin: 0;
  padding: 1.25rem 0.75rem;
  text-align: center;
  color: var(--text-3);
  font-size: 0.92rem;
}
.ac-search-results {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ac-search-result {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
.ac-search-result:hover {
  background: var(--light);
}
.ac-search-result-type {
  grid-row: 1 / span 2;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: rgba(212, 168, 83, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.ac-search-result-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.ac-search-result-desc {
  grid-column: 2;
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ac-search-result-arrow {
  grid-row: 1 / span 2;
  grid-column: 3;
  color: var(--text-3);
}

.ac-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
}
.ac-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--ease);
}

/* Mobile nav — light panel for readability */
.ac-offcanvas {
  background: #f0f2f6 !important;
  border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: var(--text);
  width: min(320px, 88vw) !important;
  /* Must sit above .ac-backdrop (1045); same z-index + later DOM was covering the panel */
  z-index: 1055 !important;
}
.ac-offcanvas .offcanvas-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 1.15rem;
}
.ac-offcanvas .offcanvas-body {
  padding: 1rem 1.15rem 1.5rem;
}
.ac-offcanvas .ac-brand-name {
  color: var(--text) !important;
}
.ac-offcanvas .nav-link-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem .85rem;
  margin-bottom: .25rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  border-bottom: none;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--ease);
}
.ac-offcanvas .nav-link-item:hover,
.ac-offcanvas .nav-link-item:focus {
  color: #c9a84c;
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
}
.ac-offcanvas .nav-link-item i { color: #c9a84c; font-size: 1rem; }
.ac-mobile-group {
  border-bottom: none;
  margin-bottom: .35rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
}
.ac-mobile-group summary {
  list-style: none;
  cursor: pointer;
  padding: .8rem .85rem;
  color: var(--text);
  font-weight: 700;
  font-size: .92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}
.ac-mobile-group summary:hover { background: rgba(0, 0, 0, 0.02); }
.ac-mobile-group summary::-webkit-details-marker { display: none; }
.ac-mobile-group summary::after {
  content: "\F282";
  font-family: "bootstrap-icons";
  font-size: .75rem;
  color: var(--text-3);
  transition: transform .2s;
}
.ac-mobile-group[open] summary {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #f8f9fb;
}
.ac-mobile-group[open] summary::after { transform: rotate(180deg); }
.ac-mobile-sub {
  padding: .35rem .65rem .65rem;
  background: #f8f9fb;
}
.ac-mobile-group--nested {
  background: transparent;
  border: none;
  border-radius: 8px;
  margin-top: .25rem;
}
.ac-mobile-group--nested summary {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-2);
  padding: .65rem .5rem;
  background: transparent;
}
.ac-mobile-link {
  font-size: .86rem !important;
  padding: .6rem .75rem !important;
  margin-bottom: .2rem !important;
  background: #ffffff !important;
}
.ac-offcanvas .btn-ac-ghost {
  color: var(--text) !important;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}
.ac-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 1045; opacity: 0; pointer-events: none; transition: var(--ease);
}
.ac-backdrop.show { opacity: 1; pointer-events: auto; }
/* Hide Bootstrap's own offcanvas backdrop — we use #acBackdrop */
.offcanvas-backdrop { display: none !important; }

@media (max-width: 991px) {
  .ac-menu-btn { display: flex; margin-right: auto; }
  .ac-nav-menu, .ac-nav-tools, .ac-search-trigger { display: none !important; }
}

/* ── Buttons ── */
.btn-ac {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .88rem;
  padding: .6rem 1.35rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--ease);
  line-height: 1.4;
}
.btn-ac-primary {
  background: var(--grad-brand);
  color: var(--s0) !important;
  box-shadow: 0 4px 20px rgba(212,168,83,.3);
}
.btn-ac-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,168,83,.4);
  color: var(--s0) !important;
}
.btn-ac-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid rgba(0,0,0,.12);
}
.btn-ac-ghost:hover {
  background: rgba(10,25,47,.05);
  border-color: rgba(0,0,0,.18);
  color: var(--text) !important;
}
.btn-ac-ghost-dark {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid rgba(0,0,0,.12);
}
.btn-ac-ghost-dark:hover {
  background: var(--light);
  color: var(--text) !important;
}
.btn-ac-lg { padding: .85rem 1.75rem; font-size: .95rem; border-radius: 12px; }

/* ── Hero ── */
.ac-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - 32px);
  max-height: 900px;
  background: var(--light);
  background-image: var(--grad-mesh-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

/* Showcase hero (homepage) — light */
.ac-hero-showcase {
  min-height: calc(100vh - var(--nav-h) - 32px);
  max-height: none;
  background: var(--light);
  background-image: var(--grad-mesh-light);
  padding: clamp(3rem, 8vh, 6rem) 0 clamp(3.5rem, 9vh, 7rem);
}
.ac-hero-showcase-row {
  min-height: clamp(360px, 55vh, 580px);
}
.ac-hero-showcase-visual {
  position: relative;
}
.ac-hero-showcase-stage {
  position: relative;
  width: 100%;
  min-height: clamp(280px, 42vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  cursor: default;
}
.ac-hero-showcase-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 52% 50%, rgba(245, 247, 251, 0.55) 0%, rgba(245, 247, 251, 0.15) 55%, transparent 85%),
    radial-gradient(ellipse 70% 60% at 60% 50%, transparent 30%, rgba(245, 247, 251, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.ac-hero-wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
  mask-image: radial-gradient(ellipse 85% 75% at 58% 50%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 58% 50%, #000 25%, transparent 78%);
}
.ac-hero-showcase-glow {
  position: absolute;
  width: 55%;
  height: 55%;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(212, 168, 83, 0.18) 0%, rgba(212, 168, 83, 0.04) 45%, transparent 72%);
  filter: blur(28px);
  z-index: 1;
  pointer-events: none;
  animation: acHeroGlowPulse 5s ease-in-out infinite;
}
@keyframes acHeroGlowPulse {
  0%, 100% { opacity: 0.75; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.08); }
}
.ac-hero-showcase-title {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  margin: 0;
  padding: 1.25rem 1.5rem;
  max-width: 28rem;
  user-select: none;
  font-family: 'Estedad', 'Vazirmatn', system-ui, sans-serif;
}
.ac-hero-showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(.72rem, 1.2vw, .85rem);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  padding: .3rem .8rem;
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  animation: acHeroTitleIn .8s cubic-bezier(.2,.8,.2,1) both;
}
.ac-hero-showcase-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4a853;
  flex-shrink: 0;
}
.ac-hero-showcase-brand {
  font-size: clamp(1.65rem, 3.8vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: .2rem;
  text-shadow: none;
  animation: acHeroTitleIn .95s cubic-bezier(.2,.8,.2,1) .06s both;
}
.ac-hero-showcase-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .5rem;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  animation: acHeroTitleIn 1.05s cubic-bezier(.2,.8,.2,1) .12s both;
}
.ac-hero-showcase-headline-word {
  color: var(--text);
  text-shadow: none;
}
.ac-hero-showcase-accent {
  color: var(--gold-dark);
  text-shadow: none;
}
@keyframes acHeroTitleIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.ac-hero-showcase-content {
  position: relative;
  z-index: 2;
  padding: 1rem 0;
  animation: acHeroTitleIn 1s cubic-bezier(.2,.8,.2,1) .25s both;
}
.ac-hero-showcase-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}
.ac-hero-showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 0;
  color: var(--text);
  font-size: clamp(.95rem, 1.7vw, 1.12rem);
  font-weight: 500;
  line-height: 1.65;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: color .3s, transform .3s;
}
.ac-hero-showcase-list li:hover {
  color: var(--text);
  transform: translateX(-4px);
}
.ac-hero-showcase-list li i {
  flex-shrink: 0;
  margin-top: .2rem;
  font-size: 1.15rem;
  color: #d4a853;
  opacity: .9;
}
.ac-hero-showcase-list li:last-child { border-bottom: none; }
.ac-hero-showcase-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-width: 210px;
  padding: .95rem 2.25rem;
  background: linear-gradient(135deg, #c9a84c 0%, #b8923f 50%, #a67f32 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(180, 140, 60, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1);
}
.ac-hero-showcase-btn:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(180, 140, 60, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.ac-hero-showcase-btn:active { transform: translateY(-1px); }

@media (max-width: 991px) {
  .ac-hero-showcase {
    min-height: auto;
    padding: 2.5rem 0 3rem;
  }
  .ac-hero-showcase-row { min-height: auto; }
  .ac-hero-showcase-stage {
    min-height: 260px;
    margin-bottom: 1.5rem;
  }
  .ac-hero-showcase-title {
    align-items: center;
    text-align: center;
    max-width: 100%;
    padding: 1rem;
  }
  .ac-hero-showcase-headline {
    justify-content: center;
  }
  .ac-hero-showcase-content { text-align: center; }
  .ac-hero-showcase-list li {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
  }
  .ac-hero-showcase-list li:hover { transform: none; }
  .ac-hero-wave-canvas {
    mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 20%, transparent 75%);
  }
  .ac-hero-showcase-glow {
    right: 50%;
    transform: translate(50%, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ac-hero-showcase-glow { animation: none; }
  .ac-hero-showcase-eyebrow,
  .ac-hero-showcase-brand,
  .ac-hero-showcase-headline,
  .ac-hero-showcase-content { animation: none; }
}

.ac-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
}
.ac-hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,.12) 0%, transparent 70%);
  top: -10%; left: -5%;
  pointer-events: none;
}
.ac-hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.1) 0%, transparent 70%);
  bottom: -5%; right: -5%;
  pointer-events: none;
}
.ac-hero-content { position: relative; z-index: 2; }
.ac-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.ac-hero-lead {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 2rem;
}
.ac-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(212,168,83,.3);
  backdrop-filter: blur(12px);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}
.ac-hero-chip .pulse {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.ac-hero-visual { position: relative; z-index: 2; }
.ac-hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.ac-hero-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.ac-hero-frame-main { aspect-ratio: 4/3; }
.ac-hero-float {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
.ac-hero-float--1 { bottom: -1rem; right: -1rem; animation-delay: 0s; }
.ac-hero-float--2 { top: 1rem; left: -1.5rem; animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.ac-float-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(212,168,83,.15);
  color: var(--cyan-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.ac-float-text strong { display: block; font-size: .85rem; color: var(--text); }
.ac-float-text span { font-size: .72rem; color: var(--text-2); }

/* ── Stats strip ── */
.ac-stats {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 2.5rem 0;
}
.ac-stat-item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--light);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  height: 100%;
  transition: var(--ease);
}
.ac-stat-item:hover {
  background: #fff;
  border-color: rgba(212, 168, 83, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,25,47,.06);
}
.ac-stat-num {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.ac-stat-label { font-size: .85rem; color: var(--text-2); margin-top: .25rem; }

/* ── Icon course grid ── */
.ac-course-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 991px) {
  .ac-course-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .ac-course-grid { grid-template-columns: 1fr; }
}
.ac-icon-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: var(--ease);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  min-height: 0;
}
.ac-icon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 14px 36px rgba(6, 182, 212, 0.12);
}
.ac-icon-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14) 0%, rgba(99, 102, 241, 0.1) 100%);
  margin-bottom: 1rem;
}
.ac-icon-card-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--cyan);
  margin-bottom: .35rem;
}
.ac-icon-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .4rem;
  line-height: 1.45;
}
.ac-icon-card p {
  font-size: .84rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: .85rem;
  flex: 1;
}
.ac-icon-card-link {
  font-size: .8rem;
  font-weight: 700;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: auto;
}

/* ── Bento course grid (legacy) ── */
.ac-bento { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
  .ac-bento { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; }
  .ac-bento-item--wide { grid-column: span 2; }
  .ac-bento-item--tall { grid-row: span 2; }
}
.ac-course-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.ac-course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212,168,83,.25);
}
.ac-course-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.ac-course-card--tall img { aspect-ratio: auto; flex: 1; min-height: 200px; }
.ac-course-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.ac-course-tag {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--cyan);
  margin-bottom: .5rem;
}
.ac-course-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .4rem;
}
.ac-course-body p {
  font-size: .85rem;
  color: var(--text-2);
  margin-bottom: .75rem;
  flex: 1;
}
.ac-course-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

/* ── Feature tiles ── */
.ac-tile {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  transition: var(--ease);
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.ac-tile:hover {
  border-color: rgba(212,168,83,.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.ac-tile-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,168,83,.12) 0%, rgba(201,168,76,.08) 100%);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: .85rem;
}
.ac-tile h4 { font-size: .95rem; font-weight: 800; color: var(--text); margin-bottom: .35rem; }
.ac-tile p { font-size: .84rem; color: var(--text-2); margin: 0; line-height: 1.6; }

/* ── About block ── */
.ac-about-block { max-width: 100%; }
.ac-about-head { margin-bottom: 1.5rem; }
.ac-about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.ac-about-logo-mini {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}
.ac-glass-panel--full { width: 100%; }
.ac-about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}
.ac-about-img img { width: 100%; display: block; object-fit: cover; }
.ac-glass-panel {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 8px 28px rgba(10,25,47,.05);
}
.ac-glass-panel p { color: var(--text-2); margin-bottom: 1rem; }
.ac-glass-panel strong { color: var(--text); }
.ac-section--dark .ac-glass-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: none;
}
.ac-section--dark .ac-glass-panel p { color: var(--on-dark-2); }
.ac-section--dark .ac-glass-panel strong { color: var(--on-dark); }

/* ── Event banner ── */
.ac-section--booster {
  background: var(--light);
  padding: 4rem 0;
}
.ac-event-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 0;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 48px rgba(10, 25, 47, 0.08);
}
.ac-event-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: var(--white);
}
.ac-event-content h3 {
  color: var(--text);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 800;
  margin-bottom: .6rem;
  font-family: 'Estedad', 'Vazirmatn', sans-serif;
}
.ac-event-content > p {
  color: var(--text-2);
  margin-bottom: 1rem;
  line-height: 1.75;
  font-size: .92rem;
  max-width: 480px;
}
.ac-event-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  width: 100%;
  max-width: 480px;
}
.ac-event-features li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: var(--text-2);
  font-size: .86rem;
  line-height: 1.6;
  padding: .35rem 0;
}
.ac-event-features li i {
  color: #d4a853;
  margin-top: .15rem;
  flex-shrink: 0;
}
.ac-event-banner-visual {
  position: relative;
  background: var(--light-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  min-height: 280px;
}
.ac-event-banner-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.75) 0%, transparent 35%);
  pointer-events: none;
  z-index: 1;
}
.ac-event-banner-visual img {
  position: relative;
  z-index: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(340px, 52vh);
  object-fit: contain;
  object-position: center;
  display: block;
}
@media (max-width: 767px) {
  .ac-event-banner {
    grid-template-columns: 1fr;
  }
  .ac-event-banner-visual {
    order: -1;
    min-height: 240px;
    padding: 1.25rem;
  }
  .ac-event-banner-visual img {
    max-height: 280px;
  }
  .ac-event-banner-visual::after {
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85) 100%);
  }
  .ac-event-content {
    align-items: stretch;
    text-align: center;
  }
  .ac-event-content > p,
  .ac-event-features { max-width: none; }
  .ac-event-features li { justify-content: center; }
  .ac-event-content .btn-ac { align-self: center; }
  .section-heading--nowrap { white-space: normal; }
}

/* ── Program pills ── */
.ac-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.ac-pill {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1.15rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: .86rem;
  transition: var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  flex: 0 0 auto;
}
.ac-pill:hover {
  border-color: rgba(212,168,83,.35);
  background: rgba(212,168,83,.05);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 168, 83, 0.12);
}
.ac-pill i { font-size: 1.25rem; color: var(--cyan); }

/* ── FAQ ── */
.ac-faq-section {
  position: relative;
  background: var(--light-2);
  overflow: hidden;
}
.ac-faq-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(212, 168, 83, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(16, 36, 69, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.ac-faq-lead { color: var(--text-2) !important; }
.ac-faq-stats {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.ac-faq-stat {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  min-width: 120px;
  box-shadow: 0 4px 16px rgba(10,25,47,.04);
}
.ac-faq-stat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1.2;
}
.ac-faq-stat span {
  font-size: .78rem;
  color: var(--text-2);
}
.ac-faq-list { display: flex; flex-direction: column; gap: .75rem; }
.ac-faq-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .35s, background .35s, box-shadow .35s;
}
.ac-faq-item:has(.collapse.show) {
  border-color: rgba(212, 168, 83, 0.4);
  background: #fff;
  box-shadow: 0 8px 28px rgba(10, 25, 47, 0.08);
}
.ac-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: right;
  font-family: inherit;
  color: var(--text);
  transition: var(--ease);
}
.ac-faq-q:hover { background: rgba(10, 25, 47, 0.02); }
.ac-faq-num {
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 8px;
  padding: .35rem .55rem;
  min-width: 2.2rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.ac-faq-q-text {
  flex: 1;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.5;
}
.ac-faq-chevron {
  flex-shrink: 0;
  font-size: .85rem;
  color: var(--text-3);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), color .35s;
}
.ac-faq-q:not(.collapsed) .ac-faq-chevron {
  transform: rotate(180deg);
  color: var(--gold-dark);
}
.ac-faq-q:not(.collapsed) .ac-faq-q-text { color: var(--gold-dark); }
.ac-faq-a {
  padding: 0 1.25rem 1.15rem 3.5rem;
  color: var(--text-2);
  font-size: .9rem;
  line-height: 1.85;
}
.ac-faq-a a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(166, 127, 50, 0.35);
}
.ac-faq-a a:hover { color: var(--text); }

/* legacy accordion (other pages) */
.ac-accordion .accordion-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius) !important;
  margin-bottom: .75rem;
  overflow: hidden;
}
.ac-accordion .accordion-button {
  font-weight: 700;
  color: var(--text);
  background: var(--white);
  box-shadow: none !important;
  padding: 1.1rem 1.25rem;
}
.ac-accordion .accordion-button:not(.collapsed) {
  color: var(--cyan);
  background: rgba(212,168,83,.04);
}
.ac-accordion .accordion-body {
  color: var(--text-2);
  padding: 0 1.25rem 1.1rem;
  font-size: .92rem;
}
.ac-accordion .accordion-body a { color: var(--indigo); }

/* ── CTA ── */
.ac-cta {
  background: var(--s1);
  background-image: var(--grad-mesh);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ac-cta h2 { color: var(--on-dark); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .75rem; }
.ac-cta p { color: var(--on-dark-2); margin-bottom: 2rem; font-size: 1.05rem; }

.ac-cta--light {
  background: transparent;
  background-image: none;
  border: none;
  border-radius: 0;
  padding: 2rem 0 3rem;
  box-shadow: none;
}
.ac-cta--light h2 {
  color: var(--text);
  font-weight: 900;
}
.ac-cta--light p {
  color: var(--text-2);
  margin-bottom: 1.75rem;
}

/* ── Page header ── */
.ac-page-head {
  background: var(--light);
  background-image: var(--grad-mesh-light);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.ac-page-head h1 { color: var(--text); font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: .5rem; }
.ac-page-head p { color: var(--text-2); max-width: 560px; margin: 0 auto; }
.ac-breadcrumb {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .82rem;
}
.ac-breadcrumb a { color: var(--text-2); text-decoration: none; }
.ac-breadcrumb a:hover { color: var(--gold-dark); }
.ac-breadcrumb span { color: var(--text-3); }

/* ── Contact ── */
.ac-form-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.ac-form-card h3 { color: var(--text); margin-bottom: .25rem; }
.ac-form-card .form-label { font-weight: 600; color: var(--text); font-size: .88rem; }
.ac-form-card .form-control {
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 10px;
  padding: .65rem 1rem;
  color: var(--text);
  background: var(--light);
}
.ac-form-card .form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(212,168,83,.12);
  background: var(--white);
}
.ac-info-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--text);
  height: 100%;
  box-shadow: 0 8px 28px rgba(10,25,47,.05);
}
.ac-info-card h3 { color: var(--text); margin-bottom: 1.5rem; }
.ac-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ac-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(212,168,83,.12);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.ac-info-item h6 { color: var(--text); font-size: .82rem; font-weight: 700; margin-bottom: .15rem; }
.ac-info-item p, .ac-info-item a { color: var(--text-2); font-size: .9rem; margin: 0; text-decoration: none; }
.ac-info-item a:hover { color: var(--gold-dark); }

/* ── Footer ── */
.ac-footer {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.08);
  color: var(--text-2);
  padding: 4rem 0 0;
}
.ac-footer h6 { color: var(--text); font-weight: 700; margin-bottom: 1.25rem; font-size: .92rem; }
.ac-footer a { color: var(--text-2); text-decoration: none; transition: var(--ease); }
.ac-footer a:hover { color: var(--gold-dark); }
.ac-footer-links li { margin-bottom: .55rem; font-size: .88rem; }
.ac-footer-brand p { font-size: .88rem; line-height: 1.8; color: var(--text-2); }
.ac-footer-social { display: flex; gap: .65rem; margin-top: 1.25rem; }
.ac-footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--light);
  border: 1px solid rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  font-size: 1rem;
}
.ac-footer-social a:hover { background: rgba(212,168,83,.12); color: var(--gold-dark); border-color: rgba(212,168,83,.3); }
.ac-footer-bottom {
  border-top: 1px solid rgba(0,0,0,.08);
  margin-top: 3rem;
  padding: 1.25rem 0;
  font-size: .82rem;
  color: var(--text-3);
}

/* ── Blog compatibility ── */
.ac-section .blog-card, .ac-section--light .blog-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
}
.ac-section--light .blog-card h3, .ac-section--light .blog-card h4 { color: var(--text); }
.ac-section--light .blog-card p { color: var(--text-2); }

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Quick call (mobile) ── */
.ac-quick-call {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1030;
  background: var(--grad-brand);
  color: var(--s0) !important;
  font-weight: 700;
  font-size: .82rem;
  padding: .65rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
}
@media (min-width: 992px) { .ac-quick-call { display: none; } }

/* ── Ticker ── */
.ac-ticker {
  background: var(--light-2);
  border-bottom: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
  padding: .55rem 0;
  direction: ltr; /* keep scroll math consistent in RTL pages */
}
.ac-ticker-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: acTickerScroll 70s linear infinite;
  will-change: transform;
}
.ac-ticker-group {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
  padding-inline-end: 3rem;
}
.ac-ticker-item {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.ac-ticker-item::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes acTickerScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ac-ticker-track { animation: none; }
}

/* ── Blog ── */
.ac-blog-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: var(--ease);
}
.ac-blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ac-blog-card .card-img-wrap img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.ac-blog-card .card-img-placeholder {
  aspect-ratio: 16/10;
  background: var(--light-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 2rem;
}
.ac-blog-card .card-body { padding: 1.25rem; }
.ac-blog-card .card-tag {
  font-size: .7rem; font-weight: 700; color: var(--cyan);
  background: rgba(212,168,83,.08); padding: .15rem .55rem;
  border-radius: 50px; display: inline-block; margin-bottom: .5rem;
}
.ac-blog-card .card-meta { font-size: .78rem; color: var(--text-3); display: flex; gap: 1rem; }

.ac-sidebar-box {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.ac-sidebar-title {
  font-size: .88rem; font-weight: 800; color: var(--text);
  margin-bottom: 1rem; display: flex; align-items: center; gap: .4rem;
}
.ac-sidebar-title i { color: var(--cyan); }
.ac-sidebar-input {
  border: 1px solid rgba(0,0,0,.1); border-radius: 8px;
  padding: .5rem .75rem; font-size: .88rem; width: 100%;
}
.ac-sidebar-list { list-style: none; padding: 0; margin: 0; }
.ac-sidebar-list li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem 0; color: var(--text-2); text-decoration: none;
  font-size: .88rem; border-bottom: 1px solid var(--light-2);
  transition: var(--ease);
}
.ac-sidebar-list li a:hover { color: var(--cyan); }
.ac-sidebar-count {
  font-size: .75rem; background: var(--light); color: var(--text-3);
  padding: .1rem .45rem; border-radius: 50px;
}
.ac-sidebar-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.ac-sidebar-tag {
  font-size: .78rem; padding: .25rem .65rem; border-radius: 50px;
  background: var(--light); color: var(--text-2); text-decoration: none;
  border: 1px solid rgba(0,0,0,.06); transition: var(--ease);
}
.ac-sidebar-tag:hover { background: rgba(212,168,83,.08); color: var(--cyan); }
.ac-sidebar-posts { list-style: none; padding: 0; margin: 0; }
.ac-sidebar-posts li a {
  display: flex; gap: .75rem; align-items: center;
  padding: .65rem 0; text-decoration: none;
  border-bottom: 1px solid var(--light-2);
}
.ac-sidebar-posts img, .ac-sidebar-ph {
  width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.ac-sidebar-ph {
  background: var(--light-2); display: flex; align-items: center;
  justify-content: center; color: var(--text-3);
}
.ac-sidebar-post-title { display: block; font-size: .85rem; font-weight: 600; color: var(--text); }
.ac-sidebar-post-meta { font-size: .75rem; color: var(--text-3); }
.ac-sidebar-date { font-size: .75rem; color: var(--text-3); }
.ac-sidebar-cta {
  background: var(--s2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.ac-article { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid rgba(0,0,0,.06); }

.ac-pagination .page-link {
  border-radius: 8px !important; color: var(--text);
  border-color: rgba(0,0,0,.1); font-weight: 600;
}
.ac-pagination .page-item.active .page-link {
  background: var(--grad-brand); border: none; color: var(--s0);
}

/* Menu page */
.ac-section--compact { padding: 2.5rem 0; }
.ac-page-hero {
  position: relative;
  padding: 4rem 0 5rem;
  background: var(--light);
  color: var(--text);
  overflow: hidden;
}
.ac-page-hero-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212,168,83,.12), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(16,36,69,.06), transparent 40%);
  pointer-events: none;
}
.ac-page-hero .container { position: relative; z-index: 1; }
.ac-breadcrumb--hero a, .ac-breadcrumb--hero span { color: var(--text-2); }
.ac-page-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 1rem 0;
  color: var(--text);
}
.ac-page-hero-lead {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 540px;
}
.ac-page-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 48px rgba(10,25,47,.1);
}
.ac-page-hero-img img { width: 100%; height: auto; display: block; }
.ac-highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.ac-highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.ac-highlight-chip i { color: var(--cyan); }
.ac-content-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 40px rgba(0,0,0,.04);
}
.ac-content-panel p {
  color: var(--text-2);
  line-height: 1.9;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.ac-content-panel p:last-child { margin-bottom: 0; }
.section-eyebrow--dark { color: var(--cyan-light); }

/* ── Shop ── */
.ac-shop-hero {
  padding: 3rem 0 2rem;
  background: var(--grad-dark);
  color: var(--on-dark);
}
.ac-shop-hero h1 { color: var(--on-dark); margin: .5rem 0; }
.ac-shop-hero-desc { color: var(--on-dark-2); max-width: 640px; }
.ac-shop-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(0,0,0,.06);
}
.ac-shop-cat-list { list-style: none; padding: 0; margin: .75rem 0 0; }
.ac-shop-cat-list a {
  display: block;
  padding: .45rem 0;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 600;
}
.ac-shop-cat-list a.active, .ac-shop-cat-list a:hover { color: var(--gold); }
.ac-shop-toolbar { display: flex; gap: .75rem; flex-wrap: wrap; }
.ac-shop-toolbar .form-control, .ac-shop-toolbar .form-select { flex: 1; min-width: 160px; }
.ac-product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ac-product-card-image { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--light); }
.ac-product-card-image img { width: 100%; height: 100%; object-fit: cover; }
.ac-product-card-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--text-3);
}
.ac-product-badge {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--gold); color: #111; font-size: .72rem; font-weight: 800;
  padding: .25rem .55rem; border-radius: 999px;
}
.ac-product-card-body { padding: 1rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.ac-product-card-body h3 { font-size: 1rem; margin: 0; line-height: 1.5; }
.ac-product-card-body h3 a { color: inherit; text-decoration: none; }
.ac-product-price strong { color: var(--gold-dark); font-size: 1.05rem; }
.ac-product-price del { color: var(--text-3); margin-left: .35rem; font-size: .88rem; }
.ac-product-price span { color: var(--text-3); font-size: .82rem; margin-right: .25rem; }
.ac-stock-out { color: #c0392b; font-weight: 700; font-size: .88rem; }
.ac-product-gallery .ac-product-main-image {
  width: 100%; border-radius: var(--radius-lg); border: 1px solid rgba(0,0,0,.06);
}
.ac-product-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.ac-product-thumbs img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 10px;
  border: 1px solid rgba(0,0,0,.08); cursor: pointer;
}
.ac-product-title { font-size: clamp(1.4rem, 3vw, 2rem); }
.ac-product-price--lg strong { font-size: 1.5rem; }
.ac-product-buy { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.ac-qty-input { width: 80px; }
.ac-wp-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.ac-cart-table { width: 100%; border-collapse: collapse; }
.ac-cart-table th, .ac-cart-table td {
  padding: .85rem .75rem; border-bottom: 1px solid rgba(0,0,0,.08); text-align: right;
}
.ac-cart-table th { font-size: .82rem; color: var(--text-3); }
.ac-cart-product { display: flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; }
.ac-cart-product img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.ac-cart-summary {
  margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.ac-cart-total strong { color: var(--gold-dark); font-size: 1.2rem; }
.ac-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem;
  border: 1px solid rgba(0,0,0,.06); box-shadow: var(--shadow-sm);
}
.ac-checkout-items { list-style: none; padding: 0; margin: 0; }
.ac-checkout-items li {
  display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0;
  border-bottom: 1px dashed rgba(0,0,0,.08);
}
.ac-empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-3); }
.ac-empty-state i { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.ac-result-card { max-width: 560px; margin: 0 auto; text-align: center; padding: 2rem 0 4rem; }
.ac-result-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.ac-result-icon--success { color: #27ae60; }
.ac-result-icon--fail { color: #c0392b; }
.ac-auth-card { max-width: 100%; padding: 2rem 1.75rem; }
.ac-auth-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  border-radius: 50%; background: rgba(212,168,83,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold-dark);
}
.ac-auth-alert { font-size: .875rem; }
.letter-spacing-wide { letter-spacing: .35em; }
.ac-checkout-items { list-style: none; padding: 0; margin: 0; }
.ac-checkout-items li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .5rem 0; border-bottom: 1px solid rgba(0,0,0,.06);
}
.ac-checkout-items li:last-child { border-bottom: none; }
.ac-nav-icon { position: relative; }
.ac-mobile-shop-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  margin-bottom: .5rem;
  border-radius: 10px;
  background: rgba(212,168,83,.15);
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration: none;
}
.ac-mobile-shop-link--ghost {
  background: var(--light);
  color: var(--text);
  font-weight: 700;
  margin-bottom: 1rem;
}
.ac-cart-badge {
  position: absolute; top: -4px; left: -4px; min-width: 18px; height: 18px;
  background: var(--gold); color: #111; font-size: .65rem; font-weight: 800;
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
}
.ac-input, .form-control.ac-input, .form-select.ac-input {
  border-radius: 10px; border-color: rgba(0,0,0,.12); padding: .65rem .85rem;
}
.ac-breadcrumb { color: var(--text-3); font-size: .88rem; }
.ac-breadcrumb a { color: var(--text-2); text-decoration: none; }
.ac-pagination { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.ac-pagination-pages { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.ac-pagination-page {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 .5rem;
  border-radius: 10px; border: 1px solid rgba(0,0,0,.08);
  color: var(--text-2); text-decoration: none; font-weight: 700; font-size: .88rem;
}
.ac-pagination-page.is-active,
.ac-pagination-page:hover {
  background: rgba(212,168,83,.15); border-color: rgba(212,168,83,.35); color: var(--gold-dark);
}
.ac-pagination-ellipsis { padding: 0 .25rem; color: var(--text-3); }
.ac-pagination-info { color: var(--text-3); font-size: .88rem; }
.btn-ac-sm { padding: .45rem .85rem; font-size: .85rem; }

/* ── Product detail (tech) ── */
.ac-pd-hero {
  position: relative;
  background: var(--grad-dark);
  padding: 1.25rem 0 1.5rem;
  overflow: hidden;
}
.ac-pd-hero-mesh {
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: .9;
  pointer-events: none;
}
.ac-pd-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  font-size: .82rem;
  color: var(--on-dark-2);
}
.ac-pd-breadcrumb a {
  color: var(--on-dark-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.ac-pd-breadcrumb a:hover { color: var(--gold-light); }
.ac-pd-breadcrumb span { color: var(--on-dark); font-weight: 600; }
.ac-pd-body { margin-top: -1rem; }
.ac-pd-gallery-frame {
  position: relative;
  background: linear-gradient(145deg, var(--s1) 0%, var(--s2) 100%);
  border: 1px solid rgba(212,168,83,.18);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255,255,255,.04) inset;
  overflow: hidden;
}
.ac-pd-gallery-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(212,168,83,.12), transparent 55%);
  pointer-events: none;
}
.ac-pd-main-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
  position: relative;
  z-index: 1;
}
.ac-pd-gallery-empty {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--on-dark-2);
}
.ac-pd-sale-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  background: var(--grad-brand);
  color: #111;
  font-size: .75rem;
  font-weight: 800;
  padding: .35rem .7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.ac-pd-thumbs {
  display: flex;
  gap: .55rem;
  margin-top: .85rem;
  flex-wrap: wrap;
}
.ac-pd-thumb {
  border: 2px solid transparent;
  background: var(--white);
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  width: 72px;
  height: 72px;
  transition: var(--ease);
}
.ac-pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-pd-thumb.is-active,
.ac-pd-thumb:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,83,.2);
}
.ac-pd-info {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.ac-pd-badges { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.ac-pd-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
}
.ac-pd-badge--ok { background: rgba(39,174,96,.1); color: #1e8449; border-color: rgba(39,174,96,.25); }
.ac-pd-badge--out { background: rgba(192,57,43,.1); color: #c0392b; }
.ac-pd-badge--muted { background: var(--light); color: var(--text-3); }
.ac-pd-title {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  margin-bottom: .75rem;
}
.ac-pd-excerpt { color: var(--text-2); margin-bottom: 1.25rem; line-height: 1.85; }
.ac-pd-price-box {
  background: linear-gradient(135deg, rgba(212,168,83,.08), rgba(212,168,83,.02));
  border: 1px solid rgba(212,168,83,.2);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}
.ac-pd-price-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-3);
  margin-bottom: .25rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ac-pd-price strong {
  font-size: clamp(1.5rem, 3vw, 2rem);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ac-pd-price del { color: var(--text-3); font-size: 1rem; margin-left: .5rem; }
.ac-pd-price span { font-size: .9rem; color: var(--text-3); margin-right: .25rem; -webkit-text-fill-color: var(--text-3); }
.ac-pd-buy {
  display: flex;
  gap: .75rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.ac-pd-qty label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-3);
  margin-bottom: .25rem;
}
.ac-pd-qty input { width: 90px; }
.ac-pd-cta { flex: 1; min-width: 200px; justify-content: center; padding: .85rem 1.5rem; }
.ac-pd-unavailable {
  background: rgba(192,57,43,.08);
  border: 1px solid rgba(192,57,43,.2);
  color: #c0392b;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.ac-pd-tags { margin-bottom: 1.25rem; }
.ac-pd-tags-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-3);
  margin-bottom: .5rem;
}
.ac-pd-tag-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.ac-pd-tag-list a {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--light);
  padding: .35rem .75rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--ease);
}
.ac-pd-tag-list a:hover { border-color: rgba(212,168,83,.4); color: var(--gold-dark); }
.ac-pd-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
  border-top: 1px dashed rgba(0,0,0,.08);
  padding-top: 1rem;
}
.ac-pd-features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--text-2);
  font-weight: 600;
}
.ac-pd-features i { color: var(--gold); }
.ac-pd-desc-panel,
.ac-pd-related {
  margin-top: 2.5rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.ac-pd-desc-head h2 { margin: .35rem 0 0; font-size: 1.35rem; }
.ac-pd-desc-body { margin-top: 1.25rem; color: var(--text-2); line-height: 1.9; }

/* ── Profile (tech dashboard) ── */
.ac-profile-hero {
  position: relative;
  background: var(--grad-dark);
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}
.ac-profile-hero--compact { padding: 1.75rem 0 2.25rem; }
.ac-profile-hero-mesh {
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  pointer-events: none;
}
.ac-profile-hero .container { position: relative; z-index: 1; }
.ac-profile-hero h1 {
  color: var(--on-dark);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: .5rem 0 .35rem;
}
.ac-profile-hero p { color: var(--on-dark-2); margin: 0; }
.ac-profile-sidebar {
  background: linear-gradient(160deg, var(--s1) 0%, var(--s2) 100%);
  border: 1px solid rgba(212,168,83,.15);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.ac-profile-user {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ac-profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #111;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ac-profile-user strong {
  display: block;
  color: var(--on-dark);
  font-size: .95rem;
}
.ac-profile-user span {
  display: block;
  color: var(--on-dark-2);
  font-size: .78rem;
  margin-top: .15rem;
  word-break: break-all;
}
.ac-profile-nav {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: transparent;
  border: none;
  padding: 0;
}
.ac-profile-nav a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .85rem;
  border-radius: 12px;
  color: var(--on-dark-2);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  transition: var(--ease);
  border: 1px solid transparent;
}
.ac-profile-nav a i { font-size: 1rem; opacity: .85; }
.ac-profile-nav a:hover,
.ac-profile-nav a.active {
  color: var(--on-dark);
  background: rgba(255,255,255,.06);
  border-color: rgba(212,168,83,.2);
}
.ac-profile-nav a.active {
  background: rgba(212,168,83,.12);
  color: var(--gold-light);
}
.ac-profile-nav-logout { margin-top: .35rem; color: #e57373 !important; }
.ac-profile-nav-logout:hover { background: rgba(229,115,115,.1) !important; }
.ac-profile-stat {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.ac-profile-stat--inline { min-height: auto; }
.ac-profile-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,168,83,.15), rgba(212,168,83,.05));
  border: 1px solid rgba(212,168,83,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ac-profile-stat span {
  display: block;
  font-size: .75rem;
  color: var(--text-3);
  font-weight: 700;
}
.ac-profile-stat strong {
  display: block;
  font-size: 1.15rem;
  color: var(--text);
  margin-top: .1rem;
}
.ac-profile-stat-text {
  font-size: .88rem !important;
  line-height: 1.4;
  word-break: break-word;
}
.ac-profile-panel {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.ac-profile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.ac-profile-panel-head h2 {
  font-size: 1.15rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.ac-profile-panel-head h2 i { color: var(--gold); }
.ac-profile-orders { display: grid; gap: .85rem; }
.ac-profile-order {
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
  transition: var(--ease);
}
.ac-profile-order:hover {
  border-color: rgba(212,168,83,.3);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.ac-profile-order-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.ac-profile-order-id {
  display: block;
  font-weight: 800;
  font-size: .92rem;
  color: var(--text);
  font-family: ui-monospace, monospace;
}
.ac-profile-order-top time {
  display: block;
  font-size: .78rem;
  color: var(--text-3);
  margin-top: .15rem;
}
.ac-profile-status {
  font-size: .72rem;
  font-weight: 800;
  padding: .25rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.ac-profile-status--completed,
.ac-profile-status--pay-paid { background: rgba(39,174,96,.12); color: #1e8449; }
.ac-profile-status--pending,
.ac-profile-status--pay-unpaid { background: rgba(212,168,83,.15); color: var(--gold-dark); }
.ac-profile-status--failed,
.ac-profile-status--cancelled { background: rgba(192,57,43,.12); color: #c0392b; }
.ac-profile-status--processing { background: rgba(52,152,219,.12); color: #2471a3; }
.ac-profile-order-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.ac-profile-order-bottom strong { font-size: 1.05rem; color: var(--gold-dark); }
.ac-profile-order-bottom small { font-size: .75rem; color: var(--text-3); font-weight: 600; }
.ac-profile-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-3);
}
.ac-profile-empty i { font-size: 2.5rem; display: block; margin-bottom: .75rem; opacity: .6; }
.ac-profile-order-items { display: grid; gap: .65rem; }
.ac-profile-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.05);
}
.ac-profile-order-item span {
  display: block;
  font-size: .78rem;
  color: var(--text-3);
  margin-top: .15rem;
}
.ac-profile-order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(212,168,83,.25);
  font-weight: 800;
}
.ac-profile-order-total strong { font-size: 1.25rem; color: var(--gold-dark); }
.ac-profile-ref { font-size: .88rem; color: var(--text-2); }
.ac-profile-form .form-control,
.ac-profile-form .form-select {
  border-radius: 10px;
  border-color: rgba(0,0,0,.12);
  padding: .65rem .85rem;
  font-size: .95rem;
}
.ac-profile-form-grid .ac-profile-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: .4rem;
}
.ac-profile-field-hint {
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  color: var(--text-2);
  line-height: 1.5;
}
.ac-profile-field-error {
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  color: #c0392b;
}
.ac-profile-form-alert {
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  background: rgba(192,57,43,.08);
  border: 1px solid rgba(192,57,43,.2);
  color: #922b21;
  font-size: .88rem;
}
.ac-profile-form-alert p { margin: 0; }
.ac-profile-form-actions {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0,0,0,.08);
}
.ac-profile-readonly {
  padding: .65rem .85rem;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.1);
  background: rgba(0,0,0,.04);
  color: var(--text-1);
  font-size: .95rem;
  font-weight: 600;
}
.ac-profile-info-summary {
  padding: 1rem 1.25rem;
  background: rgba(212,168,83,.08);
  border: 1px solid rgba(212,168,83,.2);
  border-radius: 14px;
}
.ac-profile-info-item {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ac-profile-info-item span {
  font-size: .85rem;
  color: var(--text-2);
}
.ac-profile-info-item strong {
  font-size: 1rem;
  color: var(--text-1);
}
@media (max-width: 991px) {
  .ac-profile-sidebar { position: static; }
  .ac-pd-info { margin-top: .5rem; }
}

/* ═══════════════════════════════════════════════════════
   Cart — modern layout
   ═══════════════════════════════════════════════════════ */
.ac-cart-hero {
  position: relative;
  background: var(--grad-dark);
  padding: 1.25rem 0 1.75rem;
  overflow: hidden;
}
.ac-cart-hero-mesh {
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: .85;
  pointer-events: none;
}
.ac-cart-breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  font-size: .82rem;
  color: var(--on-dark-2);
  margin-bottom: 1rem;
}
.ac-cart-breadcrumb a {
  color: var(--on-dark-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: color var(--ease);
}
.ac-cart-breadcrumb a:hover { color: var(--gold-light); }
.ac-cart-breadcrumb i.bi-chevron-left { font-size: .65rem; opacity: .5; }
.ac-cart-breadcrumb span { color: var(--on-dark); font-weight: 600; }
.ac-cart-hero-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ac-cart-hero-head h1 {
  color: var(--on-dark);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.ac-cart-hero-head h1 i { color: var(--gold); }
.ac-cart-hero-count {
  display: inline-flex;
  align-items: center;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgba(212,168,83,.15);
  border: 1px solid rgba(212,168,83,.3);
  color: var(--gold-light);
  font-size: .82rem;
  font-weight: 700;
}
.ac-cart-body { padding-top: 2rem; padding-bottom: 3rem; }
.ac-cart-items { display: grid; gap: 1rem; }
.ac-cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.ac-cart-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(212,168,83,.2);
}
.ac-cart-item-media {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light);
  flex-shrink: 0;
}
.ac-cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.ac-cart-item:hover .ac-cart-item-media img { transform: scale(1.05); }
.ac-cart-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--text-3);
}
.ac-cart-item-body { min-width: 0; }
.ac-cart-item-top { margin-bottom: .75rem; }
.ac-cart-item-title {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.5;
  margin-bottom: .2rem;
  transition: color var(--ease);
}
.ac-cart-item-title:hover { color: var(--gold-dark); }
.ac-cart-item-sku {
  font-size: .75rem;
  color: var(--text-3);
  font-weight: 600;
}
.ac-cart-item-meta {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}
.ac-cart-item-price-label {
  display: block;
  font-size: .72rem;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: .15rem;
}
.ac-cart-item-price strong,
.ac-cart-item-total {
  color: var(--gold-dark);
  font-size: 1rem;
}
.ac-cart-item-price strong small,
.ac-cart-item-total small {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-3);
}
.ac-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--light);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
}
.ac-cart-qty-form { margin: 0; }
.ac-cart-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.ac-cart-qty-btn:hover:not(:disabled) {
  background: rgba(212,168,83,.15);
  color: var(--gold-dark);
}
.ac-cart-qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.ac-cart-qty-val {
  min-width: 36px;
  text-align: center;
  font-weight: 800;
  font-size: .92rem;
  color: var(--text);
}
.ac-cart-item-qty-fixed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: var(--light);
  border-radius: 10px;
  font-weight: 800;
}
.ac-cart-item-remove { align-self: start; }
.ac-cart-remove-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(192,57,43,.2);
  background: rgba(192,57,43,.06);
  color: #c0392b;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.ac-cart-remove-btn:hover {
  background: rgba(192,57,43,.12);
  transform: scale(1.05);
}
.ac-cart-continue {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.25rem;
  color: var(--text-2);
  font-weight: 700;
  text-decoration: none;
  font-size: .92rem;
  transition: color var(--ease);
}
.ac-cart-continue:hover { color: var(--gold-dark); }
.ac-cart-sidebar { position: sticky; top: calc(var(--nav-h) + 1rem); }
.ac-cart-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
}
.ac-cart-sidebar-title {
  font-size: 1.05rem;
  margin: 0 0 1.15rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ac-cart-sidebar-title i { color: var(--gold); }
.ac-cart-sidebar-lines {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
}
.ac-cart-sidebar-lines li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  font-size: .88rem;
  color: var(--text-2);
}
.ac-cart-sidebar-lines li strong {
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
}
.ac-cart-sidebar-divider {
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 1.15rem 0;
}
.ac-cart-sidebar-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.ac-cart-sidebar-total strong {
  font-size: 1.35rem;
  color: var(--gold-dark);
}
.ac-cart-sidebar-total strong small {
  font-size: .82rem;
  color: var(--text-3);
  font-weight: 700;
}
.ac-cart-checkout-btn {
  width: 100%;
  justify-content: center;
}
.ac-cart-sidebar-note {
  margin: .85rem 0 0;
  font-size: .78rem;
  color: var(--text-3);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.ac-cart-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
  max-width: 520px;
  margin: 0 auto;
}
.ac-cart-empty-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(212,168,83,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: var(--gold-dark);
}
.ac-cart-empty h2 {
  font-size: 1.35rem;
  margin-bottom: .5rem;
}
.ac-cart-empty p {
  color: var(--text-3);
  margin-bottom: 1.5rem;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  .ac-cart-item {
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
  }
  .ac-cart-item-media { width: 72px; height: 72px; }
  .ac-cart-item-remove {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .ac-cart-item-meta { gap: .75rem 1rem; }
  .ac-cart-sidebar { position: static; }
}

/* ═══════════════════════════════════════════════════════
   CRM Spotlight — homepage
   ═══════════════════════════════════════════════════════ */
.ac-crm-spotlight {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: #0a192f;
  background-image: linear-gradient(165deg, #0a192f 0%, #123056 48%, #0c2344 100%);
  overflow: hidden;
}
.ac-crm-spotlight-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ac-crm-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .7;
}
.ac-crm-spotlight-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,168,83,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,83,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
  animation: acCrmGridDrift 20s linear infinite;
}
@keyframes acCrmGridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(48px, 48px); }
}
.ac-crm-spotlight-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: acCrmOrbFloat 8s ease-in-out infinite;
}
.ac-crm-spotlight-orb--1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
  background: rgba(212,168,83,.18);
}
.ac-crm-spotlight-orb--2 {
  width: 260px;
  height: 260px;
  bottom: -60px;
  left: -40px;
  background: rgba(184,146,63,.14);
  animation-delay: -4s;
}
@keyframes acCrmOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.08); }
}
.ac-crm-spotlight-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(212,168,83,.04) 50%, transparent 100%);
  background-size: 100% 200%;
  animation: acCrmScan 6s ease-in-out infinite;
}
@keyframes acCrmScan {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}
.ac-crm-spotlight .container { position: relative; z-index: 2; }
.ac-crm-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: rgba(212,168,83,.12);
  border: 1px solid rgba(212,168,83,.35);
  color: var(--gold-light);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
}
.ac-crm-spotlight-pulse {
  position: absolute;
  right: .65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212,168,83,.6);
  animation: acCrmPulse 2s ease-out infinite;
}
.ac-crm-spotlight-badge i { margin-left: .75rem; }
@keyframes acCrmPulse {
  0% { box-shadow: 0 0 0 0 rgba(212,168,83,.55); }
  70% { box-shadow: 0 0 0 10px rgba(212,168,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,168,83,0); }
}
.ac-crm-spotlight h2.ac-crm-spotlight-title {
  color: var(--on-dark);
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  line-height: 1.35;
  margin-bottom: 1rem;
  max-width: 520px;
}
.ac-crm-ai-gradient {
  background: linear-gradient(135deg, #f5e6b8 0%, #e8c878 35%, #d4a853 70%, #e8c878 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--gold-light);
  animation: acCrmShimmer 4s linear infinite;
}
@keyframes acCrmShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.ac-crm-spotlight-lead {
  color: var(--on-dark-2);
  font-size: .95rem;
  line-height: 1.85;
  max-width: 500px;
  margin-bottom: 1.5rem;
}
.ac-crm-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: .65rem;
}
.ac-crm-features li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: var(--on-dark-2);
  font-size: .9rem;
  line-height: 1.6;
}
.ac-crm-features li i {
  color: var(--gold);
  font-size: 1.05rem;
  margin-top: .1rem;
  flex-shrink: 0;
}
.ac-crm-spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1.65rem;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #111;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(212,168,83,.35);
  transition: transform var(--ease), box-shadow var(--ease);
}
.ac-crm-spotlight-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212,168,83,.45);
  color: #111;
}
.ac-crm-spotlight-cta i { transition: transform var(--ease); }
.ac-crm-spotlight-cta:hover i { transform: translateX(-4px); }

/* CRM mockup dashboard */
.ac-crm-mockup {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}
.ac-crm-mockup-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(212,168,83,.2) 0%, transparent 65%);
  pointer-events: none;
  animation: acCrmOrbFloat 6s ease-in-out infinite;
}
.ac-crm-mockup-frame {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(24px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  animation: acCrmMockupFloat 5s ease-in-out infinite;
}
@keyframes acCrmMockupFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.ac-crm-mockup-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1rem;
  background: rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ac-crm-mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.ac-crm-mockup-bar span:nth-child(1) { background: #ff5f57; }
.ac-crm-mockup-bar span:nth-child(2) { background: #febc2e; }
.ac-crm-mockup-bar span:nth-child(3) { background: #28c840; }
.ac-crm-mockup-bar em {
  margin-right: auto;
  font-style: normal;
  font-size: .72rem;
  color: var(--on-dark-2);
  font-weight: 600;
  letter-spacing: .02em;
}
.ac-crm-mockup-body {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  position: relative;
  min-height: 220px;
}
.ac-crm-stat {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .75rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  animation: acCrmStatIn .6s ease backwards;
}
.ac-crm-stat--1 { animation-delay: .1s; }
.ac-crm-stat--2 { animation-delay: .25s; }
.ac-crm-stat--3 { animation-delay: .4s; }
@keyframes acCrmStatIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.ac-crm-stat i {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: .1rem;
}
.ac-crm-stat strong {
  display: block;
  color: var(--on-dark);
  font-size: 1rem;
  line-height: 1.2;
}
.ac-crm-stat small {
  display: block;
  color: var(--on-dark-2);
  font-size: .68rem;
  margin-top: .15rem;
}
.ac-crm-chart {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: .45rem;
  height: 72px;
  padding: .65rem .75rem;
  background: rgba(0,0,0,.25);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06);
}
.ac-crm-chart-bar {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  border-radius: 4px 4px 0 0;
  opacity: .85;
  animation: acCrmBarGrow 1.2s ease backwards;
  transform-origin: bottom;
}
.ac-crm-chart-bar:nth-child(1) { animation-delay: .5s; }
.ac-crm-chart-bar:nth-child(2) { animation-delay: .6s; }
.ac-crm-chart-bar:nth-child(3) { animation-delay: .7s; }
.ac-crm-chart-bar:nth-child(4) { animation-delay: .8s; }
.ac-crm-chart-bar:nth-child(5) { animation-delay: .9s; }
.ac-crm-chart-bar:nth-child(6) { animation-delay: 1s; }
@keyframes acCrmBarGrow {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: .85; }
}
.ac-crm-ai-bubble {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .85rem;
  background: rgba(212,168,83,.1);
  border: 1px solid rgba(212,168,83,.25);
  border-radius: var(--radius);
  font-size: .78rem;
  color: var(--on-dark-2);
  min-height: 42px;
}
.ac-crm-ai-bubble i { color: var(--gold); flex-shrink: 0; }
.ac-crm-ai-typing { direction: rtl; unicode-bidi: plaintext; }
.ac-crm-ai-cursor {
  color: var(--gold);
  animation: acCrmBlink 1s step-end infinite;
}
@keyframes acCrmBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@media (max-width: 991px) {
  .ac-crm-spotlight-content { text-align: center; }
  .ac-crm-spotlight-title,
  .ac-crm-spotlight-lead { max-width: none; margin-left: auto; margin-right: auto; }
  .ac-crm-features { text-align: right; max-width: 400px; margin-left: auto; margin-right: auto; }
  .ac-crm-mockup { margin-top: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ac-crm-spotlight-grid,
  .ac-crm-spotlight-orb,
  .ac-crm-spotlight-scan,
  .ac-crm-mockup-frame,
  .ac-crm-ai-gradient,
  .ac-crm-spotlight-pulse { animation: none; }
}

/* ── Course pages (light theme + buy CTA) ── */
.ac-page-hero--course {
  background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%) !important;
  color: var(--text-2);
  padding: 3rem 0 2.5rem;
}
.ac-page-hero-title--course {
  color: var(--text) !important;
}
.ac-page-hero-lead--course {
  color: var(--text-2) !important;
}
.ac-breadcrumb--course,
.ac-breadcrumb--course a {
  color: var(--text-3) !important;
}
.ac-breadcrumb--course span {
  color: var(--text-2) !important;
}
.section-eyebrow--course {
  color: var(--gold-dark) !important;
  background: rgba(212,168,83,.12);
  border: 1px solid rgba(212,168,83,.25);
}
.ac-cta--course-light h2 {
  color: var(--text) !important;
}
.ac-cta--course-light p {
  color: var(--text-2) !important;
}
.ac-course-buy-section {
  padding-top: 0;
  margin-top: -.5rem;
}
.ac-course-buy-card {
  background: var(--white);
  border: 1px solid rgba(212,168,83,.28);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 16px 48px rgba(212,168,83,.12), 0 4px 16px rgba(0,0,0,.04);
  position: relative;
  overflow: hidden;
}
.ac-course-buy-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--grad-brand);
}
.ac-course-buy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 800;
  color: var(--gold-dark);
  background: rgba(212,168,83,.1);
  border: 1px solid rgba(212,168,83,.22);
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: .85rem;
}
.ac-course-buy-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1.4;
}
.ac-course-buy-desc {
  color: var(--text-2);
  font-size: .95rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}
.ac-course-buy-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .45rem;
}
.ac-course-buy-features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--text-2);
  font-weight: 600;
}
.ac-course-buy-features li i {
  color: #27ae60;
  flex-shrink: 0;
}
.ac-course-buy-pricing {
  background: linear-gradient(145deg, #faf8f4 0%, #fff 100%);
  border: 1px solid rgba(212,168,83,.22);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  text-align: center;
}
.ac-course-buy-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .65rem;
}
.ac-course-buy-price-row span {
  font-size: .82rem;
  color: var(--text-3);
  font-weight: 700;
}
.ac-course-buy-price-row strong {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold-dark);
  font-weight: 900;
}
.ac-course-buy-price-row strong small {
  font-size: .82rem;
  color: var(--text-3);
  font-weight: 700;
}
.ac-course-buy-price-row--old del {
  color: var(--text-3);
  font-size: .95rem;
}
.ac-course-buy-actions {
  margin-top: 1.15rem;
}
.ac-course-buy-note {
  margin: .85rem 0 0;
  font-size: .78rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.ac-page-hero-grid--light {
  background:
    radial-gradient(circle at 15% 20%, rgba(212,168,83,.08), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(212,168,83,.06), transparent 40%);
}
.ac-page-hero--course .section-eyebrow {
  color: var(--gold-dark);
  background: rgba(212,168,83,.12);
  border: 1px solid rgba(212,168,83,.25);
}
.ac-page-hero-img--course {
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.ac-course-price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin-top: 1.25rem;
  padding: .85rem 1.1rem;
  background: var(--white);
  border: 1px solid rgba(212,168,83,.25);
  border-radius: var(--radius-lg);
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(212,168,83,.08);
}
.ac-course-price-old {
  color: var(--text-3);
  text-decoration: line-through;
  font-size: .92rem;
}
.ac-course-price-badge {
  background: rgba(192,57,43,.1);
  color: #c0392b;
  font-size: .72rem;
  font-weight: 800;
  padding: .2rem .55rem;
  border-radius: 999px;
}
.ac-course-price-current strong {
  font-size: 1.65rem;
  color: var(--gold-dark);
}
.ac-course-price-current small {
  color: var(--text-3);
  font-weight: 700;
  margin-right: .25rem;
}
.btn-ac-buy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e8c878 0%, #d4a853 45%, #c9923f 100%);
  color: #111 !important;
  font-weight: 900;
  border: none;
  box-shadow: 0 8px 28px rgba(212,168,83,.45), 0 0 0 1px rgba(255,255,255,.2) inset;
}
.btn-ac-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212,168,83,.55);
  color: #111 !important;
}
.ac-btn-buy-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: acBuyShine 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes acBuyShine {
  0%, 70%, 100% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
}
.ac-btn-pulse {
  animation: acBtnPulse 2.5s ease-in-out infinite;
}
@keyframes acBtnPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(212,168,83,.4); }
  50% { box-shadow: 0 8px 36px rgba(212,168,83,.65), 0 0 0 8px rgba(212,168,83,.12); }
}
.ac-course-sticky-buy {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 -8px 24px rgba(0,0,0,.06);
}
.ac-cta--course {
  background: linear-gradient(135deg, rgba(212,168,83,.08), rgba(212,168,83,.02));
  border: 1px solid rgba(212,168,83,.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
}
.ac-checkout-hero { background: var(--light); }
.ac-checkout-steps {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.ac-checkout-step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem .5rem;
  border-radius: 10px;
  background: var(--light);
  color: var(--text-3);
  font-size: .78rem;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.06);
}
.ac-checkout-step span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
}
.ac-checkout-step--active {
  background: rgba(212,168,83,.12);
  border-color: rgba(212,168,83,.35);
  color: var(--gold-dark);
}
.ac-checkout-step--active span {
  background: var(--gold);
  color: #111;
}
.ac-checkout-step--done {
  color: #1e8449;
  border-color: rgba(39,174,96,.25);
  background: rgba(39,174,96,.08);
}
.ac-checkout-preview-course {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(0,0,0,.08);
  margin-bottom: 1rem;
}
.ac-checkout-preview-course img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}
.ac-checkout-preview-prices { display: grid; gap: .55rem; }
.ac-checkout-total {
  margin-top: .5rem;
  padding-top: .75rem;
  border-top: 2px solid rgba(212,168,83,.25);
  font-weight: 800;
}
.ac-checkout-total strong { color: var(--gold-dark); font-size: 1.15rem; }
.ac-checkout-summary-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1rem;
  background: var(--light);
  border-radius: 10px;
  font-weight: 700;
}
.ac-checkout-summary-mini strong { color: var(--gold-dark); }
.ac-course-player-hero {
  background: linear-gradient(135deg, var(--s1) 0%, var(--s2) 100%);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ac-course-player-hero h1 {
  color: var(--on-dark);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin: 0;
}
.ac-breadcrumb--light a, .ac-breadcrumb--light span { color: var(--on-dark-2); }
.ac-player-wrap {
  background: #0a0a12;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-md);
}
.ac-player-screen {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.ac-player-screen video {
  width: 100%;
  height: 100%;
  display: none;
  object-fit: contain;
}
.ac-player-screen video.is-active { display: block; }
.ac-player-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  gap: .5rem;
}
.ac-player-placeholder i { font-size: 3rem; }
.ac-player-placeholder.is-hidden { display: none; }
.ac-player-title {
  padding: .85rem 1.15rem;
  color: var(--on-dark);
  background: rgba(255,255,255,.04);
  font-weight: 700;
  font-size: .92rem;
  min-height: 48px;
}
.ac-player-notice {
  margin-top: .85rem;
  padding: .65rem 1rem;
  background: rgba(212,168,83,.08);
  border: 1px solid rgba(212,168,83,.2);
  border-radius: 10px;
  font-size: .82rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ac-player-sidebar {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  max-height: 520px;
  overflow-y: auto;
  box-shadow: var(--shadow-sm);
}
.ac-player-chapter { margin-bottom: .5rem; }
.ac-player-chapter-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem .85rem;
  background: var(--light);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
}
.ac-player-lessons {
  list-style: none;
  padding: .35rem 0 0;
  margin: 0;
}
.ac-player-lesson {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .85rem;
  border: none;
  background: transparent;
  text-align: right;
  font-size: .85rem;
  color: var(--text-2);
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--ease);
}
.ac-player-lesson:hover,
.ac-player-lesson.is-active {
  background: rgba(212,168,83,.12);
  color: var(--gold-dark);
}
.ac-player-lesson i { color: var(--gold); }
.ac-profile-courses { display: grid; gap: .65rem; }
.ac-profile-course-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem;
  background: var(--light);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.05);
}
.ac-my-course-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ac-my-course-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--light);
}
.ac-my-course-img img { width: 100%; height: 100%; object-fit: cover; }
.ac-my-course-img--empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-3);
}
.ac-my-course-body {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ac-my-course-body h2 { font-size: 1rem; margin-bottom: .35rem; }
.ac-my-course-body p {
  color: var(--text-3);
  font-size: .85rem;
  flex: 1;
  margin-bottom: 1rem;
}
@media (prefers-reduced-motion: reduce) {
  .ac-btn-pulse, .ac-btn-buy-shine, .btn-ac-buy, .ac-ip-sidebar-accent { animation: none; }
}

/* In-person course detail */
.ac-ip-hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  background: linear-gradient(135deg, #0f0f14 0%, #1a1a2e 55%, #16213e 100%);
  color: #fff;
  overflow: hidden;
}
.ac-ip-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(212,168,83,.15), transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(99,102,241,.12), transparent 40%);
}
.ac-ip-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgba(212,168,83,.18);
  color: #f5d78e;
  font-size: .85rem;
  margin-bottom: 1rem;
}
.ac-ip-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: .75rem;
  color: #fff;
}
.ac-ip-hero h1, .ac-ip-hero h2, .ac-ip-hero h3 { color: #fff; }
.ac-ip-lead {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 38rem;
  text-align: justify;
  line-height: 1.85;
}
.ac-ip-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; color: rgba(255,255,255,.7); font-size: .92rem; }
.ac-ip-hero-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
}
.ac-ip-hero-img img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.ac-ip-hero-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, rgba(212,168,83,.22) 0%, rgba(99,102,241,.18) 55%, rgba(15,15,20,.6) 100%);
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: .95rem;
}
.ac-ip-hero-img-placeholder i {
  font-size: 3rem;
  color: #f5d78e;
  filter: drop-shadow(0 4px 12px rgba(212,168,83,.35));
}
.ac-ip-countdown-section { margin-top: -1.5rem; position: relative; z-index: 2; }
.ac-ip-countdown-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
  border: 1px solid rgba(212,168,83,.25);
  text-align: center;
}
.ac-ip-countdown-label { color: var(--text-2); margin-bottom: 1rem; font-weight: 600; }
.ac-ip-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}
.ac-ip-countdown-grid strong {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--gold-dark);
  line-height: 1.1;
}
.ac-ip-countdown-grid span { font-size: .8rem; color: var(--text-3); }

/* Premium in-person sidebar */
.ac-ip-sidebar--premium {
  position: sticky;
  top: 1.5rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8f9fc 100%);
  border-radius: 24px;
  padding: 0;
  box-shadow:
    0 2px 4px rgba(15,15,20,.04),
    0 16px 48px rgba(15,15,20,.1),
    0 0 0 1px rgba(212,168,83,.14);
  overflow: hidden;
}
.ac-ip-sidebar-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), #f0d48a, var(--gold-dark));
  background-size: 200% 100%;
  animation: ac-ip-accent-shine 4s ease-in-out infinite;
}
@keyframes ac-ip-accent-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.ac-ip-sidebar-inner { padding: 1.35rem 1.35rem 1.5rem; }
.ac-ip-status-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.35rem;
  font-weight: 600;
  font-size: .88rem;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.ac-ip-status-banner--reserved {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #047857;
}
.ac-ip-status-banner--closed {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #c2410c;
}
.ac-ip-status-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.75);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.ac-ip-capacity--premium {
  background: linear-gradient(135deg, #f3f4f8 0%, #eceff4 100%);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(0,0,0,.04);
}
.ac-ip-capacity-label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  color: var(--text-2);
  font-size: .88rem;
}
.ac-ip-capacity-count {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.02em;
}
.ac-ip-capacity-count span {
  margin: 0 .15rem;
  color: var(--text-3);
  font-weight: 500;
}
.ac-ip-capacity-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.ac-ip-capacity-bar {
  height: 8px;
  background: rgba(255,255,255,.8);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}
.ac-ip-capacity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), #f0d48a);
  border-radius: 999px;
  transition: width .6s ease;
  box-shadow: 0 0 12px rgba(212,168,83,.35);
}
.ac-ip-capacity--closed .ac-ip-capacity-fill {
  background: linear-gradient(90deg, #94a3b8, #64748b);
  box-shadow: none;
}
.ac-ip-capacity-note {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: .8rem 0 0;
  font-size: .84rem;
  color: var(--text-2);
  font-weight: 500;
}
.ac-ip-capacity--closed .ac-ip-capacity-note {
  color: #64748b;
}
.ac-ip-capacity-note .bi-check-circle-fill { color: #64748b; }
.ac-ip-capacity-note .bi-lightning-charge-fill { color: var(--gold-dark); }
.ac-ip-pricing--premium {
  text-align: center;
  padding: .25rem 0 1.15rem;
  position: relative;
}
.ac-ip-pricing--premium::before {
  content: "";
  position: absolute;
  top: 0;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,.35), transparent);
}
.ac-ip-price-old-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-bottom: .35rem;
}
.ac-ip-price-old-row del {
  color: var(--text-3);
  font-size: .88rem;
}
.ac-ip-price-amount {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #8b6914 0%, var(--gold-dark) 40%, #c9a227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ac-ip-price-amount small {
  font-size: .55em;
  font-weight: 600;
  -webkit-text-fill-color: var(--text-2);
  color: var(--text-2);
}
.ac-ip-cta-zone { margin-top: .25rem; }
.ac-ip-btn-disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .95rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: .92rem;
  cursor: not-allowed;
  border: 1px solid transparent;
}
.ac-ip-btn-disabled--closed {
  background: linear-gradient(135deg, #f1f5f9 0%, #e8edf3 100%);
  color: #64748b;
  border-color: rgba(100,116,139,.15);
}
.ac-ip-btn-disabled--success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #047857;
  border-color: rgba(4,120,87,.15);
}
.ac-ip-sidebar--closed {
  box-shadow:
    0 2px 4px rgba(15,15,20,.04),
    0 16px 48px rgba(15,15,20,.08),
    0 0 0 1px rgba(100,116,139,.12);
}
.ac-ip-sidebar--closed .ac-ip-sidebar-accent {
  background: linear-gradient(90deg, #94a3b8, #cbd5e1, #94a3b8);
  animation: none;
}

.ac-ip-sidebar {
  position: sticky;
  top: 1.5rem;
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.06);
}
.ac-ip-capacity-head { display: flex; justify-content: space-between; margin-bottom: .65rem; font-size: .92rem; }
.ac-ip-capacity-bar {
  height: 10px;
  background: #eef0f4;
  border-radius: 999px;
  overflow: hidden;
}
.ac-ip-capacity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #e8c468);
  border-radius: 999px;
}
.ac-ip-capacity-note { margin: .75rem 0 0; font-size: .85rem; color: var(--text-2); }
.ac-ip-pricing { margin: 1.25rem 0; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.08); }
.ac-ip-pricing del { display: block; color: var(--text-3); font-size: .9rem; }
.ac-ip-pricing strong { font-size: 1.5rem; color: var(--gold-dark); }
.ac-ip-reserved {
  text-align: center;
  padding: .85rem;
  background: rgba(39,174,96,.1);
  color: #1e8449;
  border-radius: 12px;
  font-weight: 600;
}
.ac-service-card .ac-service-cat {
  display: inline-block;
  font-size: .75rem;
  color: var(--text-3);
  margin-bottom: .35rem;
}
.ac-service-card .ac-service-desc {
  font-size: .84rem;
  color: var(--text-2);
  margin: .35rem 0 .75rem;
  line-height: 1.6;
}
.ac-service-success {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
}
.ac-service-success-icon {
  font-size: 3.5rem;
  color: #27ae60;
  margin-bottom: 1rem;
}
.ac-service-success-meta {
  display: grid;
  gap: .75rem;
  max-width: 320px;
  margin: 0 auto;
  text-align: right;
}
.ac-service-success-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .85rem;
  background: var(--light);
  border-radius: 10px;
  font-size: .9rem;
}
.ac-service-success-meta span { color: var(--text-3); }
.ac-my-course-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.ac-my-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ac-ip-sidebar .btn-ac-ghost-dark[disabled],
.ac-ip-sidebar .btn-ac-ghost-dark:disabled {
  color: var(--text-2) !important;
  background: var(--light);
  border-color: rgba(0,0,0,.12);
  opacity: 1;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════
   Packages · Progress · Hero slider · Nav compact
   ═══════════════════════════════════════════════════════ */

/* Pricing packages — vertical stacked, minimal */
.ac-pkg-stack {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  width: 100%;
}
.ac-pkg-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(10, 25, 47, 0.08);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.ac-pkg-row:hover {
  border-color: rgba(10, 25, 47, 0.14);
  box-shadow: 0 8px 28px rgba(10, 25, 47, 0.06);
}
.ac-pkg-row.is-featured {
  border-color: rgba(212, 168, 83, 0.45);
  background: linear-gradient(180deg, rgba(212, 168, 83, 0.07) 0%, #fff 48%);
  box-shadow: 0 10px 32px rgba(212, 168, 83, 0.1);
}
.ac-pkg-row.is-featured::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 99px;
  background: var(--grad-brand);
}
.ac-pkg-badge {
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--grad-brand);
  color: var(--s0);
  margin-bottom: -.15rem;
}
.ac-pkg-row-main {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.ac-pkg-row-info { min-width: 0; }
.ac-pkg-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 .35rem;
  color: var(--text);
  line-height: 1.45;
}
.ac-pkg-desc {
  margin: 0;
  color: var(--text-3);
  font-size: .82rem;
  line-height: 1.75;
  white-space: pre-line;
}
.ac-pkg-features {
  list-style: none;
  margin: .65rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ac-pkg-features li {
  display: flex;
  gap: .4rem;
  align-items: flex-start;
  font-size: .8rem;
  color: var(--text-2);
  line-height: 1.55;
}
.ac-pkg-features li i {
  color: var(--gold-dark);
  margin-top: .15rem;
  flex-shrink: 0;
}
.ac-pkg-features li.is-excluded {
  opacity: .4;
  text-decoration: line-through;
}
.ac-pkg-row-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .5rem;
  padding-top: .15rem;
  border-top: 1px dashed rgba(10, 25, 47, 0.08);
}
.ac-pkg-row-price del {
  width: 100%;
  font-size: .78rem;
  color: var(--text-3);
}
.ac-pkg-row-price .ac-pkg-disc {
  font-size: .7rem;
  font-weight: 800;
  color: var(--gold-dark);
  background: rgba(212, 168, 83, 0.14);
  padding: .12rem .4rem;
  border-radius: 6px;
}
.ac-pkg-row-price strong {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--s0);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.ac-pkg-row-price small {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-3);
}
.ac-pkg-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  padding: .7rem 1rem;
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--s0);
  background: rgba(10, 25, 47, 0.04);
  border: 1px solid rgba(10, 25, 47, 0.08);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ac-pkg-cta:hover {
  background: rgba(10, 25, 47, 0.08);
  color: var(--s0);
}
.ac-pkg-cta.is-primary {
  background: var(--grad-brand);
  border-color: transparent;
  color: var(--s0);
}
.ac-pkg-cta.is-primary:hover {
  filter: brightness(1.05);
  color: var(--s0);
}
.ac-pkg-grid,
.ac-pkg-grid--single {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  width: 100%;
  max-width: none;
}

/* Course progress */
.ac-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
}
.ac-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--light-2);
  overflow: hidden;
  border: 1px solid rgba(10, 25, 47, 0.06);
}
.ac-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(212, 168, 83, 0.35);
  transition: width 0.6s var(--ease);
}

/* Hero slider + urgency */
.ac-hero-slider {
  position: relative;
  overflow: hidden;
}
.ac-hero-slide {
  display: none;
}
.ac-hero-slide.is-active {
  display: block;
  animation: acHeroFadeIn .55s ease;
}
@keyframes acHeroFadeIn {
  from { opacity: .35; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.ac-hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
  padding: 0 0 1.25rem;
}
.ac-hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(10,25,47,.22);
  cursor: pointer;
}
.ac-hero-dot.is-active {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,83,.2);
}
.ac-hero-slide-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.ac-hero-slide-image {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.ac-hero-has-motion {
  animation: acHeroFloat 5s ease-in-out infinite;
}
@keyframes acHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.ac-hero-countdown {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 .75rem;
}
.ac-hero-countdown-item {
  min-width: 58px;
  text-align: center;
  padding: .55rem .4rem;
  border-radius: 12px;
  background: rgba(10, 25, 47, 0.06);
  border: 1px solid rgba(212, 168, 83, 0.28);
}
.ac-hero-countdown-item strong {
  display: block;
  font-size: 1.15rem;
  color: var(--s0);
  direction: ltr;
}
.ac-hero-countdown-item span {
  font-size: .72rem;
  color: var(--text-3);
}
.ac-hero-urgency {
  margin: .75rem 0 1rem;
  padding: .75rem .9rem;
  border-radius: 12px;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.35);
}
.ac-hero-urgency-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(10,25,47,.08);
  overflow: hidden;
  margin-bottom: .45rem;
}
.ac-hero-urgency-bar span {
  display: block;
  height: 100%;
  background: var(--grad-brand);
}
.ac-hero-urgency p {
  margin: 0;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.ac-hero-slide-sub {
  color: var(--text-2);
  margin-bottom: .85rem;
}

/* Header declutter */
.ac-nav-compact .ac-nav-links a {
  padding: 0.3rem 0.42rem;
  font-size: 0.78rem;
}
.ac-nav-compact .ac-brand-name {
  font-size: .92rem;
}
.ac-nav-compact .ac-nav-label { display: none; }
@media (min-width: 1200px) {
  .ac-nav-compact .ac-nav-links a {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
  }
}

.ac-player-lesson.is-done .lesson-icon {
  color: #1f9d55;
}
.ac-player-progress-wrap {
  max-width: 420px;
}
