/* ==========================================================================
   Products — MoeinPayam landing
   ========================================================================== */

/* ---------- Product showcase (index) ---------- */
.product-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(26px, 4vw, 52px);
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-800) 60%, #0b304b 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.product-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(95, 211, 196, 0.14);
  border: 1px solid rgba(95, 211, 196, 0.35);
  color: var(--teal-200);
  font-size: 12.5px;
  margin-bottom: 16px;
}
.product-showcase h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 4px;
  color: var(--white);
}
.product-tagline { color: var(--teal-200); font-weight: 600; margin-bottom: 12px; }
.product-desc { color: rgba(255, 255, 255, 0.72); max-width: 48ch; }
.product-showcase .feature-chips { margin: 18px 0 24px; }
.product-showcase .feature-chips li {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-showcase .btn-primary { background: var(--teal); color: var(--navy); box-shadow: 0 12px 32px -18px rgba(18, 165, 148, 0.9); }
.product-showcase .btn-primary:hover { background: var(--teal-400); color: var(--navy); }
.product-showcase .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.product-showcase .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }

.mini-app {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.mini-app-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.mini-app-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.mini-app-body { display: flex; min-height: 240px; }
.mini-side { width: 62px; padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; border-inline-end: 1px solid rgba(255, 255, 255, 0.08); }
.mini-side i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.mini-side i:nth-child(2) { background: var(--teal-400); width: 70%; }
.mini-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.mini-stats { display: flex; gap: 8px; }
.mini-stats b { flex: 1; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); }
.mini-chart { display: flex; align-items: flex-end; gap: 7px; height: 96px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); }
.mini-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--teal-400), rgba(18, 165, 148, 0.3)); }
.mini-rows { display: flex; flex-direction: column; gap: 7px; }
.mini-rows span { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.09); }
.mini-rows span:nth-child(2) { width: 82%; }
.mini-rows span:nth-child(3) { width: 64%; }

.coming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.coming-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.coming-card h3 { margin: 14px 0 8px; font-size: 19px; }
.coming-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }
.coming-cta { background: linear-gradient(150deg, var(--paper-2), #eef7f5); border-style: dashed; }

/* ---------- Product hero ---------- */
.prod-hero { padding: clamp(36px, 5vw, 70px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.prod-hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.prod-title { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.25; margin: 14px 0 16px; }
.prod-title .hero-title-accent { display: block; width: fit-content; font-size: 0.52em; margin-top: 8px; }
.prod-hero .hero-lede { max-width: 54ch; }

.prod-hero-visual { position: relative; }
.app-mock {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}
.app-mock-top { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.app-dot { width: 8px; height: 8px; border-radius: 50%; background: #d9d4c8; }
.app-addr { margin-inline-start: auto; font-family: var(--font-latin); font-size: 11px; color: var(--muted); direction: ltr; }
.app-mock-body { display: flex; min-height: 300px; background: #f3f6f8; }
.app-side { width: 74px; background: var(--navy); padding: 14px 13px; display: flex; flex-direction: column; gap: 13px; }
.app-logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(140deg, var(--teal-400), var(--blue)); margin-bottom: 8px; }
.app-side i { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.app-side i.is-on { background: var(--teal-400); width: 74%; }
.app-side-foot { margin-top: auto; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); }
.app-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.app-head { display: flex; justify-content: space-between; align-items: center; }
.app-head span { width: 110px; height: 10px; border-radius: 5px; background: #dbe3ea; }
.app-head b { width: 62px; height: 24px; border-radius: 8px; background: var(--teal); opacity: 0.85; }
.app-cards { display: flex; gap: 10px; }
.app-cards div { flex: 1; background: var(--white); border-radius: 10px; padding: 10px; border: 1px solid var(--line); }
.app-cards small { display: block; width: 46px; height: 7px; border-radius: 4px; background: #e2e8ee; margin-bottom: 8px; }
.app-cards strong { display: block; height: 14px; border-radius: 5px; background: #cfd9e3; }
.app-panel { background: var(--white); border-radius: 12px; border: 1px solid var(--line); padding: 12px; }
.app-panel-title { width: 90px; height: 9px; border-radius: 5px; background: #dbe3ea; margin-bottom: 10px; }
.app-bars { display: flex; align-items: flex-end; gap: 8px; height: 104px; }
.app-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #3fc9b6, #c8f2ea); }
.app-table { display: flex; flex-direction: column; gap: 7px; }
.app-table span { height: 9px; border-radius: 5px; background: #e3e9ef; }
.app-table span:nth-child(2) { width: 88%; }
.app-table span:nth-child(3) { width: 70%; }
.app-table span:nth-child(4) { width: 78%; }

.app-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}
.app-float span { font-size: 11.5px; color: var(--muted); }
.app-float strong { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.app-float-a { top: 6%; inset-inline-start: -18px; }
.app-float-b { bottom: 8%; inset-inline-end: -14px; }

/* ---------- Features ---------- */
.prod-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod-feature {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.prod-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prod-feature .service-icon { margin-bottom: 14px; }
.prod-feature h3 { font-size: 16.5px; margin: 0 0 8px; }
.prod-feature p { margin: 0; color: var(--muted); font-size: 13.8px; line-height: 1.75; }

/* ---------- Steps ---------- */
.prod-steps-section { background: var(--paper-2); border-block: 1px solid var(--line); }
.prod-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod-step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.prod-step .process-num { margin-bottom: 14px; }
.prod-step h3 { font-size: 17px; margin: 0 0 8px; }
.prod-step p { margin: 0; color: var(--muted); font-size: 13.8px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.price-card h3 { font-size: 21px; margin: 0 0 2px; }
.price-note { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.price-amount { font-family: var(--font-display); font-size: 27px; font-weight: 800; color: var(--ink); margin-bottom: 18px; }
.price-amount small { font-size: 13px; font-weight: 500; color: var(--muted); }
.price-list { margin: 0 0 24px; }
.price-list li { font-size: 13.5px; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-card.is-featured {
  background: linear-gradient(160deg, var(--navy), #0b304b);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.price-card.is-featured h3, .price-card.is-featured .price-amount { color: var(--white); }
.price-card.is-featured .price-note { color: rgba(255, 255, 255, 0.65); }
.price-card.is-featured .price-list li { color: rgba(255, 255, 255, 0.85); }
.price-card.is-featured .price-list .icon { color: var(--teal-400); }
.price-badge {
  position: absolute;
  top: -13px;
  inset-inline-end: 24px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}
.price-foot { margin-top: 22px; text-align: center; color: var(--muted); font-size: 13.5px; }
.price-foot .link-more { margin-inline-start: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .prod-features { grid-template-columns: repeat(2, 1fr); }
  .prod-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .product-showcase, .prod-hero-grid { grid-template-columns: 1fr; }
  .product-showcase-visual { order: -1; max-width: 520px; }
  .prod-hero-visual { max-width: 560px; margin: 0 auto; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.is-featured { transform: none; }
  .coming-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .prod-features, .prod-steps { grid-template-columns: 1fr; }
  .app-float { display: none; }
  .app-mock { transform: none; }
  .product-actions .btn, .prod-hero .hero-actions .btn { width: 100%; justify-content: center; }
}
