:root {
  --navy: #070c1c;
  --navy-2: #0d1530;
  --card: #121b39;
  --line: rgba(255, 255, 255, .10);
  --ink: #eef2ff;
  --muted: #a6b0cf;
  --gold: #f5c26b;
  --gold-2: #e0973a;
  --cyan: #4ad6c4;
  --danger: #ff6b6b;
  --grad: linear-gradient(100deg, #f5c26b, #e0973a 45%, #ff8a3d);
  --radius: 18px;
  --max: 750px;
  font-synthesis-weight: none;
}

* {
  box-sizing: border-box
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px;
  background: linear-gradient(180deg, #070c1c, #0a1128 40%, #070c1c);
}

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

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.icon-lg {
  width: 28px;
  height: 28px
}

/* announce */
.announce {
  background: linear-gradient(90deg, #12203f, #1b2b52, #12203f);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #dbe4ff
}

.announce .wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  text-align: center
}

.announce .icon {
  color: var(--gold)
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 12, 28, .82);
  border-bottom: 1px solid var(--line)
}

.nav .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 20px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0
}

.brand .mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #111a2e
}

.brand b {
  font-size: 16px;
  letter-spacing: .4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.brand span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .6px
}

.lang {
  position: relative
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px
}

.lang-btn:hover {
  border-color: var(--gold)
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 172px;
  background: #0f1730;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  display: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5)
}

.lang-menu.open {
  display: block;
  animation: pop .18s ease-out
}

.lang-menu button {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  text-align: start
}

.lang-menu button:hover {
  background: rgba(245, 194, 107, .14)
}

.lang-menu button[aria-current="true"] {
  color: var(--gold)
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-6px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* buttons */
/* buttons */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--grad);
  color: #111628;
  font-weight: 800;
  font-size: 18px;
  border: 0;
  cursor: pointer;
  padding: 19px 34px;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(245, 160, 60, .38);
  animation: breathe 2.4s ease-in-out infinite;
  transition: transform .2s, box-shadow .2s
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(245, 160, 60, .5)
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(245, 194, 107, .6);
  animation: halo 2.4s ease-out infinite
}

@keyframes breathe {

  0%,
  100% {
    box-shadow: 0 12px 30px rgba(245, 160, 60, .32);
    transform: scale(1)
  }

  50% {
    box-shadow: 0 22px 52px rgba(255, 138, 61, .55);
    transform: scale(1.03)
  }
}

@keyframes halo {
  0% {
    opacity: .7;
    transform: scale(1)
  }

  100% {
    opacity: 0;
    transform: scale(1.14)
  }
}

.cta-center-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 16px 0
}

.cta-sub-copy {
  margin-top: 10px;
  text-align: center
}

.btn-copy-link {
  background: transparent;
  border: 0;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  transition: color .2s, background .2s
}

.btn-copy-link:hover {
  color: var(--gold);
  text-decoration: underline;
  background: rgba(245, 194, 107, .08)
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0 40px
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(750px 420px at 15% 10%, rgba(245, 194, 107, .18), transparent),
    radial-gradient(750px 450px at 85% 30%, rgba(74, 214, 196, .14), transparent)
}

.hero .grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px
}

.hero-header-box {
  order: 1;
  width: 100%;
}

.hero-cta-box {
  order: 2;
  width: 100%;
}

.hero-media-box {
  order: 3;
  width: 100%;
}

.hero-body-box {
  order: 4;
  width: 100%;
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(255, 107, 107, .16), rgba(245, 194, 107, .16));
  border: 1px solid rgba(255, 138, 61, .55);
  color: #ffd9a8;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: 14px;
  animation: pulseBadge 2.2s ease-in-out infinite
}

.urgency-badge .icon {
  color: var(--danger);
  width: 15px;
  height: 15px
}

@keyframes pulseBadge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 138, 61, 0)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(255, 138, 61, .14)
  }
}

.hero-cta-box .stats {
  margin-top: 18px
}

.hero-cta-box .trust {
  justify-content: center;
  margin-top: 16px
}

.cta-sub-lead {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  max-width: 520px
}

.sub.tags {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--muted);
  margin-top: 4px
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  /*border: 1px solid rgba(245, 194, 107, .45);*/
  /*background: rgba(245, 194, 107, .12);*/
  color: var(--gold);
  /*padding: 9px 16px;*/
  /*border-radius: 999px;*/
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px
}

h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.2;
  margin: 18px 0 16px;
  letter-spacing: -.6px
}

h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.lead {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  margin: 16px 0 20px;
  font-weight: 500
}

.pains {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px
}

.pains li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #e1e7fa;
  font-size: 16px;
  line-height: 1.5
}

.pains .icon {
  color: var(--gold);
  margin-top: 4px;
  width: 20px;
  height: 20px
}

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 0;
  margin: 18px 0 0
}

.trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #c4cfef;
  font-weight: 500
}

.trust .icon {
  width: 18px;
  height: 18px;
  color: var(--cyan)
}

.shot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
  background: var(--card);
  max-width: 100%
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform .4s ease
}

.shot:hover img {
  transform: scale(1.015)
}

.shot figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 12px 16px;
  font-size: 13px;
  color: #f0f4ff;
  background: linear-gradient(transparent, rgba(5, 9, 20, .94));
  font-weight: 500
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center
}

.stat b {
  display: block;
  font-size: 22px;
  color: var(--gold);
  font-weight: 800
}

.stat span {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px
}

/* sections & centered headers */
section {
  padding: 54px 0
}

.alt {
  background: rgba(255, 255, 255, .028);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 32px
}

.eyebrow {
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
  display: inline-block
}

h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 0 0 14px;
  line-height: 1.28;
  letter-spacing: -.4px;
  text-align: center;
  color: var(--ink)
}

.sub {
  color: var(--muted);
  max-width: 750px;
  margin: 0 auto 28px;
  font-size: 16px;
  text-align: center;
  line-height: 1.6
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  transition: .25s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25)
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 194, 107, .45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4)
}

.card h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  font-weight: 700
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6
}

.chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(245, 194, 107, .14);
  color: var(--gold)
}

.chip.red {
  background: rgba(255, 107, 107, .15);
  color: var(--danger)
}

.chip.cyan {
  background: rgba(74, 214, 196, .15);
  color: var(--cyan)
}

.note {
  margin-top: 20px;
  background: linear-gradient(90deg, rgba(245, 194, 107, .14), transparent);
  border-inline-start: 4px solid var(--gold);
  padding: 18px 20px;
  border-radius: 0 14px 14px 0;
  color: #f0f4ff;
  font-size: 15.5px;
  line-height: 1.65
}

.section-feature-card {
  margin-top: 28px;
  display: grid;
  gap: 20px
}

.feature-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center
}

.num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  color: #111628;
  font-weight: 800;
  font-size: 17px;
  display: grid;
  place-items: center
}

.steps {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px
}

.step p {
  margin: 0;
  font-size: 15.5px;
  color: #e1e8ff;
  line-height: 1.55
}

.gifts {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 0
}

.gifts li {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  font-size: 15.5px;
  line-height: 1.5;
  font-weight: 500
}

.gifts .icon {
  color: var(--gold)
}

.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  font-size: 15px
}

th,
td {
  padding: 16px 18px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

thead th {
  background: rgba(255, 255, 255, .06);
  font-size: 13.5px;
  letter-spacing: .5px;
  font-weight: 700
}

td.bad {
  color: #f5b8b8
}

td.good {
  color: #d6f8ef;
  font-weight: 600
}

.quote {
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 18px;
  text-align: center
}

.reviews {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr
}

.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px
}

.stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  margin-bottom: 12px
}

.stars .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none
}

.review p {
  color: #e2e9ff;
  font-size: 16px;
  font-style: italic;
  line-height: 1.6
}

.review b {
  display: block;
  margin-top: 14px;
  font-size: 15px
}

.review span {
  font-size: 13.5px;
  color: var(--muted)
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  margin-bottom: 14px
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center
}

summary::-webkit-details-marker {
  display: none
}

summary .icon {
  color: var(--gold);
  transition: .25s
}

details[open] summary .icon {
  transform: rotate(45deg)
}

details p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65
}

.final {
  text-align: center;
  background: radial-gradient(800px 360px at 50% 0, rgba(245, 194, 107, .2), transparent)
}

.final .sub {
  margin-inline: auto
}

.disclosure {
  margin-top: 42px;
  font-size: 13.5px;
  color: #8e99bd;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: 940px;
  margin-inline: auto;
  line-height: 1.6
}

/* Footer & Policy Modal */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-bottom: 16px;
  font-size: 13.5px;
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font-size: 13.5px;
  text-decoration: underline;
  padding: 0;
  transition: color .2s;
}

.footer-link-btn:hover {
  color: #fff;
}

.footer-copy {
  color: #8591b6;
  font-size: 13px;
}

.policy-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 8, 20, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}

.policy-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.policy-modal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  color: var(--ink);
}

.policy-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}

.policy-modal-header h3 {
  margin: 0;
  font-size: 18px;
  color: var(--gold);
}

.policy-close-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

.policy-close-btn:hover {
  color: #fff;
}

.policy-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 14.5px;
  line-height: 1.65;
  color: #d0d8f0;
}

.policy-modal-body h4 {
  color: var(--gold);
  margin: 16px 0 8px;
  font-size: 16px;
}

.policy-modal-body p {
  margin: 0 0 12px;
}

.policy-modal-body ul {
  margin: 0 0 12px;
  padding-inline-start: 20px;
}

.mobilebar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 16px max(14px, calc(33px + env(safe-area-inset-bottom)));
  background: rgba(7, 12, 28, .96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  display: none
}

.mobilebar .cta {
  width: 100%;
  font-size: 16px;
  padding: 15px 20px
}

.mobilebar .cta-sub-copy {
  margin-top: 8px;
  text-align: center;
  display: flex;
  justify-content: center
}

.mobilebar .btn-copy-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(245, 194, 107, .12);
  border: 1px solid rgba(245, 194, 107, .35);
  padding: 5px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  transition: all .2s ease
}

.mobilebar .btn-copy-link:hover,
.mobilebar .btn-copy-link:active {
  background: rgba(245, 194, 107, .25);
  color: #fff;
  border-color: var(--gold)
}

@media (max-width:900px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .wrap {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cards,
  .gifts,
  .steps,
  .reviews {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero .grid {
    grid-template-columns: 1fr;
    gap: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .hero-header-box {
    order: 1;
    width: 100%;
  }

  .hero-cta-box {
    order: 2;
    width: 100%;
  }

  .hero-media-box {
    order: 3;
    width: 100%;
  }

  .hero-body-box {
    order: 4;
    width: 100%;
  }

  .feature-split-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  .shot {
    border-radius: 12px;
    max-width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    margin: 0;
  }

  .shot img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  .tablewrap {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .toast-msg {
    max-width: 88vw;
    box-sizing: border-box;
    bottom: 140px;
  }

  .hero {
    padding: 36px 0 30px;
  }

  section {
    padding: 46px 0;
  }

  .mobilebar {
    display: block;
  }

  .desktop-cta {
    display: none;
  }

  body {
    padding-bottom: 160px;
  }
}

[dir="rtl"] .stat,
[dir="rtl"] .card,
[dir="rtl"] .step {
  text-align: right
}

/* FB In-App Browser guide overlay & copy toast */
.fb-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 8, 20, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 16px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}

.fb-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.fb-arrow-pointer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  animation: bounceArrow 1.2s infinite ease-in-out;
}

@keyframes bounceArrow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.fb-modal-card {
  background: var(--card);
  border: 1px solid var(--gold-2);
  border-radius: 20px;
  padding: 24px;
  max-width: 360px;
  width: 100%;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  text-align: start;
  margin-top: 10px;
  align-self: center;
}

.fb-modal-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-modal-card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.fb-modal-card .btn-copy {
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(245, 194, 107, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  transition: background .2s;
}

.fb-modal-card .btn-copy:hover {
  background: rgba(245, 194, 107, 0.3);
}

.fb-modal-card .btn-close {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: underline;
}

/* Toast notification */
.toast-msg {
  position: fixed;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #12203f;
  border: 1px solid var(--cyan);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
}

.toast-msg.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* K-line chart background animation for Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-content-wrapper {
  position: relative;
  z-index: 1;
}

.kline-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  overflow: hidden;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
  /* blend with the hero gradient background */
  mix-blend-mode: screen;
}

.kline-bg::before {
  /* top fade mask */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 30%;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(13, 22, 48, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.kline-bg::after {
  /* bottom hard fade mask to cut off lower half */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(0deg, var(--bg) 85%, rgba(13, 22, 48, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.kline-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Animate the track from right to left */
.kline-track {
  animation: klineScroll 30s linear infinite;
}

@keyframes klineScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1600px);
  }
}

/* Far trend curve: slow reverse flow */
.kline-trend-far {
  stroke-dasharray: 300 120;
  animation: klineFarFlow 18s linear infinite;
}

@keyframes klineFarFlow {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 420;
  }
}

/* Front MA line: fast forward glow flow */
.kline-ma-glow {
  animation: klineMaFlow 4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255, 217, 138, 0.6));
}

@keyframes klineMaFlow {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -240;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .kline-track,
  .kline-trend-far,
  .kline-ma-glow {
    animation: none;
  }
}

/* On smaller screens, slow down the animation */
@media (max-width: 768px) {
  .kline-bg {
    opacity: 0.75;
  }
  .kline-track {
    animation-duration: 55s;
  }
  .kline-trend-far {
    animation-duration: 30s;
  }
  .kline-ma-glow {
    animation-duration: 6s;
  }
}

/* ===== NEW DESIGN: Book / Hero / Curriculum ===== */

/* Nav links */
.nav-links { display:none; gap:24px; align-items:center; }
.nav-links a { color:var(--muted); font-size:14px; text-decoration:none; transition:color .15s; }
.nav-links a:hover { color:var(--gold); }
@media(min-width: 768px){ .nav-links { display:flex; } }

/* Hero grid layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}
@media(min-width: 900px){
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
}
.hero-left h1 { margin-bottom: 16px; }
.hero-left .lead { font-size: 17px; margin-bottom: 24px; }
.hero-right { display:flex; justify-content:center; align-items:center; min-height:320px; }

/* Brand lockup (shield + text) */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(245,194,107,0.25);
}
.brand-shield svg { width: 42px; height: 46px; display: block; }
.brand-text strong {
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 800;
}
.brand-text em {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  color: #8e99bd;
  font-style: normal;
  margin-top: 3px;
}

/* Hero ticks list */
.hero-ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.hero-ticks .icon { color: #6fd08a; flex-shrink: 0; }

/* Hero note below CTA */
.hero-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: #8e99bd;
  line-height: 1.5;
}

/* Book stack in hero */
.book-stack { position: relative; width: 220px; height: 280px; }
.book-stack .book {
  position: absolute;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  overflow: hidden;
}
.book-stack .book img { width:100%; height:100%; object-fit:cover; display:block; }
.book-stack .book-back  { width:160px; height:230px; left:10px;  top:10px;  transform:rotate(-6deg); opacity:0.6; }
.book-stack .book-mid   { width:180px; height:250px; left:30px;  top:5px;   transform:rotate(3deg);  opacity:0.8; }
.book-stack .book-front { width:200px; height:270px; left:50px;  top:0;     transform:rotate(-1deg); }
.book-cover {
  width:100%; height:100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 2px solid var(--gold);
  border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px 16px; text-align: center;
}
.book-title-small {
  font-size: 13px; font-weight: 800; color: var(--gold);
  letter-spacing: 2px; line-height: 1.4;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  padding: 10px 0; margin-bottom: 14px;
}
.book-author { font-size: 11px; color: #c0c8e0; letter-spacing: 1px; }

/* CTA note */
.cta-note { text-align:center; font-size: 12px; color: var(--muted); margin-top: 10px; }

/* Copy link hint below CTA */
.cta-copy-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(245,194,107,0.4);
  text-underline-offset: 3px;
  transition: opacity .15s;
  cursor: pointer;
}
.cta-copy-hint:hover { opacity: 0.8; }
.cta-copy-hint::before {
  content: "🔗";
  text-decoration: none;
}

/* Gain grid (What You'll Gain) */
.gain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media(min-width: 600px){ .gain-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 900px){ .gain-grid { grid-template-columns: repeat(3, 1fr); } }
.gain-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 20px;
  transition: border-color .2s, transform .2s;
}
.gain-item:hover { border-color: rgba(245,194,107,0.35); transform: translateY(-2px); }
.gain-icon {
  display: inline-flex; align-items:center; justify-content:center;
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(245,194,107,0.12); color: var(--gold);
  margin-bottom: 14px;
}
.gain-item h3 { font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.gain-item p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* Tick list */
.tick-list { list-style: none; padding: 0; margin: 16px 0; }
.tick-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; font-size: 15px;
}
.tick-list .icon { flex-shrink: 0; color: var(--gold); width: 20px; height: 20px; margin-top: 2px; }

/* Book features list */
.book-features { display: grid; gap: 14px; margin: 20px 0; }
.book-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
}
.book-feature .icon { color: var(--gold); flex-shrink: 0; }
.book-feature b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.book-feature span { font-size: 13px; color: var(--muted); }

/* Book showcase */
.book-showcase {
  display: flex; align-items: center; justify-content: center;
  min-height: 280px;
}
.book-cover-lg {
  width: 200px; height: 270px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 2px solid var(--gold);
  border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 20px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(245,194,107,0.15);
}

/* Curriculum */
.curriculum {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media(min-width: 600px){ .curriculum { grid-template-columns: repeat(2, 1fr); } }
.curriculum-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  position: relative;
  transition: border-color .2s;
}
.curriculum-item:hover { border-color: rgba(245,194,107,0.35); }
.cur-num {
  position: absolute; top: 16px; right: 20px;
  font-size: 28px; font-weight: 800;
  color: rgba(245,194,107,0.25);
}
.curriculum-item h3 { font-size: 16px; margin-bottom: 8px; color: var(--gold); }
.curriculum-item p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* Environment grid */
.env-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media(min-width: 600px){ .env-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 900px){ .env-grid { grid-template-columns: repeat(4, 1fr); } }
.env-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.env-card:hover { border-color: rgba(245,194,107,0.35); transform: translateY(-2px); }
.env-card .icon { color: var(--gold); margin-bottom: 12px; }
.env-card h3 { font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.env-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

/* Book split reversed on desktop */
.book-split { direction: ltr; }
@media(min-width: 900px){
  .book-split .book-feat { order: 2; }
  .book-split .feature-text { order: 1; }
}

/* ===== Section banner images ===== */
.section-banner {
  margin: 20px 0 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.section-banner img {
  width: 100%;
  display: block;
  max-height: 280px;
  object-fit: cover;
}

/* ===== FAQ split layout ===== */
.faq-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media(min-width: 900px){
  .faq-split { grid-template-columns: 1.3fr .7fr; gap: 48px; }
}
.faq-content { min-width: 0; }
.faq-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  margin: 0;
  position: sticky;
  top: 20px;
}
.faq-img img {
  width: 100%;
  display: block;
  max-height: 400px;
  object-fit: cover;
}
@media(max-width: 899px){
  .faq-img { display: none; }
}