/* ============================================================
   ستوك — v3-promo.css v1 — الصفحة الترويجية لنتائج مسارات الحرارية v3
   المهمة 55 بطلب المالك: صفحة تسويقية داكنة بهوية الموقع نفسها —
   كل تاريخ وقسمه: الإشارتان الظاهرتان بطاقتين كاملتين والباقي
   هيكل عظمي ضبابي بعلامة قفل بلا أي بيانات (المقفل عدداً من الخادم
   ولا يغادره أبداً) — موبايل 390 بلا فيض — بلا أي إيموجي
   ============================================================ */

/* ---------- البطل ---------- */
.v3p-hero { padding: 26px 0 8px; text-align: center; }
.v3p-title {
  margin: 14px 0 10px;
  font-size: clamp(30px, 5.2vw, 52px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.5px;
}
.v3p-grad { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v3p-sub {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink2);
  font-size: 16.5px;
  line-height: 1.85;
}
.v3p-gen { margin: 14px 0 0; color: var(--dim); font-size: 13px; }
.v3p-gen span { color: var(--acc2); }
.v3p-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.v3p-cta-main {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--acc), var(--acc-deep));
  color: #fff;
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  box-shadow: var(--glow-acc);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.v3p-cta-main:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(10, 132, 255, 0.4); }
.v3p-cta-ghost {
  display: inline-flex; align-items: center;
  padding: 13px 20px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: var(--panel);
  transition: border-color 0.16s ease, background 0.16s ease;
}
.v3p-cta-ghost:hover { border-color: var(--acc2); background: var(--panel2); }

/* ---------- الأجماليات ---------- */
.v3p-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 26px 0 30px;
}
.v3p-kpi {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 18px 10px 14px;
  border-radius: var(--rad-sm);
  background: var(--panel);
  border: 1px solid var(--line);
}
.v3p-kpi-v { font-size: clamp(20px, 3vw, 30px); font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.v3p-kpi-l { font-size: 12.5px; color: var(--ink2); text-align: center; line-height: 1.5; }
.v3p-kpi-up .v3p-kpi-v { color: var(--up); }

/* ---------- قسم التاريخ ---------- */
.v3p-day {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 18px 20px 20px;
  margin: 0 0 18px;
}
.v3p-day-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 16px;
}
.v3p-day-date { display: flex; align-items: baseline; gap: 10px; }
.v3p-day-wd { font-size: 13px; color: var(--acc2); font-weight: 700; }
.v3p-day-d { font-size: 20px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.v3p-day-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.v3p-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--ink2);
  background: var(--panel2);
}
.v3p-chip-open { color: var(--acc2); border-color: rgba(100, 210, 255, 0.35); }
.v3p-chip-lock { color: var(--warn); border-color: rgba(255, 159, 10, 0.4); }

/* ---------- شبكة الإشارات ---------- */
.v3p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.v3p-card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px;
  border-radius: var(--rad-sm);
  background: rgba(245, 245, 247, 0.04);
  border: 1px solid var(--line);
  transition: border-color 0.16s ease;
}
.v3p-card:hover { border-color: var(--line2); }
.v3p-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.v3p-band {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}
.v3p-band-hi { color: #30d158; background: rgba(48, 209, 88, 0.14); border: 1px solid rgba(48, 209, 88, 0.4); }
.v3p-band-mid2 { color: #64d2ff; background: rgba(100, 210, 255, 0.12); border: 1px solid rgba(100, 210, 255, 0.35); }
.v3p-band-mid { color: #bf5af2; background: rgba(191, 90, 242, 0.13); border: 1px solid rgba(191, 90, 242, 0.35); }
.v3p-band-lo { color: #8e8e93; background: rgba(142, 142, 147, 0.12); border: 1px solid rgba(142, 142, 147, 0.3); }
.v3p-rank { font-size: 12px; color: var(--dim); font-weight: 700; }
.v3p-name { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.v3p-sym { font-size: 12.5px; color: var(--acc2); font-weight: 700; letter-spacing: 0.4px; direction: ltr; display: inline-block; }
.v3p-price { font-size: 13.5px; color: var(--ink2); }
.v3p-price b { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 15px; }
.v3p-out { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.v3p-out-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--line);
  color: var(--ink2);
  background: var(--panel2);
}
.v3p-up { color: var(--up); border-color: rgba(48, 209, 88, 0.4); background: rgba(48, 209, 88, 0.1); }
.v3p-dn { color: var(--dn); border-color: rgba(255, 69, 58, 0.4); background: rgba(255, 69, 58, 0.1); }
.v3p-warn { color: var(--warn); border-color: rgba(255, 159, 10, 0.4); background: rgba(255, 159, 10, 0.1); }
.v3p-pend { color: var(--acc2); border-color: rgba(100, 210, 255, 0.35); background: rgba(100, 210, 255, 0.08); }

/* ---------- المقفل: هيكل ضبابي بعلامة قفل — بلا أي بيانات ---------- */
.v3p-locked { position: relative; overflow: hidden; min-height: 118px; }
.v3p-lockcard {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px;
  border-radius: var(--rad-sm);
  background: rgba(245, 245, 247, 0.04);
  border: 1px solid var(--line);
}
.v3p-lockcard .v3p-fake { display: flex; flex-direction: column; gap: 9px; filter: blur(6px); user-select: none; pointer-events: none; }
.v3p-fake-bar { height: 13px; border-radius: 6px; background: rgba(245, 245, 247, 0.16); }
.v3p-fake-bar.w-40 { width: 40%; }
.v3p-fake-bar.w-55 { width: 55%; }
.v3p-fake-bar.w-75 { width: 75%; }
.v3p-fake-bar.w-90 { width: 90%; }
.v3p-lockveil {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(0, 0, 0, 0.28);
  border-radius: var(--rad-sm);
}
.v3p-locktag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border-radius: 11px;
  background: rgba(5, 5, 7, 0.82);
  border: 1px solid rgba(255, 159, 10, 0.5);
  color: var(--warn);
  font-size: 12.5px;
  font-weight: 800;
}
.v3p-lockbar {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 13px 16px;
  border-radius: var(--rad-sm);
  border: 1px dashed rgba(255, 159, 10, 0.45);
  background: rgba(255, 159, 10, 0.06);
}
.v3p-lockbar-txt { display: flex; align-items: center; gap: 9px; color: var(--warn); font-size: 13.5px; font-weight: 700; }
.v3p-lockbar a {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--acc), var(--acc-deep));
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.16s ease;
}
.v3p-lockbar a:hover { transform: translateY(-1px); }

/* ---------- كيف تقرأ ---------- */
.v3p-how { margin: 34px 0 8px; }
.v3p-how h2, .v3p-ctaband h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.v3p-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.v3p-how-item {
  padding: 16px;
  border-radius: var(--rad-sm);
  background: var(--panel);
  border: 1px solid var(--line);
}
.v3p-how-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(10, 132, 255, 0.16);
  border: 1px solid rgba(10, 132, 255, 0.45);
  color: var(--acc2);
  font-weight: 800;
  font-size: 13.5px;
  margin-bottom: 8px;
}
.v3p-how-item h3 { font-size: 15px; margin: 0 0 6px; color: var(--ink); }
.v3p-how-item p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink2); }
.v3p-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--rad-sm);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--dim);
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- شريط الدعوة ---------- */
.v3p-ctaband {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 26px 0 18px;
  padding: 22px;
  border-radius: var(--rad);
  border: 1px solid rgba(10, 132, 255, 0.35);
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.12), rgba(191, 90, 242, 0.08));
}
.v3p-ctaband-txt { max-width: 560px; }
.v3p-ctaband-txt p { margin: 0; color: var(--ink2); font-size: 14.5px; line-height: 1.8; }

/* ---------- الحالات ---------- */
.v3p-loading-txt { text-align: center; color: var(--dim); font-size: 13px; margin: 14px 0 0; }
.v3p-error { text-align: center; padding: 30px 0; color: var(--ink2); font-size: 14.5px; }
.v3p-error a { color: var(--acc2); }
.v3p-skel-bar { display: block; height: 14px; border-radius: 7px; background: rgba(245, 245, 247, 0.13); animation: v3pPulse 1.4s ease-in-out infinite; }
.v3p-skel-bar.w-20 { width: 20%; }
.v3p-skel-bar.w-40 { width: 40%; }
.v3p-skel-bar.w-60 { width: 60%; }
.v3p-skel-bar.w-75 { width: 75%; }
.v3p-skel .v3p-skel-bar { animation-delay: 0.2s; }
@keyframes v3pPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .v3p-skel-bar { animation: none; }
  .v3p-cta-main, .v3p-cta-ghost, .v3p-lockbar a { transition: none; }
}

/* ---------- الموبايل 390 بلا فيض ---------- */
@media (max-width: 760px) {
  .v3p-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .v3p-stats .v3p-kpi:last-child { grid-column: 1 / -1; }
  .v3p-grid { grid-template-columns: 1fr; }
  .v3p-how-grid { grid-template-columns: 1fr; }
  .v3p-day { padding: 14px 12px 16px; }
  .v3p-ctaband { padding: 16px; }
  .v3p-day-d { font-size: 17px; }
}
