@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/alexandria-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* VIP broker verification and private invite workspace */
.vip-hero {
  min-height: 62vh;
  background:
    linear-gradient(90deg, rgba(3, 9, 13, 0.96) 0%, rgba(3, 9, 13, 0.78) 50%, rgba(3, 9, 13, 0.42)),
    var(--hero-image, url("../images/hero-trading.png")) center 35% / cover no-repeat;
}

.rtl .vip-hero {
  background:
    linear-gradient(270deg, rgba(3, 9, 13, 0.96) 0%, rgba(3, 9, 13, 0.78) 50%, rgba(3, 9, 13, 0.42)),
    var(--hero-image, url("../images/hero-trading.png")) center 35% / cover no-repeat;
}

.vip-hero .page-hero-inner {
  padding-bottom: 88px;
}

.vip-hero .hero-content {
  max-width: 860px;
}

.vip-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 6.7vw, 6.4rem);
  line-height: 0.98;
}

.rtl .vip-hero h1 {
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 1.14;
}

.vip-workspace {
  position: relative;
  overflow: hidden;
  padding: 54px 0 118px;
  border-top: 1px solid rgba(0, 230, 184, 0.12);
  background:
    radial-gradient(circle at 12% 24%, rgba(0, 230, 184, 0.09), transparent 30rem),
    radial-gradient(circle at 92% 72%, rgba(0, 183, 255, 0.06), transparent 34rem),
    var(--bg-main);
}

.vip-workspace::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.vip-workspace .section-inner {
  position: relative;
  z-index: 1;
}

.vip-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  background: rgba(8, 17, 22, 0.78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.vip-progress.vip-progress-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vip-progress-step {
  position: relative;
  min-width: 0;
  padding: 22px 22px 24px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-content: center;
  gap: 3px 12px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-progress-step:last-child {
  border-inline-end: 0;
}

.vip-progress-step::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  background: var(--accent-main);
  transition: transform 220ms ease;
}

.vip-progress-step.current::after,
.vip-progress-step.complete::after {
  transform: scaleX(1);
}

.vip-progress-step > span {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.72rem;
  font-weight: 900;
}

.vip-progress-step strong {
  overflow-wrap: anywhere;
  color: rgba(244, 255, 249, 0.8);
  font-size: 0.9rem;
}

.vip-progress-step small {
  overflow-wrap: anywhere;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.vip-progress-step.current {
  background: rgba(0, 230, 184, 0.055);
}

.vip-progress-step.current > span {
  border-color: rgba(0, 230, 184, 0.48);
  color: #03120f;
  background: var(--accent-main);
  box-shadow: 0 0 0 7px rgba(0, 230, 184, 0.08);
}

.vip-progress-step.complete > span {
  border-color: rgba(0, 230, 184, 0.36);
  color: var(--accent-main);
  background: rgba(0, 230, 184, 0.09);
}

.vip-notice {
  margin-top: 18px;
  border-radius: 8px;
}

.vip-notice.error-note {
  border-color: rgba(255, 72, 92, 0.3);
  background: rgba(255, 72, 92, 0.07);
}

.vip-gate {
  min-height: 430px;
  margin-top: 26px;
  padding: clamp(30px, 5vw, 66px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(8, 18, 23, 0.95), rgba(8, 18, 23, 0.72)),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.vip-gate-copy h2,
.vip-application h2,
.vip-reviewing h2,
.vip-success-panel h2 {
  max-width: 14ch;
  font-size: clamp(2.3rem, 4.1vw, 4.3rem);
  line-height: 1.06;
}

.rtl .vip-gate-copy h2,
.rtl .vip-application h2,
.rtl .vip-reviewing h2,
.rtl .vip-success-panel h2 {
  line-height: 1.2;
}

.vip-gate-copy > p:not(.section-kicker),
.vip-reviewing > p:not(.section-kicker),
.vip-success-panel > p:not(.section-kicker) {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.85;
}

.vip-gate-terminal {
  position: relative;
  min-height: 270px;
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 230, 184, 0.24);
  border-radius: 8px;
  background: rgba(3, 11, 14, 0.84);
  box-shadow: inset 0 0 60px rgba(0, 230, 184, 0.055);
}

.vip-gate-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background: repeating-linear-gradient(to bottom, transparent 0 7px, rgba(0, 230, 184, 0.05) 8px);
}

.vip-gate-terminal > * {
  position: relative;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.vip-gate-terminal > *::after {
  content: "READY";
  color: var(--accent-main);
}

.vip-dashboard {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.vip-account-panel {
  position: sticky;
  top: 116px;
  padding: 22px;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  background: rgba(8, 17, 22, 0.82);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.vip-user-head {
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-user-head > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.35);
  border-radius: 50%;
  color: #03120f;
  background: linear-gradient(135deg, var(--accent-main), var(--accent-cyan));
  font-weight: 950;
}

.vip-user-head strong,
.vip-user-head small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-user-head strong {
  color: var(--text-main);
}

.vip-user-head small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.73rem;
}

.vip-state-list {
  display: grid;
}

.vip-state-list > div {
  padding: 17px 0;
  display: grid;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.vip-state-list span,
.vip-trial-clock span {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.vip-state-list strong,
.vip-trial-clock strong {
  color: var(--text-main);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.vip-trial-clock {
  margin-top: 18px;
  padding: 14px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(214, 168, 79, 0.3);
  border-radius: 6px;
  background: rgba(214, 168, 79, 0.07);
}

.vip-main-panel {
  min-width: 0;
  display: grid;
  gap: 22px;
}

.vip-application,
.vip-reviewing,
.vip-success-panel {
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  background: rgba(8, 17, 22, 0.74);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.vip-application .section-head {
  margin-bottom: 30px;
}

.vip-broker-guide {
  position: relative;
  margin: -4px 0 24px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-broker-guide::before {
  content: "";
  position: absolute;
  top: 36px;
  inset-inline: 12%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 230, 184, 0.08), rgba(0, 230, 184, 0.45), rgba(0, 230, 184, 0.08));
}

.vip-broker-guide > div {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-inline: 12px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.vip-broker-guide span {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.4);
  border-radius: 50%;
  color: var(--accent-main);
  background: #071317;
  box-shadow: 0 0 0 6px #081116;
  font-size: 0.68rem;
  font-weight: 950;
}

.vip-broker-guide strong {
  color: var(--text-main);
  font-size: 0.82rem;
}

.vip-broker-guide small {
  max-width: 24ch;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.69rem;
  line-height: 1.55;
}

.broker-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.broker-choice {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.broker-choice:hover,
.broker-choice:has(input:checked) {
  border-color: rgba(0, 230, 184, 0.5);
  background: rgba(0, 230, 184, 0.055);
  transform: translateY(-2px);
}

.broker-choice label {
  position: relative;
  padding: 20px;
  cursor: pointer;
}

.broker-choice input {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-main);
}

.broker-choice-main {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 2px 12px;
  padding-inline-end: 26px;
}

.broker-choice-main img,
.broker-choice-main i {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.2);
  border-radius: 6px;
  color: var(--accent-main);
  background: rgba(0, 230, 184, 0.07);
  font-style: normal;
  font-weight: 950;
}

.broker-choice-main strong {
  color: var(--text-main);
  overflow-wrap: anywhere;
}

.broker-choice-main small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.broker-choice > a {
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-main);
  font-size: 0.78rem;
  font-weight: 900;
}

.broker-choice > a:hover {
  color: var(--accent-hover);
  background: rgba(0, 230, 184, 0.05);
}

.broker-choice > a > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.broker-choice > a strong {
  color: currentColor;
  font-size: 0.78rem;
}

.broker-choice > a small {
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1.4;
}

.broker-choice > a i {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.22);
  border-radius: 50%;
  background: rgba(0, 230, 184, 0.06);
  font-style: normal;
}

.vip-verification-form {
  margin-top: 18px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.vip-form-head {
  padding-bottom: 18px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-form-head > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.4);
  border-radius: 50%;
  color: #03120f;
  background: var(--accent-main);
  font-size: 0.7rem;
  font-weight: 950;
}

.vip-form-head strong,
.vip-form-head small {
  display: block;
}

.vip-form-head strong {
  color: var(--text-main);
  font-size: 0.92rem;
}

.vip-form-head small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

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

.vip-form-grid .field-wide {
  grid-column: 1 / -1;
}

.vip-verification-form .field label span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.vip-verification-form .field input {
  border-radius: 6px;
}

.vip-verification-form .field > small {
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.vip-verification-form .field > .field-error {
  color: #ff7787;
}

.input-prefix {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input-prefix:focus-within {
  border-color: rgba(0, 230, 184, 0.52);
  box-shadow: 0 0 0 4px rgba(0, 230, 184, 0.1);
}

.input-prefix > span {
  display: grid;
  place-items: center;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-main);
  background: rgba(0, 230, 184, 0.05);
  font-weight: 900;
}

.vip-verification-form .input-prefix input {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vip-phone-field {
  --iti-hover-color: rgba(0, 230, 184, 0.09);
  --iti-border-color: rgba(255, 255, 255, 0.13);
  --iti-country-selector-bg: #0d191f;
  --iti-icon-color: rgba(237, 247, 244, 0.65);
  --iti-strict-reject-flash-color: rgba(255, 72, 92, 0.13);
}

.vip-phone-field .iti {
  width: 100%;
  color: var(--text-main);
  direction: ltr;
}

.vip-phone-field .iti__country-selector {
  min-width: min(340px, calc(100vw - 42px));
  overflow: hidden;
  border-radius: 6px;
  color: var(--text-secondary);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.vip-phone-field .iti__search-input {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: #101e24;
  color: var(--text-main);
}

.vip-phone-field .iti__selected-country-primary {
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
}

.vip-phone-field .iti__selected-dial-code,
.vip-phone-field .iti__country-dial-code {
  color: var(--text-secondary);
}

.vip-phone-field input[aria-invalid="true"] {
  border-color: rgba(255, 72, 92, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 72, 92, 0.09);
}

.vip-confirm {
  padding: 15px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.82rem;
  line-height: 1.65;
  cursor: pointer;
}

.vip-confirm input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-main);
}

.vip-review-note {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-inline-start: 3px solid var(--accent-gold);
  border-radius: 4px;
  background: rgba(214, 168, 79, 0.07);
}

.vip-review-note.rejected {
  border-inline-start-color: #ff485c;
  background: rgba(255, 72, 92, 0.06);
}

.vip-review-note strong,
.vip-review-note p {
  display: block;
}

.vip-review-note p {
  margin: 5px 0 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.telegram-connect-panel {
  padding: 22px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(0, 183, 255, 0.23);
  border-radius: 8px;
  background: linear-gradient(105deg, rgba(0, 183, 255, 0.065), rgba(8, 17, 22, 0.82));
}

.telegram-connect-panel.connected {
  border-color: rgba(0, 230, 184, 0.25);
  background: linear-gradient(105deg, rgba(0, 230, 184, 0.06), rgba(8, 17, 22, 0.82));
}

.telegram-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 183, 255, 0.36);
  border-radius: 50%;
  color: #031017;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 8px rgba(0, 183, 255, 0.07);
  font-size: 0.72rem;
  font-weight: 950;
}

.telegram-connect-panel h3 {
  margin: 0 0 5px;
  color: var(--text-main);
  font-size: 1.15rem;
}

.telegram-connect-panel p:not(.section-kicker) {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.65;
}

.telegram-connect-panel .section-kicker {
  margin-bottom: 6px;
}

.telegram-connect-panel .button {
  white-space: nowrap;
}

.telegram-connected-badge {
  padding: 9px 12px;
  border: 1px solid rgba(0, 230, 184, 0.28);
  border-radius: 999px;
  color: var(--accent-main);
  background: rgba(0, 230, 184, 0.07);
  font-size: 0.76rem;
  font-weight: 900;
}

.vip-reviewing,
.vip-success-panel {
  position: relative;
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: start;
}

.vip-review-orbit {
  position: relative;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 230, 184, 0.25);
  border-radius: 50%;
}

.vip-review-orbit::before,
.vip-review-orbit::after,
.vip-review-orbit span,
.vip-review-orbit i {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.vip-review-orbit::before {
  inset: 8px;
  border: 1px dashed rgba(0, 230, 184, 0.45);
  animation: vip-spin 7s linear infinite;
}

.vip-review-orbit::after {
  inset: 24px;
  background: var(--accent-main);
  box-shadow: 0 0 24px rgba(0, 230, 184, 0.8);
}

.vip-review-orbit span {
  width: 7px;
  height: 7px;
  top: 5px;
  left: 27px;
  background: var(--accent-cyan);
}

.vip-submission-summary {
  width: 100%;
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  overflow: hidden;
}

.vip-submission-summary > div {
  padding: 16px;
  display: grid;
  gap: 5px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-submission-summary > div:last-child {
  border-inline-end: 0;
}

.vip-submission-summary span {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.vip-submission-summary strong {
  color: var(--text-main);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.vip-success-panel {
  overflow: hidden;
  border-color: rgba(0, 230, 184, 0.3);
  background:
    radial-gradient(circle at 90% 20%, rgba(0, 230, 184, 0.12), transparent 22rem),
    rgba(8, 17, 22, 0.8);
}

.vip-success-panel.invited {
  border-color: rgba(214, 168, 79, 0.32);
  background:
    radial-gradient(circle at 90% 20%, rgba(214, 168, 79, 0.12), transparent 22rem),
    rgba(8, 17, 22, 0.8);
}

.vip-status-signal {
  width: 18px;
  height: 18px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--accent-main);
  box-shadow: 0 0 0 9px rgba(0, 230, 184, 0.08), 0 0 32px rgba(0, 230, 184, 0.65);
  animation: vip-pulse 2.4s ease-in-out infinite;
}

.vip-success-panel .button {
  margin-top: 18px;
}

@keyframes vip-spin {
  to { transform: rotate(360deg); }
}

@keyframes vip-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.75; }
  50% { transform: scale(1); opacity: 1; }
}

@media (max-width: 980px) {
  .vip-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vip-progress.vip-progress-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vip-progress-step:nth-child(2) {
    border-inline-end: 0;
  }

  .vip-progress-step:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .vip-progress-compact .vip-progress-step:nth-child(2) {
    border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
  }

  .vip-progress-compact .vip-progress-step:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .vip-gate,
  .vip-dashboard {
    grid-template-columns: 1fr;
  }

  .vip-gate-terminal {
    min-height: 220px;
  }

  .vip-account-panel {
    position: static;
    display: grid;
    grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
    align-items: center;
    gap: 20px;
  }

  .vip-user-head {
    padding: 0;
    border-bottom: 0;
  }

  .vip-state-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vip-state-list > div {
    padding: 8px 14px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
  }

  .vip-trial-clock {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .vip-hero {
    min-height: 560px;
    background-position: 58% center;
  }

  .rtl .vip-hero {
    background-position: 42% center;
  }

  .vip-hero .page-hero-inner {
    padding-top: 156px;
    padding-bottom: 54px;
  }

  .vip-hero h1,
  .rtl .vip-hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .vip-workspace {
    padding-top: 28px;
  }

  .vip-progress {
    grid-template-columns: 1fr;
  }

  .vip-progress.vip-progress-compact {
    grid-template-columns: 1fr;
  }

  .vip-progress-step,
  .vip-progress-step:nth-child(2) {
    min-height: 78px;
    padding: 14px 16px;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .vip-progress-step:last-child {
    border-bottom: 0;
  }

  .vip-progress-compact .vip-progress-step:nth-child(2) {
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .vip-progress-compact .vip-progress-step:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .vip-progress-step::after {
    inset-inline: 0 auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    transform: scaleY(0);
  }

  .vip-progress-step.current::after,
  .vip-progress-step.complete::after {
    transform: scaleY(1);
  }

  .vip-gate {
    min-height: auto;
    padding: 24px;
    gap: 30px;
  }

  .vip-gate-copy h2,
  .vip-application h2,
  .vip-reviewing h2,
  .vip-success-panel h2 {
    font-size: clamp(2.1rem, 10vw, 3.25rem);
  }

  .vip-account-panel {
    display: block;
  }

  .vip-user-head {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .vip-state-list {
    grid-template-columns: 1fr;
  }

  .vip-state-list > div {
    padding: 14px 0;
    border-inline-start: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .vip-application,
  .vip-reviewing,
  .vip-success-panel {
    padding: 24px 20px;
  }

  .broker-choice-grid,
  .vip-form-grid,
  .vip-submission-summary {
    grid-template-columns: 1fr;
  }

  .vip-submission-summary > div {
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .vip-submission-summary > div:last-child {
    border-bottom: 0;
  }

  .vip-verification-form {
    padding: 16px;
  }

  .vip-broker-guide {
    padding: 14px 0;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vip-broker-guide::before {
    display: none;
  }

  .vip-broker-guide > div {
    grid-template-columns: 36px minmax(0, 1fr);
    justify-items: start;
    gap: 2px 12px;
    text-align: start;
  }

  .vip-broker-guide span {
    grid-row: 1 / 3;
    margin: 0;
    box-shadow: none;
  }

  .vip-broker-guide small {
    max-width: none;
    margin: 0;
  }

  .telegram-connect-panel {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 18px;
  }

  .telegram-mark {
    width: 48px;
    height: 48px;
  }

  .telegram-connect-panel form,
  .telegram-connected-badge {
    grid-column: 1 / -1;
  }

  .telegram-connect-panel .button,
  .telegram-connected-badge {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vip-review-orbit::before,
  .vip-status-signal {
    animation: none;
  }
}

/* Book ordering and authenticated Whish checkout */
.book-order-section {
  overflow: hidden;
  padding: clamp(92px, 9vw, 138px) 0;
  border-block: 1px solid rgba(214, 168, 79, 0.16);
  background:
    radial-gradient(circle at 12% 42%, rgba(214, 168, 79, 0.12), transparent 28rem),
    radial-gradient(circle at 86% 28%, rgba(0, 230, 184, 0.1), transparent 32rem),
    linear-gradient(120deg, rgba(3, 9, 13, 0.98), rgba(7, 16, 20, 0.96));
}

.book-order-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(52px, 7vw, 104px);
}

.book-order-cover.book-cover-stage {
  min-height: 650px;
  border-radius: 8px;
}

.book-order-cover .book-cover-product {
  width: min(395px, 82%);
}

.book-order-copy {
  min-width: 0;
}

.book-order-copy h2 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.05;
}

.rtl .book-order-copy h2 {
  font-size: clamp(2.7rem, 4.55vw, 4.65rem);
  line-height: 1.16;
}

.book-order-copy > .lead {
  max-width: 680px;
}

.book-order-points {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.book-order-points span {
  padding: 9px 13px;
  border: 1px solid rgba(214, 168, 79, 0.24);
  border-radius: 999px;
  color: rgba(255, 244, 215, 0.82);
  background: rgba(214, 168, 79, 0.07);
  font-size: 0.82rem;
  font-weight: 850;
}

.book-order-notice {
  margin-top: 28px;
  border-radius: 8px;
}

.book-access-status {
  margin-top: 30px;
  padding: 20px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.book-access-status.is-ready,
.book-access-status.is-paid {
  border-color: rgba(0, 230, 184, 0.28);
  background: rgba(0, 230, 184, 0.065);
}

.book-access-status.is-pending {
  border-color: rgba(214, 168, 79, 0.28);
  background: rgba(214, 168, 79, 0.065);
}

.book-access-status.is-rejected {
  border-color: rgba(255, 72, 92, 0.28);
  background: rgba(255, 72, 92, 0.06);
}

.book-access-icon {
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.3);
  border-radius: 50%;
  color: var(--accent-main);
  background: rgba(0, 230, 184, 0.08);
  font-size: 0.82rem;
  font-weight: 950;
}

.book-access-status strong,
.book-access-status p {
  display: block;
}

.book-access-status strong {
  margin-bottom: 4px;
  color: var(--text-main);
  font-size: 1.02rem;
}

.book-access-status p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.book-order-actions {
  margin-top: 18px;
}

.book-order-actions .button {
  min-width: 180px;
}

.site-modal.book-checkout-modal {
  width: min(820px, calc(100vw - 28px));
  border-color: rgba(214, 168, 79, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(214, 168, 79, 0.15), transparent 23rem),
    linear-gradient(145deg, rgba(7, 18, 23, 0.99), rgba(3, 8, 12, 0.99));
}

.site-modal-head.checkout-modal-head {
  align-items: center;
}

.site-modal-body.checkout-modal-body {
  padding: clamp(20px, 3vw, 30px);
}

.checkout-progress {
  position: relative;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.checkout-progress::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 16px;
  inset-inline: 16.5%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.checkout-progress li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 850;
}

.checkout-progress li span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: #0a1419;
}

.checkout-progress li.is-complete,
.checkout-progress li.is-current {
  color: var(--text-main);
}

.checkout-progress li.is-complete span {
  border-color: rgba(0, 230, 184, 0.42);
  color: #06110e;
  background: var(--accent-main);
}

.checkout-progress li.is-current span {
  border-color: rgba(214, 168, 79, 0.54);
  color: #120d04;
  background: var(--accent-gold);
}

.checkout-summary {
  padding: 14px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.checkout-summary > img {
  width: 62px;
  height: 78px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.checkout-summary > div > span,
.checkout-price span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.checkout-summary > div > strong {
  display: block;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.35;
}

.checkout-price {
  min-width: 112px;
  padding-inline-start: 14px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
  text-align: end;
}

.checkout-price strong {
  color: #f3c86f;
  font-size: 1.12rem;
}

.checkout-payment-box {
  margin-top: 14px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(214, 168, 79, 0.28);
  border-radius: 8px;
  background: rgba(214, 168, 79, 0.065);
}

.checkout-payment-copy > span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 800;
}

.checkout-receiver {
  margin: 7px 0 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.checkout-receiver strong {
  color: #fff3d1;
  font-size: clamp(1.55rem, 4vw, 2rem);
  letter-spacing: 0.04em;
}

.checkout-receiver button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 850;
  cursor: pointer;
}

.checkout-whish-button {
  width: fit-content;
  min-height: 44px;
  padding: 10px 15px;
  border-color: rgba(214, 168, 79, 0.38);
  background: rgba(214, 168, 79, 0.1);
}

.checkout-qr {
  width: 118px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.checkout-qr img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.checkout-qr span {
  display: block;
  margin-top: 5px;
  color: #172126;
  font-size: 0.68rem;
  font-weight: 900;
}

.checkout-form {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.checkout-field {
  display: grid;
  gap: 6px;
}

.checkout-field label {
  color: var(--text-main);
  font-size: 0.91rem;
  font-weight: 900;
}

.checkout-field > span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.checkout-field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.065);
  font: inherit;
}

.checkout-field input:focus {
  outline: 0;
  border-color: rgba(0, 230, 184, 0.56);
  box-shadow: 0 0 0 3px rgba(0, 230, 184, 0.1);
}

.checkout-confirm {
  padding: 14px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.86rem;
  line-height: 1.55;
  cursor: pointer;
}

.checkout-confirm input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-main);
}

.checkout-error {
  color: #ff8391;
  font-size: 0.79rem;
  font-weight: 750;
}

.checkout-review-note {
  padding: 14px 16px;
  border-inline-start: 2px solid var(--accent-main);
  background: rgba(0, 230, 184, 0.045);
}

.checkout-review-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-main);
  font-size: 0.87rem;
}

.checkout-modal-body .checkout-review-note p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.6;
  white-space: normal;
}

.checkout-actions {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 10px;
}

.checkout-actions .button {
  width: 100%;
}

@media (max-width: 980px) {
  .book-order-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .book-order-cover.book-cover-stage {
    width: min(650px, 100%);
    min-height: 610px;
    margin-inline: auto;
  }

  .book-order-copy {
    width: min(700px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .book-order-section {
    padding: 72px 0;
  }

  .book-order-cover.book-cover-stage {
    min-height: 480px;
    padding: 28px 22px 62px;
  }

  .book-order-cover .book-cover-product {
    width: min(300px, 78%);
  }

  .book-order-cover .book-cover-image {
    max-height: 405px;
  }

  .book-order-cover .book-cover-foot {
    inset-inline: 16px;
    bottom: 14px;
  }

  .book-order-copy h2,
  .rtl .book-order-copy h2 {
    max-width: 12ch;
    font-size: clamp(2.25rem, 12vw, 3.25rem);
    line-height: 1.16;
  }

  .book-access-status {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 16px;
  }

  .book-access-icon {
    width: 40px;
  }

  .site-modal.book-checkout-modal {
    width: calc(100vw - 18px);
    max-height: calc(100dvh - 18px);
  }

  .site-modal-head.checkout-modal-head {
    padding: 16px;
  }

  .checkout-modal-head strong {
    font-size: 1.2rem;
  }

  .site-modal-body.checkout-modal-body {
    max-height: calc(100dvh - 92px);
    padding: 14px;
  }

  .checkout-progress {
    margin-bottom: 18px;
  }

  .checkout-summary {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 12px;
  }

  .checkout-summary > img {
    width: 50px;
    height: 64px;
  }

  .checkout-price {
    grid-column: 1 / -1;
    padding: 10px 0 0;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: start;
  }

  .checkout-payment-box {
    grid-template-columns: 1fr;
    margin-top: 12px;
    padding: 16px;
  }

  .checkout-qr {
    width: 132px;
  }

  .checkout-whish-button {
    width: 100%;
  }

  .checkout-actions {
    grid-template-columns: 1fr;
  }

  .checkout-form {
    margin-top: 16px;
    gap: 10px;
  }

  .checkout-review-note {
    display: none;
  }
}

/* Course library */
.courses-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(145deg, rgba(0, 230, 184, 0.055), transparent 42%),
    var(--bg-main);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.courses-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 62%, rgba(214, 168, 79, 0.055) 62.15%, transparent 62.7%);
}

.courses-section .section-inner {
  position: relative;
  z-index: 1;
}

.courses-heading {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.courses-heading .section-head {
  margin-bottom: 0;
}

.course-search {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.course-search > label {
  margin-bottom: 10px;
  display: block;
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 850;
}

.course-search-control {
  position: relative;
}

.course-search-control input {
  width: 100%;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  outline: none;
  padding: 0 54px 0 50px;
  color: var(--text-main);
  background: rgba(10, 20, 27, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 54px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.course-search-control input:focus {
  border-color: rgba(0, 230, 184, 0.62);
  box-shadow: 0 0 0 3px rgba(0, 230, 184, 0.11), 0 18px 54px rgba(0, 0, 0, 0.24);
}

.course-search-control input::-webkit-search-cancel-button {
  display: none;
}

.course-search-icon {
  position: absolute;
  top: 50%;
  left: 19px;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 2px solid var(--muted-text);
  border-radius: 50%;
  transform: translateY(-55%);
  pointer-events: none;
}

.course-search-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--muted-text);
  transform: rotate(45deg);
}

.course-search-control button {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--muted-text);
  background: rgba(255, 255, 255, 0.07);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.course-search-control button:hover,
.course-search-control button:focus-visible {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.13);
}

.course-results {
  margin: 10px 0 0;
  color: var(--muted-text);
  font-size: 0.82rem;
}

.course-results strong {
  color: var(--accent-main);
}

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

.course-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(9, 18, 24, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  border-color: rgba(0, 230, 184, 0.36);
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.32);
  transform: translateY(-4px);
}

.course-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: #050a0f;
}

.course-video video,
.course-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}

.course-video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: var(--muted-text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(0, 230, 184, 0.18), transparent 38%),
    #091219;
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.course-video-placeholder strong {
  font-size: 0.86rem;
}

.course-play {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.5);
  border-radius: 50%;
  background: rgba(0, 230, 184, 0.12);
  box-shadow: 0 0 0 9px rgba(0, 230, 184, 0.055);
}

.course-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--accent-main);
}

.course-copy {
  min-height: 218px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.course-meta {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-text);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.course-level {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 230, 184, 0.28);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--accent-main);
  background: rgba(0, 230, 184, 0.075);
}

.course-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.25;
}

.course-copy p {
  margin: 0 0 22px;
  color: var(--muted-text);
  line-height: 1.75;
}

.course-copy h3 a,
.tutorial-copy h3 a {
  transition: color 0.22s ease;
}

.course-copy h3 a:hover,
.course-copy h3 a:focus-visible,
.tutorial-copy h3 a:hover,
.tutorial-copy h3 a:focus-visible {
  color: var(--accent-main);
}

.course-empty {
  padding: 64px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
}

.course-empty > span {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  display: block;
  border: 1px solid rgba(214, 168, 79, 0.4);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(214, 168, 79, 0.16), rgba(0, 230, 184, 0.08));
}

.course-empty h3 {
  margin: 0 0 8px;
}

.course-empty p {
  margin: 0;
  color: var(--muted-text);
}

.rtl .course-search-control input {
  padding-right: 50px;
  padding-left: 54px;
}

.rtl .course-search-icon {
  right: 19px;
  left: auto;
}

.rtl .course-search-control button {
  right: auto;
  left: 10px;
}

@media (max-width: 900px) {
  .courses-heading,
  .course-grid {
    grid-template-columns: 1fr;
  }

  .courses-heading {
    gap: 26px;
  }
}

@media (max-width: 560px) {
  .courses-heading {
    margin-bottom: 24px;
  }

  .course-search-control input {
    height: 54px;
  }

  .course-grid {
    gap: 18px;
  }

  .course-copy {
    min-height: 0;
    padding: 20px;
  }

  .course-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* MT5 tutorial hub */
.tutorials-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 150px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(145deg, rgba(0, 230, 184, 0.06), transparent 38%),
    var(--bg-main);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.tutorials-section::before {
  background:
    linear-gradient(118deg, transparent 61%, rgba(0, 183, 255, 0.045) 61.15%, transparent 61.7%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
}

.tutorials-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.tutorials-heading .section-head {
  margin-bottom: 0;
}

.tutorial-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tutorial-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(8, 17, 23, 0.84);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tutorial-card:hover {
  border-color: rgba(0, 230, 184, 0.38);
  box-shadow: 0 30px 84px rgba(0, 0, 0, 0.34);
  transform: translateY(-4px);
}

.tutorial-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: #050a0f;
}

.tutorial-media video,
.tutorial-media iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}

.tutorial-media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  color: var(--text-secondary);
  background:
    linear-gradient(rgba(255, 255, 255, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.036) 1px, transparent 1px),
    linear-gradient(145deg, rgba(0, 230, 184, 0.13), transparent 52%),
    #081118;
  background-size: 38px 38px, 38px 38px, auto, auto;
}

.tutorial-media-placeholder strong {
  font-size: 0.84rem;
  font-weight: 850;
}

.tutorial-window {
  position: relative;
  width: 76px;
  height: 54px;
  display: block;
  border: 1px solid rgba(0, 230, 184, 0.45);
  border-radius: 6px;
  background: rgba(0, 230, 184, 0.07);
  box-shadow: 0 0 0 10px rgba(0, 230, 184, 0.035);
}

.tutorial-window::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-main);
  box-shadow: 14px 0 0 rgba(214, 168, 79, 0.9), 28px 0 0 rgba(255, 59, 74, 0.88);
}

.tutorial-window i {
  position: absolute;
  right: 11px;
  left: 11px;
  height: 2px;
  border-radius: 2px;
  background: rgba(244, 255, 249, 0.28);
}

.tutorial-window i:nth-child(1) { top: 29px; }
.tutorial-window i:nth-child(2) { top: 36px; right: 24px; }
.tutorial-window i:nth-child(3) { top: 43px; right: 36px; }

.tutorial-number {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 42px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text-main);
  background: rgba(5, 10, 15, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tutorial-copy {
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.tutorial-meta {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-text);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tutorial-meta span:first-child {
  color: var(--accent-main);
}

.tutorial-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 2vw, 1.72rem);
  line-height: 1.3;
}

.tutorial-copy > p {
  min-height: 3.5em;
  margin-bottom: 22px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.tutorial-open,
.tutorial-resource-action {
  width: 100%;
  min-height: 46px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  border-top: 0;
  color: var(--text-main);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.tutorial-card-actions {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.tutorial-card-actions > a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tutorial-resource-action {
  color: var(--accent-main);
}

.tutorial-open:hover,
.tutorial-open:focus-visible,
.tutorial-resource-action:hover,
.tutorial-resource-action:focus-visible {
  color: var(--accent-main);
}

.tutorial-open i,
.tutorial-resource-action i,
.resource-link-action i {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid rgba(0, 230, 184, 0.28);
  border-radius: 50%;
  background: rgba(0, 230, 184, 0.08);
}

.tutorial-open i::before,
.tutorial-resource-action i::before,
.resource-link-action i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translate(-62%, -50%) rotate(45deg);
}

.rtl .tutorial-number {
  right: auto;
  left: 16px;
}

.rtl .tutorial-open i::before,
.rtl .tutorial-resource-action i::before,
.rtl .resource-link-action i::before {
  transform: translate(-38%, -50%) rotate(-135deg);
}

.tutorial-modal {
  border-radius: 8px;
}

.tutorial-modal-intro {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.tutorial-step-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
  counter-reset: tutorial-step;
}

.tutorial-step-list li {
  counter-increment: tutorial-step;
  min-height: 66px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.035);
  line-height: 1.65;
}

.tutorial-step-list li::before {
  content: counter(tutorial-step, decimal-leading-zero);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.3);
  border-radius: 50%;
  color: var(--accent-main);
  background: rgba(0, 230, 184, 0.07);
  font-size: 0.72rem;
  font-weight: 900;
}

.rtl .tutorial-step-list li {
  grid-template-columns: 38px minmax(0, 1fr);
}

.rtl .tutorial-step-list li::before {
  grid-column: 1;
}

.rtl .tutorial-step-list li > span {
  grid-column: 2;
  grid-row: 1;
}

/* Shareable course and tutorial detail pages */
.learning-detail-hero {
  min-height: 590px;
  padding: 190px 0 72px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(120deg, rgba(0, 230, 184, 0.11), transparent 42%),
    #061017;
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.learning-detail-hero::before {
  background:
    linear-gradient(118deg, transparent 0 62%, rgba(0, 183, 255, 0.06) 62.1%, transparent 62.6%),
    linear-gradient(180deg, transparent, rgba(5, 10, 15, 0.34));
}

.learning-detail-hero-inner {
  position: relative;
  z-index: 1;
}

.learning-breadcrumb {
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-text);
  font-size: 0.78rem;
  font-weight: 800;
}

.learning-breadcrumb a {
  color: var(--accent-main);
}

.learning-breadcrumb a:hover,
.learning-breadcrumb a:focus-visible {
  color: var(--text-main);
}

.learning-breadcrumb i {
  width: 24px;
  height: 1px;
  display: block;
  background: rgba(255, 255, 255, 0.22);
}

.learning-detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
}

.learning-title-block {
  max-width: 900px;
}

.learning-detail-heading h1,
.rtl .learning-detail-heading h1 {
  max-width: 15ch;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6vw, 5.4rem);
  line-height: 1.02;
}

.learning-detail-intro {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

.learning-share-actions {
  min-width: 188px;
  display: grid;
  gap: 10px;
}

.learning-share-actions .button {
  width: 100%;
}

.learning-detail-meta {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.learning-detail-meta > span {
  min-width: 0;
  padding: 17px 24px;
  display: grid;
  gap: 4px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.09);
}

.learning-detail-meta > span:last-child {
  border-inline-end: 0;
}

.learning-detail-meta small {
  color: var(--muted-text);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.learning-detail-meta strong {
  overflow: hidden;
  color: var(--text-main);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.learning-detail-main {
  padding: 72px 0 104px;
  background: #050b10;
}

.learning-detail-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.55fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.learning-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(0, 230, 184, 0.24);
  border-radius: 8px;
  background: #03070a;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.learning-player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: inherit;
}

.learning-player video,
.learning-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}

.learning-player-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 28px;
  color: var(--text-secondary);
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(140deg, rgba(0, 230, 184, 0.14), transparent 54%),
    #081118;
  background-size: 38px 38px, 38px 38px, auto, auto;
}

.learning-overview {
  padding-inline-start: 34px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
}

.learning-overview .section-kicker {
  margin-bottom: 14px;
}

.learning-overview h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.learning-overview > p:not(.section-kicker) {
  margin-bottom: 28px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.learning-overview-list {
  margin: 0 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.learning-overview-list > div {
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.learning-overview-list dt {
  color: var(--muted-text);
  font-size: 0.74rem;
  font-weight: 800;
}

.learning-overview-list dd {
  margin: 0;
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: end;
}

.learning-back-link {
  width: 100%;
}

.learning-overview-actions {
  display: grid;
  gap: 10px;
}

.learning-overview-actions .button {
  width: 100%;
}

.learning-points-section {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(125deg, rgba(0, 230, 184, 0.07), transparent 40%),
    #071016;
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.learning-steps-grid {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.learning-step {
  min-height: 112px;
  padding: 22px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(8, 17, 23, 0.78);
}

.learning-step > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.32);
  border-radius: 50%;
  color: var(--accent-main);
  background: rgba(0, 230, 184, 0.07);
  font-size: 0.72rem;
  font-weight: 900;
}

.learning-step p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.related-learning-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050b10;
}

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

.related-learning-card {
  min-height: 290px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(8, 17, 23, 0.76);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.related-learning-card:hover,
.related-learning-card:focus-visible {
  border-color: rgba(0, 230, 184, 0.38);
  background: rgba(10, 25, 29, 0.9);
  transform: translateY(-4px);
}

.related-learning-number {
  width: 42px;
  height: 34px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.26);
  border-radius: 999px;
  color: var(--accent-main);
  background: rgba(0, 230, 184, 0.06);
  font-size: 0.7rem;
  font-weight: 900;
}

.related-learning-card small {
  margin-bottom: 10px;
  color: var(--muted-text);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.related-learning-card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
}

.related-learning-card p {
  margin-bottom: 26px;
  color: var(--muted-text);
  line-height: 1.65;
}

.related-learning-card > strong {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-main);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .learning-detail-heading,
  .learning-detail-layout {
    grid-template-columns: 1fr;
  }

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

  .learning-overview {
    padding: 30px 0 0;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

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

@media (max-width: 620px) {
  .learning-detail-hero {
    min-height: 0;
    padding: 170px 0 50px;
  }

  .learning-breadcrumb {
    margin-bottom: 24px;
  }

  .learning-detail-heading h1,
  .rtl .learning-detail-heading h1 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
    line-height: 1.08;
  }

  .learning-share-actions {
    grid-template-columns: 1fr;
  }

  .learning-detail-meta {
    margin-top: 34px;
    grid-template-columns: 1fr;
  }

  .learning-detail-meta > span {
    padding: 12px 0;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .learning-detail-meta > span:last-child {
    border-bottom: 0;
  }

  .learning-detail-meta strong {
    text-align: start;
  }

  .learning-detail-main {
    padding: 44px 0 72px;
  }

  .learning-steps-grid,
  .related-learning-grid {
    grid-template-columns: 1fr;
  }

  .learning-step {
    min-height: 0;
    padding: 18px;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .learning-step > span {
    width: 40px;
    height: 40px;
  }

  .related-learning-card {
    min-height: 250px;
  }
}

.tutorial-links-section {
  overflow: hidden;
  scroll-margin-top: 150px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(100deg, rgba(214, 168, 79, 0.045), transparent 34%),
    linear-gradient(145deg, transparent 58%, rgba(0, 230, 184, 0.055)),
    #071016;
}

.tutorial-links-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

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

.tutorial-resource-link {
  min-height: 270px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--text-main);
  background: rgba(7, 16, 22, 0.76);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.tutorial-resource-link:hover,
.tutorial-resource-link:focus-visible {
  border-color: rgba(0, 230, 184, 0.42);
  background: rgba(10, 27, 31, 0.86);
  transform: translateY(-4px);
}

.tutorial-resource-link.featured {
  border-color: rgba(214, 168, 79, 0.4);
  background:
    linear-gradient(145deg, rgba(214, 168, 79, 0.1), transparent 58%),
    rgba(7, 16, 22, 0.82);
}

.resource-link-number {
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.resource-link-copy {
  display: grid;
  gap: 10px;
}

.resource-link-copy small {
  color: var(--accent-main);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tutorial-resource-link.featured .resource-link-copy small {
  color: var(--vip-gold);
}

.resource-link-copy strong {
  font-size: 1.22rem;
  line-height: 1.3;
}

.resource-link-copy > span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.resource-link-action {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 850;
}

@media (max-width: 960px) {
  .tutorials-heading,
  .tutorial-grid {
    grid-template-columns: 1fr;
  }

  .tutorials-heading {
    gap: 26px;
  }

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

@media (max-width: 620px) {
  .tutorials-heading {
    margin-bottom: 24px;
  }

  .tutorial-grid,
  .tutorial-links-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-grid {
    gap: 18px;
  }

  .tutorial-copy,
  .tutorial-resource-link {
    padding: 20px;
  }

  .tutorial-copy > p {
    min-height: 0;
  }

  .tutorial-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .tutorial-resource-link {
    min-height: 245px;
  }

  .tutorial-step-list li,
  .rtl .tutorial-step-list li {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .rtl .tutorial-step-list li::before {
    grid-column: 1;
  }

  .rtl .tutorial-step-list li > span {
    grid-column: 2;
    grid-row: 1;
  }
}

:root {
  --bg-main: #050A0F;
  --bg-section: #0D151C;
  --glass-bg: rgba(13, 21, 28, 0.72);
  --glass-bg-light: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(0, 230, 184, 0.22);
  --text-main: #F4FFF9;
  --text-secondary: #A7B4BE;
  --text-muted: #6F7D86;
  --accent-main: #00E6B8;
  --accent-hover: #00FFC2;
  --accent-cyan: #00B7FF;
  --profit-green: #00D26A;
  --loss-red: #FF3B4A;
  --vip-gold: #D6A84F;
  --font-arabic: "Alexandria", "Segoe UI", Tahoma, Arial, sans-serif;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow-glass: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-accent: 0 0 40px rgba(0, 230, 184, 0.08), 0 24px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(0, 230, 184, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 6%, rgba(0, 183, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 72% 88%, rgba(214, 168, 79, 0.08), transparent 26rem),
    var(--bg-main);
  color: var(--text-main);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(115deg, transparent 0 48%, rgba(0, 230, 184, 0.065) 50%, transparent 52% 100%);
  background-size: 86px 86px, 86px 86px, 640px 640px;
  mask-image: linear-gradient(to bottom, black 0 68%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--cursor-x, 50%) var(--cursor-y, 26%), rgba(0, 230, 184, 0.12), transparent 42%);
}

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  width: min(1480px, calc(100% - 28px));
  transform: translateX(-50%);
  z-index: 80;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(5, 10, 15, 0.68);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.nav {
  width: 100%;
  min-height: 70px;
  padding: 0 14px 0 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  direction: ltr;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
}

.brand img {
  width: 150px;
  filter: invert(1) drop-shadow(0 0 16px rgba(0, 230, 184, 0.12));
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.nav-links a {
  min-height: 38px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: rgba(244, 255, 249, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.28s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
}

.button {
  position: relative;
  min-height: 48px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all 0.28s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  translate: -120% 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transition: translate 560ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 230, 184, 0.42);
  box-shadow: 0 18px 45px rgba(0, 230, 184, 0.14);
}

.button:hover::before {
  translate: 120% 0;
}

.button.primary {
  border-color: rgba(0, 230, 184, 0.36);
  background: linear-gradient(135deg, #00E6B8, #00B7FF);
  color: #04100D;
  box-shadow: 0 12px 40px rgba(0, 230, 184, 0.25);
}

.button.ghost {
  border-color: rgba(0, 230, 184, 0.22);
  background: rgba(0, 230, 184, 0.08);
}

.button.amber {
  border-color: rgba(214, 168, 79, 0.56);
  background:
    linear-gradient(135deg, rgba(214, 168, 79, 0.32), rgba(255, 255, 255, 0.08)),
    rgba(92, 71, 27, 0.28);
  color: #fff4cf;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    0 0 30px rgba(214, 168, 79, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button.amber:hover {
  border-color: rgba(214, 168, 79, 0.78);
  background:
    linear-gradient(135deg, rgba(214, 168, 79, 0.42), rgba(255, 255, 255, 0.12)),
    rgba(92, 71, 27, 0.34);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.38),
    0 0 38px rgba(214, 168, 79, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button.danger {
  border-color: rgba(255, 59, 74, 0.4);
  background: rgba(255, 59, 74, 0.1);
}

.market-ticker {
  position: fixed;
  top: 102px;
  left: 50%;
  width: min(1120px, calc(100% - 44px));
  height: 36px;
  transform: translateX(-50%);
  z-index: 70;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(5, 10, 15, 0.56);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: opacity 0.22s ease, visibility 0.22s ease;
  direction: ltr;
}

body.menu-open .market-ticker {
  opacity: 0;
  visibility: hidden;
}

body.menu-open main,
body.menu-open footer,
body.menu-open .mobile-cta-bar {
  filter: brightness(0.58);
  transition: filter 0.22s ease;
}

.ticker-track {
  width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  padding-left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 800;
}

.ticker-item strong {
  color: var(--text-main);
}

.ticker-item .up {
  color: var(--accent-main);
}

.ticker-item .down {
  color: var(--loss-red);
}

.live-market-ticker {
  position: fixed;
  display: flex;
  align-items: center;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(0, 230, 184, 0.1), rgba(255, 255, 255, 0.055), rgba(0, 183, 255, 0.08)),
    rgba(5, 10, 15, 0.8);
  box-shadow:
    0 18px 58px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(0, 230, 184, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 230, 184, 0.16);
  overflow: hidden;
}

.live-market-ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
    radial-gradient(circle at 18% 0, rgba(0, 230, 184, 0.22), transparent 34%),
    radial-gradient(circle at 82% 100%, rgba(0, 183, 255, 0.14), transparent 38%);
  opacity: 0.52;
}

.ticker-tv,
.ticker-tv .tradingview-widget-container__widget,
.ticker-tv iframe {
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
  display: block;
}

.ticker-tv {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  mix-blend-mode: screen;
  opacity: 0.92;
}

.ticker-tv .tradingview-widget-container__widget {
  display: flex !important;
  align-items: center;
}

.ticker-tv iframe {
  border: 0 !important;
  background: transparent !important;
  border-radius: 999px !important;
  clip-path: inset(0 0 2px 0 round 999px);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 10, 15, 0.88) 0%, rgba(5, 10, 15, 0.62) 52%, rgba(5, 10, 15, 0.18)),
    url("../images/hero-trading.png") center right / cover no-repeat;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.page-hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 36% 48%, rgba(0, 230, 184, 0.2), transparent 28rem),
    linear-gradient(115deg, transparent 0 58%, rgba(0, 230, 184, 0.14) 58.2%, transparent 59%);
  pointer-events: none;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--bg-main));
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.34;
}

.hero-inner,
.section-inner,
.page-hero-inner,
.footer-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 176px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 58px;
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 176px 0 102px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-main);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--text-main);
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.6);
}

.rtl .hero-content {
  width: min(100%, 660px);
  min-width: 0;
  max-width: 660px;
  margin-left: auto;
}

.rtl h1 {
  width: 100%;
  font-size: clamp(3.2rem, 6.2vw, 5.85rem);
  line-height: 1.05;
  max-width: 14ch;
  overflow-wrap: normal;
  word-break: normal;
}

.rtl .hero-copy {
  max-width: 620px;
}

h2 {
  margin-bottom: 16px;
  color: var(--text-main);
  font-size: clamp(2.25rem, 4.6vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  color: var(--text-main);
  font-size: 1.18rem;
}

.hero-copy,
.lead {
  color: rgba(244, 255, 249, 0.82);
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.hero-copy {
  max-width: 700px;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.58);
}

.hero-actions,
.section-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.center-actions {
  justify-content: center;
}

section {
  position: relative;
  padding: 104px 0;
}

section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 66%, rgba(255, 255, 255, 0.025) 66.2%, transparent 66.5%);
}

.section-head {
  max-width: 790px;
  margin-bottom: 42px;
}

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

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.glass-panel,
.dashboard-preview,
.supervised-panel,
.portrait-placeholder,
.faq-list details,
.final-cta,
.book-cover,
.blog-card,
.timeline-item,
.signal-board,
.step-card {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  background: var(--glass-bg);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.card {
  position: relative;
  min-height: 100%;
  padding: 28px;
  overflow: hidden;
  transition: all 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--card-x, 50%) var(--card-y, 0%), rgba(0, 230, 184, 0.16), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 230, 184, 0.32);
  box-shadow: var(--shadow-accent);
}

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

.card.featured,
.path-card.featured,
.service-card.featured {
  border-color: rgba(0, 230, 184, 0.25);
  box-shadow: var(--shadow-accent);
}

.audience-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.audience-path::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 230, 184, 0.42), rgba(214, 168, 79, 0.28), transparent);
  pointer-events: none;
}

.audience-path .path-card {
  z-index: 1;
  min-height: 270px;
  padding: 72px 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.audience-path .path-card .tag {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.card p,
.card li,
.blog-card p,
.timeline-item p {
  color: var(--text-secondary);
  line-height: 1.68;
}

.icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.24);
  border-radius: 16px;
  background: rgba(0, 230, 184, 0.09);
  color: var(--accent-main);
  font-weight: 900;
}

.tag {
  margin-bottom: 22px;
  display: inline-flex;
  border: 1px solid rgba(0, 230, 184, 0.2);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--accent-main);
  background: rgba(0, 230, 184, 0.08);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag.vip {
  border-color: rgba(214, 168, 79, 0.32);
  color: var(--vip-gold);
  background: rgba(214, 168, 79, 0.09);
}

.inline-link {
  margin-top: 18px;
  display: inline-flex;
  color: var(--accent-hover);
  font-weight: 900;
}

.pathways {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 230, 184, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.dashboard-preview {
  padding: 18px;
  transform: translateY(var(--parallax-y, 0));
}

.dashboard-top,
.terminal-top {
  min-height: 42px;
  padding: 0 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 900;
}

.dashboard-top strong,
.terminal-top strong {
  margin-left: auto;
}

.traffic,
.terminal-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.green {
  background: var(--accent-main);
}

.gold {
  background: var(--vip-gold);
}

.red {
  background: var(--loss-red);
}

.dashboard-chart,
.chart-line {
  min-height: 220px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: 38px 38px;
  overflow: hidden;
}

.dashboard-chart svg,
.chart-line svg {
  width: 100%;
  height: 100%;
  display: block;
}

.fx-live-chart,
.fx-live-chart .tradingview-widget-container__widget,
.fx-live-chart iframe {
  width: 100% !important;
  height: 220px !important;
  min-height: 220px;
  display: block;
}

.fx-live-chart {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 22px;
}

.fx-live-chart iframe {
  border: 0 !important;
  background: transparent !important;
}

.signal-grid,
.terminal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.signal-grid div,
.terminal-grid div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.signal-grid span,
.terminal-grid span,
.status-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-grid strong,
.terminal-grid strong,
.status-row strong {
  color: var(--text-main);
}

.profit {
  color: var(--profit-green) !important;
}

.loss {
  color: var(--loss-red) !important;
}

.dashboard-badges,
.pill-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-badges span,
.pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.78rem;
  font-weight: 800;
}

.steps-line {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(12px, 1.35vw, 18px);
  align-items: stretch;
}

.steps-line::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 58px;
  height: 1px;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent, rgba(0, 230, 184, 0.5), rgba(214, 168, 79, 0.24), rgba(0, 230, 184, 0.5), transparent);
  box-shadow: 0 0 24px rgba(0, 230, 184, 0.12);
}

.step-card {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  min-height: 245px;
  padding: 86px clamp(16px, 1.3vw, 22px) 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.step-card h3,
.step-card p {
  overflow-wrap: anywhere;
}

.step-card span,
.timeline-item .step {
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 230, 184, 0.28);
  border-radius: 999px;
  color: var(--accent-main);
  background: rgba(0, 230, 184, 0.08);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.step-card span {
  position: absolute;
  top: 29px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 24px rgba(0, 230, 184, 0.16);
}

.comparison {
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row div {
  padding: 20px;
  color: var(--text-secondary);
}

.compare-row div:first-child,
.compare-row.head div {
  color: var(--text-main);
  font-weight: 900;
}

.compare-row.head {
  background: rgba(255, 255, 255, 0.06);
}

.supervised-panel,
.final-cta {
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 36px;
  align-items: center;
  border-color: rgba(0, 230, 184, 0.25);
}

.final-cta {
  display: block;
  text-align: center;
}

.final-cta .section-actions {
  justify-content: center;
}

.small-note {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.mini-dashboard,
.signal-board {
  min-height: 280px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: 34px 34px;
}

.status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.status-row:last-child {
  border-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.portrait-placeholder {
  min-height: 500px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0, 230, 184, 0.12), rgba(0, 183, 255, 0.06)),
    var(--glass-bg);
}

.portrait-placeholder img {
  width: min(300px, 70%);
  filter: invert(1);
}

.portrait-placeholder span {
  color: var(--text-muted);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 22px;
}

.faq-list summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-main);
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent-main);
  font-size: 1.35rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.metrics-strip {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  background: var(--glass-bg);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.metric {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--text-main);
  font-size: 1.65rem;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding: 24px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
}

.book-cover {
  min-height: 520px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--glass-bg);
  background-size: 42px 42px;
}

.book-spotlight {
  isolation: isolate;
  overflow: hidden;
  padding: clamp(112px, 10vw, 158px) 0;
  border-top: 1px solid rgba(214, 168, 79, 0.16);
  border-bottom: 1px solid rgba(0, 230, 184, 0.12);
  background:
    radial-gradient(ellipse at 14% 48%, rgba(214, 168, 79, 0.16), transparent 34rem),
    radial-gradient(ellipse at 88% 32%, rgba(0, 230, 184, 0.12), transparent 36rem),
    linear-gradient(115deg, rgba(3, 9, 13, 0.98), rgba(8, 17, 21, 0.96) 52%, rgba(9, 14, 17, 0.98));
}

.book-spotlight::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 55%, rgba(214, 168, 79, 0.05) 55.2%, transparent 55.5%);
  background-size: 86px 86px, 86px 86px, 100% 100%;
  mask-image: linear-gradient(90deg, transparent, black 10% 90%, transparent);
}

.book-spotlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(1260px, calc(100% - 40px));
  height: 1px;
  translate: -50% -50%;
  background: linear-gradient(90deg, transparent, rgba(214, 168, 79, 0.42), rgba(0, 230, 184, 0.26), transparent);
  box-shadow: 0 0 54px rgba(214, 168, 79, 0.2);
}

.book-spotlight-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(58px, 7vw, 96px);
}

.book-promo-copy {
  position: relative;
  display: grid;
  align-content: center;
}

.book-spotlight .section-kicker {
  color: #e7bb64;
}

.book-spotlight .book-promo-copy > h2 {
  max-width: 10.5ch;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.2vw, 5.25rem);
  line-height: 1.03;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.56);
}

.book-spotlight .book-promo-copy > .lead {
  max-width: 620px;
  color: rgba(244, 255, 249, 0.78);
}

.book-offer-meta {
  width: fit-content;
  max-width: 100%;
  margin-top: 26px;
  padding: 7px;
  display: flex;
  gap: 6px;
  border: 1px solid rgba(214, 168, 79, 0.22);
  border-radius: 18px;
  background: rgba(4, 10, 14, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.book-offer-meta div {
  min-width: 138px;
  padding: 10px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.book-offer-meta span,
.book-offer-meta strong {
  display: block;
}

.book-offer-meta span {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.book-offer-meta strong {
  color: #fff3ce;
  font-size: 0.96rem;
}

.book-promo-panel {
  margin-top: 28px;
  padding: clamp(24px, 3vw, 34px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 79, 0.42);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 4%, rgba(214, 168, 79, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(0, 230, 184, 0.11), rgba(255, 255, 255, 0.035) 52%, rgba(214, 168, 79, 0.06)),
    rgba(5, 14, 18, 0.78);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.book-promo-panel::before {
  content: "";
  position: absolute;
  inset-block: 28px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f2c66f, rgba(0, 230, 184, 0.7));
  box-shadow: 0 0 24px rgba(214, 168, 79, 0.42);
}

.book-preview-topline {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.book-preview-mark {
  color: rgba(244, 255, 249, 0.36);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.book-promo-panel h3 {
  max-width: 18ch;
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  line-height: 1.18;
}

.book-promo-panel p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.amber-tag {
  border-color: rgba(214, 168, 79, 0.42);
  color: var(--accent-gold);
  background: rgba(214, 168, 79, 0.1);
}

.book-promo-points {
  margin: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.book-promo-points span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
  font-weight: 850;
}

.book-promo-panel .section-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-buy-button {
  min-height: 54px;
  border-color: rgba(245, 203, 111, 0.72);
  background: linear-gradient(135deg, #ecc46f, #a9792e);
  color: #130f07;
  box-shadow: 0 18px 48px rgba(154, 107, 28, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.book-buy-button:hover {
  border-color: #f5d48d;
  background: linear-gradient(135deg, #f6d58f, #b68736);
  color: #0b0905;
  box-shadow: 0 22px 58px rgba(190, 139, 48, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.book-preview-button {
  min-height: 54px;
  border-color: rgba(0, 230, 184, 0.28);
  background: rgba(0, 230, 184, 0.07);
}

.book-cover-stage {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  overflow: hidden;
  padding: clamp(42px, 5vw, 72px);
  border-color: rgba(214, 168, 79, 0.3);
  background:
    radial-gradient(circle at 50% 42%, rgba(214, 168, 79, 0.22), transparent 18rem),
    radial-gradient(circle at 10% 88%, rgba(0, 230, 184, 0.12), transparent 20rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(7, 15, 19, 0.58));
  box-shadow:
    0 50px 130px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.book-cover-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(var(--radius) - 8px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 54px 54px;
}

.book-cover-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 15%;
  right: 15%;
  bottom: 58px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.74);
  filter: blur(24px);
}

.book-cover-orbit {
  position: absolute;
  z-index: -1;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(214, 168, 79, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(214, 168, 79, 0.08), inset 0 0 80px rgba(0, 230, 184, 0.05);
}

.book-cover-product {
  position: relative;
  z-index: 2;
  width: min(410px, 84%);
  transform: perspective(1300px) rotateY(-4deg) rotateX(1deg);
  transform-origin: center;
}

.rtl .book-cover-product {
  transform: perspective(1300px) rotateY(4deg) rotateX(1deg);
}

.book-cover-product::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 14px;
  bottom: 14px;
  inset-inline-end: -14px;
  width: 18px;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(90deg, #4d3820, #b88a43 45%, #251a0e);
  box-shadow: 12px 10px 30px rgba(0, 0, 0, 0.42);
}

.rtl .book-cover-product::before {
  border-radius: 5px 0 0 5px;
}

.book-cover-product .book-cover-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 5px;
  box-shadow:
    0 36px 70px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(214, 168, 79, 0.2);
}

.book-cover-foot {
  position: absolute;
  z-index: 3;
  inset-inline: clamp(26px, 4vw, 44px);
  bottom: 24px;
  min-height: 46px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(4, 10, 14, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.book-cover-foot span {
  color: #dfb765;
  font-size: 0.78rem;
  font-weight: 850;
}

.book-cover-foot strong {
  color: rgba(244, 255, 249, 0.76);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.book-feature {
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 154px;
  padding: clamp(96px, 9vw, 142px) 0;
  border-block: 1px solid rgba(214, 168, 79, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(122deg, #04090d 0%, #071217 56%, #04090d 100%);
  background-size: 92px 92px, 92px 92px, 100% 100%;
}

.book-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(112deg, transparent 0 31%, rgba(214, 168, 79, 0.055) 31.15%, transparent 31.35%),
    linear-gradient(112deg, transparent 0 72%, rgba(0, 230, 184, 0.045) 72.15%, transparent 72.35%);
  mask-image: linear-gradient(90deg, transparent, #000 12% 88%, transparent);
}

.book-feature::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline: 5%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 168, 79, 0.28), rgba(0, 230, 184, 0.16), transparent);
}

.book-feature-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.76fr);
  gap: clamp(64px, 8vw, 112px);
  align-items: center;
}

.book-feature-copy {
  max-width: 650px;
}

.book-feature-overline {
  margin-bottom: 28px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.book-feature-overline .section-kicker {
  margin: 0;
  color: #e8bd68;
}

.book-feature-overline > span {
  color: rgba(244, 255, 249, 0.35);
  font-size: 0.66rem;
  font-weight: 800;
}

.book-feature-copy > h2 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 4.8vw, 4.9rem);
  line-height: 1.08;
  text-shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
}

.book-feature-copy > .lead {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(244, 255, 249, 0.76);
}

.book-feature-topics {
  margin: 32px 0;
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.book-feature-topics span {
  min-width: 0;
  padding-inline: 16px;
  display: grid;
  gap: 6px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(244, 255, 249, 0.78);
  font-size: 0.8rem;
  font-weight: 750;
}

.book-feature-topics span:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.book-feature-topics i {
  color: #d8a94e;
  font-size: 0.68rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.book-feature-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.book-feature-buy {
  min-width: 184px;
  min-height: 54px;
  border-color: rgba(245, 209, 132, 0.78);
  background: linear-gradient(135deg, #efca78, #a9782b);
  color: #100c05;
  box-shadow: 0 18px 46px rgba(164, 113, 31, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.book-feature-buy:hover {
  border-color: #f6d995;
  background: linear-gradient(135deg, #f8d991, #bd8d3a);
  color: #0b0803;
  box-shadow: 0 24px 62px rgba(188, 137, 49, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.book-feature-read {
  min-width: 154px;
  min-height: 54px;
  border-color: rgba(0, 230, 184, 0.34);
  background: rgba(0, 230, 184, 0.06);
}

.book-feature-visual {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  display: grid;
  place-items: center;
  perspective: 1600px;
}

.book-feature-visual::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 10%;
  bottom: 14%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(214, 168, 79, 0.52) 28% 72%, transparent);
  box-shadow: 74px 0 0 rgba(0, 230, 184, 0.08), -74px 0 0 rgba(214, 168, 79, 0.08);
}

.book-feature-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 10%;
  right: 10%;
  bottom: 54px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  filter: blur(22px);
}

.book-feature-stage {
  position: relative;
  width: 100%;
  min-height: 620px;
  display: grid;
  place-items: center;
  perspective: 1600px;
}

.book-feature-cover {
  --book-tilt: -13deg;
  --book-roll: -0.35deg;
  position: relative;
  z-index: 2;
  width: min(390px, 76%);
  transform-style: preserve-3d;
  transform-origin: left center;
  animation: book-feature-float 6.4s ease-in-out infinite;
  will-change: transform;
}

.rtl .book-feature-cover {
  --book-tilt: 13deg;
  --book-roll: 0.35deg;
  transform-origin: right center;
}

.book-feature-cover::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: -10px;
  width: 12px;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(90deg, #211307, #8a5b21 28%, #d3a255 55%, #493015 78%, #1a1008);
  box-shadow: -7px 10px 20px rgba(0, 0, 0, 0.34), inset 1px 0 rgba(255, 232, 174, 0.28);
}

.rtl .book-feature-cover::before {
  right: -10px;
  left: auto;
  border-radius: 0 6px 6px 0;
  box-shadow: 7px 10px 20px rgba(0, 0, 0, 0.34), inset -1px 0 rgba(255, 232, 174, 0.28);
}

.book-feature-cover::after {
  content: "";
  position: absolute;
  z-index: -2;
  top: 5px;
  right: -21px;
  bottom: 5px;
  left: 4px;
  border: 1px solid rgba(214, 168, 79, 0.34);
  border-radius: 3px 8px 8px 3px;
  background: linear-gradient(90deg, #171009, #6f4d24 82%, #ba873d);
  box-shadow: 18px 26px 50px rgba(0, 0, 0, 0.4);
  transform: translateZ(-22px);
}

.rtl .book-feature-cover::after {
  right: 4px;
  left: -21px;
  border-radius: 8px 3px 3px 8px;
  background: linear-gradient(90deg, #ba873d, #6f4d24 18%, #171009);
}

.book-feature-pages {
  position: absolute;
  z-index: 0;
  top: 9px;
  right: -17px;
  bottom: 9px;
  width: 22px;
  overflow: hidden;
  border: 1px solid rgba(184, 164, 132, 0.72);
  border-left: 0;
  border-radius: 0 7px 7px 0;
  background:
    repeating-linear-gradient(0deg, rgba(125, 106, 80, 0.34) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #cbbfae, #f5eee2 46%, #d5c7b2);
  box-shadow: 13px 18px 34px rgba(0, 0, 0, 0.4), inset 0 10px 12px rgba(87, 66, 40, 0.18), inset 0 -10px 12px rgba(87, 66, 40, 0.2);
  transform: translateZ(-13px);
}

.rtl .book-feature-pages {
  right: auto;
  left: -17px;
  border-right: 0;
  border-left: 1px solid rgba(184, 164, 132, 0.72);
  border-radius: 7px 0 0 7px;
  background:
    repeating-linear-gradient(0deg, rgba(125, 106, 80, 0.34) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #d5c7b2, #f5eee2 54%, #cbbfae);
}

.book-feature-cover img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-height: 590px;
  object-fit: contain;
  border-radius: 3px 7px 7px 3px;
  box-shadow: 0 42px 86px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(214, 168, 79, 0.3);
}

.rtl .book-feature-cover img {
  border-radius: 7px 3px 3px 7px;
}

.book-feature-shine {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: 3px 7px 7px 3px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 3%, transparent 96%, rgba(0, 0, 0, 0.2)),
    linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, 0.075) 39%, transparent 53%);
  box-shadow: inset 7px 0 13px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 236, 190, 0.09);
  pointer-events: none;
}

.rtl .book-feature-shine {
  border-radius: 7px 3px 3px 7px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 4%, transparent 97%, rgba(255, 255, 255, 0.1)),
    linear-gradient(68deg, transparent 18%, rgba(255, 255, 255, 0.075) 39%, transparent 53%);
  box-shadow: inset -7px 0 13px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 236, 190, 0.09);
}

.book-feature-edition {
  position: absolute;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(244, 255, 249, 0.42);
  font-size: 0.68rem;
  font-weight: 750;
}

.book-feature-edition::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #d5a752;
}

.book-feature-edition strong {
  color: #e6bb66;
}

@keyframes book-feature-float {
  0%, 100% {
    transform: rotateY(var(--book-tilt)) rotateX(1.8deg) rotateZ(var(--book-roll)) translateY(0);
  }
  50% {
    transform: rotateY(var(--book-tilt)) rotateX(0.8deg) rotateZ(var(--book-roll)) translateY(-11px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-feature-cover {
    animation: none;
    transform: rotateY(var(--book-tilt)) rotateX(1deg) rotateZ(var(--book-roll));
  }
}

.book-face {
  width: min(340px, 76%);
  aspect-ratio: 0.68;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 230, 184, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0, 230, 184, 0.18), rgba(214, 168, 79, 0.08)),
    #071016;
  box-shadow: 28px 32px 0 rgba(0, 0, 0, 0.22);
}

.book-face img {
  width: 190px;
  filter: invert(1);
}

.site-modal {
  width: min(760px, calc(100vw - 28px));
  max-height: calc(100vh - 34px);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(0, 230, 184, 0.24);
  border-radius: 28px;
  color: var(--text-main);
  background:
    radial-gradient(circle at 85% 0%, rgba(214, 168, 79, 0.14), transparent 20rem),
    linear-gradient(135deg, rgba(6, 18, 24, 0.98), rgba(3, 7, 10, 0.98));
  box-shadow: 0 38px 140px rgba(0, 0, 0, 0.72);
}

.site-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.site-modal-head {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
}

.site-modal-head span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-main);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.site-modal-head strong {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
}

.modal-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.07);
  font-size: 1.6rem;
  cursor: pointer;
}

.site-modal-body {
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
}

.site-modal-body p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
  white-space: pre-line;
}

.book-title {
  color: var(--text-main);
  font-size: 2.15rem;
  line-height: 0.98;
  font-weight: 950;
}

.blog-list {
  display: grid;
  gap: 18px;
}

.blog-card {
  padding: 24px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  align-items: center;
  transition: all 0.28s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 184, 0.32);
}

.blog-date {
  min-height: 118px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: var(--accent-main);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 950;
}

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

.content-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(240px, 0.9fr) auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(8, 18, 24, 0.72);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.content-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 230, 184, 0.34);
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.32);
}

.content-media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 230, 184, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(0, 183, 255, 0.12), rgba(214, 168, 79, 0.09)),
    rgba(255, 255, 255, 0.035);
}

.content-media img,
.content-media video,
.content-media iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
  border: 0;
  object-fit: cover;
}

.content-video-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  background: rgba(4, 12, 17, 0.86);
}

.content-video-shell > img {
  transition: transform 0.45s ease, filter 0.45s ease;
}

.content-card:hover .content-video-shell:not(.is-playing) > img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.content-video-placeholder {
  min-height: 240px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(0, 230, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 230, 184, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(0, 230, 184, 0.16), transparent 44%),
    #081319;
  background-size: 40px 40px, 40px 40px, auto, auto;
  color: rgba(240, 255, 251, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
}

.content-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 70px;
  height: 70px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(5, 15, 20, 0.74);
  color: #fff;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.38), 0 0 0 9px rgba(0, 230, 184, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.content-play-button span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid currentColor;
}

.content-play-button:hover,
.content-play-button:focus-visible {
  border-color: rgba(0, 230, 184, 0.8);
  background: rgba(0, 230, 184, 0.9);
  color: #04100d;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4), 0 0 0 11px rgba(0, 230, 184, 0.16);
  transform: translate(-50%, -50%) scale(1.06);
}

.content-play-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.content-video-shell.is-playing,
.content-video-shell.is-playing video,
.content-video-shell.is-playing iframe {
  background: #000;
}

.content-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 10, 15, 0.72));
  transition: opacity 0.2s ease;
}

.content-media.is-playing::after,
.content-card.video-post .content-media.is-playing::before {
  opacity: 0;
}

.content-card.video-post .content-media::before,
.content-card.analysis-post .content-media::before,
.content-card.tip-post .content-media::before {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 10, 15, 0.72);
  color: var(--text-main);
  font-weight: 950;
  padding: 0 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.content-card.video-post .content-media::before {
  content: "VIDEO";
}

.content-card.analysis-post .content-media::before {
  content: "XAUUSD";
  color: var(--accent-main);
}

.content-card.tip-post .content-media::before {
  content: "TIP";
  color: var(--accent-gold);
}

.tip-panel {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: var(--text-main);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 950;
  letter-spacing: 0;
}

.content-copy {
  padding: 22px;
}

.content-copy h3 {
  margin-top: 14px;
  color: var(--text-main);
  font-size: 1.32rem;
  line-height: 1.15;
}

.content-copy p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-main);
  padding: 15px 16px;
  font: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: rgba(0, 230, 184, 0.52);
  box-shadow: 0 0 0 4px rgba(0, 230, 184, 0.1);
}

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

.notice {
  border: 1px solid rgba(214, 168, 79, 0.28);
  border-radius: 22px;
  background: rgba(214, 168, 79, 0.08);
  color: rgba(244, 255, 249, 0.86);
  padding: 18px;
  line-height: 1.65;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  border-top: 1px solid rgba(0, 230, 184, 0.16);
  background:
    radial-gradient(circle at 78% 0%, rgba(0, 230, 184, 0.12), transparent 28rem),
    radial-gradient(circle at 10% 32%, rgba(0, 183, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(5, 10, 15, 0.98), #020609);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 64px 0 42px;
  display: grid;
  gap: 26px;
}

.footer-cta {
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  border: 1px solid rgba(0, 230, 184, 0.2);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(0, 230, 184, 0.14), rgba(0, 183, 255, 0.05)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.footer-cta h2 {
  margin: 8px 0 10px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.footer-cta p {
  max-width: 780px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr) minmax(240px, 0.72fr);
  gap: 18px;
}

.footer-brand-card,
.footer-panel {
  min-height: 100%;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.footer-logo {
  width: 190px;
  margin-bottom: 18px;
  filter: invert(1);
}

.footer-brand-card p,
.footer-panel p,
.footer-panel a {
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-badges {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-badges span,
.footer-links a {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-badges span {
  padding: 8px 11px;
  color: var(--accent-main);
  font-size: 0.78rem;
  font-weight: 950;
}

.footer-panel h3 {
  margin-bottom: 16px;
  color: var(--text-main);
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 9px 12px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 230, 184, 0.3);
  color: var(--text-main);
}

.contact-links {
  display: grid;
}

.subfooter {
  position: relative;
  z-index: 1;
  padding: 18px max(22px, calc((100% - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.mobile-cta-bar {
  display: none;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal:not(.is-visible) {
  opacity: 1;
}

.dashboard-preview.reveal.is-visible,
.signal-board.reveal.is-visible {
  transform: translateY(var(--parallax-y, 0));
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1040px) {
  .nav {
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
    flex: 0 1 auto;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 92px;
    left: 50%;
    right: auto;
    width: min(520px, calc(100vw - 32px));
    transform: translateX(-50%);
    display: none;
    gap: 8px;
    padding: 18px;
    z-index: 120;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
      #071016;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.74), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
  }

  .nav-links a {
    min-height: 52px;
    padding: 0 20px;
    width: 100%;
    justify-content: flex-start;
    color: rgba(244, 255, 249, 0.9);
    font-size: 1.05rem;
  }

  .nav-links a.active,
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.11);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-actions .button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-inner,
  .grid.three,
  .grid.four,
  .grid.two,
  .content-feed,
  .split,
  .steps-line,
  .supervised-panel,
  .footer-inner,
  .footer-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta-actions {
    justify-content: flex-start;
  }

  .book-feature-layout {
    gap: 54px;
  }

  .book-feature-copy {
    max-width: 760px;
  }

  .book-feature-visual {
    width: min(100%, 720px);
    margin-inline: auto;
  }

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

  .audience-path::before {
    display: none;
  }

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

  .steps-line::before {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 0;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 26px;
  }

  .nav {
    min-height: 60px;
    padding: 0 10px 0 18px;
    justify-content: space-between;
  }

  .brand img {
    width: clamp(128px, 40vw, 172px);
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
    flex: 0 0 44px;
  }

  .nav-links {
    top: 82px;
    width: calc(100vw - 32px);
    padding: 16px;
    border-radius: 28px;
  }

  .market-ticker {
    top: 80px;
    width: calc(100% - 20px);
    height: 32px;
  }

  .ticker-item {
    font-size: 0.72rem;
    padding-left: 12px;
    gap: 6px;
  }

  .ticker-track {
    gap: 18px;
    animation-duration: 24s;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(5, 10, 15, 0.8), rgba(5, 10, 15, 0.46)),
      url("../images/hero-trading.png") center / cover no-repeat;
  }

  .hero-inner,
  .page-hero-inner {
    width: min(100% - 30px, 1180px);
    padding-top: 138px;
    padding-bottom: 26px;
  }

  .page-hero {
    min-height: auto;
  }

  .section-inner,
  .footer-inner {
    width: min(100% - 30px, 1180px);
  }

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

  .footer-cta,
  .footer-brand-card,
  .footer-panel {
    border-radius: 22px;
    padding: 20px;
  }

  .footer-cta h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .footer-cta-actions,
  .footer-links,
  .subfooter {
    display: grid;
  }

  .audience-path {
    grid-template-columns: 1fr;
  }

  .audience-path .path-card {
    min-height: 220px;
  }

  .steps-line {
    grid-template-columns: 1fr;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(3rem, 14.5vw, 4.6rem);
  }

  .rtl h1,
  .rtl .page-hero h1 {
    width: 100%;
    font-size: clamp(2.55rem, 10.2vw, 3.65rem);
    line-height: 1.08;
    max-width: 100%;
  }

  .rtl .hero-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.45rem);
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  section {
    padding: 74px 0;
  }

  .hero + section {
    padding-top: 38px;
  }

  .dashboard-preview {
    display: none;
  }

  .metrics-strip,
  .signal-grid,
  .terminal-grid,
  .compare-row,
  .timeline-item,
  .blog-card {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .compare-row {
    padding: 16px 0;
  }

  .compare-row div {
    padding: 7px 18px;
  }

  .compare-row.head {
    display: none;
  }

  .portrait-placeholder,
  .book-cover {
    min-height: 420px;
  }

  .book-feature {
    padding: 76px 0 84px;
  }

  .book-feature::after {
    top: 44%;
  }

  .book-feature-layout {
    gap: 36px;
  }

  .book-feature-copy > h2 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 11vw, 3.65rem);
  }

  .book-feature-overline {
    margin-bottom: 22px;
  }

  .book-feature-overline > span {
    display: none;
  }

  .book-feature-topics {
    margin: 28px 0;
    padding: 0;
    grid-template-columns: 1fr;
  }

  .book-feature-topics span {
    padding: 13px 0;
    grid-template-columns: 30px 1fr;
    align-items: center;
    border-inline-start: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .book-feature-topics span:last-child {
    border-bottom: 0;
  }

  .book-feature-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .book-feature-actions .button {
    width: 100%;
  }

  .book-feature-visual {
    order: -1;
    min-height: clamp(440px, 108vw, 500px);
  }

  .book-feature-stage {
    min-height: clamp(430px, 104vw, 480px);
  }

  .book-feature-cover {
    width: min(290px, 70%);
  }

  .book-feature-cover img {
    max-height: 430px;
  }

  .book-feature-pages {
    right: -14px;
    width: 19px;
  }

  .rtl .book-feature-pages {
    right: auto;
    left: -14px;
  }

  .book-feature-edition {
    bottom: 0;
  }

  .mobile-cta-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(5, 10, 15, 0.76);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
  }

  .mobile-cta-bar a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
  }

  .mobile-cta-bar a.active {
    color: #04100D;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-cyan));
  }
}

/* Keep VIP route overrides after the generic page and mobile rules. */
.page-hero.vip-hero {
  min-height: 62vh;
  background:
    linear-gradient(90deg, rgba(3, 9, 13, 0.96) 0%, rgba(3, 9, 13, 0.78) 50%, rgba(3, 9, 13, 0.42)),
    var(--hero-image, url("../images/hero-trading.png")) center 35% / cover no-repeat;
}

.rtl .page-hero.vip-hero {
  background:
    linear-gradient(270deg, rgba(3, 9, 13, 0.96) 0%, rgba(3, 9, 13, 0.78) 50%, rgba(3, 9, 13, 0.42)),
    var(--hero-image, url("../images/hero-trading.png")) center 35% / cover no-repeat;
}

.page-hero.vip-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 6.7vw, 6.4rem);
  line-height: 0.98;
}

.rtl .page-hero.vip-hero h1 {
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 1.14;
}

.notice.vip-notice {
  border-radius: 8px;
}

@media (max-width: 720px) {
  .page-hero.vip-hero,
  .rtl .page-hero.vip-hero {
    min-height: 560px;
  }

  .page-hero.vip-hero h1,
  .rtl .page-hero.vip-hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12vw, 4rem);
  }
}
