/* ═══════════ LIQVA Journal — لندینگ (قبل از ثبت‌نام) ═══════════
   مستقل از styles.css اپ؛ همهٔ کلاس‌ها با پیشوند lp-. بدون هیچ Asset خارجی. */

.lp {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg, #f2f6fc);
  color: var(--text, #0f1b30);
  font: inherit;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
.lp[hidden] { display: none; }
.lp * { box-sizing: border-box; }

/* ── نوار بالا ── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 5vw, 56px);
  background: linear-gradient(180deg, rgba(11, 21, 38, 0.98), rgba(13, 25, 45, 0.96));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef4ff;
}
.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: #fff;
}
.lp-logo svg { width: 26px; height: 26px; color: var(--accent-2, #60a5fa); }
.lp-logo b { color: var(--accent-2, #60a5fa); font-weight: 800; }
.lp-links {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
  align-items: center;
}
.lp-links a {
  color: #c6d4ee;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.lp-links a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lp-nav .lp-btn { margin-inline-start: 8px; }

/* ── دکمه‌ها ── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.lp-btn:active { transform: translateY(1px) scale(0.99); }
.lp-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.38);
}
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37, 99, 235, 0.46); }
.lp-btn-ghost {
  color: #dce7fb;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.lp-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.lp-btn-light {
  color: #14264a;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 27, 48, 0.14);
}
.lp-btn-light:hover { transform: translateY(-2px); }
.lp-btn-lg { padding: 15px 30px; font-size: 16.5px; border-radius: 16px; }

/* ── هیرو ── */
.lp-hero {
  position: relative;
  overflow: hidden;
  color: #eef4ff;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(79, 70, 229, 0.5), transparent 60%),
    radial-gradient(900px 480px at 0% 110%, rgba(37, 99, 235, 0.42), transparent 55%),
    linear-gradient(180deg, #0b1526 0%, #0e1c33 55%, #101f3a 100%);
  padding: clamp(56px, 9vw, 110px) clamp(16px, 5vw, 56px) clamp(72px, 10vw, 130px);
}
.lp-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #bcd2ff;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.lp-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: lpPulse 2s infinite;
}
@keyframes lpPulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.lp-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.35;
  font-weight: 800;
  color: #fff;
}
.lp-hero h1 .grad {
  background: linear-gradient(120deg, #60a5fa, #a78bfa 55%, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-slogan {
  direction: ltr;
  text-align: right;
  color: #8fb2e8;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 14px;
  margin: 0 0 14px;
}
.lp-sub {
  margin: 0 0 26px;
  color: #b9c9e6;
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 2;
  max-width: 560px;
}
.lp-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #c6d4ee;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 13px;
  border-radius: 999px;
}
.lp-chip svg { width: 15px; height: 15px; color: #34d399; }

/* کارت شیشه‌ای داشبورد در هیرو */
.lp-shot {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(2, 8, 20, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  transform: rotate(-1.2deg);
  animation: lpFloat 7s ease-in-out infinite;
}
@keyframes lpFloat {
  0%, 100% { transform: rotate(-1.2deg) translateY(0); }
  50% { transform: rotate(-1.2deg) translateY(-12px); }
}
.lp-shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #cfe0ff;
  font-size: 13px;
  margin-bottom: 12px;
}
.lp-shot-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.lp-kpi {
  background: rgba(10, 20, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 10px 12px;
}
.lp-kpi .k { font-size: 11.5px; color: #8aa6d6; margin-bottom: 4px; }
.lp-kpi .v { font-size: 17px; font-weight: 800; color: #fff; direction: ltr; text-align: right; }
.lp-kpi .v.up { color: #34d399; }
.lp-kpi .v.down { color: #f87171; }
.lp-chart-wrap { border-radius: 14px; overflow: hidden; background: rgba(8, 16, 31, 0.6); border: 1px solid rgba(255, 255, 255, 0.07); }
.lp-chart-wrap svg { display: block; width: 100%; height: auto; }
.lp-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: lpDraw 2.6s ease forwards 0.4s;
}
@keyframes lpDraw { to { stroke-dashoffset: 0; } }
.lp-candle { opacity: 0; animation: lpPop 0.5s ease forwards; }
.lp-candle:nth-child(1) { animation-delay: 0.5s; }
.lp-candle:nth-child(2) { animation-delay: 0.65s; }
.lp-candle:nth-child(3) { animation-delay: 0.8s; }
.lp-candle:nth-child(4) { animation-delay: 0.95s; }
.lp-candle:nth-child(5) { animation-delay: 1.1s; }
.lp-candle:nth-child(6) { animation-delay: 1.25s; }
.lp-candle:nth-child(7) { animation-delay: 1.4s; }
.lp-candle:nth-child(8) { animation-delay: 1.55s; }
@keyframes lpPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── بخش‌های روشن ── */
.lp-section { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 5vw, 56px) 0; }
.lp-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-strong, #1d4ed8);
  background: var(--accent-soft, #e9f0fe);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 12px;
}
.lp-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.45;
}
.lp-lead { margin: 0 0 34px; color: var(--muted, #4f5f7a); font-size: 16px; line-height: 2; max-width: 640px; }

.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.lp-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2eaf5);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(15, 27, 48, 0.05));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
  border-color: var(--border-light, #d2ddef);
}
.lp-icn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft, #e9f0fe);
  color: var(--accent, #2563eb);
  margin-bottom: 14px;
}
.lp-icn svg { width: 24px; height: 24px; }
.lp-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.lp-card p { margin: 0; color: var(--muted, #4f5f7a); font-size: 14.5px; line-height: 2; }

/* چالش پراپ */
.lp-band {
  max-width: 1180px;
  margin: clamp(56px, 8vw, 96px) auto 0;
  padding: 0 clamp(16px, 5vw, 56px);
}
.lp-band-inner {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  color: #eef4ff;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(167, 139, 250, 0.35), transparent 60%),
    linear-gradient(135deg, #101f3a, #0b1526);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(28px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.lp-band h3 { margin: 0 0 10px; font-size: clamp(21px, 2.6vw, 29px); font-weight: 800; color: #fff; }
.lp-band p { margin: 0 0 8px; color: #b9c9e6; line-height: 2; font-size: 15px; }
.lp-band ul { margin: 12px 0 0; padding: 0; list-style: none; }
.lp-band li { display: flex; gap: 9px; align-items: baseline; color: #c6d4ee; font-size: 14px; margin-bottom: 8px; }
.lp-band li svg { width: 16px; height: 16px; flex: none; color: #34d399; transform: translateY(2px); }
.lp-bars { display: grid; gap: 14px; }
.lp-bar { background: rgba(10, 20, 38, 0.6); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 16px; padding: 14px 16px; }
.lp-bar .row { display: flex; justify-content: space-between; font-size: 13px; color: #a9bfdf; margin-bottom: 8px; }
.lp-bar .row b { color: #fff; }
.lp-bar .track { height: 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.lp-bar .fill { height: 100%; border-radius: 99px; width: 0; transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s; }
.lp-bar .fill.g { background: linear-gradient(90deg, #10b981, #34d399); }
.lp-bar .fill.b { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.lp-bar .fill.r { background: linear-gradient(90deg, #dc2626, #f87171); }

/* پل متاتریدر */
.lp-bridge {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.lp-step {
  position: relative;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2eaf5);
  border-radius: 20px;
  padding: 24px;
}
.lp-step .n {
  position: absolute;
  top: -14px;
  inset-inline-start: 20px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}
.lp-step h4 { margin: 8px 0 8px; font-size: 15.5px; font-weight: 800; }
.lp-step p { margin: 0; color: var(--muted, #4f5f7a); font-size: 13.8px; line-height: 1.95; }
.lp-shield {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  background: var(--green-soft, #e7f7ee);
  border: 1px solid #bfe8d0;
  color: #14532d;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.9;
}
.lp-shield svg { width: 26px; height: 26px; flex: none; color: var(--green, #16a34a); }

/* CTA پایانی */
.lp-final {
  max-width: 1180px;
  margin: clamp(56px, 8vw, 96px) auto 0;
  padding: 0 clamp(16px, 5vw, 56px);
}
.lp-final-inner {
  text-align: center;
  border-radius: 28px;
  padding: clamp(38px, 6vw, 70px) clamp(20px, 4vw, 56px);
  color: #fff;
  background:
    radial-gradient(600px 260px at 50% -20%, rgba(96, 165, 250, 0.4), transparent 65%),
    linear-gradient(135deg, #1d4ed8, #4f46e5);
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.35);
}
.lp-final h2 { margin: 0 0 12px; font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; }
.lp-final p { margin: 0 auto 26px; color: #dbe7ff; max-width: 560px; line-height: 2; font-size: 15.5px; }

/* فوتر */
.lp-footer {
  margin-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--border, #e2eaf5);
  background: var(--surface, #fff);
  color: var(--muted, #4f5f7a);
}
.lp-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px clamp(16px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
}
.lp-footer b { color: var(--text, #0f1b30); }
.lp-footer .lp-logo { color: var(--text, #0f1b30); font-size: 16px; }
.lp-footer .lp-logo svg { color: var(--accent, #2563eb); }

/* ظهور با اسکرول */
.lp .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.lp .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .lp * { animation: none !important; transition: none !important; }
  .lp .reveal { opacity: 1; transform: none; }
  .lp-bar .fill { width: auto !important; }
}

/* موبایل */
@media (max-width: 960px) {
  .lp-hero-inner { grid-template-columns: 1fr; }
  .lp-shot { max-width: 520px; margin: 0 auto; transform: none; animation: none; }
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-bridge { grid-template-columns: 1fr; gap: 26px; }
  .lp-band-inner { grid-template-columns: 1fr; }
  .lp-links a:not(.lp-btn) { display: none; }
}
@media (max-width: 620px) {
  .lp-grid { grid-template-columns: 1fr; }
  .lp-shot-kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .lp-kpi { padding: 8px; }
  .lp-kpi .v { font-size: 14px; }
}
