/* ولاء v2 — أسلوب هادئ مستوحى من Mercury، بهوية Midnight Emerald. يُحمَّل بعد site.css ويغطي عليه. */
/* الألوان من theme.css */
body.site h1,
body.site h2,
body.site h3 {
  font-family: var(--fd);
  font-weight: 300;
  letter-spacing: -0.02em;
}
body.site h3 {
  font-weight: 400;
}
.site ::selection {
  background: var(--em3);
}

/* ---- الأزرار ---- */
.site .btn {
  border-radius: 999px;
}
.site .btn:not(.ghost):not(.line):not(.soft):not(.v2ghost) {
  background: var(--ink);
  color: #fff;
}
.site .btn:not(.ghost):not(.line):not(.soft):not(.v2ghost):hover {
  background: #0e3b2e;
}
.site .shim::before,
.site .shim::after {
  display: none;
}

/* ---- الشريط العلوي: زجاج غامق فوق الصورة ---- */
.fnav .in2 {
  background: rgba(7, 29, 22, 0.45);
  box-shadow:
    0 0 0 1px rgba(214, 247, 232, 0.12),
    0 10px 30px -14px rgba(0, 0, 0, 0.5);
}
.fnav .brand {
  color: #effaf5;
}
.fnav .mark {
  background: #effaf5;
  color: var(--pri2);
}
.fnav .links a {
  color: #a9cdbd;
}
.fnav .links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.fnav .btn.ghost {
  color: #effaf5;
}
.site .fnav .btn.sm:not(.ghost) {
  background: var(--em5);
  color: #071d16;
}

/* ---- الواجهة ---- */
.hero3.v2hero {
  position: relative;
  overflow: hidden;
  min-height: min(100svh, 900px);
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-end;
  background: #071d16;
  color: #effaf5;
}
.v2hero::before,
.v2hero::after {
  display: none !important;
}
.v2bg {
  transform-origin: 100% 50%;
  will-change: transform;
}
.v2lever {
  will-change: transform;
}
.v2bg,
.v2bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.v2bg img {
  object-fit: cover;
  object-position: center;
}
.v2shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 18, 13, 0.5) 0%,
    rgba(4, 18, 13, 0.1) 30%,
    rgba(4, 18, 13, 0) 50%,
    rgba(4, 18, 13, 0.85) 100%
  );
}
.v2in {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-block: 0 72px !important;
}
.hero3.v2hero h1 {
  margin: 0;
  color: #effaf5;
  font-family: var(--fd);
  font-weight: 300;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(4, 18, 13, 0.4);
  max-width: none;
}
.v2hero h1 .w {
  display: inline-block;
}
.v2hero h1 .v2l1 {
  display: block;
}
.v2hero h1 .v2gold {
  color: var(--em4);
  text-shadow: 0 0 40px rgba(94, 190, 151, 0.3);
  transition:
    color 1.4s ease,
    text-shadow 1.4s ease;
}
.v2hero h1 .v2gold.lit {
  color: #e8b465;
  text-shadow: 0 0 40px rgba(232, 180, 101, 0.35);
}
/* العنوان فوق يمين، والوصف والأزرار تحت يسار */
.hero3.v2hero {
  align-items: stretch;
}
.v2in {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  min-height: inherit;
}
.v2in h1 {
  align-self: start;
  padding-top: clamp(110px, 20vh, 200px);
}
.v2in .v2side {
  align-self: end;
  justify-self: end;
}
.v2side {
  max-width: 420px;
}
.hero3.v2hero .sub {
  margin: 0 0 22px;
  max-width: none;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 300;
  color: #d6f7e8;
}
.hero3.v2hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.site .fnav .in2 .btn.sm:not(.ghost) {
  background: var(--em5) !important;
  color: #071d16 !important;
}
.site .btn.v2cta {
  background: var(--em5) !important;
  color: #071d16 !important;
  font-weight: 500;
  padding: 13px 24px;
}
.site .btn.v2cta:hover {
  background: #ffffff !important;
}
.site .btn.v2ghost {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #effaf5 !important;
  border: 1px solid rgba(214, 247, 232, 0.22);
  padding: 13px 22px;
  backdrop-filter: blur(8px);
}
.site .btn.v2ghost:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}
.v2note {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: #8fb5a5;
}
@media (max-width: 700px) {
  .v2bg,
  .v2bg img {
    height: 72%;
  }
  .v2bg img {
    object-position: 18% center;
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent);
    mask-image: linear-gradient(180deg, #000 80%, transparent);
  }
  .v2in {
    padding-block: 0 40px !important;
    gap: 20px;
  }
  .v2in {
    grid-template-rows: 1fr auto auto;
  }
  .v2in h1 {
    align-self: end;
    padding-top: 0;
  }
  .v2in .v2side {
    justify-self: stretch;
  }
  .hero3.v2hero .ctas .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ---- باقي الصفحة: هدوء ومساحات ---- */
.site .sec3 h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.3;
}
.site .card {
  border-color: var(--line);
  box-shadow: none;
}
.foot3 {
  border-top: 1px solid var(--line);
}

/* الواجهة تثبت لحد ما المقبض ينزل والباب ينفتح، وبعدين المحتوى يطلع فوقها */
.hero3.v2hero {
  position: sticky;
  top: 0;
  z-index: 0;
}
.v2spacer {
  height: 40vh;
}
.v2spacer ~ section,
.v2spacer ~ footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

/* لمعة تمر على المقبض */
.v2shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask: url(hero/lever.webp) center / cover no-repeat;
  mask: url(hero/lever.webp) center / cover no-repeat;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 236, 190, 0.6) 50%, transparent 70%) no-repeat;
  background-size: 30% 100%;
  background-position: -30% 0;
  mix-blend-mode: screen;
  animation: v2sweep 5s ease-in-out 3s infinite;
  will-change: transform, background-position;
}
@keyframes v2sweep {
  0% { background-position: -30% 0; }
  40%, 100% { background-position: 110% 0; }
}
/* «عادة.» أكبر، بنفس خط العنوان، وضوء ثابت حولها */
.v2hero h1 .v2gold {
  font-family: var(--fd);
  font-weight: 300;
  font-size: 1.4em;
  line-height: 1.1;
  position: relative;
  right: 1.6em;
  top: 0.6em;
}
.v2hero h1 .v2gold.shine {
  text-shadow: 0 0 22px rgba(255, 210, 140, 0.5), 0 0 60px rgba(232, 180, 101, 0.35), 0 0 110px rgba(232, 180, 101, 0.2);
}
@media (max-width: 700px) {
  .v2shine {
    height: 72%;
    -webkit-mask-position: 18% center;
    mask-position: 18% center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v2shine, .v2hero h1 .v2gold.shine { animation: none; }
}
@media (max-width: 700px) {
  .v2hero h1 .v2gold {
    right: 0;
    top: 0;
  }
}

/* ================= الصفحة تحت الواجهة: هادئة ومرتبة ================= */
.site .sec3 {
  padding-block: clamp(80px, 10vw, 140px) 0;
}
.v2h {
  max-width: 640px;
  margin: 0 0 clamp(40px, 6vw, 72px);
  text-align: start;
}
.v2eye {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--em3);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--em4);
}
.v2h h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 48px) !important;
  line-height: 1.25;
  font-weight: 300;
  color: var(--em0);
}
.v2h p {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--mut);
}

/* المزايا: ثلاث صفوف هادئة بدل المربعات الكثيرة */
.frow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.frow:nth-of-type(odd) .fvis {
  order: -1;
}
.ftxt h3 {
  margin: 10px 0 14px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  color: var(--em0);
}
.ftxt p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--mut);
  max-width: 460px;
}
.fnum {
  font-family: var(--fd);
  font-size: 14px;
  color: var(--em3);
}
.fvis {
  min-height: 320px;
  border-radius: 24px;
  background: var(--em1);
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
}
.fvis2 {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.fvis .alist3 {
  width: 100%;
}
.fvis .bars {
  width: 100%;
  height: 220px;
}
.fvis .bars i {
  background: var(--em4) !important;
}
.fvis .bars i.lo {
  background: rgba(214, 247, 232, 0.25) !important;
}
.legend i {
  background: var(--em3) !important;
}
.legend i.lo {
  background: var(--line) !important;
}
.v2feat .seg3 button svg {
  display: none;
}
.v2feat .urlp {
  display: inline-block;
}
@media (max-width: 820px) {
  .frow {
    grid-template-columns: minmax(0, 1fr);
  }
  .frow .fvis {
    order: 0 !important;
  }
  .fvis {
    min-height: 260px;
  }
  .fvis2 {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }
}

/* الخطوات: أرقام بسيطة */
.st3 .n {
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 300;
  background: var(--surface) !important;
  color: var(--em2) !important;
  border: 1px solid var(--em4) !important;
  box-shadow: none !important;
}
.steps3 .fill {
  background: var(--em4) !important;
}

/* الباقات: هدوء أكثر */
.plans3 .pl {
  box-shadow: none !important;
  border: 1px solid var(--line) !important;
  border-radius: 22px !important;
}
.plans3 .pl.hot {
  background: var(--em1) !important;
  border-color: var(--em1) !important;
}
.plans3 .pl.hot .tag {
  background: var(--em4) !important;
  color: var(--em0) !important;
}
.plans3 .pl .pr3 {
  font-family: var(--fd);
  font-weight: 300;
}

/* الدعوة الأخيرة: بسيطة بدون توهّج */
.cta3 {
  background: var(--em0) !important;
  border-radius: 28px !important;
  padding: clamp(56px, 8vw, 110px) 24px !important;
}
.cta3::before,
.cta3::after,
.cta3 .dots {
  display: none !important;
}
.cta3 h2 {
  font-weight: 300 !important;
  font-size: clamp(30px, 4.4vw, 56px) !important;
  color: #fff !important;
  line-height: 1.3;
}
.cta3 h2 span {
  color: #e8b465;
}
.cta3 p {
  color: #a9cdbd !important;
}
.v2last {
  padding-bottom: clamp(80px, 10vw, 140px) !important;
}
.fnum {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--em4);
}
.plans3 .pl.hot .btn {
  background: var(--em5) !important;
  color: var(--em0) !important;
}

/* دائرة بخط اليد حمراء تنرسم حول «عادة.» بعد ما تصير عسلية */
.v2hero h1 .v2gold .v2ring {
  position: absolute;
  top: -16%;
  right: -16%;
  width: 132%;
  height: 135%;
  overflow: visible;
  pointer-events: none;
}
.v2ring path {
  fill: none;
  stroke: #e0473a;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(224, 71, 58, 0.35));
}
.v2gold.shine .v2ring path {
  animation: v2draw 1.1s cubic-bezier(0.6, 0.05, 0.3, 1) forwards;
}
@keyframes v2draw {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v2ring path {
    stroke-dashoffset: 0;
    animation: none !important;
  }
}
