/* -----------------------------------------
   /assets/css/pages/landing.css
   هدف: لندینگ شیشه‌ای/عمق‌دار + موبایل‌محور + انیمیشن نرم
------------------------------------------ */

.landing {
  padding: 14px 0 28px;
}

/* Wrapper glass */
.landing-shell {
  position: relative;
  border-radius: 22px;
  padding: 18px 16px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  overflow: hidden;
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

/* Yellow glow blobs (subtle) */
.landing-shell::before,
.landing-shell::after{
  content:"";
  position:absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  pointer-events:none;
  filter: blur(0px);
  opacity: .9;
}

.landing-shell::before{
  top: -140px;
  right: -140px;
  background: radial-gradient(circle, rgba(255, 214, 98, .55), rgba(255, 214, 98, 0) 70%);
}

.landing-shell::after{
  bottom: -160px;
  left: -160px;
  background: radial-gradient(circle, rgba(255, 214, 98, .35), rgba(255, 214, 98, 0) 70%);
}

/* Content above glow */
.landing-shell > * { position: relative; z-index: 1; }

/* Hero */
.landing-hero { gap: 10px; padding-top: 6px; }
.landing-kicker { display:flex; gap:10px; align-items:center; flex-wrap: wrap; }
.landing-title { line-height: 1.35; letter-spacing: -0.2px; }
.landing-sub { max-width: 52ch; }

/* CTA buttons */


.landing-cta .btn { flex: 1; min-width: 190px; }

/* Screenshot strip */
.shots {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 16px 34px rgba(0,0,0,0.06);
}

.shots__grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.shot{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.02);
  box-shadow: 0 12px 26px rgba(0,0,0,0.06);
}

.shot img{
  width:100%;
  height:auto;
  display:block;
}

.shot__cap{
  padding: 10px 10px 12px;
  font-size: 13px;
  opacity: .85;
}
/* Feature cards */
.feats{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.feat {
  position: relative;
  padding: 16px 18px;
  border-radius: 20px;

  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;

  box-shadow:
    0 14px 35px rgba(0,0,0,0.20),
    inset 0 1px 0 rgba(255,255,255,0.70);

  transition: transform .25s ease, box-shadow .25s ease;
}
.feat:active {
  transform: translateY(1px);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.feat__title{
    font-weight: 800;
    margin-bottom: 4px;
     letter-spacing: -0.2px;
  line-height: 1.4;
  text-shadow:
  0 2px 0 rgba(255,255,255,0.65),
  0 8px 20px rgba(0,0,0,0.06);
}
.feat__title::before {
  content: "●";
  margin-left: 10px;
  font-size: 10px;
  vertical-align: middle;
  color: rgba(255, 200, 60, 0.9);
}

/* اختلاف ارتفاع خیلی نامحسوس */
.feat:nth-child(2) {
  transform: translateY(-2px);
}

.feat:nth-child(3) {
  transform: translateY(-4px);
}
.feat__desc{ opacity: .85; }

/* Brand sign */
.brand-sign{
  margin-top: 16px;
  text-align:center;
  opacity: .85;
  font-size: 13px;
}

.brand-sign strong{
  font-weight: 900;
  letter-spacing: .2px;
}

/* Soft fade-in (2026 vibe, not circus) */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  animation: revealIn .55s ease-out forwards;
}

.reveal.d2{ animation-delay: .08s; }
.reveal.d3{ animation-delay: .16s; }
.reveal.d4{ animation-delay: .24s; }

@keyframes revealIn{
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; animation:none; }
}

/* Responsive: on small screens make screenshot grid 1 column */
@media (max-width: 520px){
  .shots__grid{ grid-template-columns: 1fr; }
}
/* -----------------------------------------
   Card Slider (tap to switch) - Landing
------------------------------------------ */

.cardSlider {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 16px 34px rgba(0,0,0,0.06);
}

.cardSlider__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cardSlider__viewport {
  position: relative;
  height: 420px; /* برای اسکرین‌شات عمودی */
  margin-top: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cardSlider__card {
  position: absolute;
  width: min(78%, 340px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.02);
  box-shadow: 0 18px 44px rgba(0,0,0,0.10);
  transform-origin: center;
  transition: transform .28s ease, opacity .28s ease, filter .28s ease;
  cursor: pointer;
  user-select: none;
}

.cardSlider__card img{
  width: 100%;
  height: auto;
  display: block;
}

.cardSlider__cap{
  padding: 10px 12px 12px;
  font-size: 13px;
  opacity: .86;
  background: rgba(255,255,255,0.75);
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* حالت‌ها */
.cardSlider__card.is-active{
  z-index: 3;
  transform: translateX(0) scale(1.03);
  opacity: 1;
  filter: none;
}

.cardSlider__card.is-left{
  z-index: 2;
  transform: translateX(-28%) scale(0.92);
  opacity: .70;
  filter: blur(1.5px) saturate(.85);
}

.cardSlider__card.is-right{
  z-index: 2;
  transform: translateX(28%) scale(0.92);
  opacity: .70;
  filter: blur(1.5px) saturate(.85);
}


.cardSlider__card.is-hidden{
  z-index: 1;
  transform: translateX(0) scale(0.88);
  opacity: 0;
  filter: blur(4px);
  pointer-events: none;
}

/* کنترل‌ها */
.cardSlider__nav{
  display: inline-flex;
  gap: 8px;
}

.cardSlider__btn{
  height: 38px;
  min-width: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.70);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.cardSlider__dots{
  display:flex;
  justify-content:center;
  gap: 8px;
  margin-top: 10px;
}

.cardSlider__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.65);
}

.cardSlider__dot.is-on{
  background: rgba(255, 214, 98, 0.9);
  border-color: rgba(0,0,0,0.08);
}

/* موبایل کوتاه‌تر */
@media (max-width: 420px){
  .cardSlider__viewport{ height: 380px; }
  .cardSlider__card{ width: min(86%, 340px); }
}

/* ترجیح کاهش حرکت */
@media (prefers-reduced-motion: reduce){
  .cardSlider__card{ transition: none; }
}
/* -----------------------------------------
   Hero polish (top section)
------------------------------------------ */

.landing-hero{
  text-align: center;
  gap: 12px;
  padding-top: 4px;
}

/* kicker تبدیل به pill */
.landing-kicker{
  display:flex;
  justify-content:center;
}

.landing-kicker .muted{
  display:inline-flex;
  align-items:center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 999px;

  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.07),
    inset 0 1px 0 rgba(255,255,255,0.65);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  opacity: 1; /* چون muted بود، کنترلش می‌کنیم */
  font-weight: 700;
  font-size: 13px;

  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}

/* یه نقطه‌ی زرد ظریف برای امضای برند */
.landing-kicker .muted::before{
  content:"";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 200, 60, 0.92);
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);
}

/* title سکسی‌تر: وزن + shadow */
.landing-title{
  margin-top: 2px;
  line-height: 1.35;
  letter-spacing: -0.2px;

  text-shadow:
    0 2px 0 rgba(255,255,255,0.65),
    0 16px 40px rgba(0,0,0,0.06);
}

/* CTA وسط‌چین و کمی عمق‌دار */
.landing-cta{
  display:flex;
  justify-content:center;
  margin-top: 4px;
}

.landing-cta .btn{
  width: min(520px, 100%);
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}
/* -----------------------------------------
   Plans (Free vs Pro) - Landing
------------------------------------------ */

.plans{
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 16px 34px rgba(0,0,0,0.06);
}

.plans__head{
  text-align: center;
  margin-bottom: 12px;
}

.plans__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.plan{
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.plan__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.plan__title{
  font-weight: 900;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}

.plan__list{
  margin: 0;
  padding: 0 18px 0 0;
  list-style: disc;
  display: grid;
  gap: 8px;
  opacity: .9;
}

.plan__note{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 214, 98, 0.22);
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 13px;
  line-height: 1.55;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

/* Mobile */
@media (max-width: 520px){
  .plans__grid{ grid-template-columns: 1fr; }
}
/* -----------------------------------------
   Sticky CTA (Landing - 2026)
------------------------------------------ */

.stickyCta{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 50;

  padding: 10px;
  border-radius: 26px;

  /* glass that shows even on white */
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0,0,0,0.08);

  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);

  box-shadow:
    0 20px 55px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -10px 30px rgba(255, 214, 98, 0.10);

  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.stickyCta.is-show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.stickyCta__btn{
  display:flex !important;
  align-items:center;
  justify-content:center;
  text-align:center;

  width:100%;
  padding: 12px 14px;
  border-radius: 18px;

  /* liquid yellow */
  background: rgba(230, 184, 0, 0.88) !important; /* زرد ولی کمی شفاف */
  border: 1px solid rgba(0,0,0,0.08) !important;

  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);

  /* همون لبه‌ی سفید رو نگه می‌داریم ولی کنترل‌شده */
  box-shadow:
    0 14px 34px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.70),
    inset 0 -10px 26px rgba(0,0,0,0.08) !important;

  outline: none !important;
  background-clip: padding-box;
}

.stickyCta__btn:focus,
.stickyCta__btn:focus-visible{
  outline: none !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.14) !important;
}

/* motion-safe */
@media (prefers-reduced-motion: reduce){
  .stickyCta{
    transition: none;
    transform: none;
  }
}
