/* =========================================================
   ACADEMY PAGE - UNIFIED MODULAR CSS
   ========================================================= */

/* 01) Core landing */
/* =========================================================
   Royal Mind Academy Landing Page Styles (Two Equal Squares)
   ========================================================= */

:root {
  --ap-main: #ffd966;
  --ap-main-soft: rgba(255, 217, 102, .16);
  --ap-blue: #58a6ff;
  --ap-green: #22c55e;
  --ap-text: var(--color-title, #ffffff);
  --ap-muted: var(--color-text-light, #b2bad0);
  
  /* Glassmorphism Variables */
  --ap-card: rgba(30, 45, 75, 0.65);
  --ap-card-strong: rgba(25, 38, 65, 0.85);
  --ap-border: rgba(255, 255, 255, 0.08);
  --ap-border-strong: rgba(255, 217, 102, 0.3);
  --ap-shadow: 0 16px 40px rgba(0,0,0,0.15);
  --ap-glow: rgba(255, 217, 102, 0.12);
}

body.light-theme {
  --ap-main: #1e88e5;
  --ap-main-soft: rgba(30, 136, 229, 0.15);
  --ap-blue: #0ea5e9;
  --ap-green: #16a34a;
  --ap-text: var(--color-title, #1e293b);
  --ap-muted: var(--color-text-light, #475569);
  
  --ap-card: rgba(255, 255, 255, 0.85);
  --ap-card-strong: rgba(248, 250, 252, 0.95);
  --ap-border: rgba(15, 58, 95, 0.12);
  --ap-border-strong: rgba(30, 136, 229, 0.3);
  --ap-shadow: 0 16px 40px rgba(30, 136, 229, 0.08);
  --ap-glow: rgba(30, 136, 229, 0.08);
}

.ap-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 80px;
  direction: rtl;
  font-family: IRANYekanX, IRANSansX, sans-serif !important;
  position: relative;
  /* Royal green/gold shared module tokens */
  --ap-hero-gold: #d8b66c;
  --ap-hero-gold-2: #ecd48e;
  --ap-hero-gold-bright: #f3dc9a;
  --ap-hero-green-950: #03171b;
  --ap-hero-green-900: #06242a;
  --ap-hero-green-850: #082f36;
  --ap-hero-green-800: #0a3a42;
  --ap-hero-ink: #f2fbfb;
  --ap-hero-muted: rgba(226, 240, 241, .76);
  --ap-hero-line: rgba(216, 182, 108, .28);
  --ap-hero-line-strong: rgba(216, 182, 108, .42);
  --ap-hero-panel: rgba(255, 255, 255, .035);
  --ap-hero-panel-2: rgba(255, 255, 255, .058);

}

/* --- Hero Section: Two Square Cards + Full Width Info Card --- */

.ap-hero {
  position: relative;
  width: min(1000px, 100%);
  margin: 0 auto 60px;
  z-index: 1;
}

.ap-hero-glow {
  position: absolute;
  top: 50%;
  right: 25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--ap-glow) 0%, transparent 60%);
  transform: translate(50%, -50%);
  pointer-events: none;
  z-index: -1;
  filter: blur(50px);
  opacity: 0;
  animation: fadeUpCinematic 2s ease-in-out forwards;
}

.ap-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 36px);
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.ap-hero-copy,
.ap-hero-media,
.ap-cover-card,
.ap-hero-info-card {
  min-width: 0;
  max-width: 100%;
}

/* --- Glassmorphism Base --- */
.ap-hero-copy,
.ap-cover-card,
.ap-hero-info-card,
.ap-term-card,
.ap-guarantee-card,
.ap-empty-box {
  background: var(--ap-card);
  border: 1px solid var(--ap-border);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--ap-shadow);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-radius: 32px;
}

body.light-theme .ap-hero-copy,
body.light-theme .ap-cover-card,
body.light-theme .ap-hero-info-card,
body.light-theme .ap-description-box,
body.light-theme .ap-term-card,
body.light-theme .ap-guarantee-card,
body.light-theme .ap-empty-box {
  border-top: 1px solid rgba(255,255,255,0.8);
}

/* --- Top Intro Card --- */
.ap-hero-copy {
  padding: clamp(26px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  box-sizing: border-box;
  text-align: right;
}

.ap-hero-copy h1 {
  color: #ffd966;
  font-size: clamp(2rem, 3.15vw, 2.5rem);
  line-height: 1.38;
  font-weight: 950;
  margin: 0 0 14px;
  letter-spacing: -1px;
}

body.light-theme .ap-hero-copy h1 {
  color: #17264d;
}

.ap-hero-copy h2 {
  background: linear-gradient(135deg, var(--ap-text) 0%, var(--ap-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.05rem, 1.75vw, 1.35rem);
  line-height: 1.85;
  font-weight: 850;
  margin: 0 0 16px;
}

.ap-hero-desc {
  color: var(--ap-muted);
  font-size: .98rem;
  line-height: 2.18;
  margin: 0;
  text-align: justify;
  display: block;
  overflow: visible;
}

/* --- Hero Image Card --- */
.ap-hero-media {
  perspective: 1000px;
  width: 100%;
  display: flex;
}

.ap-cover-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  transform-style: preserve-3d;
  animation: none !important;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  border-radius: 32px;
}

.ap-cover-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ap-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background: var(--ap-card-strong);
}

.ap-cover-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #111827;
  background: var(--ap-main);
  font-size: .9rem;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}

body.light-theme .ap-cover-badge {
  color: #fff;
}

.ap-cover-badge-green {
  background: var(--ap-green);
  color: #fff;
}

/* --- Full Width Info Card --- */
.ap-hero-info-card {
  grid-column: 1 / -1;
  padding: clamp(20px, 2.8vw, 32px);
}

.ap-hero-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 16px;
  align-items: stretch;
}

.ap-hero-info-grid > .ap-hero-stats:only-child {
  grid-column: 1 / -1;
}

/* --- Stats in Full Card --- */
.ap-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.ap-hero-stats div {
  min-height: 104px;
  border-radius: 18px;
  padding: 16px 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--ap-border);
  text-align: center;
  transition: transform 0.3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ap-hero-stats div:hover {
  transform: translateY(-4px);
  border-color: var(--ap-border-strong);
}

body.light-theme .ap-hero-stats div {
  background: rgba(14,111,176,.03);
}

.ap-hero-stats b {
  display: block;
  color: var(--ap-text);
  font-size: 1.7rem;
  font-weight: 950;
  margin-bottom: 6px;
  text-shadow: 0 4px 12px var(--ap-glow);
}

.ap-hero-stats span {
  color: var(--ap-muted);
  font-size: .82rem;
  font-weight: 850;
  line-height: 1.8;
}

/* --- Progress Bar in Full Card --- */
.ap-progress-card {
  min-height: 104px;
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--ap-border);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.light-theme .ap-progress-card {
  background: rgba(14,111,176,.03);
}

.ap-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--ap-muted);
  font-weight: 850;
  font-size: .95rem;
}

.ap-progress-top strong {
  color: var(--ap-main);
  font-size: 1.25rem;
  text-shadow: 0 2px 10px var(--ap-glow);
}

.ap-progress-bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(150,150,150,.15);
}

.ap-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ap-blue), var(--ap-main));
  box-shadow: 0 0 10px var(--ap-glow);
}

/* --- Buttons --- */
.ap-hero-actions,
.ap-term-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ap-hero-actions {
  justify-content: center;
  margin-top: 18px;
}

.ap-btn {
  font-family: inherit;
  min-height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1rem;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-btn-primary {
  color: #111827;
  background: var(--ap-main);
  box-shadow: 0 12px 24px var(--ap-glow);
}

body.light-theme .ap-btn-primary {
  color: #fff;
}

.ap-btn-secondary {
  color: var(--ap-text);
  background: transparent;
  border: 1.5px solid var(--ap-border-strong);
}

.ap-btn-new-term {
  color: #ffffff;
  background: linear-gradient(180deg, #2f9cf4, #1f7fd3);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 26px rgba(47, 156, 244, .18);
}

.ap-btn-new-term:hover {
  filter: brightness(1.07);
  box-shadow: 0 18px 34px rgba(47, 156, 244, .25);
}

.ap-btn:hover {
  transform: translateY(-4px);
}

.ap-btn-primary:hover {
  box-shadow: 0 18px 36px var(--ap-glow);
  filter: brightness(1.1);
}

.ap-btn-secondary:hover {
  background: var(--ap-main-soft);
  border-color: var(--ap-main);
}

/* --- Sections --- */
.ap-content-section {
  margin: 0 0 70px;
}

.ap-section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

.ap-section-head span {
  display: inline-flex;
  color: var(--ap-main);
  font-weight: 950;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.ap-section-head h2 {
  color: var(--ap-text);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.6;
  margin: 0;
  font-weight: 950;
  letter-spacing: -1px;
}

.ap-description-box {
  padding: clamp(2px, 4vw, 5px);
  color: var(--ap-muted);
  line-height: 2.4;
  font-size: 1.05rem;
  text-align: justify;
}

.ap-description-box h1, .ap-description-box h2, .ap-description-box h3 {
  color: var(--ap-text);
  line-height: 1.8;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}

/* =========================================================
   INTRO VIDEO - ROYAL GREEN & GOLD
   رنگ قاب در تم روشن و تاریک ثابت می‌ماند
   ========================================================= */

.ap-intro-video-section,
body.light-theme .ap-intro-video-section {
  width: min(1050px, 100%);
  margin: 0 auto 72px;
  padding: 0;
  direction: rtl;
}

.ap-intro-video-heading {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}

.ap-intro-video-heading > span {
  min-height: 36px;
  padding: 0 16px;
  margin-bottom: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #e4c77d;
  background: rgba(216, 182, 108, .10);
  border: 1px solid rgba(228, 199, 125, .28);
  font-size: .84rem;
  font-weight: 950;
}

.ap-intro-video-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.9rem, 3.6vw, 2.65rem);
  line-height: 1.65;
  font-weight: 950;
  letter-spacing: -.8px;
}

body.light-theme .ap-intro-video-heading h2 {
  color: #303f55f7;
}

.ap-intro-video-frame,
body.light-theme .ap-intro-video-frame {
  position: relative;
  isolation: isolate;
  padding: 12px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 0%, rgba(243, 220, 154, .16), transparent 30%),
    radial-gradient(circle at 5% 100%, rgba(21, 157, 126, .28), transparent 38%),
    linear-gradient(145deg, #0b584f 0%, #07443c 42%, #032a25 72%, #021a18 100%);
  border: 1px solid rgba(228, 199, 125, .48);
  box-shadow:
    0 24px 56px rgba(0, 12, 18, .22),
    0 0 0 1px rgba(255, 255, 255, .025),
    inset 0 1px 0 rgba(255, 255, 255, .07);
}

.ap-intro-video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, .018) 0,
      rgba(255, 255, 255, .018) 1px,
      transparent 1px,
      transparent 12px
    );
  opacity: .48;
}

.ap-intro-video-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 44px;
  left: 44px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(243, 220, 154, .92),
    transparent
  );
  box-shadow: 0 0 14px rgba(243, 220, 154, .18);
}

.ap-intro-video-frame-head {
  min-height: 78px;
  padding: 8px 10px 16px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.ap-intro-video-play-mark,
.ap-intro-video-external-icon {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #f3dc9a;
  background: linear-gradient(
    145deg,
    rgba(243, 220, 154, .18),
    rgba(228, 199, 125, .06)
  );
  border: 1px solid rgba(243, 220, 154, .46);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}

.ap-intro-video-play-mark {
  width: 54px;
  height: 54px;
}

.ap-intro-video-play-mark::before,
.ap-intro-video-external-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #f3dc9a;
  border-right: 0;
  filter: drop-shadow(0 0 6px rgba(243, 220, 154, .22));
}

.ap-intro-video-frame-copy {
  min-width: 0;
}

.ap-intro-video-frame-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 950;
}

.ap-intro-video-frame-copy small {
  display: block;
  color: rgba(226, 240, 241, .68);
  font-size: .78rem;
  line-height: 1.8;
  font-weight: 700;
}

.ap-intro-video-brand {
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #f3dc9a;
  background: rgba(228, 199, 125, .08);
  border: 1px solid rgba(243, 220, 154, .22);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .4px;
  white-space: nowrap;
}

.ap-intro-video-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 35%, rgba(21, 157, 126, .18), transparent 38%),
    #011210;
  border: 1px solid rgba(243, 220, 154, .28);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .24),
    inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.ap-intro-video-media::before,
.ap-intro-video-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 54px;
  height: 54px;
  pointer-events: none;
}

.ap-intro-video-media::before {
  top: 12px;
  right: 12px;
  border-top: 2px solid rgba(243, 220, 154, .62);
  border-right: 2px solid rgba(243, 220, 154, .62);
  border-radius: 0 13px 0 0;
}

.ap-intro-video-media::after {
  left: 12px;
  bottom: 12px;
  border-left: 2px solid rgba(243, 220, 154, .62);
  border-bottom: 2px solid rgba(243, 220, 154, .62);
  border-radius: 0 0 0 13px;
}

.ap-intro-video-media video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}

/* پلیر مستقیم با پوستر و دکمه پخش سفارشی */
.ap-intro-video-player {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(21, 157, 126, .20), transparent 40%),
    linear-gradient(145deg, #073b35, #011210);
}

.ap-intro-video-poster-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.94) brightness(.82);
  transform: scale(1.002);
}

.ap-intro-video-player video {
  position: relative;
  z-index: 1;
  transition: opacity .28s ease, filter .28s ease;
}

.ap-intro-video-player:not(.is-playing) video {
  object-fit: cover;
}

.ap-intro-video-player.is-playing video {
  object-fit: contain;
  background: #000000;
}

.ap-intro-video-player.is-error video {
  opacity: 0;
  pointer-events: none;
}

.ap-intro-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  padding: 20px;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #f3dc9a;
  background:
    radial-gradient(circle at center, rgba(3, 23, 27, .08), rgba(1, 18, 16, .26));
  cursor: pointer;
  font-family: inherit;
  transition: opacity .25s ease, visibility .25s ease, background .25s ease;
}

.ap-intro-video-overlay:hover {
  background:
    radial-gradient(circle at center, rgba(21, 157, 126, .06), rgba(1, 18, 16, .34));
}

.ap-intro-video-overlay:disabled {
  opacity: 1;
  cursor: wait;
}

.ap-intro-video-player.is-playing .ap-intro-video-overlay,
.ap-intro-video-player.is-error .ap-intro-video-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ap-intro-video-overlay-circle {
  width: clamp(78px, 10vw, 104px);
  height: clamp(78px, 10vw, 104px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f3dc9a;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.14), transparent 34%),
    linear-gradient(145deg, #159d7e, #0a6756 58%, #064b40);
  border: 2px solid rgba(243, 220, 154, .88);
  box-shadow:
    0 18px 40px rgba(0, 20, 17, .42),
    0 0 0 8px rgba(21, 157, 126, .16),
    inset 0 1px 0 rgba(255,255,255,.14);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.ap-intro-video-overlay:hover .ap-intro-video-overlay-circle,
.ap-intro-video-overlay:focus-visible .ap-intro-video-overlay-circle {
  transform: scale(1.07);
  filter: brightness(1.05);
  box-shadow:
    0 22px 48px rgba(0, 20, 17, .48),
    0 0 0 10px rgba(21, 157, 126, .19),
    0 0 26px rgba(243, 220, 154, .16),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.ap-intro-video-overlay:focus-visible {
  outline: 3px solid rgba(243, 220, 154, .76);
  outline-offset: -6px;
}

.ap-intro-video-play-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.ap-intro-video-overlay-triangle {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid #f3dc9a;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .26));
}

.ap-intro-video-overlay-label {
  min-height: 35px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #f3dc9a;
  background: rgba(3, 23, 27, .70);
  border: 1px solid rgba(243, 220, 154, .34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .82rem;
  font-weight: 950;
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}

.ap-intro-video-loading-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ap-intro-video-loading-spinner {
  width: clamp(58px, 8vw, 78px);
  height: clamp(58px, 8vw, 78px);
  border-radius: 50%;
  border: 4px solid rgba(243, 220, 154, .22);
  border-top-color: #f3dc9a;
  border-right-color: #159d7e;
  box-shadow:
    0 14px 34px rgba(0, 20, 17, .34),
    0 0 0 7px rgba(21, 157, 126, .12);
  animation: apIntroVideoSpin .82s linear infinite;
}

.ap-intro-video-loading-label {
  min-height: 38px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #f3dc9a;
  background: rgba(3, 23, 27, .78);
  border: 1px solid rgba(243, 220, 154, .36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .86rem;
  font-weight: 950;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}

.ap-intro-video-player.is-loading .ap-intro-video-play-state {
  display: none;
}

.ap-intro-video-player.is-loading .ap-intro-video-loading-state {
  display: flex;
}

@keyframes apIntroVideoSpin {
  to { transform: rotate(360deg); }
}

.ap-intro-video-error {
  position: absolute;
  right: 50%;
  bottom: 20px;
  z-index: 5;
  width: min(560px, calc(100% - 32px));
  transform: translateX(50%);
  padding: 12px 16px;
  border-radius: 15px;
  text-align: center;
  color: #ffffff;
  background: rgba(3, 23, 27, .82);
  border: 1px solid rgba(243, 220, 154, .34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}

.ap-intro-video-error strong,
.ap-intro-video-error span {
  display: block;
}

.ap-intro-video-error strong {
  margin-bottom: 4px;
  color: #f3dc9a;
  font-size: .9rem;
  font-weight: 950;
}

.ap-intro-video-error span {
  color: rgba(226, 240, 241, .76);
  font-size: .75rem;
  line-height: 1.8;
}

@keyframes apIntroVideoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}

.ap-intro-video-external {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ap-intro-video-external-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 22px;
}

.ap-intro-video-external-icon::before {
  border-top-width: 11px;
  border-bottom-width: 11px;
  border-left-width: 18px;
  border-right-width: 0;
}

.ap-intro-video-external strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.8;
  font-weight: 950;
}

.ap-intro-video-external span {
  max-width: 560px;
  margin-bottom: 20px;
  color: rgba(226, 240, 241, .72);
  font-size: .9rem;
  line-height: 2;
}

.ap-intro-video-link {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #08251f;
  background: linear-gradient(135deg, #f3dc9a, #d8b66c);
  border: 1px solid rgba(255, 239, 181, .62);
  box-shadow: 0 12px 26px rgba(216, 182, 108, .16);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 950;
  transition:
    transform .25s ease,
    filter .25s ease,
    box-shadow .25s ease;
}

.ap-intro-video-link:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 16px 34px rgba(216, 182, 108, .22);
}

@media (max-width: 700px) {
  .ap-intro-video-section,
  body.light-theme .ap-intro-video-section {
    margin-bottom: 52px;
  }

  .ap-intro-video-heading {
    margin-bottom: 20px;
  }

  .ap-intro-video-heading h2 {
    font-size: 1.55rem;
    line-height: 1.8;
  }

  .ap-intro-video-frame,
  body.light-theme .ap-intro-video-frame {
    padding: 8px;
    border-radius: 23px;
  }

  .ap-intro-video-frame-head {
    min-height: 66px;
    padding: 6px 7px 12px;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
  }

  .ap-intro-video-play-mark {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

.ap-intro-video-play-mark::before {
  border-top-width: 8px;
  border-bottom-width: 8px;
  border-left-width: 13px;
  border-right-width: 0;
}

  .ap-intro-video-frame-copy strong {
    font-size: .88rem;
  }

  .ap-intro-video-frame-copy small {
    font-size: .7rem;
    line-height: 1.7;
  }

  .ap-intro-video-brand {
    display: none;
  }

  .ap-intro-video-media {
    border-radius: 17px;
  }

  .ap-intro-video-media::before,
  .ap-intro-video-media::after {
    width: 38px;
    height: 38px;
  }

  .ap-intro-video-overlay {
    gap: 10px;
    padding: 14px;
  }

  .ap-intro-video-overlay-circle {
    width: 72px;
    height: 72px;
    box-shadow:
      0 14px 30px rgba(0, 20, 17, .42),
      0 0 0 6px rgba(21, 157, 126, .16),
      inset 0 1px 0 rgba(255,255,255,.14);
  }

  .ap-intro-video-overlay-triangle {
    margin-left: 4px;
    margin-right: 0;
    border-top-width: 11px;
    border-bottom-width: 11px;
    border-left-width: 19px;
    border-right-width: 0;
  }

  .ap-intro-video-loading-spinner {
    width: 54px;
    height: 54px;
    border-width: 3px;
  }

  .ap-intro-video-loading-label {
    min-height: 34px;
    padding-inline: 14px;
    font-size: .78rem;
  }

  .ap-intro-video-overlay-label {
    min-height: 31px;
    padding: 0 12px;
    font-size: .72rem;
  }

  .ap-intro-video-error {
    bottom: 12px;
    padding: 10px 12px;
  }

  .ap-intro-video-error span {
    display: none;
  }

  .ap-intro-video-external {
    padding: 18px 15px;
  }

  .ap-intro-video-external-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 13px;
    border-radius: 18px;
  }

  .ap-intro-video-external strong {
    font-size: 1rem;
  }

  .ap-intro-video-external span {
    margin-bottom: 15px;
    font-size: .78rem;
    line-height: 1.85;
  }

  .ap-intro-video-link {
    min-height: 44px;
    padding: 0 18px;
    font-size: .82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap-intro-video-link,
  .ap-intro-video-overlay,
  .ap-intro-video-overlay-circle,
  .ap-intro-video-player video {
    transition: none !important;
    animation: none !important;
  }
}

/* --- Term Cards --- */
.ap-terms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.ap-term-card {
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ap-term-card:hover {
  transform: translateY(-10px);
  border-color: var(--ap-border-strong);
  box-shadow: 0 25px 60px rgba(0,0,0,0.2), 0 0 0 1px var(--ap-border-strong);
}

.ap-term-card.is-owned { border-color: rgba(34,197,94,.4); }
.ap-term-card.is-owned:hover { border-color: var(--ap-green); box-shadow: 0 25px 60px rgba(34,197,94,.15), 0 0 0 1px var(--ap-green); }

.ap-term-cover {
  position: relative;
  aspect-ratio: 1 / 1; /* مربع کامل در کارت ترم */
  background: var(--ap-card-strong);
  border-radius: 32px 32px 0 0;
  overflow: hidden;
}

.ap-term-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ap-term-card:hover .ap-term-cover img { transform: scale(1.05); }

.ap-term-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 999px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--ap-main);
  color: #111827;
  font-size: .85rem;
  font-weight: 950;
}

body.light-theme .ap-term-badge { color: #fff; }
.ap-term-badge-green { background: var(--ap-green); color: #fff; }

.ap-term-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ap-term-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ap-term-top span {
  color: var(--ap-main);
  font-weight: 950;
  font-size: .9rem;
}

.ap-term-card h3 {
  color: var(--ap-text);
  font-size: 1.3rem;
  line-height: 1.6;
  margin: 0 0 12px;
  font-weight: 950;
}

.ap-term-card p {
  color: var(--ap-muted);
  line-height: 2.1;
  font-size: 0.95rem;
  margin: 0 0 20px;
  flex: 1;
  text-align: justify;
}

.ap-term-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--ap-border);
  margin-bottom: 20px;
}

body.light-theme .ap-term-price { background: rgba(14,111,176,.03); }

.ap-term-price span { color: var(--ap-muted); font-size: .85rem; font-weight: 850; }
.ap-term-price strong { color: var(--ap-text); font-size: 1.1rem; font-weight: 950; }

.ap-term-btn { flex: 1 1 100%; min-height: 52px; }

.ap-guarantee-card {
  border-radius: 30px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.ap-guarantee-img { flex: 0 0 250px; }
.ap-guarantee-img img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

.ap-guarantee-text span { color: var(--ap-main); font-weight: 950; font-size: 1.1rem; }
.ap-guarantee-text div { color: var(--ap-muted); line-height: 2.2; font-size: 1.05rem; margin-top: 10px; }
.ap-guarantee-text p { margin: 0; }

/* --- Animations (Sequencing) --- */
.ap-seq-1 { opacity: 0; animation: fadeUpCinematic 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards; }
.ap-seq-2 { opacity: 0; animation: fadeUpCinematic 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards; }
.ap-seq-3 { opacity: 0; animation: fadeUpCinematic 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards; }
.ap-seq-4 { opacity: 0; animation: fadeUpCinematic 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards; }
.ap-seq-5 { opacity: 0; animation: fadeUpCinematic 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards; }
.ap-seq-6 { opacity: 0; animation: fadeUpCinematic 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards; }
.ap-seq-7 { opacity: 0; animation: fadeUpCinematic 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards; }
.ap-seq-8 { opacity: 0; animation: fadeUpCinematic 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards; }
.ap-seq-9 { opacity: 0; animation: fadeUpCinematic 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s forwards; }

@keyframes fadeUpCinematic {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatMasterpiece {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* --- Responsive --- */
@media (max-width: 1040px) {
.ap-hero {
  width: min(560px, 100%);
}

.ap-hero-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

.ap-hero-media {
  order: -1;
  max-width: 520px;
  margin: 0 auto;
}

.ap-hero-copy {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  aspect-ratio: auto;
  padding: 30px 20px;
}

.ap-hero-desc {
  text-align: center;
  display: block;
  overflow: visible;
}

.ap-hero-info-grid {
  grid-template-columns: 1fr;
}

.ap-hero-actions {
  justify-content: center;
}
  .ap-terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .ap-shell { width: min(100% - 20px, 1200px); padding-top: 20px; }
  .ap-hero-copy h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .ap-hero-stats { grid-template-columns: 1fr; gap: 10px; }
  .ap-hero-info-card {
  padding: 18px 14px;
}

.ap-progress-top {
  align-items: flex-start;
  flex-direction: column;
}
  .ap-btn { width: 100%; }
  .ap-terms-grid { grid-template-columns: 1fr; }
  .ap-guarantee-card { flex-direction: column; text-align: center; }
  .ap-guarantee-img { flex: 0 0 auto; max-width: 300px; }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .ap-cover-card, .ap-hero-glow, [class*="ap-seq-"] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 02) Dynamic description: intro, navigation, gifts and final CTA */
/* =========================================================
   Royal Mind Wealth Academy - Final Modular CSS
   Structure: rmw7
   Includes:
   - v7 base
   - full module backgrounds
   - minimal gold accents, no gold glow
   - intro cleanup
   - roadmap glass wrapper
   - final width alignment: 1050px
   ========================================================= */


/* =========================================================
   01) TOKENS
   ========================================================= */

.rmw7 {
  /* Core emerald identity */
  --rmw7-emerald-950: #03171b;
  --rmw7-emerald-900: #06242a;
  --rmw7-emerald-850: #082f36;
  --rmw7-emerald-800: #0a3a42;

  /* Royal gold, clean and minimal */
  --rmw7-gold: #d8b66c;
  --rmw7-gold-2: #ecd48e;
  --rmw7-gold-clean: #e4c77d;
  --rmw7-gold-bright: #f3dc9a;
  --rmw7-gold-soft: rgba(216, 182, 108, .13);
  --rmw7-gold-muted: rgba(228, 199, 125, .42);
  --rmw7-gold-line: rgba(228, 199, 125, .24);

  /* Typography */
  --rmw7-ink: #f2fbfb;
  --rmw7-ink-strong: #ffffff;
  --rmw7-muted: rgba(226, 240, 241, .76);

  /* Realm 1: royal green */
  --rmw7-green-main: #159d7e;
  --rmw7-green-light: #9cf5dc;
  --rmw7-green-soft: rgba(21, 157, 126, .18);
  --rmw7-green-border: rgba(156, 245, 220, .32);
  --rmw7-green-deep: #03171b;
  --rmw7-green-1: #06242a;
  --rmw7-green-2: #08333a;
  --rmw7-green-3: #0c5054;
  --rmw7-green-glow: rgba(21, 157, 126, .24);

  /* Realm 2: royal violet */
  --rmw7-violet-main: #8a2fb1;
  --rmw7-violet-light: #e1a4f2;
  --rmw7-violet-soft: rgba(138, 47, 177, .20);
  --rmw7-violet-border: rgba(225, 164, 242, .34);
  --rmw7-violet-deep: #16071f;
  --rmw7-violet-1: #260b35;
  --rmw7-violet-2: #3b0e52;
  --rmw7-violet-3: #641d86;
  --rmw7-violet-glow: rgba(183, 64, 219, .26);

  /* Realm 3: deep royal blue */
  --rmw7-blue-main: #1b5296;
  --rmw7-blue-light: #a8caff;
  --rmw7-blue-soft: rgba(27, 82, 150, .23);
  --rmw7-blue-border: rgba(168, 202, 255, .34);
  --rmw7-blue-deep: #04101f;
  --rmw7-blue-1: #071b35;
  --rmw7-blue-2: #0d2e5a;
  --rmw7-blue-3: #123f78;
  --rmw7-blue-glow: rgba(75, 145, 238, .24);

  /* Surfaces */
  --rmw7-panel: rgba(255, 255, 255, .035);
  --rmw7-panel-2: rgba(255, 255, 255, .058);
  --rmw7-panel-dark: rgba(0, 0, 0, .10);
  --rmw7-line: rgba(216, 182, 108, .28);
  --rmw7-line-soft: rgba(255, 255, 255, .09);

  /* Shape */
  --rmw7-radius-xl: 34px;
  --rmw7-radius-lg: 25px;
  --rmw7-radius-md: 18px;

  /* Neutral shadows only */
  --rmw7-shadow: 0 18px 42px rgba(0, 14, 18, .14);
  --rmw7-shadow-card: 0 18px 42px rgba(0, 12, 18, .16);

  direction: rtl;
  color: var(--rmw7-ink);
  position: relative;
  isolation: isolate;
}

/* Light theme intentionally keeps the academy identity */
body.light-theme .rmw7 {
  --rmw7-ink: #f2fbfb;
  --rmw7-ink-strong: #ffffff;
  --rmw7-muted: rgba(226, 240, 241, .76);
  --rmw7-panel: rgba(255, 255, 255, .035);
  --rmw7-panel-2: rgba(255, 255, 255, .058);
  --rmw7-line: rgba(216, 182, 108, .28);
  --rmw7-line-soft: rgba(255, 255, 255, .09);
}


/* =========================================================
   02) RESET / BASE
   ========================================================= */

.rmw7,
.rmw7 * {
  box-sizing: border-box;
}

.rmw7 h2,
.rmw7 h3,
.rmw7 p {
  margin: 0;
}

.rmw7 p {
  color: var(--rmw7-muted);
  font-size: 1.02rem;
  line-height: 2.28;
}

.rmw7 a {
  color: inherit;
}


/* =========================================================
   03) SHARED TEXTURE
   ========================================================= */


/* =========================================================
   04) WIDTH ALIGNMENT
   ========================================================= */

@media (min-width: 769px) {
  .rmw7-hero {
    width: min(1050px, 100%);
    margin-inline: auto;
  }
}


/* =========================================================
   05) NAV
   ========================================================= */

.rmw7-nav {
  position: sticky;
  top: 80px;
  z-index: 30;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  display: flex;
  gap: 6px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(3, 23, 27, .78);
  border: 1px solid var(--rmw7-line-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.rmw7-nav-link {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rmw7-muted);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 900;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.rmw7-nav-link:hover,
.rmw7-nav-link.is-active {
  color: var(--rmw7-ink-strong);
  background: rgba(216, 182, 108, .11);
}


/* =========================================================
   06) SHARED UI ELEMENTS
   ========================================================= */

.rmw7-kicker,
.rmw7-section-head > span {
  min-height: 36px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  color: var(--rmw7-gold);
  background: var(--rmw7-gold-soft);
  border: 1px solid var(--rmw7-line);
  font-size: .84rem;
  font-weight: 950;
  letter-spacing: .15px;
}


/* =========================================================
   07) INTRO / HERO
   ========================================================= */

.rmw7-hero {
  padding: clamp(30px, 4.4vw, 60px);
  border-radius: var(--rmw7-radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(216,182,108,.09), transparent 34%),
    radial-gradient(circle at 12% 72%, rgba(15,122,104,.22), transparent 34%),
    linear-gradient(180deg, var(--rmw7-emerald-850), var(--rmw7-emerald-950));
  border: 1px solid var(--rmw7-line);
  box-shadow: var(--rmw7-shadow);
}

.rmw7-hero-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(216,182,108,.42);
  border-radius: calc(var(--rmw7-radius-xl) - 8px);
  pointer-events: none;
}

.rmw7-hero-frame::before,
.rmw7-hero-frame::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
}

.rmw7-hero-frame::before {
  top: -1px;
  right: -1px;
  border-top: 2px solid var(--rmw7-gold);
  border-right: 2px solid var(--rmw7-gold);
  border-radius: 0 18px 0 0;
}

.rmw7-hero-frame::after {
  left: -1px;
  bottom: -1px;
  border-left: 2px solid var(--rmw7-gold);
  border-bottom: 2px solid var(--rmw7-gold);
  border-radius: 0 0 0 18px;
}

.rmw7-ornament {
  position: relative;
  z-index: 1;
  margin: 0 auto 28px;
  width: min(580px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--rmw7-gold);
}

.rmw7-ornament::before,
.rmw7-ornament::after {
  content: "";
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: .5;
}

.rmw7-ornament span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: .8;
}

.rmw7-ornament b,
.rmw7-ornament strong {
  font-size: 1.7rem;
  font-weight: 950;
  line-height: 1;
}

.rmw7-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  gap: 28px;
  align-items: start;
}

.rmw7-hero-copy {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.rmw7-hero .rmw7-kicker {
  margin-bottom: 18px;
}

.rmw7-hero-copy h2 {
  max-width: 980px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--rmw7-ink-strong);
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  line-height: 1.55;
  font-weight: 950;
  letter-spacing: -1px;
}

.rmw7-prose {
  display: grid;
  gap: 15px;
  margin-top: 18px;
}

.rmw7-hero .rmw7-prose {
  max-width: 980px;
  margin-inline: auto;
  text-align: justify;
}

.rmw7-hero .rmw7-prose p {
  text-align: justify;
  text-align-last: right;
}

.rmw7-thesis-card,
.rmw7-realms-preview {
  display: none !important;
}

.rmw7-principle {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 28px auto 0;
  padding: 22px 24px;
  border-radius: var(--rmw7-radius-lg);
  background: rgba(216,182,108,.07);
  border: 1px solid var(--rmw7-line);
}

.rmw7-principle span {
  display: block;
  color: var(--rmw7-gold);
  font-size: .86rem;
  font-weight: 950;
  margin-bottom: 9px;
}

.rmw7-principle p {
  color: var(--rmw7-ink-strong);
  font-weight: 600;
  line-height: 2.08;
}


/* =========================================================
   08) INTRO METRICS
   ========================================================= */

.rmw7-metrics {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rmw7-metrics div {
  padding: 16px 14px;
  border-radius: var(--rmw7-radius-md);
  background: var(--rmw7-panel);
  border: 1px solid var(--rmw7-line-soft);
  text-align: center;
}

.rmw7-metrics b {
  display: block;
  color: var(--rmw7-gold);
  font-size: 1.55rem;
  font-weight: 950;
  margin-bottom: 4px;
}

.rmw7-metrics span {
  color: var(--rmw7-muted);
  font-size: .84rem;
  font-weight: 850;
}


/* =========================================================
   09) ROADMAP WRAPPER
   ========================================================= */


.rmw7-section-head {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}


/* =========================================================
   10) CHAPTER CARDS / MODULE BACKGROUNDS
   ========================================================= */


/* =========================================================
   11) CHAPTER RAIL / HEADER
   ========================================================= */


/* =========================================================
   12) LESSONS / ACCORDION
   ========================================================= */


/* =========================================================
   13) GIFTS / DIAMOND
   ========================================================= */

.rmw7-diamond {
  margin-top: 58px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--rmw7-radius-xl);
  background:
    radial-gradient(circle at 14% 20%, rgba(216,182,108,.08), transparent 34%),
    linear-gradient(180deg, var(--rmw7-emerald-850), var(--rmw7-emerald-950));
  border: 1px solid var(--rmw7-line);
  box-shadow: var(--rmw7-shadow);
}

.rmw7-diamond-head {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-bottom: 24px;
}

.rmw7-diamond-head h2 {
  color: var(--rmw7-ink-strong);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.65;
  font-weight: 950;
  margin: 14px 0 12px;
}

.rmw7-vault {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.rmw7-vault-card {
  min-height: 100%;
  padding: 22px 18px;
  border-radius: var(--rmw7-radius-lg);
  background: var(--rmw7-panel);
  border: 1px solid var(--rmw7-line-soft);
}

.rmw7-vault-card.is-featured {
  border-color: var(--rmw7-line);
  background: rgba(216,182,108,.06);
}

.rmw7-vault-card > span {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--rmw7-gold);
  background: var(--rmw7-gold-soft);
  border: 1px solid var(--rmw7-line);
  font-weight: 950;
  direction: rtl;
}

.rmw7-vault-card h3 {
  color: var(--rmw7-ink-strong);
  font-size: 1.14rem;
  line-height: 1.65;
  font-weight: 950;
  margin-bottom: 4px;
}

.rmw7-vault-card b {
  display: block;
  color: var(--rmw7-gold);
  text-align: right;
  font-size: .84rem;
  line-height: 1.9;
  font-weight: 900;
  margin-bottom: 10px;
}


/* =========================================================
   14) FINAL SIGNUP CTA
   ========================================================= */

.rmw7-final {
  margin-top: 58px;
}

.rmw7-final-inner {
  padding: clamp(30px, 4.2vw, 56px);
  border-radius: var(--rmw7-radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(216,182,108,.09), transparent 34%),
    linear-gradient(180deg, var(--rmw7-emerald-850), var(--rmw7-emerald-950));
  border: 1px solid var(--rmw7-line);
  box-shadow: var(--rmw7-shadow);
  text-align: center;
}

.rmw7-final h2 {
  color: var(--rmw7-ink-strong);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.65;
  font-weight: 950;
  margin: 16px auto 18px;
  max-width: 920px;
}

.rmw7-final .rmw7-prose {
  max-width: 980px;
  margin-inline: auto;
}

.rmw7-final-question {
  max-width: 900px;
  margin: 24px auto 0;
  padding: 18px 20px;
  border-radius: var(--rmw7-radius-lg);
  color: var(--rmw7-ink-strong);
  background: var(--rmw7-panel);
  border: 1px solid var(--rmw7-line);
  font-size: 1.08rem;
  line-height: 2.08;
  font-weight: 950;
}

.rmw7-cta {
  margin-top: 22px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border-radius: 18px;
  color: #10252b;
  background: linear-gradient(135deg, var(--rmw7-gold), var(--rmw7-gold-2));
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 950;
  transition: transform .22s ease, filter .22s ease;
}

.rmw7-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}


/* =========================================================
   15) LIGHT THEME ROADMAP
   ========================================================= */


/* =========================================================
   16) REVEAL
   ========================================================= */

[data-rmw7-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .62s ease, transform .62s ease;
}

[data-rmw7-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   17) RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1040px) {
  

  .rmw7-hero-copy h2 {
    max-width: 820px;
    font-size: clamp(2rem, 4.5vw, 2.85rem);
  }

  .rmw7-hero .rmw7-prose {
    max-width: 820px;
  }

  

  .rmw7-vault {
    grid-template-columns: 1fr;
  }

  
}


/* =========================================================
   18) RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 768px) {
  .rmw7-nav {
    top: 70px;
    width: calc(100% - 18px);
    max-width: calc(100% - 18px);
    margin-inline: auto;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 5px;
    gap: 4px;
  }

  .rmw7-nav::-webkit-scrollbar {
    display: none;
  }

  .rmw7-nav-link {
    flex: 1 0 auto;
    min-height: 34px;
    padding: 0 9px;
    font-size: .68rem;
    line-height: 1.55;
    font-weight: 900;
    white-space: nowrap;
  }

  

  .rmw7-hero {
    padding: 34px 22px 26px;
  }

  .rmw7-hero-frame {
    inset: 12px;
    border-radius: 18px;
  }

  .rmw7-ornament {
    margin-top: 4px;
    margin-bottom: 24px;
  }

  .rmw7-hero .rmw7-kicker {
    min-height: 34px;
    padding: 0 13px;
    font-size: .78rem;
    margin-top: 4px;
    margin-bottom: 18px;
  }

  .rmw7-hero-copy h2 {
    max-width: 100%;
    
    font-size: clamp(1.52rem, 7.4vw, 2.05rem);
    line-height: 1.58;
    letter-spacing: -.5px;
  }

  .rmw7-hero .rmw7-prose {
    max-width: 100%;
    margin-top: 16px;
  }

  .rmw7-hero .rmw7-prose p {
    font-size: .89rem;
    line-height: 2.08;
    text-align: justify;
  }

  .rmw7-hero .rmw7-principle {
    margin-top: 22px;
    padding: 16px 14px;
  }

  .rmw7-hero .rmw7-principle span {
    font-size: .78rem;
  }

  .rmw7-hero .rmw7-principle p {
    font-size: .9rem;
    line-height: 2.02;
  }

  .rmw7-hero .rmw7-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .rmw7-hero .rmw7-metrics div {
    padding: 13px 12px;
  }

  .rmw7-hero .rmw7-metrics b {
    font-size: 1.35rem;
  }

  .rmw7-hero .rmw7-metrics span {
    font-size: .8rem;
  }

  

  

  

  

  

  

  

  

  

  

  

  .rmw7-cta {
    width: 100%;
    padding-inline: 16px;
    line-height: 1.9;
  }

  
}


/* =========================================================
   19) RESPONSIVE - SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {
  .rmw7-hero,
  .rmw7-diamond,
  .rmw7-final-inner {
    padding: 20px 15px;
  }

  .rmw7-hero {
    padding: 32px 20px 24px;
  }

  

  

  

  .rmw7 p {
    font-size: .96rem;
    line-height: 2.16;
  }

  .rmw7-ornament {
    gap: 6px;
  }

  .rmw7-ornament span {
    width: 6px;
    height: 6px;
  }

  

  .rmw7-hero-copy h2 {
    font-size: clamp(.9rem, 7.8vw, 1.1rem);
    line-height: 1.55;
  }

  .rmw7-hero .rmw7-prose p {
    font-size: .86rem;
    line-height: 2.04;
  }

  .rmw7-nav-link {
    padding: 0 8px;
    font-size: .64rem;
  }
}

@media (max-width: 420px) {
  .rmw7-nav-link {
    padding: 0 7px;
    font-size: .62rem;
  }
  
}


/* =========================================================
   20) REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  [data-rmw7-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .rmw7-cta,
  .rmw7-nav-link {
    transition: none !important;
  }
}


/* تا قبل از لود عکس، زمینه رنگی کارت دیده می‌شود */

/* 03) Hero royal-green alignment */
/* =========================================================
   Academy Hero - Match RMW7 Intro Royal Green Background
   این بخش بک‌گراند هیرو را با مقدمه آکادمی هماهنگ می‌کند
   ========================================================= */


/* کارت‌های اصلی هیرو: متن، تصویر، مشخصات */
.ap-shell .ap-hero-copy,
.ap-shell .ap-cover-card,
.ap-shell .ap-hero-info-card {
  position: relative !important;
  overflow: hidden !important;

  background:
    radial-gradient(circle at 50% 0%, rgba(216,182,108,.09), transparent 34%),
    radial-gradient(circle at 12% 72%, rgba(15,122,104,.22), transparent 34%),
    linear-gradient(180deg, var(--ap-hero-green-850), var(--ap-hero-green-950)) !important;

  border: 1px solid var(--ap-hero-line) !important;
  border-top-color: rgba(236, 212, 142, .48) !important;

  box-shadow:
    0 18px 42px rgba(0, 14, 18, .18),
    inset 0 1px 0 rgba(255,255,255,.045) !important;

  color: var(--ap-hero-ink) !important;
}

/* بافت ظریف مثل مقدمه آکادمی */
.ap-shell .ap-hero-copy::before,
.ap-shell .ap-cover-card::before,
.ap-shell .ap-hero-info-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;

  background-image:
    linear-gradient(135deg, rgba(255,255,255,.028) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.028) 50%, rgba(255,255,255,.028) 75%, transparent 75%, transparent),
    radial-gradient(circle at 20% 20%, rgba(216,182,108,.05) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 55%, rgba(255,255,255,.03) 0 1px, transparent 1px) !important;

  background-size: 12px 12px, 32px 32px, 48px 48px !important;
  opacity: .22 !important;
}

/* قاب طلایی داخلی کارت‌ها */
.ap-shell .ap-hero-copy::after,
.ap-shell .ap-cover-card::after,
.ap-shell .ap-hero-info-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 18px !important;
  pointer-events: none !important;
  z-index: 0 !important;

  border: 1px solid rgba(216, 182, 108, .34) !important;
  border-radius: 24px !important;
  opacity: .95 !important;
}

/* محتوا بالای بافت و قاب بماند */
.ap-shell .ap-hero-copy > *,
.ap-shell .ap-cover-card > *,
.ap-shell .ap-hero-info-card > * {
  position: relative !important;
  z-index: 2 !important;
}

/* عکس کاور نباید زیر لایه‌ها گم شود */
.ap-shell .ap-cover-card img {
  position: relative !important;
  z-index: 1 !important;
}

/* یک سایه تیره خیلی نرم روی عکس برای سلطنتی‌تر شدن */
.ap-shell .ap-cover-card::before {
  z-index: 2 !important;
  background:
    linear-gradient(180deg, rgba(3,23,27,.05), rgba(3,23,27,.16)),
    linear-gradient(135deg, rgba(255,255,255,.018) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.018) 50%, rgba(255,255,255,.018) 75%, transparent 75%) !important;
  background-size: auto, 12px 12px !important;
  opacity: .55 !important;
}

/* عنوان‌ها */
.ap-shell .ap-hero-copy h1 {
  color: var(--ap-hero-gold-bright) !important;
  text-shadow: 0 10px 26px rgba(0,0,0,.25) !important;
}

.ap-shell .ap-hero-copy h2 {
  background: linear-gradient(135deg, #ffffff 0%, var(--ap-hero-gold-bright) 92%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.ap-shell .ap-hero-desc {
  color: var(--ap-hero-muted) !important;
}

/* کارت مشخصات داخل هیرو */
.ap-shell .ap-hero-stats div,
.ap-shell .ap-progress-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(0,0,0,.10)) !important;

  border: 1px solid rgba(216, 182, 108, .22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 12px 28px rgba(0, 12, 18, .12) !important;
}

.ap-shell .ap-hero-stats div:hover,
.ap-shell .ap-progress-card:hover {
  border-color: rgba(236, 212, 142, .48) !important;
}

/* متن و عددهای کارت مشخصات */
.ap-shell .ap-hero-stats b {
  color: #ffffff !important;
  text-shadow: 0 8px 20px rgba(0,0,0,.22) !important;
}

.ap-shell .ap-hero-stats span,
.ap-shell .ap-progress-top span {
  color: var(--ap-hero-muted) !important;
}

.ap-shell .ap-progress-top strong {
  color: var(--ap-hero-gold-bright) !important;
}

/* نوار پیشرفت */
.ap-shell .ap-progress-bar {
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(216, 182, 108, .16) !important;
}

.ap-shell .ap-progress-bar span {
  background: linear-gradient(
    90deg,
    #b88f3a 0%,
    #d8b66c 45%,
    #f3dc9a 100%
  ) !important;
  box-shadow:
    0 0 14px rgba(216, 182, 108, .28),
    inset 0 1px 0 rgba(255,255,255,.35) !important;
}

/* Badge روی تصویر */
.ap-shell .ap-cover-badge {
  background: rgba(216, 182, 108, .13) !important;
  border: 1px solid rgba(216, 182, 108, .42) !important;
  color: var(--ap-hero-gold-bright) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.22) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.ap-shell .ap-cover-badge-green {
  color: #03171b !important;
  background: linear-gradient(180deg, #9cf5dc, #159d7e) !important;
  border-color: rgba(156, 245, 220, .42) !important;
}

/* دکمه‌ها */
.ap-shell .ap-btn-primary {
  color: #03171b !important;
  background: linear-gradient(180deg, var(--ap-hero-gold-bright), var(--ap-hero-gold)) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  box-shadow: 0 16px 34px rgba(216, 182, 108, .18) !important;
}

.ap-shell .ap-btn-primary:hover {
  filter: brightness(1.06) !important;
  box-shadow: 0 22px 44px rgba(216, 182, 108, .24) !important;
}

.ap-shell .ap-btn-secondary {
  color: var(--ap-hero-gold-bright) !important;
  background: rgba(216, 182, 108, .07) !important;
  border: 1.5px solid rgba(216, 182, 108, .42) !important;
}

.ap-shell .ap-btn-secondary:hover {
  color: #03171b !important;
  background: linear-gradient(180deg, var(--ap-hero-gold-bright), var(--ap-hero-gold)) !important;
  border-color: rgba(236, 212, 142, .72) !important;
}

.ap-shell .ap-btn-new-term {
  color: #ffffff !important;
  background: linear-gradient(180deg, #2f9cf4, #1f7fd3) !important;
  border: 1px solid rgba(118, 196, 255, .42) !important;
  box-shadow: 0 16px 34px rgba(24, 116, 196, .20) !important;
}

.ap-shell .ap-btn-new-term:hover {
  color: #ffffff !important;
  filter: brightness(1.08) !important;
  box-shadow: 0 22px 42px rgba(24, 116, 196, .28) !important;
}

/* نور کلی پشت هیرو */
.ap-shell .ap-hero-glow {
  background:
    radial-gradient(circle, rgba(216, 182, 108, .13) 0%, transparent 58%) !important;
  filter: blur(54px) !important;
}

/* در تم روشن هم هویت سبز سلطنتی حفظ شود */
body.light-theme .ap-shell .ap-hero-copy,
body.light-theme .ap-shell .ap-cover-card,
body.light-theme .ap-shell .ap-hero-info-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(216,182,108,.09), transparent 34%),
    radial-gradient(circle at 12% 72%, rgba(15,122,104,.22), transparent 34%),
    linear-gradient(180deg, var(--ap-hero-green-850), var(--ap-hero-green-950)) !important;

  border-color: var(--ap-hero-line) !important;
}

body.light-theme .ap-shell .ap-hero-copy h1 {
  color: var(--ap-hero-gold-bright) !important;
}

body.light-theme .ap-shell .ap-hero-desc,
body.light-theme .ap-shell .ap-hero-stats span,
body.light-theme .ap-shell .ap-progress-top span {
  color: var(--ap-hero-muted) !important;
}

body.light-theme .ap-shell .ap-hero-stats b {
  color: #ffffff !important;
}

/* موبایل */
@media (max-width: 768px) {
  .ap-shell .ap-hero-copy::after,
  .ap-shell .ap-cover-card::after {
    inset: 12px !important;
    border-radius: 18px !important;
  }

  /* کارت مشخصات در موبایل فقط بوردر اصلی را نگه می‌دارد. */
  .ap-shell .ap-hero-info-card::after {
    content: none !important;
    display: none !important;
  }
}

/* 04) Lower sections and term cards */
/* =========================================================
   Academy Lower Sections Override
   Terms + Guarantee مثل هیرو، با عرض 1050px دسکتاپ
   ========================================================= */


/* عرض نهایی بخش فصل‌ها */
.ap-shell #academyTerms {
  width: min(1050px, 100%) !important;
  margin-inline: auto !important;
}

/* عنوان بخش فصل‌ها */
.ap-shell #academyTerms .ap-section-head h2,
.ap-shell .ap-guarantee-card + .ap-section-head h2 {
  color: var(--ap-hero-ink) !important;
}

.ap-shell #academyTerms .ap-section-head h2 {
  color: var(--ap-hero-gold-bright) !important;
  text-shadow: 0 10px 26px rgba(0,0,0,.22) !important;
}

/* تیتر فصل‌های آکادمی در تم روشن */
body.light-theme .ap-shell #academyTerms .ap-section-head h2 {
  color: #303f55f7 !important;
  text-shadow: none !important;
}


/* گرید ترم‌ها */
.ap-shell .ap-terms-grid {
  width: 100% !important;
  margin-inline: auto !important;
}

/* کارت‌های ترم */
.ap-shell .ap-term-card {
  position: relative !important;
  overflow: hidden !important;

  background:
    radial-gradient(circle at 50% 0%, rgba(216,182,108,.09), transparent 34%),
    radial-gradient(circle at 12% 72%, rgba(15,122,104,.22), transparent 34%),
    linear-gradient(180deg, var(--ap-hero-green-850), var(--ap-hero-green-950)) !important;

  border: 1px solid var(--ap-hero-line) !important;
  border-top-color: rgba(236, 212, 142, .48) !important;

  box-shadow:
    0 18px 42px rgba(0, 14, 18, .18),
    inset 0 1px 0 rgba(255,255,255,.045) !important;

  color: var(--ap-hero-ink) !important;
}

/* بافت ظریف مثل هیرو */
.ap-shell .ap-term-card::before,
.ap-shell .ap-guarantee-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;

  background-image:
    linear-gradient(135deg, rgba(255,255,255,.028) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.028) 50%, rgba(255,255,255,.028) 75%, transparent 75%, transparent),
    radial-gradient(circle at 20% 20%, rgba(216,182,108,.05) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 55%, rgba(255,255,255,.03) 0 1px, transparent 1px) !important;

  background-size: 12px 12px, 32px 32px, 48px 48px !important;
  opacity: .22 !important;
}

/* قاب طلایی داخلی */
.ap-shell .ap-term-card::after,
.ap-shell .ap-guarantee-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 16px !important;
  pointer-events: none !important;
  z-index: 0 !important;

  border: 1px solid rgba(216, 182, 108, .34) !important;
  border-radius: 24px !important;
  opacity: .95 !important;
}

.ap-shell .ap-term-card > *,
.ap-shell .ap-guarantee-card > * {
  position: relative !important;
  z-index: 2 !important;
}

/* کاور ترم */
.ap-shell .ap-term-cover {
  background:
    linear-gradient(180deg, var(--ap-hero-green-850), var(--ap-hero-green-950)) !important;
  border-bottom: 1px solid rgba(216, 182, 108, .22) !important;
}

.ap-shell .ap-term-cover img {
  position: relative !important;
  z-index: 1 !important;
}

/* placeholder ترم */
.ap-shell .ap-term-placeholder {
  background:
    radial-gradient(circle at 50% 0%, rgba(216,182,108,.12), transparent 38%),
    linear-gradient(180deg, var(--ap-hero-green-850), var(--ap-hero-green-950)) !important;
  color: var(--ap-hero-gold-bright) !important;
}

/* badge ترم */
.ap-shell .ap-term-badge {
  background: rgba(216, 182, 108, .13) !important;
  border: 1px solid rgba(216, 182, 108, .42) !important;
  color: var(--ap-hero-gold-bright) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.22) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.ap-shell .ap-term-badge-green {
  color: #03171b !important;
  background: linear-gradient(180deg, #9cf5dc, #159d7e) !important;
  border-color: rgba(156, 245, 220, .42) !important;
}

/* متن کارت ترم */
.ap-shell .ap-term-card h3 {
  color: #ffffff !important;
  text-shadow: 0 8px 20px rgba(0,0,0,.18) !important;
}

.ap-shell .ap-term-card p {
  color: var(--ap-hero-muted) !important;
}

.ap-shell .ap-term-top span,
.ap-shell .ap-term-top small {
  color: var(--ap-hero-gold-bright) !important;
}

/* قیمت ترم */
.ap-shell .ap-term-price {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(0,0,0,.10)) !important;
  border: 1px solid rgba(216, 182, 108, .22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 12px 28px rgba(0, 12, 18, .10) !important;
}

.ap-shell .ap-term-price span {
  color: var(--ap-hero-muted) !important;
}

.ap-shell .ap-term-price strong {
  color: var(--ap-hero-gold-bright) !important;
}

/* دکمه‌های داخل کارت ترم */
.ap-shell .ap-term-actions .ap-btn-primary {
  color: #03171b !important;
  background: linear-gradient(180deg, var(--ap-hero-gold-bright), var(--ap-hero-gold)) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  box-shadow: 0 16px 34px rgba(216, 182, 108, .18) !important;
}

.ap-shell .ap-term-actions .ap-btn-secondary {
  color: var(--ap-hero-gold-bright) !important;
  background: rgba(216, 182, 108, .07) !important;
  border: 1.5px solid rgba(216, 182, 108, .42) !important;
}

.ap-shell .ap-term-actions .ap-btn-secondary:hover {
  color: #03171b !important;
  background: linear-gradient(180deg, var(--ap-hero-gold-bright), var(--ap-hero-gold)) !important;
}

/* متن خرید غیرفعال */
.ap-shell .ap-disabled-note {
  color: var(--ap-hero-muted) !important;
  border: 1px solid rgba(216, 182, 108, .22) !important;
  background: rgba(216, 182, 108, .07) !important;
  border-radius: 16px !important;
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 18px !important;
  font-weight: 900 !important;
}

/* متن ضمانت */
.ap-shell .ap-guarantee-text span {
  color: var(--ap-hero-gold-bright) !important;
}

.ap-shell .ap-guarantee-text div,
.ap-shell .ap-guarantee-text p {
  color: var(--ap-hero-muted) !important;
}

.ap-shell .ap-guarantee-text h1,
.ap-shell .ap-guarantee-text h2,
.ap-shell .ap-guarantee-text h3,
.ap-shell .ap-guarantee-text strong {
  color: #ffffff !important;
}

/* empty box اگر ترمی نبود */
.ap-shell .ap-empty-box {
  width: min(1050px, 100%) !important;
  margin-inline: auto !important;

  background:
    radial-gradient(circle at 50% 0%, rgba(216,182,108,.09), transparent 34%),
    radial-gradient(circle at 12% 72%, rgba(15,122,104,.22), transparent 34%),
    linear-gradient(180deg, var(--ap-hero-green-850), var(--ap-hero-green-950)) !important;

  border: 1px solid var(--ap-hero-line) !important;
  color: var(--ap-hero-ink) !important;
}

.ap-shell .ap-empty-box h3 {
  color: var(--ap-hero-gold-bright) !important;
}

.ap-shell .ap-empty-box p {
  color: var(--ap-hero-muted) !important;
}

/* در تم روشن هم همین هویت حفظ شود */
body.light-theme .ap-shell .ap-term-card,
body.light-theme .ap-shell .ap-guarantee-card,
body.light-theme .ap-shell .ap-empty-box {
  background:
    radial-gradient(circle at 50% 0%, rgba(216,182,108,.09), transparent 34%),
    radial-gradient(circle at 12% 72%, rgba(15,122,104,.22), transparent 34%),
    linear-gradient(180deg, var(--ap-hero-green-850), var(--ap-hero-green-950)) !important;

  border-color: var(--ap-hero-line) !important;
}

body.light-theme .ap-shell .ap-term-card h3,
body.light-theme .ap-shell .ap-guarantee-text h1,
body.light-theme .ap-shell .ap-guarantee-text h2,
body.light-theme .ap-shell .ap-guarantee-text h3,
body.light-theme .ap-shell .ap-guarantee-text strong {
  color: #ffffff !important;
}

body.light-theme .ap-shell .ap-term-card p,
body.light-theme .ap-shell .ap-term-price span,
body.light-theme .ap-shell .ap-guarantee-text div,
body.light-theme .ap-shell .ap-guarantee-text p {
  color: var(--ap-hero-muted) !important;
}

/* دسکتاپ: کنترل عرض دقیق */
@media (min-width: 769px) {
  .ap-shell #academyTerms,
  .ap-shell .ap-guarantee-card,
  .ap-shell .ap-empty-box {
    max-width: 1050px !important;
  }
}

/* موبایل */
@media (max-width: 768px) {
  .ap-shell #academyTerms,
  .ap-shell .ap-guarantee-card,
  .ap-shell .ap-empty-box {
    width: 100% !important;
  }

  .ap-shell .ap-term-card::after,
  .ap-shell .ap-guarantee-card::after {
    inset: 12px !important;
    border-radius: 18px !important;
  }
}

/* 05) Three royal term color themes */
/* =========================================================
   Term Cards - 3 Royal Color Themes
   کارت 1 سبز، کارت 2 بنفش، کارت 3 آبی
   ========================================================= */

/* تم پایه هر کارت از روی ترتیب */
.ap-shell .ap-terms-grid .ap-term-card:nth-child(3n/**/+1) {
  --term-top-1: #0a4f4a;
  --term-top-2: #062f34;
  --term-bottom-1: #0b4d4e;
  --term-bottom-2: #041f25;
  --term-glow: rgba(40, 170, 140, .18);
  --term-accent: #d8b66c;
  --term-accent-strong: #f3dc9a;
  --term-border: rgba(216, 182, 108, .30);
}

.ap-shell .ap-terms-grid .ap-term-card:nth-child(3n/**/+2) {
  --term-top-1: #54106f;
  --term-top-2: #2f083f;
  --term-bottom-1: #4a0e63;
  --term-bottom-2: #21052d;
  --term-glow: rgba(178, 52, 220, .18);
  --term-accent: #d8b66c;
  --term-accent-strong: #f3dc9a;
  --term-border: rgba(216, 182, 108, .30);
}

.ap-shell .ap-terms-grid .ap-term-card:nth-child(3n/**/+3) {
  --term-top-1: #123d79;
  --term-top-2: #0a2349;
  --term-bottom-1: #103767;
  --term-bottom-2: #07182f;
  --term-glow: rgba(60, 120, 255, .18);
  --term-accent: #d8b66c;
  --term-accent-strong: #f3dc9a;
  --term-border: rgba(216, 182, 108, .30);
}

/* خود کارت */
.ap-shell .ap-terms-grid .ap-term-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(216,182,108,.09), transparent 34%),
    radial-gradient(circle at 18% 78%, var(--term-glow), transparent 34%),
    linear-gradient(180deg, var(--term-bottom-1), var(--term-bottom-2)) !important;
  border: 1px solid var(--term-border) !important;
  border-top-color: rgba(243, 220, 154, .50) !important;
}

/* کاور بالای کارت */
.ap-shell .ap-terms-grid .ap-term-card .ap-term-cover {
  background:
    radial-gradient(circle at 50% 16%, rgba(216,182,108,.08), transparent 34%),
    radial-gradient(circle at 50% 50%, var(--term-glow), transparent 45%),
    linear-gradient(180deg, var(--term-top-1), var(--term-top-2)) !important;
  border-bottom: 1px solid rgba(216, 182, 108, .22) !important;
}

/* placeholder اگر عکس نداشت */
.ap-shell .ap-terms-grid .ap-term-card .ap-term-placeholder {
  background:
    radial-gradient(circle at 50% 16%, rgba(216,182,108,.08), transparent 34%),
    radial-gradient(circle at 50% 50%, var(--term-glow), transparent 45%),
    linear-gradient(180deg, var(--term-top-1), var(--term-top-2)) !important;
  color: var(--term-accent-strong) !important;
}

/* قاب طلایی داخلی */
.ap-shell .ap-terms-grid .ap-term-card::after {
  border-color: rgba(216, 182, 108, .34) !important;
}

/* تیتر و متن */
.ap-shell .ap-terms-grid .ap-term-card h3 {
  color: #ffffff !important;
}

.ap-shell .ap-terms-grid .ap-term-card p,
.ap-shell .ap-terms-grid .ap-term-card .ap-term-price span {
  color: rgba(226, 240, 241, .76) !important;
}

.ap-shell .ap-terms-grid .ap-term-card .ap-term-price strong,
.ap-shell .ap-terms-grid .ap-term-card .ap-term-top span,
.ap-shell .ap-terms-grid .ap-term-card .ap-term-top small {
  color: var(--term-accent-strong) !important;
}

/* باکس قیمت */
.ap-shell .ap-terms-grid .ap-term-card .ap-term-price {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(0,0,0,.10)) !important;
  border: 1px solid rgba(216, 182, 108, .22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 12px 28px rgba(0, 12, 18, .10) !important;
}

/* بج‌ها */
.ap-shell .ap-terms-grid .ap-term-card .ap-term-badge {
  background: rgba(216, 182, 108, .13) !important;
  border: 1px solid rgba(216, 182, 108, .42) !important;
  color: var(--term-accent-strong) !important;
}

.ap-shell .ap-terms-grid .ap-term-card .ap-term-badge-green {
  color: #03171b !important;
  background: linear-gradient(180deg, #9cf5dc, #159d7e) !important;
  border-color: rgba(156, 245, 220, .42) !important;
}

/* دکمه اصلی */
.ap-shell .ap-terms-grid .ap-term-card .ap-btn-primary {
  color: #03171b !important;
  background: linear-gradient(180deg, #f3dc9a, #d8b66c) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  box-shadow: 0 16px 34px rgba(216, 182, 108, .18) !important;
}

/* دکمه فرعی */
.ap-shell .ap-terms-grid .ap-term-card .ap-btn-secondary {
  color: var(--term-accent-strong) !important;
  background: rgba(216, 182, 108, .07) !important;
  border: 1.5px solid rgba(216, 182, 108, .42) !important;
}

.ap-shell .ap-terms-grid .ap-term-card .ap-btn-secondary:hover {
  color: #03171b !important;
  background: linear-gradient(180deg, #f3dc9a, #d8b66c) !important;
}

/* 06) Full academy bundle card */


/* بافت ظریف طلایی */


/* قاب داخلی */


/* بخش متن */


/* بخش قیمت و دکمه */


/* تم روشن هم همین هویت را نگه دارد */


/* ریسپانسیو */


/* فاصله از کارت‌های ترم و بخش ضمانت */


/* بخش متن سمت راست */


/* پیام اعتبار خرید قبلی */


/* ستون قیمت سمت چپ */


/* درصد تخفیف */


/* قیمت قبلی */


/* قیمت اصلی */


/* اگر کلمه تومان داخل قیمت شکست خورد، ظاهرش بهتر بماند */


/* کمی نظم بیشتر برای قاب داخلی */


/* دسکتاپ‌های متوسط */


/* موبایل */

/* =========================================================
   06) SPECIAL OFFER CARD
   یک ماژول مستقل، mobile-first و بدون override تکراری
   Breakpoints:
   - 0 تا 680: موبایل، تک‌ستونه
   - 681 تا 1100: تبلت، کارت اصلی تک‌ستونه و آیتم‌ها دو ستونه
   - 1101 به بالا: دسکتاپ، چیدمان اصلی دو ستونه
   ========================================================= */

.ap-shell .ap-full-bundle-card,
.ap-shell .ap-full-bundle-card *,
.ap-shell .ap-full-bundle-card *::before,
.ap-shell .ap-full-bundle-card *::after {
  box-sizing: border-box;
}

.ap-shell .ap-full-bundle-card {
  width: min(1050px, 100%);
  margin: 46px auto 66px;
  padding: 24px 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  direction: rtl;
  color: #f2fbfb;
  border: 1px solid rgba(216, 182, 108, .34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 182, 108, .10), transparent 34%),
    radial-gradient(circle at 12% 72%, rgba(15, 122, 104, .24), transparent 34%),
    linear-gradient(180deg, #082f36, #03171b);
  box-shadow:
    0 22px 52px rgba(0, 14, 18, .20),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

/* بافت تزئینی است و نقش border ندارد. */
.ap-shell .ap-full-bundle-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.028) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.028) 50%, rgba(255,255,255,.028) 75%, transparent 75%, transparent),
    radial-gradient(circle at 20% 20%, rgba(216,182,108,.05) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 55%, rgba(255,255,255,.03) 0 1px, transparent 1px);
  background-size: 12px 12px, 32px 32px, 48px 48px;
}

.ap-shell .ap-full-bundle-card > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* متن پیشنهاد */
.ap-shell .ap-full-bundle-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.ap-shell .ap-full-bundle-kicker {
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #f3dc9a;
  background: rgba(216, 182, 108, .10);
  border: 1px solid rgba(216, 182, 108, .36);
  font-size: .88rem;
  font-weight: 950;
}

.ap-shell .ap-full-bundle-main h3 {
  width: 100%;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.65;
  font-weight: 950;
  text-shadow: 0 8px 22px rgba(0,0,0,.22);
}

.ap-shell .ap-full-bundle-main p {
  width: 100%;
  margin: 0;
  color: rgba(226, 240, 241, .78);
  font-size: .86rem;
  line-height: 2.15;
  font-weight: 650;
}

.ap-shell .ap-full-bundle-note {
  width: 100%;
  margin-top: 4px;
  padding: 13px 16px;
  border-radius: 18px;
  color: #f3dc9a;
  background: rgba(216, 182, 108, .07);
  border: 1px solid rgba(216, 182, 108, .20);
  text-align: center;
  font-weight: 900;
}

/* فصل‌ها و هدایا */
.ap-shell .ap-full-bundle-includes {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.ap-shell .ap-bundle-mini-card {
  min-width: 0;
  min-height: 100px;
  padding: 11px 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  direction: rtl;
  text-align: right;
  border: 1px solid rgba(216, 182, 108, .26);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 10px 24px rgba(0,0,0,.12);
}

.ap-shell .ap-bundle-mini-card.is-green {
  background:
    radial-gradient(circle at 20% 20%, rgba(216,182,108,.08), transparent 36%),
    linear-gradient(180deg, #0a4f4a, #041f25);
}

.ap-shell .ap-bundle-mini-card.is-purple {
  background:
    radial-gradient(circle at 20% 20%, rgba(216,182,108,.08), transparent 36%),
    linear-gradient(180deg, #54106f, #21052d);
}

.ap-shell .ap-bundle-mini-card.is-blue {
  background:
    radial-gradient(circle at 20% 20%, rgba(216,182,108,.08), transparent 36%),
    linear-gradient(180deg, #123d79, #07182f);
}

.ap-shell .ap-bundle-mini-card.is-gift {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 231, 151, .18), transparent 38%),
    radial-gradient(circle at 86% 82%, rgba(21, 157, 126, .20), transparent 42%),
    linear-gradient(180deg, #6b5317, #302006 92%);
  border-color: rgba(243, 220, 154, .54);
}

.ap-shell .ap-bundle-mini-card.is-owned {
  border-color: rgba(117, 241, 199, .52);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 12px 28px rgba(0,0,0,.14),
    0 0 0 1px rgba(74, 222, 170, .08);
}

.ap-shell .ap-bundle-mini-card.is-owned::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 13px;
  width: 27px;
  height: 27px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #052820;
  background: #75f1c7;
  border: 1px solid rgba(255,255,255,.32);
  font-size: .82rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.ap-shell .ap-bundle-mini-media,
.ap-shell .ap-bundle-mini-gift-icon {
  flex: 0 0 82px;
  width: 82px;
  height: 72px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #f3dc9a;
  background: rgba(0, 0, 0, .20);
  border: 1px solid rgba(243, 220, 154, .30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 10px 22px rgba(0, 0, 0, .20);
}

.ap-shell .ap-bundle-mini-gift-icon {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .13), transparent 36%),
    linear-gradient(145deg, rgba(243, 220, 154, .22), rgba(21, 157, 126, .13));
  border-color: rgba(243, 220, 154, .46);
}

.ap-shell .ap-bundle-mini-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.ap-shell .ap-bundle-mini-card:hover .ap-bundle-mini-media img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.ap-shell .ap-bundle-mini-media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #f3dc9a;
  background:
    radial-gradient(circle at 30% 25%, rgba(243, 220, 154, .20), transparent 38%),
    linear-gradient(145deg, rgba(21, 157, 126, .40), rgba(3, 23, 27, .72));
  font-size: 1.8rem;
  font-weight: 950;
}

.ap-shell .ap-bundle-mini-gift-icon svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .22));
}

.ap-shell .ap-bundle-mini-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  text-align: right;
}

.ap-shell .ap-bundle-mini-card.is-owned .ap-bundle-mini-copy {
  padding-left: 32px;
}

.ap-shell .ap-bundle-mini-copy strong {
  width: 100%;
  display: block;
  color: #ffffff;
  font-size: .96rem;
  line-height: 1.65;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.ap-shell .ap-bundle-mini-card.is-gift .ap-bundle-mini-copy strong {
  color: #fff5cb;
}

.ap-shell .ap-bundle-mini-subtitle {
  width: 100%;
  padding: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: rgba(226, 240, 241, .68);
  font-size: .71rem;
  line-height: 1.85;
  font-weight: 720;
}

.ap-shell .ap-bundle-mini-card.is-gift .ap-bundle-mini-subtitle {
  color: rgba(243, 220, 154, .72);
}

.ap-shell .ap-bundle-mini-owned-status {
  width: fit-content;
  min-height: 25px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #75f1c7;
  background: rgba(117, 241, 199, .09);
  border: 1px solid rgba(117, 241, 199, .24);
  font-size: .68rem;
  line-height: 1;
  font-weight: 950;
}

/* قیمت و CTA */
.ap-shell .ap-full-bundle-side {
  width: 100%;
  min-width: 0;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(0,0,0,.10));
  border: 1px solid rgba(216, 182, 108, .24);
}

.ap-shell .ap-full-bundle-calc {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.ap-shell .ap-full-bundle-calc-row {
  min-width: 0;
  padding: 14px 12px;
  display: grid;
  justify-items: center;
  gap: 7px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(216,182,108,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.ap-shell .ap-full-bundle-calc-row span {
  color: rgba(226,240,241,.76);
  font-size: .72rem;
  line-height: 1.85;
  font-weight: 850;
}

.ap-shell .ap-full-bundle-calc-row strong {
  color: #ffffff;
  font-size: .92rem;
  line-height: 1.9;
  font-weight: 850;
}

.ap-shell .ap-full-bundle-calc-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #f3dc9a;
  background: rgba(243,220,154,.11);
  border: 1px solid rgba(243,220,154,.22);
  font-size: .82rem;
  line-height: 1;
  font-weight: 950;
}

.ap-shell .ap-full-bundle-calc-icon.is-percent {
  color: #071c18;
  background: linear-gradient(180deg, #f3dc9a, #d8b66c);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 8px 22px rgba(216,182,108,.15);
}

.ap-shell .ap-full-bundle-calc-price.is-strike {
  color: rgba(236,245,245,.92);
  font-size: 1.06rem;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(243,220,154,.82);
}

.ap-shell .ap-full-bundle-calc-row.is-saving {
  background: rgba(243,220,154,.10);
  border-color: rgba(243,220,154,.28);
}

.ap-shell .ap-full-bundle-calc-row.is-saving span {
  color: #f3dc9a;
}

.ap-shell .ap-full-bundle-calc-row.is-final {
  background: rgba(35,214,169,.075);
  border-color: rgba(35,214,169,.24);
}

.ap-shell .ap-full-bundle-calc-row.is-final span {
  color: rgba(191,255,236,.86);
}

.ap-shell .ap-full-bundle-calc-price.is-final {
  color: #f3dc9a;
  font-size: 2.05rem;
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: -.8px;
  text-shadow: 0 8px 20px rgba(0,0,0,.22);
}

.ap-shell .ap-full-bundle-btn {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #03171b;
  background: linear-gradient(180deg, #f3dc9a, #d8b66c);
  border: 1px solid rgba(255,255,255,.22);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(216, 182, 108, .18);
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}

.ap-shell .ap-full-bundle-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 22px 44px rgba(216, 182, 108, .24);
}

/* تم روشن نیز عمداً همین هویت سبز و طلایی را حفظ می‌کند. */
body.light-theme .ap-shell .ap-full-bundle-card {
  color: #f2fbfb;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 182, 108, .10), transparent 34%),
    radial-gradient(circle at 12% 72%, rgba(15, 122, 104, .24), transparent 34%),
    linear-gradient(180deg, #082f36, #03171b);
}

body.light-theme .ap-shell .ap-full-bundle-main h3,
body.light-theme .ap-shell .ap-bundle-mini-copy strong,
body.light-theme .ap-shell .ap-full-bundle-calc-row strong {
  color: #ffffff;
}

/* قاب داخلی فقط از تبلت بزرگ به بالا فعال است؛ موبایل یک border دارد. */
@media (min-width: 769px) {
  .ap-shell .ap-full-bundle-card {
    padding: 32px 30px;
    border-radius: 32px;
  }

  .ap-shell .ap-full-bundle-card::after {
    content: "";
    position: absolute;
    inset: 16px;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(216, 182, 108, .34);
    border-radius: 23px;
  }
}

/* تبلت و عرض میانی: هیچ قانون دسکتاپی در این بازه فعال نیست. */
@media (min-width: 681px) and (max-width: 1100px) {
  .ap-shell .ap-full-bundle-card {
    padding: clamp(28px, 4vw, 36px);
    gap: 24px;
  }

  .ap-shell .ap-full-bundle-includes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ap-shell .ap-full-bundle-calc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* دسکتاپ واقعی: دو ستون، بدون هم‌پوشانی با breakpoint تبلت. */
@media (min-width: 1101px) {
  .ap-shell .ap-full-bundle-card {
    padding: 42px 46px;
    grid-template-columns: minmax(0, 1.55fr) minmax(310px, .80fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(28px, 3vw, 42px);
    row-gap: 22px;
    align-items: stretch;
    border-radius: 34px;
  }

  .ap-shell .ap-full-bundle-card::after {
    inset: 18px;
    border-radius: 28px;
  }

  .ap-shell .ap-full-bundle-main {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
    text-align: right;
  }

  .ap-shell .ap-full-bundle-main h3,
  .ap-shell .ap-full-bundle-main p,
  .ap-shell .ap-full-bundle-note {
    max-width: none;
  }

  .ap-shell .ap-full-bundle-includes {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-self: stretch;
  }

  .ap-shell .ap-bundle-mini-card {
    min-height: 108px;
    padding: 12px 14px;
    gap: 14px;
  }

  .ap-shell .ap-bundle-mini-media,
  .ap-shell .ap-bundle-mini-gift-icon {
    flex-basis: 92px;
    width: 92px;
    height: 78px;
    border-radius: 16px;
  }

  .ap-shell .ap-bundle-mini-gift-icon svg {
    width: 43px;
    height: 43px;
  }

  .ap-shell .ap-bundle-mini-copy strong {
    font-size: 1.02rem;
  }

  .ap-shell .ap-bundle-mini-subtitle {
    font-size: .74rem;
  }

  .ap-shell .ap-bundle-mini-card.is-owned .ap-bundle-mini-copy {
    padding-left: 39px;
  }

  .ap-shell .ap-full-bundle-side {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 100%;
    padding: 24px 22px;
    align-self: stretch;
  }

  .ap-shell .ap-full-bundle-calc {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 07) Authentication modal */
/* =========================================================
   Academy purchase authentication guard
   ========================================================= */

.ap-auth-modal[hidden] {
  display: none !important;
}

.ap-auth-modal {
  --ap-auth-emerald-950: #03171b;
  --ap-auth-emerald-900: #062a2d;
  --ap-auth-emerald-800: #0a4141;
  --ap-auth-gold: #d8b66c;
  --ap-auth-gold-light: #f3dc9a;
  --ap-auth-ink: #f7ffff;
  --ap-auth-muted: rgba(226, 240, 241, .76);

  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 18px;
  direction: rtl;
  font-family: IRANYekanX, IRANSX, IRANSansX, sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}

.ap-auth-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.ap-auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(20, 121, 104, .20), transparent 42%),
    rgba(2, 12, 18, .72);
  backdrop-filter: blur(13px) saturate(115%);
  -webkit-backdrop-filter: blur(13px) saturate(115%);
  cursor: pointer;
}

.ap-auth-modal-panel {
  position: relative;
  z-index: 1;
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: clamp(30px, 5vw, 48px);
  border-radius: 32px;
  color: var(--ap-auth-ink);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 182, 108, .13), transparent 33%),
    radial-gradient(circle at 10% 90%, rgba(21, 157, 126, .20), transparent 34%),
    linear-gradient(145deg, rgba(10, 65, 65, .98), rgba(3, 23, 27, .99));
  border: 1px solid rgba(216, 182, 108, .48);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, .46),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: translateY(18px) scale(.97);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1);
  outline: none;
}

.ap-auth-modal-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background-image:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .025) 25%,
      transparent 25%,
      transparent 50%,
      rgba(255, 255, 255, .025) 50%,
      rgba(255, 255, 255, .025) 75%,
      transparent 75%,
      transparent
    );
  background-size: 14px 14px;
  opacity: .4;
}

.ap-auth-modal.is-open .ap-auth-modal-panel {
  transform: translateY(0) scale(1);
}

.ap-auth-modal-close {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 17px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(216, 182, 108, .24);
  color: var(--ap-auth-gold-light);
  background: rgba(255, 255, 255, .045);
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.ap-auth-modal-close span {
  display: block;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(4px);
}

.ap-auth-modal-close:hover,
.ap-auth-modal-close:focus-visible {
  transform: rotate(5deg);
  background: rgba(216, 182, 108, .12);
  border-color: rgba(216, 182, 108, .58);
  outline: none;
}

.ap-auth-modal-emblem {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 27px;
  color: var(--ap-auth-gold-light);
  background:
    linear-gradient(145deg, rgba(216, 182, 108, .17), rgba(216, 182, 108, .055));
  border: 1px solid rgba(216, 182, 108, .38);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .20);
}

.ap-auth-modal-emblem svg {
  width: 46px;
  height: 46px;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ap-auth-modal-kicker {
  position: relative;
  z-index: 2;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: var(--ap-auth-gold-light);
  background: rgba(216, 182, 108, .10);
  border: 1px solid rgba(216, 182, 108, .24);
  font-size: .82rem;
  font-weight: 950;
}

.ap-auth-modal-panel h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 4vw, 1.2rem);
  line-height: 1.9;
  font-weight: 950;
  letter-spacing: -.45px;
}

.ap-auth-modal-panel p {
  position: relative;
  z-index: 2;
  margin: 15px auto 0;
  max-width: 430px;
  color: var(--ap-auth-muted);
  font-size: .8rem;
  font-weight: 600;
  line-height: 2;
}

.ap-auth-modal-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 28px;
}

.ap-auth-modal-btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 17px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 950;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease;
}

.ap-auth-modal-btn:hover,
.ap-auth-modal-btn:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.ap-auth-modal-btn-primary {
  color: #102023;
  background: linear-gradient(135deg, var(--ap-auth-gold-light), var(--ap-auth-gold));
  box-shadow: 0 14px 30px rgba(216, 182, 108, .20);
}

.ap-auth-modal-btn-primary:hover,
.ap-auth-modal-btn-primary:focus-visible {
  box-shadow: 0 18px 38px rgba(216, 182, 108, .30);
}

.ap-auth-modal-btn-secondary {
  color: #fff;
  background: rgba(16, 108, 91, .22);
  border: 1px solid rgba(156, 245, 220, .30);
}

.ap-auth-modal-btn-secondary:hover,
.ap-auth-modal-btn-secondary:focus-visible {
  background: rgba(21, 157, 126, .30);
  border-color: rgba(156, 245, 220, .56);
}

body.ap-auth-modal-lock {
  overflow: hidden !important;
}

@media (max-width: 560px) {
  .ap-auth-modal {
    place-items: center;
    padding: 14px;
  }

  .ap-auth-modal-panel {
    width: min(100%, 460px);
    max-height: calc(100dvh - 28px);
    padding: 36px 20px 24px;
    border-radius: 26px;
  }

  .ap-auth-modal-close {
    top: 14px;
    left: 14px;
    width: 40px;
    height: 40px;
  }

  .ap-auth-modal-emblem {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
    border-radius: 23px;
  }

  .ap-auth-modal-emblem svg {
    width: 40px;
    height: 40px;
  }

  .ap-auth-modal-panel h2 {
    font-size: 1rem;
    line-height: 1.95;
  }

  .ap-auth-modal-panel p {
    font-size: .8rem;
  }

  .ap-auth-modal-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 23px;
  }

  .ap-auth-modal-btn {
    width: 100%;
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap-auth-modal,
  .ap-auth-modal-panel,
  .ap-auth-modal-btn,
  .ap-auth-modal-close {
    transition: none !important;
  }
}

/* =========================================================
   09) RMW7 INTERACTIVE ROADMAP
   Final single source of truth
   ========================================================= */
.rmw7-rmap {
  width: min(1050px, 100%);
  margin: 58px auto 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.rmw7-rmap-heading {
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
}

.rmw7-rmap-heading h2 {
  margin: 0;
  color: var(--rmw7-ink-strong);
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  line-height: 1.7;
  font-weight: 950;
  letter-spacing: -1px;
}

body.light-theme .rmw7-rmap-heading h2 {
  color: #303f55f7;
}

.rmw7-rmap-hub {
  --rmap-accent: #9cf5dc;
  --rmap-main: #159d7e;
  --rmap-soft: rgba(21, 157, 126, .16);
  --rmap-line: rgba(156, 245, 220, .30);
  --rmap-bg-1: #08383b;
  --rmap-bg-2: #03171b;
  --rmap-glow: rgba(21, 157, 126, .23);
  --rmap-connector-x: 50%;

  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.7vw, 30px);
  border-radius: 34px;
  color: #f4ffff;
  background:
    radial-gradient(circle at 50% 0%, var(--rmap-glow), transparent 38%),
    radial-gradient(circle at 10% 100%, var(--rmap-soft), transparent 36%),
    linear-gradient(145deg, var(--rmap-bg-1), var(--rmap-bg-2));
  border: 1px solid var(--rmap-line);
  box-shadow: 0 24px 58px rgba(0, 12, 18, .18);
  transition:
    background .45s ease,
    border-color .45s ease,
    box-shadow .45s ease;
}

.rmw7-rmap-hub::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    135deg,
    rgba(255,255,255,.022) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255,255,255,.022) 50%,
    rgba(255,255,255,.022) 75%,
    transparent 75%,
    transparent
  );
  background-size: 15px 15px;
  opacity: .30;
}

.rmw7-rmap-hub > * {
  position: relative;
  z-index: 1;
}

.rmw7-rmap-hub.is-theme-green {
  --rmap-accent: #9cf5dc;
  --rmap-main: #159d7e;
  --rmap-soft: rgba(21, 157, 126, .16);
  --rmap-line: rgba(156, 245, 220, .30);
  --rmap-bg-1: #08383b;
  --rmap-bg-2: #03171b;
  --rmap-glow: rgba(21, 157, 126, .23);
}

.rmw7-rmap-hub.is-theme-violet {
  --rmap-accent: #e1a4f2;
  --rmap-main: #9f45c3;
  --rmap-soft: rgba(138, 47, 177, .18);
  --rmap-line: rgba(225, 164, 242, .30);
  --rmap-bg-1: #3b1050;
  --rmap-bg-2: #16071f;
  --rmap-glow: rgba(183, 64, 219, .23);
}

.rmw7-rmap-hub.is-theme-blue {
  --rmap-accent: #a8caff;
  --rmap-main: #397cc9;
  --rmap-soft: rgba(27, 82, 150, .20);
  --rmap-line: rgba(168, 202, 255, .30);
  --rmap-bg-1: #0d2e5a;
  --rmap-bg-2: #04101f;
  --rmap-glow: rgba(75, 145, 238, .22);
}

/* Module selector cards */
.rmw7-rmap-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 22px;
}

.rmw7-rmap-tab {
  --rmap-tab-accent: #9cf5dc;
  --rmap-tab-soft: rgba(21, 157, 126, .22);
  --rmap-tab-line: rgba(156, 245, 220, .34);
  --rmap-tab-bg-1: #0b5550;
  --rmap-tab-bg-2: #052624;

  position: relative;
  min-width: 0;
  min-height: 330px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 24px;
  border: 1px solid var(--rmap-tab-line);
  color: #fff;
  text-align: right;
  font-family: inherit;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 0%, var(--rmap-tab-soft), transparent 55%),
    linear-gradient(155deg, var(--rmap-tab-bg-1), var(--rmap-tab-bg-2));
  box-shadow: 0 16px 34px rgba(0,0,0,.14);
  opacity: .84;
  filter: saturate(.80);
  transition:
    transform .34s cubic-bezier(.2,.8,.2,1),
    opacity .30s ease,
    filter .30s ease,
    border-color .30s ease,
    box-shadow .34s ease;
}

.rmw7-rmap-tab.is-green {
  --rmap-tab-accent: #9cf5dc;
  --rmap-tab-soft: rgba(21, 157, 126, .22);
  --rmap-tab-line: rgba(156, 245, 220, .34);
  --rmap-tab-bg-1: #0b5550;
  --rmap-tab-bg-2: #052624;
}

.rmw7-rmap-tab.is-violet {
  --rmap-tab-accent: #e1a4f2;
  --rmap-tab-soft: rgba(138, 47, 177, .24);
  --rmap-tab-line: rgba(225, 164, 242, .34);
  --rmap-tab-bg-1: #591d70;
  --rmap-tab-bg-2: #230b2f;
}

.rmw7-rmap-tab.is-blue {
  --rmap-tab-accent: #a8caff;
  --rmap-tab-soft: rgba(27, 82, 150, .25);
  --rmap-tab-line: rgba(168, 202, 255, .34);
  --rmap-tab-bg-1: #174a86;
  --rmap-tab-bg-2: #081b35;
}

.rmw7-rmap-tab:hover,
.rmw7-rmap-tab:focus-visible {
  opacity: 1;
  filter: saturate(1);
  border-color: var(--rmap-tab-accent);
  outline: none;
}

.rmw7-rmap-tab.is-active {
  opacity: 1;
  filter: saturate(1);
  border-color: var(--rmap-tab-accent);
}

.rmw7-rmap-tab-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, var(--rmap-tab-soft), transparent 55%),
    linear-gradient(145deg, var(--rmap-tab-bg-1), var(--rmap-tab-bg-2));
}

.rmw7-rmap-tab-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 42%,
    rgba(0,0,0,.25) 72%,
    var(--rmap-tab-bg-1) 100%
  );
}

.rmw7-rmap-tab-media img,
.rmw7-rmap-tab-media img[data-rmw7-term-image] {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition:
    opacity .35s ease,
    transform .55s cubic-bezier(.2,.8,.2,1),
    filter .30s ease;
}

.rmw7-rmap-tab-media img[data-rmw7-term-image]:not([src]),
.rmw7-rmap-tab-media img[data-rmw7-term-image][src=""] {
  opacity: 0;
}

.rmw7-rmap-tab-media img[data-rmw7-term-image].is-image-loaded {
  opacity: 1;
}

.rmw7-rmap-tab-number {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--rmap-tab-accent);
  background: rgba(3,15,20,.68);
  border: 1px solid var(--rmap-tab-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .92rem;
  font-weight: 950;
}

.rmw7-rmap-tab-body,
.rmw7-rmap-tab-copy {
  min-height: 160px;
  padding: 18px 18px 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.rmw7-rmap-tab-body small,
.rmw7-rmap-tab-copy small {
  margin-bottom: 8px;
  color: var(--rmap-tab-accent);
  font-size: .79rem;
  font-weight: 950;
}

.rmw7-rmap-tab-body strong,
.rmw7-rmap-tab-copy strong {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.85;
  font-weight: 950;
}

.rmw7-rmap-tab-subtitle,
.rmw7-rmap-tab-body > span:not(.rmw7-rmap-tab-mobile-action),
.rmw7-rmap-tab-copy > span:not(.rmw7-rmap-tab-mobile-action) {
  margin-top: 8px;
  color: rgba(235,245,246,.68);
  font-size: .79rem;
  line-height: 1.8;
  font-weight: 700;
}

.rmw7-rmap-tab-mobile-action {
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  padding: 0 12px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rmap-tab-accent);
  background: rgba(0,0,0,.16);
  border: 1px solid var(--rmap-tab-line);
  font-size: .78rem;
  line-height: 1.4;
  font-weight: 900;
  white-space: nowrap;
  transition:
    color .25s ease,
    background .25s ease,
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.rmw7-rmap-tab.is-active .rmw7-rmap-tab-mobile-action {
  color: #071719;
  background: var(--rmap-tab-accent);
  border-color: var(--rmap-tab-accent);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.rmw7-rmap-tab-state {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 11px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--rmap-tab-accent);
  opacity: .65;
  transition: width .32s ease, opacity .30s ease;
}

.rmw7-rmap-tab.is-active .rmw7-rmap-tab-state {
  width: calc(100% - 36px);
  opacity: 1;
}

/* Selected module content */
.rmw7-rmap-stage {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0%, var(--rmap-soft), transparent 42%),
    rgba(0,0,0,.11);
  border: 1px solid var(--rmap-line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 0 0 1px rgba(255,255,255,.018),
    0 18px 38px rgba(0,0,0,.10);
  transition:
    border-color .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

.rmw7-rmap-stage::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: -1px;
  left: var(--rmap-connector-x);
  width: 250px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    var(--rmap-accent) 34%,
    var(--rmap-accent) 66%,
    transparent
  );
  box-shadow:
    0 0 10px var(--rmap-accent),
    0 0 22px var(--rmap-soft);
}

.rmw7-rmap-stage::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: -4px;
  left: var(--rmap-connector-x);
  width: 8px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  background: var(--rmap-accent);
  box-shadow:
    0 0 10px var(--rmap-accent),
    0 0 20px var(--rmap-accent);
}

.rmw7-rmap-panel {
  padding: clamp(22px, 3.4vw, 38px);
  animation: rmw7RmapPanelIn .38s ease both;
}

.rmw7-rmap-panel[hidden] {
  display: none !important;
}

.rmw7-rmap-panel-head {
  max-width: 920px;
  margin-bottom: 24px;
}

.rmw7-rmap-realm {
  width: fit-content;
  min-height: 38px;
  padding: 0 15px;
  margin-bottom: 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  color: var(--rmap-accent);
  background: var(--rmap-soft);
  border: 1px solid var(--rmap-line);
  font-size: .82rem;
  font-weight: 950;
}

.rmw7-rmap-realm span {
  padding-right: 9px;
  border-right: 1px solid var(--rmap-line);
  color: rgba(255,255,255,.72);
  font-weight: 750;
}

.rmw7-rmap-panel-head h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.7;
  font-weight: 950;
}

.rmw7-rmap-panel-head p {
  margin: 0;
  color: rgba(226,240,241,.78);
  font-size: 1rem;
  line-height: 2.25;
  text-align: justify;
}

.rmw7-rmap-lessons {
  display: grid;
  gap: 11px;
}

.rmw7-rmap-lesson {
  overflow: hidden;
  border-radius: 17px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.085);
  transition: border-color .25s ease, background .25s ease;
}

.rmw7-rmap-lesson[open] {
  border-color: var(--rmap-line);
  background: rgba(255,255,255,.052);
}

.rmw7-rmap-lesson.is-audio {
  border-color: var(--rmap-line);
}

.rmw7-rmap-lesson summary {
  min-height: 68px;
  padding: 14px 17px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}


.rmw7-rmap-lesson summary::-webkit-details-marker {
  display: none;
}

.rmw7-rmap-lesson summary::marker {
  content: "";
  display: none;
}

.rmw7-rmap-lesson summary span {
  min-width: 72px;
  min-height: 32px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--rmap-accent);
  background: var(--rmap-soft);
  border: 1px solid var(--rmap-line);
  font-size: .75rem;
  font-weight: 950;
  white-space: nowrap;
}

.rmw7-rmap-lesson summary strong {
  min-width: 0;
  color: #fff;
  font-size: .94rem;
  line-height: 1.85;
  font-weight: 900;
}

/* علامت باز و بسته‌شدن آکاردئون */
.rmw7-rmap-lesson summary::after {
  content: "+";
  width: 35px;
  height: 35px;
  flex: 0 0 35px;

  display: grid;
  place-items: center;
  align-self: center;

  border-radius: 11px;

  color: var(--rmap-accent);
  background: var(--rmap-soft);
  border: 1px solid var(--rmap-line);

  font-size: 1.3rem;
  line-height: 1;
  font-weight: 500;

  transition:
    transform .22s ease,
    color .22s ease,
    background .22s ease,
    border-color .22s ease;
}

/* هنگام بازبودن، علامت مثبت به منفی تبدیل می‌شود */
.rmw7-rmap-lesson[open] summary::after {
  content: "−";
  color: #ffffff;
  
  border-color: var(--rmap-accent);
}

.rmw7-rmap-lesson-content {
  padding: 0 17px 17px;
  animation: rmw7RmapLessonIn .25s ease both;
}

.rmw7-rmap-lesson-content p {
  margin: 0;
  padding: 16px 3px 0;
  border-top: 1px solid rgba(255,255,255,.065);
  color: rgba(226,240,241,.74);
  font-size: .91rem;
  line-height: 2.15;
  text-align: justify;
}

@keyframes rmw7RmapPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rmw7RmapLessonIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Desktop depth, focus and exact connector */
@media (min-width: 901px) {
  .rmw7-rmap-hub {
    padding-top: 30px;
  }

  .rmw7-rmap-tabs {
    position: relative;
    gap: 22px;
    align-items: end;
    margin-bottom: 0;
    padding: 10px 0 54px;
    isolation: isolate;
  }

  .rmw7-rmap-tabs::after {
    content: "";
    position: absolute;
    z-index: 6;
    left: var(--rmap-connector-x);
    bottom: 0;
    width: 3px;
    height: 54px;
    transform: translateX(-50%);
    border-radius: 999px;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      var(--rmap-accent) 0%,
      var(--rmap-accent) 76%,
      rgba(255,255,255,.12) 100%
    );
    box-shadow:
      0 0 10px var(--rmap-accent),
      0 0 22px var(--rmap-accent),
      0 0 34px var(--rmap-soft);
  }

  .rmw7-rmap-tab {
    min-height: 392px;
    transform: translateY(14px) scale(.955);
    transform-origin: center bottom;
    opacity: .9;
    filter: saturate(.9) brightness(.94);
    box-shadow:
      0 10px 22px rgba(0,0,0,.10),
      inset 0 1px 0 rgba(255,255,255,.025);
    z-index: 1;
  }

  .rmw7-rmap-tab:not(.is-active):hover,
  .rmw7-rmap-tab:not(.is-active):focus-visible {
    transform: translateY(8px) scale(.975);
    opacity: .86;
    filter: saturate(.90) brightness(.94);
    z-index: 2;
  }

  .rmw7-rmap-tab.is-active {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: saturate(1) brightness(1);
    box-shadow:
      0 26px 58px rgba(0,0,0,.24),
      0 0 0 1px rgba(255,255,255,.035),
      0 0 20px var(--rmap-tab-soft),
      inset 0 1px 0 rgba(255,255,255,.10);
    z-index: 4;
  }

  .rmw7-rmap-tab:not(.is-active) .rmw7-rmap-tab-media img {
    filter: brightness(.82) saturate(.72);
  }

  .rmw7-rmap-tab.is-active .rmw7-rmap-tab-media img {
    transform: scale(1.045);
    filter: brightness(1.03) saturate(1.04);
  }

  .rmw7-rmap-tab-body,
  .rmw7-rmap-tab-copy {
    min-height: 188px;
    padding: 20px 18px 26px;
  }

  .rmw7-rmap-tab-subtitle {
    display: block;
    margin-top: 10px;
  }

  .rmw7-rmap-tab-mobile-action {
    min-height: 44px;
    margin-top: auto;
  }

  .rmw7-rmap-stage {
    margin-top: 0;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.06),
      0 0 0 1px rgba(255,255,255,.018),
      0 0 28px var(--rmap-soft),
      0 20px 44px rgba(0,0,0,.12);
  }
}

/* Mobile: three compact cards remain in one row */
@media (max-width: 600px) {
  .rmw7-rmap {
    margin-top: 42px;
  }

  .rmw7-rmap-heading {
    margin-bottom: 20px;
  }

  .rmw7-rmap-heading h2 {
    font-size: 1.55rem;
    line-height: 1.85;
  }

  .rmw7-rmap-hub {
    padding: 10px;
    border-radius: 24px;
  }

  .rmw7-rmap-tabs {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 7px;
    margin-bottom: 14px;
  }

  .rmw7-rmap-tab,
  .rmw7-rmap-tab:last-child {
    width: 100%;
    min-width: 0;
    min-height: 0;
    grid-column: auto;
    justify-self: stretch;
    border-radius: 16px;
    transform: none;
    opacity: .80;
    filter: saturate(.84);
  }

  .rmw7-rmap-tab:hover,
  .rmw7-rmap-tab:focus-visible,
  .rmw7-rmap-tab.is-active {
    transform: none;
  }

  .rmw7-rmap-tab.is-active {
    opacity: 1;
    filter: saturate(1);
    box-shadow:
      0 10px 22px rgba(0,0,0,.16),
      0 0 0 1px var(--rmap-tab-line);
  }

  .rmw7-rmap-tab-media {
    aspect-ratio: 1 / 1;
  }

  .rmw7-rmap-tab-number {
    display: none;
  }

  .rmw7-rmap-tab-body,
  .rmw7-rmap-tab-copy {
    min-height: 104px;
    padding: 10px 6px 12px;
    align-items: stretch;
    justify-content: space-between;
    text-align: center;
  }

  .rmw7-rmap-tab-body small,
  .rmw7-rmap-tab-copy small {
    display: block;
    margin: 0;
    color: var(--rmap-tab-accent);
    font-size: clamp(.66rem, 2.7vw, .78rem);
    line-height: 1.7;
    font-weight: 950;
    text-align: center;
    white-space: nowrap;
  }

  .rmw7-rmap-tab-body strong,
  .rmw7-rmap-tab-copy strong,
  .rmw7-rmap-tab-subtitle,
  .rmw7-rmap-tab-body > span:not(.rmw7-rmap-tab-mobile-action),
  .rmw7-rmap-tab-copy > span:not(.rmw7-rmap-tab-mobile-action) {
    display: none !important;
  }

  .rmw7-rmap-tab-mobile-action {
    min-height: 34px;
    margin-top: 9px;
    padding: 0 4px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rmap-tab-accent);
    background: rgba(0,0,0,.16);
    border: 1px solid var(--rmap-tab-line);
    font-size: clamp(.57rem, 2.15vw, .69rem);
    line-height: 1.4;
    font-weight: 900;
    white-space: nowrap;
  }

  .rmw7-rmap-tab.is-active .rmw7-rmap-tab-mobile-action {
    color: #071719;
    background: var(--rmap-tab-accent);
    border-color: var(--rmap-tab-accent);
  }

  .rmw7-rmap-tab-state {
    display: none;
  }

  .rmw7-rmap-stage {
    border-radius: 20px;
  }

  .rmw7-rmap-stage::before,
  .rmw7-rmap-stage::after {
    display: none;
  }

  .rmw7-rmap-panel {
    padding: 18px 13px;
  }

  .rmw7-rmap-realm {
    min-height: 34px;
    padding: 0 12px;
    font-size: .74rem;
  }

  .rmw7-rmap-panel-head h3 {
    font-size: 1.25rem;
    line-height: 1.85;
  }

  .rmw7-rmap-panel-head p {
    font-size: .9rem;
    line-height: 2.1;
  }

  .rmw7-rmap-lesson summary {
    min-height: 62px;
    padding: 12px;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
  }

  .rmw7-rmap-lesson summary span {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 0;
    min-height: 28px;
    padding: 0 9px;
    font-size: .68rem;
  }

  .rmw7-rmap-lesson summary strong {
    grid-column: 1;
    font-size: .84rem;
  }

  .rmw7-rmap-lesson summary i {
    grid-column: 2;
    width: 33px;
    height: 33px;
  }

  .rmw7-rmap-lesson-content {
    padding: 0 12px 13px;
  }

  .rmw7-rmap-lesson-content p {
    font-size: .84rem;
    line-height: 2.05;
  }
}

@media (max-width: 370px) {
  .rmw7-rmap-tabs { gap: 5px; }
  .rmw7-rmap-tab { border-radius: 13px; }
  .rmw7-rmap-tab-body,
  .rmw7-rmap-tab-copy { min-height: 94px; padding: 8px 4px 9px; }
  .rmw7-rmap-tab-body small,
  .rmw7-rmap-tab-copy small { font-size: .61rem; }
  .rmw7-rmap-tab-mobile-action {
    min-height: 31px;
    margin-top: 7px;
    padding: 0 2px;
    border-radius: 8px;
    font-size: .53rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rmw7-rmap-hub,
  .rmw7-rmap-tab,
  .rmw7-rmap-panel,
  .rmw7-rmap-lesson-content {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   RMW7 ACADEMY GIFTS
   نسخه مستقل با رنگ ثابت در تم روشن و تاریک
   ========================================================= */

/* ================= سکشن اصلی ================= */

.rmw7-gifts-section,
body.light-theme .rmw7-gifts-section {
  width: min(1050px, 100%);
  margin: 64px auto 0;
  padding: 0;
  position: relative;
  direction: rtl;
  overflow: visible;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.rmw7-gifts-section::before,
.rmw7-gifts-section::after {
  content: none !important;
  display: none !important;
}

/* ================= تیتر مستقل ================= */

.rmw7-gifts-heading {
  width: 100%;
  margin: 0 auto 30px;
  padding: 0;
  text-align: center;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.rmw7-gifts-heading h2 {
  margin: 0;
  padding: 0;

  color: #ffffff !important;
  font-size: clamp(1.9rem, 3.6vw, 2.65rem);
  line-height: 1.65;
  font-weight: 950;
  letter-spacing: -.8px;
}

body.light-theme .rmw7-gifts-heading h2 {
  color: #303f55f7 !important;
}

/* ================= گرید کارت‌ها ================= */

.rmw7-gifts-grid,
body.light-theme .rmw7-gifts-grid {
  width: 100%;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ================= کارت هدیه ================= */

.rmw7-gift-card,
body.light-theme .rmw7-gift-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 385px;
  padding: 28px 24px 26px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  text-align: right;
  border-radius: 28px;
  color: #ffffff;

  background:
    radial-gradient(
      circle at 88% 2%,
      rgba(243, 220, 154, .16) 0%,
      rgba(243, 220, 154, .045) 27%,
      transparent 45%
    ),
    radial-gradient(
      circle at 4% 98%,
      rgba(21, 157, 126, .27) 0%,
      transparent 43%
    ),
    linear-gradient(
      145deg,
      #0b584f 0%,
      #07443c 42%,
      #032a25 72%,
      #021a18 100%
    ) !important;

  border: 1px solid rgba(228, 199, 125, .36) !important;

  box-shadow:
    0 20px 46px rgba(0, 12, 18, .18),
    inset 0 1px 0 rgba(255, 255, 255, .055) !important;

  transition:
    transform .3s cubic-bezier(.2, .8, .2, 1),
    border-color .3s ease,
    box-shadow .3s ease;
}

/* کارت میانی کمی ویژه‌تر */

.rmw7-gift-card.is-featured,
body.light-theme .rmw7-gift-card.is-featured {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(243, 220, 154, .20) 0%,
      rgba(243, 220, 154, .055) 31%,
      transparent 49%
    ),
    radial-gradient(
      circle at 5% 98%,
      rgba(21, 157, 126, .30) 0%,
      transparent 44%
    ),
    linear-gradient(
      145deg,
      #12685e 0%,
      #0a4f46 43%,
      #042f2a 72%,
      #021a18 100%
    ) !important;

  border-color: rgba(243, 220, 154, .58) !important;

  box-shadow:
    0 24px 54px rgba(0, 12, 18, .22),
    0 0 24px rgba(228, 199, 125, .09),
    inset 0 1px 0 rgba(255, 255, 255, .07) !important;
}

/* بافت ظریف کارت */

.rmw7-gift-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, .018) 0,
      rgba(255, 255, 255, .018) 1px,
      transparent 1px,
      transparent 11px
    );

  opacity: .48;
}

/* خط طلایی بالای کارت */

.rmw7-gift-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 1px;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(243, 220, 154, .82),
      transparent
    );

  box-shadow:
    0 0 12px rgba(243, 220, 154, .14);
}

/* حالت hover */

.rmw7-gift-card:hover {
  transform: translateY(-7px);

  border-color: rgba(243, 220, 154, .75) !important;

  box-shadow:
    0 30px 58px rgba(0, 12, 18, .24),
    0 0 26px rgba(228, 199, 125, .12),
    inset 0 1px 0 rgba(255, 255, 255, .075) !important;
}

/* ================= جعبه آیکون ================= */

.rmw7-gift-card-icon,
body.light-theme .rmw7-gift-card-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  margin: 0 0 18px;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(243, 220, 154, .19),
      rgba(228, 199, 125, .065)
    ) !important;

  border: 1px solid rgba(243, 220, 154, .48) !important;

  box-shadow:
    0 12px 26px rgba(0, 0, 0, .17),
    inset 0 1px 0 rgba(255, 255, 255, .065) !important;
}

/*
 * آیکون هدیه از طریق CSS ساخته می‌شود.
 * در HTML هیچ SVG یا تگ i وجود ندارد.
 */
.rmw7-gift-card-icon::before {
  content: "";
  width: 39px;
  height: 39px;
  display: block;

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23f3dc9a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='25' width='46' height='30' rx='6'/%3E%3Cpath d='M32 25v30M9 36h46'/%3E%3Cpath d='M32 25H20a7 7 0 1 1 0-14c6 0 9.5 8.5 12 14Z'/%3E%3Cpath d='M32 25h12a7 7 0 1 0 0-14c-6 0-9.5 8.5-12 14Z'/%3E%3C/g%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  filter:
    drop-shadow(0 0 6px rgba(243, 220, 154, .25));
}

/* ================= برچسب هدیه ================= */

.rmw7-gift-card-label,
body.light-theme .rmw7-gift-card-label {
  min-height: 32px;
  margin: 0 0 12px;
  padding: 0 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  color: #f3dc9a !important;
  background: rgba(228, 199, 125, .10) !important;
  border: 1px solid rgba(243, 220, 154, .29) !important;

  font-size: .77rem;
  line-height: 1;
  font-weight: 950;
}

/* ================= عنوان کارت ================= */

.rmw7-gift-card h3,
body.light-theme .rmw7-gift-card h3 {
  margin: 0 0 9px;
  padding: 0;

  color: #ffffff !important;
  font-size: 1.27rem;
  line-height: 1.8;
  font-weight: 950;
}

/* ================= زیرعنوان کارت ================= */

.rmw7-gift-card strong,
body.light-theme .rmw7-gift-card strong {
  display: block;
  margin: 0 0 14px;
  padding: 0;

  color: #9cf5dc !important;
  font-size: .92rem;
  line-height: 2;
  font-weight: 900;
}

/* ================= توضیحات کارت ================= */

.rmw7-gift-card p,
body.light-theme .rmw7-gift-card p {
  margin: 0;
  padding: 0;

  color: rgba(226, 240, 241, .79) !important;
  font-size: .92rem;
  line-height: 2.14;

  text-align: justify;
  text-align-last: right;
}

/* =========================================================
   تبلت
   ========================================================= */

@media (max-width: 900px) {
  .rmw7-gifts-grid,
  body.light-theme .rmw7-gifts-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .rmw7-gift-card,
  body.light-theme .rmw7-gift-card {
    min-height: 0;
  }
}

/* =========================================================
   موبایل
   ========================================================= */

@media (max-width: 600px) {
  .rmw7-gifts-section,
  body.light-theme .rmw7-gifts-section {
    margin-top: 46px;
  }

  .rmw7-gifts-heading {
    margin-bottom: 21px;
  }

  .rmw7-gifts-heading h2 {
    font-size: 1.58rem;
    line-height: 1.85;
  }

  body.light-theme .rmw7-gifts-heading h2 {
    color: #303f55f7 !important;
  }

  .rmw7-gift-card,
  body.light-theme .rmw7-gift-card {
    padding: 21px 18px 20px;
    border-radius: 23px;
  }

  .rmw7-gift-card-icon,
  body.light-theme .rmw7-gift-card-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    margin-bottom: 15px;
    border-radius: 17px;
  }

  .rmw7-gift-card-icon::before {
    width: 33px;
    height: 33px;
  }

  .rmw7-gift-card-label,
  body.light-theme .rmw7-gift-card-label {
    min-height: 29px;
    margin-bottom: 10px;
    font-size: .71rem;
  }

  .rmw7-gift-card h3,
  body.light-theme .rmw7-gift-card h3 {
    font-size: 1.09rem;
  }

  .rmw7-gift-card strong,
  body.light-theme .rmw7-gift-card strong {
    font-size: .84rem;
  }

  .rmw7-gift-card p,
  body.light-theme .rmw7-gift-card p {
    font-size: .85rem;
    line-height: 2.03;
  }
}

/* =========================================================
   کاهش حرکت
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .rmw7-gift-card {
    transition: none !important;
  }
}

/* =========================================================
   GUARANTEE / REFUND TRUST CARD - PREMIUM VERSION
   ========================================================= */

.ap-shell .ap-guarantee-card {
  width: min(1050px, 100%) !important;
  margin-inline: auto !important;

  position: relative !important;
  overflow: hidden !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr) !important;
  align-items: center !important;
  gap: 34px !important;

  padding: 34px 34px 34px 38px !important;
  border-radius: 34px !important;

  background:
    radial-gradient(circle at 12% 18%, rgba(243,220,154,.10), transparent 24%),
    radial-gradient(circle at 82% 50%, rgba(16, 138, 116, .26), transparent 34%),
    radial-gradient(circle at 14% 85%, rgba(8, 92, 77, .22), transparent 36%),
    linear-gradient(145deg, #0b574e 0%, #07443c 44%, #032824 76%, #021a18 100%) !important;

  border: 1px solid rgba(221, 195, 122, .28) !important;
  border-top-color: rgba(243,220,154,.54) !important;

  box-shadow:
    0 26px 60px rgba(0, 14, 18, .22),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}

/* لایه‌های تزئینی */
.ap-shell .ap-guarantee-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 28px;
  border: 1px solid rgba(243,220,154,.12);
  pointer-events: none;
}

.ap-shell .ap-guarantee-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 54px;
  right: 54px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(243,220,154,.78),
    transparent
  );
  box-shadow: 0 0 14px rgba(243,220,154,.12);
}

/* محتوای متنی */
.ap-shell .ap-guarantee-copy {
  position: relative;
  z-index: 1;
}

.ap-shell .ap-guarantee-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 14px;
  border-radius: 999px;

  color: #f3dc9a;
  background: rgba(243,220,154,.10);
  border: 1px solid rgba(243,220,154,.24);

  font-size: .83rem;
  font-weight: 950;
  line-height: 1;
}

.ap-shell .ap-guarantee-title {
  margin: 0 0 12px !important;
  color: #ffffff !important;
  font-size: clamp(1.8rem, 2vw, 2rem) !important;
  line-height: 1.45 !important;
  font-weight: 950 !important;
  letter-spacing: -.7px;
}

.ap-shell .ap-guarantee-lead {
  margin: 0 0 18px !important;
  color: #dff3ef !important;
  font-size: 1.08rem !important;
  line-height: 2 !important;
  font-weight: 800 !important;
}

.ap-shell .ap-guarantee-body,
.ap-shell .ap-guarantee-body div,
.ap-shell .ap-guarantee-body p {
  color: rgba(232,241,241,.84) !important;
  font-size: 1.07rem !important;
  line-height: 2.28 !important;
  text-align: justify;
}

.ap-shell .ap-guarantee-body p {
  margin: 0 0 12px !important;
}

.ap-shell .ap-guarantee-body strong,
.ap-shell .ap-guarantee-body h1,
.ap-shell .ap-guarantee-body h2,
.ap-shell .ap-guarantee-body h3 {
  color: #ffffff !important;
  font-weight: 950 !important;
}

/* نقاط اعتماد */
.ap-shell .ap-guarantee-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ap-shell .ap-guarantee-point {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #f5ebc1;
  background:
    linear-gradient(
      145deg,
      rgba(243,220,154,.13),
      rgba(243,220,154,.05)
    );
  border: 1px solid rgba(243,220,154,.22);

  font-size: .86rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

/* قاب تصویر */
.ap-shell .ap-guarantee-media {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.ap-shell .ap-guarantee-media::before {
  content: "";
  position: absolute;
  inset: -16px -12px -18px -12px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 138, 116, .24), transparent 58%);
  filter: blur(8px);
  pointer-events: none;
}

.ap-shell .ap-guarantee-img {
  position: relative;
  width: 100% !important;
  max-width: 430px !important;
  margin-inline-start: auto;
  margin-inline-end: 0;

  border-radius: 30px !important;
  padding: 14px !important;

  background:
    linear-gradient(
      145deg,
      rgba(12, 74, 66, .95),
      rgba(4, 29, 28, .98)
    ) !important;

  border: 1px solid rgba(243,220,154,.24) !important;

  box-shadow:
    0 28px 56px rgba(0,0,0,.28),
    0 0 0 1px rgba(255,255,255,.03),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.ap-shell .ap-guarantee-img::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(243,220,154,.12);
  pointer-events: none;
}

.ap-shell .ap-guarantee-img::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 74px;
  height: 74px;
  border-top: 2px solid rgba(243,220,154,.42);
  border-left: 2px solid rgba(243,220,154,.42);
  border-top-left-radius: 22px;
  pointer-events: none;
}

.ap-shell .ap-guarantee-img img {
  display: block;
  width: 100% !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px !important;

  border: 1px solid rgba(243,220,154,.24) !important;

  box-shadow:
    0 18px 40px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.04) !important;
}

/* تم روشن: کارت همچنان سبز-طلایی بماند */
body.light-theme .ap-shell .ap-guarantee-card {
  background:
    radial-gradient(circle at 12% 18%, rgba(243,220,154,.10), transparent 24%),
    radial-gradient(circle at 82% 50%, rgba(16, 138, 116, .26), transparent 34%),
    radial-gradient(circle at 14% 85%, rgba(8, 92, 77, .22), transparent 36%),
    linear-gradient(145deg, #0b574e 0%, #07443c 44%, #032824 76%, #021a18 100%) !important;

  border-color: rgba(221, 195, 122, .28) !important;
}

body.light-theme .ap-shell .ap-guarantee-title,
body.light-theme .ap-shell .ap-guarantee-body strong,
body.light-theme .ap-shell .ap-guarantee-body h1,
body.light-theme .ap-shell .ap-guarantee-body h2,
body.light-theme .ap-shell .ap-guarantee-body h3 {
  color: #ffffff !important;
}

body.light-theme .ap-shell .ap-guarantee-lead {
  color: #dff3ef !important;
}

body.light-theme .ap-shell .ap-guarantee-body,
body.light-theme .ap-shell .ap-guarantee-body div,
body.light-theme .ap-shell .ap-guarantee-body p {
  color: rgba(232,241,241,.84) !important;
}

/* دسکتاپ متوسط */
@media (max-width: 1050px) {
  .ap-shell .ap-guarantee-card {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr) !important;
    gap: 24px !important;
  }

  .ap-shell .ap-guarantee-img {
    max-width: 390px !important;
  }
}

/* موبایل */
@media (max-width: 768px) {
  .ap-shell .ap-guarantee-card {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 22px 18px 20px !important;
    border-radius: 26px !important;
  }

  .ap-shell .ap-guarantee-card::before {
    inset: 10px;
    border-radius: 20px;
  }

  .ap-shell .ap-guarantee-card::after {
    left: 24px;
    right: 24px;
  }

  .ap-shell .ap-guarantee-media {
    order: -1;
  }

  .ap-shell .ap-guarantee-img {
    max-width: 100% !important;
    margin-inline: auto !important;
    padding: 10px !important;
    border-radius: 24px !important;
  }

  .ap-shell .ap-guarantee-img img {
    border-radius: 18px !important;
  }

  .ap-shell .ap-guarantee-title {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
  }

  .ap-shell .ap-guarantee-lead {
    font-size: .97rem !important;
    line-height: 2.05 !important;
  }

  .ap-shell .ap-guarantee-body,
  .ap-shell .ap-guarantee-body div,
  .ap-shell .ap-guarantee-body p {
    font-size: .95rem !important;
    line-height: 2.12 !important;
  }

  .ap-shell .ap-guarantee-points {
    gap: 8px;
  }

  .ap-shell .ap-guarantee-point {
    min-height: 36px;
    font-size: .77rem;
    padding: 0 12px;
  }
}


/* =========================================================
   09) SMART OWNED TERM STATE
   فصل خریداری‌شده: حذف قیمت و دکمه شفاف شروع یادگیری
   ========================================================= */

.ap-shell .ap-term-owned-status,
body.light-theme .ap-shell .ap-term-owned-status {
  min-height: 76px;
  margin-bottom: 20px;
  padding: 14px 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  border-radius: 18px;

  background:
    linear-gradient(180deg, rgba(156, 245, 220, .10), rgba(21, 157, 126, .07)) !important;
  border: 1px solid rgba(156, 245, 220, .28) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 12px 28px rgba(0, 12, 18, .10) !important;
}

.ap-shell .ap-term-owned-status span,
body.light-theme .ap-shell .ap-term-owned-status span {
  color: rgba(226, 240, 241, .72) !important;
  font-size: .84rem;
  line-height: 1.8;
  font-weight: 850;
}

.ap-shell .ap-term-owned-status strong,
body.light-theme .ap-shell .ap-term-owned-status strong {
  color: #9cf5dc !important;
  font-size: .8rem;
  line-height: 1.8;
  font-weight: 950;
  text-align: left;
}

.ap-shell .ap-term-actions .ap-term-owned-btn,
body.light-theme .ap-shell .ap-term-actions .ap-term-owned-btn,
.ap-shell .ap-terms-grid .ap-term-card .ap-term-owned-btn,
body.light-theme .ap-shell .ap-terms-grid .ap-term-card .ap-term-owned-btn {
  color: #ffffff !important;
  background: rgba(255, 255, 255, .035) !important;
  border: 1.5px solid rgba(156, 245, 220, .42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 12px 28px rgba(0, 12, 18, .10) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ap-shell .ap-term-actions .ap-term-owned-btn:hover,
body.light-theme .ap-shell .ap-term-actions .ap-term-owned-btn:hover,
.ap-shell .ap-terms-grid .ap-term-card .ap-term-owned-btn:hover,
body.light-theme .ap-shell .ap-terms-grid .ap-term-card .ap-term-owned-btn:hover {
  color: #ffffff !important;
  background: rgba(21, 157, 126, .16) !important;
  border-color: rgba(156, 245, 220, .72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 16px 34px rgba(21, 157, 126, .16) !important;
  transform: translateY(-3px);
}

.ap-shell .ap-term-card.is-owned {
  border-color: rgba(156, 245, 220, .38) !important;
}

.ap-shell .ap-term-card.is-owned:hover {
  border-color: rgba(156, 245, 220, .64) !important;
  box-shadow:
    0 25px 60px rgba(21, 157, 126, .13),
    0 0 0 1px rgba(156, 245, 220, .22) !important;
}

@media (max-width: 600px) {
  .ap-shell .ap-term-owned-status,
  body.light-theme .ap-shell .ap-term-owned-status {
    min-height: 68px;
    padding: 12px 13px;
    gap: 8px;
  }

  .ap-shell .ap-term-owned-status span,
  body.light-theme .ap-shell .ap-term-owned-status span {
    font-size: .76rem;
  }

  .ap-shell .ap-term-owned-status strong,
  body.light-theme .ap-shell .ap-term-owned-status strong {
    font-size: .88rem;
  }
}
#academySpecialOffer {
  scroll-margin-top: 90px;
  outline: none;
}

@media (max-width: 949px) {
  #academySpecialOffer {
    scroll-margin-top: 24px;
  }
}

/* =========================================================
   ACADEMY SPECIAL OFFER FLOATING BUTTON
   فقط نسخه دسکتاپ
   ========================================================= */

.ap-academy-offer-fab {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 100000;

  width: 65px;
  height: 65px;
  padding: 0;

  display: none;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(245, 214, 122, 0.34);
  border-radius: 50%;

  color: #f5d67a;
  background: rgba(16, 42, 67, 0.48);

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);

  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 22px rgba(245, 214, 122, 0.15);

  cursor: pointer;
  isolation: isolate;
  overflow: visible;

  opacity: 0;
  pointer-events: none;
  transform: scale(0.68);

  transition:
    opacity 0.38s ease,
    transform 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
}

.ap-academy-offer-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.ap-academy-offer-fab.is-attention {
  animation: apAcademyGiftShake 2.8s ease-in-out 2;
}

.ap-academy-offer-fab:hover {
  filter: brightness(1.08);
  border-color: rgba(245, 214, 122, 0.76);

  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 34px rgba(245, 214, 122, 0.28);
}

.ap-academy-offer-fab:focus-visible {
  outline: 3px solid rgba(245, 214, 122, 0.82);
  outline-offset: 5px;
}

.ap-academy-offer-fab-icon {
  position: relative;
  z-index: 2;

  display: grid;
  place-items: center;

  font-size: 32px;
  line-height: 1;

  color: #f5d67a;
  filter: drop-shadow(0 0 6px rgba(245, 214, 122, 0.78));
}

.ap-academy-offer-fab-glow {
  position: absolute;
  inset: -14px;
  z-index: 1;

  border-radius: 50%;
  pointer-events: none;

  opacity: 0;
  transform: scale(0.86);

  background: radial-gradient(
    circle,
    rgba(255, 220, 90, 0.70) 0%,
    rgba(255, 220, 90, 0.34) 35%,
    rgba(255, 220, 90, 0.12) 55%,
    rgba(255, 220, 90, 0) 75%
  );

  filter: blur(8px);
}

.ap-academy-offer-fab.is-attention .ap-academy-offer-fab-glow {
  animation: apAcademyGiftGlow 2.8s ease-in-out 2;
}

@keyframes apAcademyGiftShake {
  0%,
  30%,
  100% {
    transform: scale(1) translateY(0) rotate(0deg);
  }

  6% {
    transform: scale(1.06) translateY(-2px) rotate(-9deg);
  }

  12% {
    transform: scale(1.06) translateY(2px) rotate(9deg);
  }

  18% {
    transform: scale(1.05) translateY(-2px) rotate(-7deg);
  }

  24% {
    transform: scale(1.05) translateY(1px) rotate(7deg);
  }
}

@keyframes apAcademyGiftGlow {
  0%,
  30%,
  100% {
    opacity: 0;
    transform: scale(0.86);
  }

  10%,
  22% {
    opacity: 0.92;
    transform: scale(1.12);
  }
}

/* تم روشن */
body.light-theme .ap-academy-offer-fab {
  color: #2563eb;
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(37, 99, 235, 0.32);

  box-shadow:
    0 14px 34px rgba(37, 99, 235, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75),
    0 0 22px rgba(59, 130, 246, 0.14);
}

body.light-theme .ap-academy-offer-fab-icon {
  color: #2563eb;
  filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.7));
}

body.light-theme .ap-academy-offer-fab-glow {
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.68) 0%,
    rgba(59, 130, 246, 0.33) 35%,
    rgba(59, 130, 246, 0.11) 55%,
    rgba(59, 130, 246, 0) 75%
  );
}

/* فقط در دسکتاپ نمایش داده شود */
@media (min-width: 950px) {
  .ap-academy-offer-fab {
    display: flex;
  }
}

/* در موبایل نوار پایین سایت مسئول پیشنهاد ویژه است */
@media (max-width: 949px) {
  .ap-academy-offer-fab {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap-academy-offer-fab,
  .ap-academy-offer-fab.is-visible,
  .ap-academy-offer-fab.is-attention,
  .ap-academy-offer-fab-glow {
    animation: none;
    transition: none;
  }
}

/* =========================================================
   RMW7 - Original English + Persian Dubbed Access
   ========================================================= */

.rmw7-language-access {
  width: min(1050px, 100%);
  margin: 0 auto 72px;
  direction: rtl;
}

.rmw7-language-access-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 92% 0%,
      rgba(243, 220, 154, 0.17),
      transparent 30%
    ),
    radial-gradient(
      circle at 5% 100%,
      rgba(21, 157, 126, 0.27),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      #0b584f 0%,
      #07443c 42%,
      #032a25 73%,
      #021a18 100%
    );
  border: 1px solid rgba(228, 199, 125, 0.48);
  box-shadow:
    0 24px 56px rgba(0, 12, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.rmw7-language-access-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 12px
    );
  opacity: 0.5;
}

.rmw7-language-access-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 45px;
  left: 45px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(243, 220, 154, 0.92),
    transparent
  );
  box-shadow: 0 0 14px rgba(243, 220, 154, 0.18);
}

.rmw7-language-access-heading {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

.rmw7-language-access-heading > span {
  min-height: 34px;
  padding: 0 15px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #f3dc9a;
  background: rgba(243, 220, 154, 0.09);
  border: 1px solid rgba(243, 220, 154, 0.28);
  font-size: 0.8rem;
  font-weight: 950;
}

.rmw7-language-access-heading h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.7;
  font-weight: 950;
  letter-spacing: -0.7px;
}

.rmw7-language-access-heading p {
  margin: 0;
  color: rgba(226, 240, 241, 0.76);
  font-size: 0.96rem;
  line-height: 2.15;
}

.rmw7-language-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rmw7-language-access-card {
  min-width: 0;
  min-height: 170px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(243, 220, 154, 0.22);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.rmw7-language-access-card:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 220, 154, 0.55);
  background: rgba(255, 255, 255, 0.065);
}

.rmw7-language-access-icon {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  color: #f3dc9a;
  background:
    linear-gradient(
      145deg,
      rgba(243, 220, 154, 0.18),
      rgba(228, 199, 125, 0.055)
    );
  border: 1px solid rgba(243, 220, 154, 0.42);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  font-size: 1.15rem;
  font-weight: 950;
}

.rmw7-language-access-card.is-persian
.rmw7-language-access-icon {
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      rgba(21, 157, 126, 0.92),
      rgba(6, 75, 64, 0.96)
    );
}

.rmw7-language-access-card-copy {
  min-width: 0;
}

.rmw7-language-access-card-copy > span {
  display: block;
  margin-bottom: 4px;
  color: #f3dc9a;
  font-size: 0.78rem;
  font-weight: 900;
}

.rmw7-language-access-card-copy h3 {
  margin: 0 0 7px;
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 950;
}

.rmw7-language-access-card-copy p {
  margin: 0;
  color: rgba(226, 240, 241, 0.7);
  font-size: 0.83rem;
  line-height: 1.95;
  text-align: right;
}

@media (max-width: 700px) {
  .rmw7-language-access {
    margin-bottom: 52px;
  }

  .rmw7-language-access-frame {
    padding: 25px 15px 17px;
    border-radius: 24px;
  }

  .rmw7-language-access-heading {
    margin-bottom: 22px;
  }

  .rmw7-language-access-heading h2 {
    font-size: 1.2rem;
    line-height: 1.85;
  }

  .rmw7-language-access-heading p {
    font-size: 0.84rem;
    line-height: 2;
  }

  .rmw7-language-access-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rmw7-language-access-card {
    min-height: auto;
    padding: 17px 14px;
    gap: 13px;
    border-radius: 18px;
  }

  .rmw7-language-access-icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    border-radius: 17px;
    font-size: 0.95rem;
  }

  .rmw7-language-access-card-copy h3 {
    font-size: 1rem;
  }

  .rmw7-language-access-card-copy p {
    font-size: 0.75rem;
    line-height: 1.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rmw7-language-access-card {
    transition: none !important;
  }
}
/* =========================================================
   RMW7 LANGUAGE ACCESS - VISUAL SEPARATION PATCH
   جداسازی سکشن نسخه انگلیسی و دوبله از کارت‌های هدایا
   ========================================================= */

#rmw7Academy .rmw7-language-access {
  position: relative;
  z-index: 1;
  clear: both;
  isolation: isolate;

  width: min(1050px, 100%);
  margin:
    clamp(52px, 6vw, 10px)
    auto
    clamp(54px, 6vw, 10px);

  padding: 0;
}

/* خط جداکننده میان هدایا و سکشن جدید */
#rmw7Academy .rmw7-language-access::before {
  content: "";
  position: absolute;
  top: calc(clamp(52px, 6vw, 78px) * -0.5);
  right: 50%;
  width: min(260px, 45%);
  height: 1px;
  transform: translateX(50%);
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(243, 220, 154, 0.72),
    transparent
  );

  box-shadow: 0 0 12px rgba(243, 220, 154, 0.12);
}

/* قاب اصلی سکشن */
#rmw7Academy .rmw7-language-access-frame {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;

  width: 100%;
  margin: 0;
  padding: clamp(30px, 4vw, 48px);

  border-radius: 30px;
  border: 1px solid rgba(228, 199, 125, 0.42);

  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(243, 220, 154, 0.12),
      transparent 29%
    ),
    radial-gradient(
      circle at 4% 100%,
      rgba(21, 157, 126, 0.2),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      #0a5149 0%,
      #063d38 48%,
      #032c2a 75%,
      #021d1c 100%
    );

  box-shadow:
    0 26px 60px rgba(0, 14, 20, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.018),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  box-sizing: border-box;
}

/* جلوگیری از اثرگذاری pseudo-elementهای عمومی بخش‌های قبلی */
#rmw7Academy .rmw7-language-access-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.014) 0,
      rgba(255, 255, 255, 0.014) 1px,
      transparent 1px,
      transparent 13px
    );

  opacity: 0.48;
}

#rmw7Academy .rmw7-language-access-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 54px;
  left: 54px;
  height: 1px;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(243, 220, 154, 0.82),
    transparent
  );
}

/* تیتر سکشن */
#rmw7Academy .rmw7-language-access-heading {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto clamp(26px, 3vw, 36px);
  text-align: center;
}

#rmw7Academy .rmw7-language-access-heading > span {
  min-height: 34px;
  margin-bottom: 12px;
  padding: 0 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  color: #f3dc9a;
  background: rgba(243, 220, 154, 0.075);
  border: 1px solid rgba(243, 220, 154, 0.25);

  font-size: 0.8rem;
  font-weight: 900;
}

#rmw7Academy .rmw7-language-access-heading h2 {
  max-width: 950px;
  margin: 0 auto 14px;

  color: #ffffff;
  font-size: clamp(1.65rem, 3.3vw, 2.4rem);
  line-height: 1.75;
  font-weight: 950;
  letter-spacing: -0.6px;
}

#rmw7Academy .rmw7-language-access-heading p {
  max-width: 920px;
  margin: 0 auto;

  color: rgba(226, 240, 241, 0.72);
  font-size: 0.94rem;
  line-height: 2.2;
  text-align: center;
}

/* شبکه دو کارت */
#rmw7Academy .rmw7-language-access-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

/* کارت‌های زبان */
#rmw7Academy .rmw7-language-access-card {
  min-width: 0;
  min-height: 172px;
  padding: clamp(18px, 2vw, 24px);

  display: flex;
  align-items: center;
  gap: 18px;

  border-radius: 22px;
  border: 1px solid rgba(228, 199, 125, 0.26);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(2, 38, 35, 0.5);

  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-sizing: border-box;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

#rmw7Academy .rmw7-language-access-card:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 220, 154, 0.5);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.035)
    ),
    rgba(2, 42, 38, 0.58);

  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

/* آیکون زبان */
#rmw7Academy .rmw7-language-access-icon {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;

  display: grid;
  place-items: center;

  border-radius: 21px;
  color: #f3dc9a;

  background:
    linear-gradient(
      145deg,
      rgba(243, 220, 154, 0.17),
      rgba(228, 199, 125, 0.05)
    );

  border: 1px solid rgba(243, 220, 154, 0.4);

  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  font-size: 1.1rem;
  font-weight: 950;
}

#rmw7Academy
.rmw7-language-access-card.is-persian
.rmw7-language-access-icon {
  color: #ffffff;

  background:
    linear-gradient(
      145deg,
      #169d7e,
      #096b5a 58%,
      #064b40
    );
}

/* متن داخل کارت */
#rmw7Academy .rmw7-language-access-card-copy {
  min-width: 0;
  flex: 1;
}

#rmw7Academy .rmw7-language-access-card-copy > span {
  display: block;
  margin-bottom: 5px;

  color: #f3dc9a;
  font-size: 0.78rem;
  font-weight: 900;
}

#rmw7Academy .rmw7-language-access-card-copy h3 {
  margin: 0 0 8px;

  color: #ffffff;
  font-size: 1.16rem;
  line-height: 1.7;
  font-weight: 950;
}

#rmw7Academy .rmw7-language-access-card-copy p {
  margin: 0;

  color: rgba(226, 240, 241, 0.68);
  font-size: 0.82rem;
  line-height: 2;
  text-align: right;
}

/* موبایل */
@media (max-width: 700px) {
  #rmw7Academy .rmw7-language-access {
    margin:
      34px
      auto
      10px;
  }

  #rmw7Academy .rmw7-language-access::before {
    top: -17px;
    width: 150px;
  }

  #rmw7Academy .rmw7-language-access-frame {
    padding: 25px 14px 16px;
    border-radius: 23px;
  }

  #rmw7Academy .rmw7-language-access-heading {
    margin-bottom: 22px;
  }

  #rmw7Academy .rmw7-language-access-heading h2 {
    font-size: 1.42rem;
    line-height: 1.9;
  }

  #rmw7Academy .rmw7-language-access-heading p {
    font-size: 0.82rem;
    line-height: 2;
  }

  #rmw7Academy .rmw7-language-access-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #rmw7Academy .rmw7-language-access-card {
    min-height: auto;
    padding: 17px 14px;
    gap: 13px;
    border-radius: 18px;
  }

  #rmw7Academy .rmw7-language-access-icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    border-radius: 17px;
    font-size: 0.94rem;
  }

  #rmw7Academy .rmw7-language-access-card-copy h3 {
    font-size: 1rem;
  }

  #rmw7Academy .rmw7-language-access-card-copy p {
    font-size: 0.75rem;
    line-height: 1.85;
  }
}