/* ============================================================
   امرتات استور — Landing Page Styles
   Clean SaaS + Aurora Accent · RTL
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Palette */
  --primary: #6C63FF;
  --primary-dark: #4F46E5;
  --primary-soft: rgba(108, 99, 255, 0.10);
  --bg: #FFFFFF;
  --surface: #F8F7FF;
  --surface-2: #F3F2FB;
  --text: #0F0E17;
  --text-2: #6B7280;
  --text-3: #9AA1AD;
  --border: #E9E8F2;
  --border-strong: #E0DEF0;
  --white: #FFFFFF;
  --green: #16A34A;
  --amber: #D97706;
  --red: #DC2626;

  /* Type */
  --font-fa: 'Vazirmatn', system-ui, sans-serif;
  --font-en: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Radii & shadow */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(16, 14, 23, 0.04), 0 1px 3px rgba(16, 14, 23, 0.06);
  --shadow-md: 0 4px 16px rgba(16, 14, 23, 0.06), 0 2px 6px rgba(16, 14, 23, 0.04);
  --shadow-lg: 0 24px 60px -20px rgba(79, 70, 229, 0.25), 0 12px 28px -16px rgba(16, 14, 23, 0.12);
  --shadow-primary: 0 14px 30px -10px rgba(108, 99, 255, 0.5);

  --maxw: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-fa);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Latin words (brand, URLs, emails) get Jakarta; Persian digits stay in
   Vazirmatn (renders ۰-۹ properly) with tabular figures for alignment. */
.en { font-family: var(--font-en); direction: ltr; unicode-bidi: isolate; }
.num { font-feature-settings: 'tnum'; font-variant-numeric: tabular-nums; }
.ltr-num { direction: ltr; display: inline-block; }

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-fa); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: var(--r); cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn i { font-size: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(108, 99, 255, 0.6); }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-ghost { color: var(--text-2); padding: 10px 14px; }
.btn-ghost:hover { color: var(--primary); }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.btn-white { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-clear { background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-clear:hover { background: rgba(255,255,255,0.24); }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; }
.section-pad { padding-block: 96px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--primary);
  background: var(--primary-soft); padding: 7px 14px; border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow i { font-size: 16px; }
.section-head { max-width: 100%; margin-inline: auto; text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 17px; max-width: 780px; margin-inline: auto; }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -16px rgba(16,14,23,0.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-primary);
}
.brand-mark i { font-size: 24px; }
/* Brand logo as a swappable image-slot (default = logo.png, user can drop their own) */
.brand-logo {
  width: 42px; height: 42px; flex-shrink: 0;
  vertical-align: middle;
}
/* transparent storefront glyph — no card bg, no square halo */
.brand-logo::part(frame) { background: transparent; }
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand-name span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px; border-radius: var(--r-sm); font-weight: 600; font-size: 15.5px;
  color: #3D3D50; transition: color .2s, background .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-consult { position: relative; }
.nav-consult::after {
  content: attr(data-tooltip);
  position: absolute;
  inset-inline-start: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid var(--border-strong);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-consult::before {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%) translateY(6px);
  border-inline-start: 6px solid transparent;
  border-inline-end: 6px solid transparent;
  border-bottom: 6px solid #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-consult:hover::after,
.nav-consult:hover::before,
.nav-consult:focus-visible::after,
.nav-consult:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; color: var(--text); }
.nav-toggle i { font-size: 26px; }

/* Mobile sheet */
.mobile-sheet {
  position: fixed; inset: 0; z-index: 80; display: none;
}
.mobile-sheet.open { display: block; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15,14,23,0.4); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s; }
.mobile-sheet.open .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: absolute; top: 0; bottom: 0; right: 0; width: min(82vw, 340px);
  background: #fff; padding: 22px; box-shadow: -20px 0 60px -20px rgba(0,0,0,0.3);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.mobile-sheet.open .sheet-panel { transform: translateX(0); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.sheet-close { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: var(--text-2); background: var(--surface); }
.sheet-close i { font-size: 22px; }
.sheet-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.sheet-links a { display: flex; align-items: center; gap: 13px; padding: 13px 12px; border-radius: var(--r); font-weight: 600; font-size: 15.5px; color: var(--text); }
.sheet-links a i { font-size: 22px; color: var(--primary); flex-shrink: 0; }
.sheet-links a:hover { background: var(--surface); color: var(--primary); }
.sheet-links a.active { background: var(--primary-soft); color: var(--primary); }
.sheet-cta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.sheet-group { margin-bottom: 8px; }
.sheet-group-title { font-size: 12px; font-weight: 700; color: var(--text-3); letter-spacing: .02em; padding: 0 12px; margin: 14px 0 4px; }

/* ============================================================
   Mega menu (full-width dropdown)
   ============================================================ */
.nav-item { display: inline-flex; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border-radius: var(--r-sm); font-family: var(--font-fa);
  font-weight: 600; font-size: 15.5px; color: #3D3D50; cursor: pointer;
  transition: color .2s, background .2s; white-space: nowrap; background: none; border: none;
}
.nav-trigger:hover { color: var(--text); background: var(--surface); }
.nav-trigger .caret { font-size: 13px; opacity: .65; transition: transform .25s ease; }
.nav-trigger.current { color: var(--primary); }
.nav-trigger.active { color: var(--primary); background: var(--primary-soft); }
.nav-trigger.active .caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 30px 54px -26px rgba(16,14,23,0.26);
  padding: 28px 0 32px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 61;
}
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 292px; gap: 34px; align-items: stretch; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: start; }
.mega-link { display: flex; align-items: flex-start; gap: 13px; padding: 13px 14px; border-radius: var(--r); transition: background .18s; }
.mega-link:hover { background: var(--surface); }
.mega-link .ml-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); display: grid; place-items: center; flex-shrink: 0; transition: background .2s; }
.mega-link .ml-ico i { font-size: 24px; color: var(--primary); transition: color .2s; }
.mega-link:hover .ml-ico { background: var(--primary); }
.mega-link:hover .ml-ico i { color: #fff; }
.mega-link .ml-title { font-size: 14.5px; font-weight: 700; color: var(--text); }
.mega-link.active .ml-title { color: var(--primary); }
.mega-link .ml-desc { display: block; font-size: 12px; color: var(--text-2); margin-top: 3px; line-height: 1.6; }

.mega-feature {
  background: linear-gradient(140deg, var(--primary), var(--primary-dark)); border-radius: var(--r-lg);
  padding: 26px; color: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.mega-feature::after { content: ''; position: absolute; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,0.12); top: -76px; left: -54px; }
.mega-feature > * { position: relative; }
.mega-feature .mf-ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,0.16); display: grid; place-items: center; margin-bottom: 16px; }
.mega-feature .mf-ico i { font-size: 27px; }
.mega-feature h4 { font-size: 17px; margin-bottom: 7px; }
.mega-feature p { font-size: 13px; opacity: .92; line-height: 1.8; margin-bottom: 16px; }
.mega-feature .mf-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.mega-feature .mf-phone i { font-size: 20px; }
.mega-feature .btn { margin-top: auto; }

.mega-overlay { position: fixed; inset: 0; background: rgba(15,14,23,0.28); backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 50; }
.mega-overlay.show { opacity: 1; visibility: visible; }

@media (max-width: 1080px) {
  .mega-inner { grid-template-columns: 1fr; gap: 0; }
  .mega-feature { display: none; }
}

/* ============================================================
   Page head (shared across inner pages)
   ============================================================ */
.page-head { background: var(--surface); border-bottom: 1px solid var(--border); padding-block: 46px; position: relative; overflow: hidden; }
.page-head .aurora-1 { width: 460px; height: 460px; top: -240px; right: -90px; }
.page-head .crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); margin-bottom: 16px; }
.page-head .crumbs a:hover { color: var(--primary); }
.page-head .crumbs i { font-size: 14px; }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; letter-spacing: -0.02em; }
.page-head p { color: var(--text-2); font-size: 17px; max-width: 780px; line-height: 1.8; }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-top: 70px; padding-bottom: 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(34px, 4.7vw, 54px); line-height: 1.22; font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 22px; text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(115deg, var(--primary), #8B5CF6 60%, var(--primary-dark));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 18.5px; color: var(--text-2); margin-bottom: 30px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 34px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-2); font-weight: 500; }
.trust-item i { color: var(--green); font-size: 19px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.stat { text-align: center; }
.stat-num { font-size: 30px; font-weight: 800; color: var(--text); line-height: 1; letter-spacing: -0.02em; }
.stat-num small { font-size: 19px; color: var(--primary); font-weight: 700; }
.stat-label { font-size: 13.5px; color: var(--text-2); margin-top: 7px; }

/* Aurora */
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; pointer-events: none; will-change: transform; }
.aurora-1 { width: 540px; height: 540px; background: rgba(108,99,255,0.16); top: -160px; left: -120px; animation: drift1 18s ease-in-out infinite; }
.aurora-2 { width: 460px; height: 460px; background: rgba(139,92,246,0.13); top: 60px; right: -100px; animation: drift2 22s ease-in-out infinite; }
.aurora-3 { width: 360px; height: 360px; background: rgba(108,99,255,0.10); bottom: -140px; left: 40%; animation: drift1 26s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.08); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-34px,28px) scale(1.05); } }

/* ============================================================
   Dashboard mockup
   ============================================================ */
.mock { perspective: 1600px; }
.mock-window {
  background: #fff; border-radius: var(--r-xl); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: rotateY(-6deg) rotateX(2deg); transform-origin: center;
  transition: transform .5s ease;
}
.mock:hover .mock-window { transform: rotateY(-2deg) rotateX(1deg); }
.mock-topbar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--border); background: #fff; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 11px; height: 11px; border-radius: 50%; }
.mock-dots span:nth-child(1){ background: #FF5F57; } .mock-dots span:nth-child(2){ background: #FEBC2E; } .mock-dots span:nth-child(3){ background: #28C840; }
.mock-url { margin-inline-start: auto; display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-3); background: var(--surface); padding: 6px 12px; border-radius: 8px; }
.mock-url i { font-size: 14px; color: var(--green); }

.mock-body { display: grid; grid-template-columns: 64px 1fr; min-height: 360px; }
.mock-rail { background: var(--surface); border-inline-end: 1px solid var(--border); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock-rail .r-logo { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: grid; place-items: center; color: #fff; }
.mock-rail .r-logo i { font-size: 18px; }
.mock-rail .r-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--text-3); font-size: 19px; }
.mock-rail .r-ico.active { background: var(--primary-soft); color: var(--primary); }

.mock-main { padding: 20px; background: #fff; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mock-head h4 { font-size: 15px; font-weight: 700; }
.mock-head .m-avatar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.mock-head .m-avatar div { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#8B5CF6,var(--primary)); }

.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.mock-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 13px; }
.mock-stat .s-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mock-stat .s-top i { font-size: 17px; color: var(--primary); }
.mock-stat .s-chip { font-size: 10.5px; font-weight: 700; color: var(--green); background: rgba(22,163,74,0.1); padding: 2px 7px; border-radius: 6px; }
.mock-stat .s-val { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.mock-stat .s-lab { font-size: 11px; color: var(--text-2); margin-top: 2px; }

.mock-chart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; margin-bottom: 16px; }
.mock-chart .c-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock-chart .c-head span { font-size: 12.5px; font-weight: 700; }
.mock-chart .c-head em { font-size: 11px; color: var(--text-3); font-style: normal; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 92px; }
.bar { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(to top, var(--primary), #9F99FF); opacity: .35; transition: opacity .3s; transform-origin: bottom; animation: growbar 1s cubic-bezier(.2,.8,.3,1) backwards; }
.bar.hi { opacity: 1; }
@keyframes growbar { from { transform: scaleY(0); } }

.mock-orders { }
.mock-orders .o-row { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-top: 1px solid var(--border); }
.mock-orders .o-row:first-child { border-top: none; }
.o-ava { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; color: var(--text-3); font-size: 15px; flex-shrink: 0; }
.o-info { flex: 1; min-width: 0; }
.o-info .o-name { font-size: 12.5px; font-weight: 600; }
.o-info .o-meta { font-size: 11px; color: var(--text-3); }
.o-price { font-size: 12.5px; font-weight: 700; }
.o-badge { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 7px; }
.o-badge.paid { color: var(--green); background: rgba(22,163,74,0.1); }
.o-badge.pend { color: var(--amber); background: rgba(217,119,6,0.1); }

/* ============================================================
   Storefront mock (hero) — replaces dashboard
   ============================================================ */
.mock-body.shop { display: block; min-height: 380px; background: #fff; }

/* utility bar */
.shop-util { display: flex; align-items: center; justify-content: space-between; padding: 7px 18px; background: var(--surface); border-bottom: 1px solid var(--border); font-size: 10.5px; color: var(--text-2); }
.shop-util .su-right, .shop-util .su-left { display: flex; align-items: center; gap: 14px; }
.shop-util span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.shop-util i { font-size: 13px; }

/* header */
.shop-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.shop-logo { font-weight: 800; font-size: 19px; color: var(--text); white-space: nowrap; }
.shop-logo b { color: var(--primary); }
.shop-nav { display: flex; gap: 16px; margin-inline: auto; }
.shop-nav span { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; color: var(--text-2); font-weight: 600; white-space: nowrap; }
.shop-nav span i { font-size: 10px; opacity: .65; }
.shop-nav span.active { color: var(--primary); }
.shop-actions { display: flex; align-items: center; gap: 14px; color: var(--text); }
.shop-actions > i { font-size: 17px; }
.shop-cart { position: relative; display: grid; place-items: center; }
.shop-cart i { font-size: 18px; color: var(--primary); }
.shop-cart b { position: absolute; top: -7px; left: -8px; background: var(--primary); color: #fff; font-size: 9px; font-weight: 700; min-width: 15px; height: 15px; border-radius: 100px; display: grid; place-items: center; padding: 0 3px; line-height: 1; }

/* hero — full-bleed photo with centered overlay */
.shop-hero { position: relative; height: 224px; overflow: hidden; background: linear-gradient(125deg, #E9E8F2, #D9D7EC); }
.shop-banner { width: 100%; height: 100%; display: block; }
.shop-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,14,23,0.12), rgba(15,14,23,0.46)); z-index: 1; pointer-events: none; }
.shop-hero-copy { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: #fff; padding: 0 26px; pointer-events: none; }
.sh-tag { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; opacity: .95; }
.sh-title { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; white-space: nowrap; text-shadow: 0 2px 14px rgba(0,0,0,0.28); }
.sh-sub { font-size: 12px; font-weight: 500; opacity: .92; white-space: nowrap; }
.sh-btn { margin-top: 6px; background: var(--primary); color: #fff; font-size: 11.5px; font-weight: 700; padding: 9px 22px; border-radius: 8px; white-space: nowrap; box-shadow: var(--shadow-primary); }
.shop-dots { position: absolute; z-index: 3; bottom: 11px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.shop-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: width .3s; }
.shop-dots span.on { background: #fff; width: 18px; border-radius: 100px; }

/* service strip — two-line items, line icons */
.shop-trust { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 6px; border-bottom: 1px solid var(--border); }
.shop-trust > div { display: flex; align-items: center; justify-content: center; gap: 9px; }
.shop-trust > div + div { border-inline-start: 1px solid var(--border); }
.shop-trust > div > i { font-size: 21px; color: var(--text); }
.shop-trust b { display: block; font-size: 11px; font-weight: 700; color: var(--text); }
.shop-trust em { display: block; font-size: 9.5px; font-style: normal; color: var(--text-3); margin-top: 1px; }

/* section head */
.shop-section { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 18px 12px; }
.shop-section span { font-size: 15px; font-weight: 800; }
.shop-section em { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-2); font-style: normal; font-weight: 600; }
.shop-section em i { font-size: 12px; }

/* product grid */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 18px 20px; }
.shop-card { position: relative; }
.shop-thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1.15; background: var(--surface-2); }
.shop-thumb image-slot { width: 100%; height: 100%; display: block; }
.shop-badge { position: absolute; top: 8px; right: 8px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px; z-index: 2; }
.shop-badge.sale { background: #E11D48; }
.shop-badge.new { background: var(--green); }
.shop-fav { position: absolute; top: 8px; left: 8px; z-index: 2; width: 25px; height: 25px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.shop-fav i { font-size: 13px; color: var(--text-2); }
.shop-pname { font-size: 12px; font-weight: 600; margin-top: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-price { font-size: 13px; font-weight: 800; color: var(--text); margin-top: 2px; }
.shop-price small { font-size: 10px; font-weight: 600; color: var(--text-2); margin-inline-start: 3px; }
.shop-old { font-size: 10px; font-weight: 600; color: var(--text-3); text-decoration: line-through; margin-inline-start: 6px; }
.shop-add { width: 100%; margin-top: 9px; background: var(--text); color: #fff; font-size: 11px; font-weight: 700; padding: 7px; border-radius: 7px; font-family: var(--font-fa); transition: background .2s; }
.shop-add:hover { background: var(--primary); }

/* Floating chips around mockup */
.mock-float { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md); padding: 11px 15px; display: flex; align-items: center; gap: 10px; z-index: 3; }
.mock-float i { font-size: 22px; }
.mock-float .f-title { font-size: 13px; font-weight: 700; line-height: 1.2; }
.mock-float .f-sub { font-size: 11px; color: var(--text-2); }
.float-a { top: -37px; right: -16px; animation: floaty 5s ease-in-out infinite; }
.float-b { bottom: -16px; left: -28px; animation: floaty 6s ease-in-out infinite .8s; }
.float-a i { color: var(--green); }
.float-b i { color: var(--primary); }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* ============================================================
   Logos strip
   ============================================================ */
.logos { padding-block: 40px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.logos p { text-align: center; font-size: 15px; color: var(--text-3); margin-bottom: 22px; font-weight: 500; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; opacity: .65; }
.logo-item { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; color: var(--text-2); }
.logo-item i { font-size: 24px; }

/* ============================================================
   Features
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feature-ico {
  width: 54px; height: 54px; border-radius: 14px; background: var(--primary-soft);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature-ico i { font-size: 30px; color: var(--primary); }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--text-2); line-height: 1.75; }

/* Benefit cards — gradient chip + watermark */
.cd-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cd-benefit {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, #fff 45%, var(--surface));
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 30px 26px 28px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s, background .3s;
}
.cd-benefit:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.cd-benefit .cd-watermark {
  position: absolute; top: -30px; left: -22px; z-index: -1;
  font-size: 158px; line-height: 1; color: var(--primary); opacity: .06;
  transform: rotate(-14deg);
  transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .35s;
  pointer-events: none;
}
.cd-benefit:hover .cd-watermark {
  transform: rotate(-3deg) translate(10px, -8px) scale(1.04);
  opacity: .11;
}
.cd-benefit .cd-chip {
  width: 62px; height: 62px; border-radius: 19px;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-primary);
  transform: rotate(-9deg); margin-bottom: 22px;
  transition: transform .4s cubic-bezier(.34,1.4,.5,1);
}
.cd-benefit .cd-chip i { font-size: 33px; }
.cd-benefit:hover .cd-chip { transform: rotate(2deg) translateX(-7px) scale(1.06); }
.cd-benefit h3 { font-size: 17.5px; margin-bottom: 9px; }
.cd-benefit p { font-size: 14.5px; color: var(--text-2); line-height: 1.78; }
@media (prefers-reduced-motion: reduce) {
  .cd-benefit, .cd-benefit .cd-watermark, .cd-benefit .cd-chip { transition: none !important; }
}

/* ============================================================
   How it works
   ============================================================ */
.how { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; position: relative; isolation: isolate; }
.steps::before {
  content: ''; position: absolute; top: 38px; right: 16%; left: 16%; height: 3px;
  background-image:
    linear-gradient(to left, var(--primary), var(--primary-dark)),
    repeating-linear-gradient(to left, var(--border-strong) 0 8px, transparent 8px 16px);
  background-size: 0% 100%, 100% 100%;
  background-position: right center, left center;
  background-repeat: no-repeat, repeat;
  border-radius: 2px; z-index: -1;
  transition: background-size .9s cubic-bezier(.4,0,.2,1);
}
.steps[data-fill="1"]::before { background-size: 50% 100%, 100% 100%; }
.steps[data-fill="2"]::before { background-size: 100% 100%, 100% 100%; }
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 22px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  display: grid; place-items: center; position: relative;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.step-num i { font-size: 34px; color: var(--primary); }
.step-num .badge {
  position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 14px; box-shadow: var(--shadow-primary);
  transition: transform .4s cubic-bezier(.34,1.4,.5,1);
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 15px; max-width: 280px; margin-inline: auto; }

/* Steps sequence animation */
.step.s-active { z-index: 2; }
.step.s-active .step-num {
  background: #EEEEFF;
  border-color: rgba(108,99,255,.3);
  box-shadow: 0 0 0 5px rgba(108,99,255,.1), var(--shadow-sm);
}
.step.s-active .step-num .badge { transform: scale(1.25); }
@keyframes rocket-wobble {
  0%   { transform: rotate(0deg)   scale(1);    }
  25%  { transform: rotate(-18deg) scale(1.25); }
  50%  { transform: rotate(12deg)  scale(1.18); }
  75%  { transform: rotate(-8deg)  scale(1.1);  }
  100% { transform: rotate(0deg)   scale(1);    }
}
.step.s-launch .step-num i { animation: rocket-wobble .75s cubic-bezier(.34,1.4,.5,1) forwards; }
@media (prefers-reduced-motion: reduce) {
  .steps::before, .step-num, .step-num .badge { transition: none !important; }
  .step.s-launch .step-num i { animation: none; }
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan.featured {
  border: 1.5px solid var(--primary); box-shadow: var(--shadow-lg); transform: scale(1.03);
}
.plan.featured:hover { transform: scale(1.03) translateY(-5px); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 6px 18px; border-radius: 100px;
  display: flex; align-items: center; gap: 6px; box-shadow: var(--shadow-primary); white-space: nowrap;
}
.plan-badge i { font-size: 15px; }
.plan-badge.gold-badge {
  background: linear-gradient(120deg, #FBBF24, #D97706);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}
.plan-name { font-size: 19px; font-weight: 700; margin-bottom: 8px; text-align: center; }
.plan-desc { font-size: 13.5px; color: var(--text-2); margin-bottom: 18px; text-align: center; }
.plan-orig-row { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 12px; }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 22px; }
.plan-price .amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.plan-price .unit { font-size: 14px; color: var(--text-2); }
.plan-orig { font-size: 15px; color: var(--text-3); text-decoration: line-through; }
.plan-orig-row .off { color: var(--green); text-decoration: none; font-weight: 700; background: rgba(22,163,74,0.1); padding: 4px 10px; border-radius: 6px; font-size: 13px; line-height: 1; }
.plan-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); }
.plan-features li i { font-size: 19px; color: var(--primary); flex-shrink: 0; }
.plan-features li.muted { color: var(--text-3); }
.plan-features li.muted i { color: var(--text-3); }
.plan .btn { width: 100%; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { background: var(--surface); }
/* Testimonials carousel */
.tcarousel { position: relative; }
.tcards-wrap { overflow: hidden; }
.tcards { display: flex; gap: 22px; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.tcard {
  flex: 0 0 calc((100% - 44px) / 3); min-width: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px;
  transition: transform .25s, box-shadow .25s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tc-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.tc-btn {
  width: 42px; height: 42px; border-radius: 50%; background: #fff;
  border: 1.5px solid var(--border); display: grid; place-items: center;
  color: var(--text-2); cursor: pointer;
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.tc-btn i { font-size: 18px; }
.tc-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); }
.tc-btn:disabled { opacity: .35; cursor: default; }
.tc-dots { display: flex; gap: 8px; align-items: center; }
.tc-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: var(--border-strong); cursor: pointer;
  transition: background .25s, width .25s, border-radius .25s;
}
.tc-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  .tcards, .tc-dot { transition: none !important; }
}
.stars { display: flex; gap: 3px; margin-bottom: 16px; color: #F5A623; }
.stars i { font-size: 18px; }
.tcard blockquote { font-size: 15.5px; line-height: 2; color: var(--text); margin-bottom: 22px; }
.tperson { display: flex; align-items: center; gap: 12px; }
.tperson .ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.tperson .tname { font-weight: 700; font-size: 15px; }
.tperson .trole { font-size: 12.5px; color: var(--text-2); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 12px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; text-align: right; font-weight: 600; font-size: 16px; color: var(--text); }
.faq-q .fic { width: 30px; height: 30px; border-radius: 8px; background: var(--surface); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s, background .2s, color .2s; color: var(--primary); }
.faq-q .fic i { font-size: 18px; }
.faq-item.open .fic { background: var(--primary); color: #fff; transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
.faq-a-inner { padding: 0 22px 20px; color: var(--text-2); font-size: 15px; line-height: 1.9; }

/* ============================================================
   CTA final
   ============================================================ */
.cta-final { padding-block: 40px; }
.cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(125deg, var(--primary-dark), var(--primary) 55%, #8B5CF6);
  border-radius: var(--r-xl); padding: 64px 56px; text-align: center; color: #fff;
}
.cta-box::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,0.12); top: -160px; right: -80px; }
.cta-box::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.08); bottom: -150px; left: -60px; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; text-wrap: balance; }
.cta-box p { font-size: 18px; opacity: .92; max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-phone { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; }
.cta-phone i { font-size: 22px; }
.cta-phone .num { font-size: 19px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #0F0E17; color: #C9CAD4; padding-top: 72px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer .brand-name { color: #fff; }
.footer-about p { font-size: 14.5px; line-height: 1.9; color: #8E909E; margin: 18px 0 22px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.06); display: grid; place-items: center; color: #C9CAD4; transition: background .2s, color .2s, transform .2s; }
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-social i { font-size: 20px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: #8E909E; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #8E909E; margin-bottom: 12px; }
.footer-contact i { font-size: 19px; color: var(--primary); }
.footer-newsletter { border-top: 1px solid rgba(255,255,255,0.08); padding-block: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fn-copy { flex: 1; min-width: 240px; }
.fn-title { color: #fff; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; margin-bottom: 6px; }
.fn-title i { color: var(--primary); }
.fn-sub { color: #8E909E; font-size: 13px; }
.fn-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fn-btn { white-space: nowrap; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 13px; color: #6C6E7C; flex-wrap: wrap; gap: 10px; }
.footer-heart { color: #EF4444; }

/* ============================================================
   Scroll reveal
   ============================================================ */
/* Visible by DEFAULT — entrance animation is purely additive (progressive
   enhancement). The hidden start-state only applies when JS confirms motion is
   wanted (html.anim) AND the property change can animate. If JS, transitions,
   reduced-motion, or print prevent the animation, content stays visible. */
.reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.anim .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
/* Hard safety: force instant visibility regardless of transition state */
.reveal.force-show { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .aurora, .mock-float, .bar { animation: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 620px; }
  .mock-window { transform: none; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .cd-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .section-pad { padding-block: 68px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-5px); }
  .tcard { flex: 0 0 100%; }
  .cta-box { padding: 44px 26px; }
  .stats { gap: 20px; }
  .stat-num { font-size: 25px; }
  .mock-float { display: none; }
  .footer-newsletter { align-items: flex-start; }
  .fn-actions { width: 100%; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .container { padding-inline: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   رُژیکو storefront mockup (hero) — desktop browser + phone
   Dusty-rose / blush theme
   ============================================================ */
.rz {
  --rz-blush: #F8EEF5;
  --rz-blush2: #F1E2EE;
  --rz-rose: #C96C91;
  --rz-rose-dark: #B95882;
  --rz-cream: #FDFBFD;
  --rz-ink: #352D38;
  --rz-ink2: #8C8092;
  --rz-line: #EADDE8;
  --rz-gold: #E8A33D;
  --rz-brand: #7864F6;
  position: relative;
  padding-bottom: 18px;
  perspective: 1600px;
}

/* ---------- desktop browser ---------- */
.rz-desktop {
  background: #fff; border-radius: 18px; border: 1px solid var(--rz-line);
  box-shadow: 0 30px 70px -24px rgba(120,50,80,0.32), 0 14px 32px -18px rgba(16,14,23,0.14);
  overflow: hidden;
  transition: transform .5s ease;
  position: relative;
}
.rz:hover .rz-desktop { transform: rotateY(-2deg) rotateX(1.2deg); }
.rz:hover .rz-phone { transform: translateY(-6px) rotateY(-2deg); }
.rz-topbar { display: flex; align-items: center; gap: 12px; padding: 10px 15px; background: #fff; border-bottom: 1px solid var(--rz-line); direction: ltr; }
.rz-dots { display: flex; gap: 6px; flex-shrink: 0; }
.rz-dots span { width: 10px; height: 10px; border-radius: 50%; }
.rz-dots span:nth-child(1){ background:#FF5F57; } .rz-dots span:nth-child(2){ background:#FEBC2E; } .rz-dots span:nth-child(3){ background:#28C840; }
.rz-addr { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; font-family: var(--font-en); direction: ltr; font-size: 12px; font-weight: 500; color: var(--rz-ink2); background: #fff; border: 1px solid var(--rz-line); padding: 6px 14px; border-radius: 8px; }
.rz-addr i { color: var(--green); font-size: 13px; }
.rz-tbtools { display: flex; gap: 11px; color: var(--rz-ink2); font-size: 15px; flex-shrink: 0; }

.rz-screen { background: #fff; }

/* shop header */
.rz-head { display: flex; align-items: center; gap: 14px; padding: 9px 18px; background: #fff; }
.rz-head-side { flex: 1; display: flex; align-items: center; }
.rz-head-end { justify-content: flex-start; gap: 12px; }
.rz-head-start { justify-content: flex-end; }
.rz-logo { font-weight: 800; font-size: 20px; color: var(--rz-ink); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.rz-logo i { color: var(--rz-rose); font-size: 16px; }
.rz-cart { display: inline-flex; align-items: center; gap: 6px; background: var(--rz-blush); color: var(--rz-rose-dark); font-size: 11.5px; font-weight: 700; padding: 7px 13px; border-radius: 100px; white-space: nowrap; }
.rz-cart b { background: var(--rz-rose); color: #fff; font-size: 9px; min-width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; padding: 0 3px; }
.rz-acct { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--rz-ink2); font-weight: 600; white-space: nowrap; }
.rz-acct i { font-size: 16px; }
.rz-search { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--rz-line); border-radius: 100px; padding: 8px 15px; min-width: 175px; color: var(--rz-ink2); font-size: 11.5px; }
.rz-search i { font-size: 14px; }

.rz-nav { display: flex; justify-content: center; gap: 20px; padding: 9px 18px 7px; background: #fff; border-top: 1px solid var(--rz-line); }
.rz-nav span { font-size: 12px; font-weight: 600; color: var(--rz-ink2); white-space: nowrap; }
.rz-nav span.active { color: var(--rz-rose); }

/* hero banner */
.rz-banner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 14px; margin: 9px 15px 13px; background: linear-gradient(120deg, var(--rz-blush) 30%, var(--rz-blush2)); border-radius: 16px; padding: 22px 24px; overflow: hidden; }
.rz-banner-copy { z-index: 2; }
.rz-tag { display: inline-block; background: var(--rz-rose); color: #fff; font-size: 9.5px; font-weight: 700; padding: 3px 12px; border-radius: 100px; margin-bottom: 11px; }
.rz-banner-copy h3 { font-size: 22px; font-weight: 800; line-height: 1.28; color: var(--rz-ink); letter-spacing: -0.01em; }
.rz-banner-copy p { font-size: 11px; color: var(--rz-ink2); margin: 9px 0 15px; line-height: 1.7; max-width: 210px; }
.rz-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--rz-rose); color: #fff; font-size: 11px; font-weight: 700; padding: 9px 17px; border-radius: 100px; box-shadow: 0 9px 18px -6px rgba(168,90,119,0.55); white-space: nowrap; }
.rz-btn i { font-size: 13px; }
.rz-banner-img { align-self: stretch; }
.rz-banner-img image-slot { display: block; width: 100%; height: 100%; min-height: 168px; border-radius: 12px; overflow: hidden; }
.rz-bdots { position: absolute; bottom: 11px; right: 24px; display: flex; gap: 5px; z-index: 3; }
.rz-bdots span { width: 5px; height: 5px; border-radius: 50%; background: rgba(168,90,119,0.28); }
.rz-bdots span.on { width: 15px; border-radius: 100px; background: var(--rz-rose); }

/* categories */
.rz-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 2px 18px 6px; }
.rz-cat { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.rz-cat-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--rz-blush); display: grid; place-items: center; transition: background .2s; }
.rz-cat-ic i { font-size: 24px; color: var(--rz-rose-dark); }
.rz-cat em { font-size: 10px; font-style: normal; color: var(--rz-ink2); font-weight: 600; white-space: nowrap; }

/* section head */
.rz-sec { display: flex; align-items: center; justify-content: space-between; padding: 2px 18px 10px; }
.rz-sec span { font-size: 14.5px; font-weight: 800; color: var(--rz-ink); }
.rz-sec em { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--rz-rose-dark); font-style: normal; font-weight: 700; }
.rz-sec em i { font-size: 12px; }

/* product grid */
.rz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0 16px 20px; }
.rz-card { background: #fff; border: 1px solid var(--rz-line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; }
.rz-thumb { position: relative; border-radius: 9px; overflow: hidden; aspect-ratio: 1 / 1.12; background: var(--rz-blush); margin-bottom: 8px; }
.rz-thumb image-slot { width: 100%; height: 100%; display: block; }
.rz-badge { position: absolute; top: 6px; right: 6px; font-size: 8.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; color: #fff; z-index: 2; }
.rz-badge.sale { background: var(--rz-rose-dark); }
.rz-badge.new { background: var(--green); }
.rz-badge.hot { background: var(--rz-rose); }
.rz-pname { font-size: 11px; font-weight: 700; color: var(--rz-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rz-pcat { font-size: 9px; color: var(--rz-ink2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rz-stars { display: flex; align-items: center; gap: 1px; margin-top: 6px; }
.rz-stars i { font-size: 9px; color: var(--rz-gold); }
.rz-stars b { font-size: 8.5px; color: var(--rz-ink2); font-weight: 600; margin-inline-start: 4px; }
.rz-price { display: flex; align-items: baseline; gap: 7px; margin-top: auto; padding-top: 6px; }
.rz-now { font-size: 11.5px; font-weight: 800; color: var(--rz-rose-dark); }
.rz-old { font-size: 9px; color: var(--rz-ink2); text-decoration: line-through; }
.rz-add { width: 100%; margin-top: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; background: var(--rz-blush); color: var(--rz-rose-dark); border: none; font-family: inherit; font-size: 10px; font-weight: 800; padding: 8px 6px; border-radius: 8px; cursor: pointer; transition: background .18s, color .18s; }
.rz-add i { font-size: 13px; }
.rz-card:hover .rz-add { background: var(--rz-rose); color: #fff; }
.rz-add { transition: background .18s, color .18s, transform .14s ease; }
.rz-add.pressed { transform: scale(.93); background: var(--rz-rose); color: #fff; }
.rz-btn { transition: box-shadow .18s, transform .14s ease, background .18s; }
.rz-btn.pressed { transform: scale(.94); background: var(--rz-rose-dark); }

/* ---- cart-demo motion ---- */
.rz-cart { transition: transform .2s ease; }
@keyframes rzPop { 0%{transform:scale(1);} 32%{transform:scale(1.32);} 62%{transform:scale(.9);} 100%{transform:scale(1);} }
.rz-cart.pop { animation: rzPop .5s ease; }
.rz-cart b.bump { animation: rzPop .42s ease; }
.rz-cursor { position: absolute; top: 0; left: 0; z-index: 55; pointer-events: none; opacity: 0; filter: drop-shadow(0 3px 5px rgba(20,10,40,.3)); transition: opacity .3s ease, scale .12s ease; will-change: transform; }
.rz-cursor.show { opacity: 1; }
.rz-cursor.clicking { scale: .82; }
.rz-fly { position: absolute; top: 0; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--rz-rose); border: 2px solid #fff; box-shadow: 0 5px 12px -2px rgba(185,88,130,.55); z-index: 50; pointer-events: none; will-change: transform, opacity; }
.rz-toast { position: absolute; top: 50%; left: 50%; transform: translate(-50%, calc(-50% - 8px)); display: flex; align-items: center; gap: 7px; background: rgba(53,45,56,.94); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px -14px rgba(30,18,50,.55); border-radius: 12px; padding: 12px 20px; font-size: 12.5px; font-weight: 800; color: #fff; white-space: nowrap; opacity: 0; transition: opacity .28s ease, transform .28s ease; z-index: 60; pointer-events: none; }
.rz-toast.show { opacity: 1; transform: translate(-50%, -50%); }
.rz-toast i { color: #58D38B; font-size: 17px; }
@media (prefers-reduced-motion: reduce) {
  .rz-cursor, .rz-fly { display: none !important; }
  .rz-cart.pop, .rz-cart b.bump { animation: none !important; }
}

/* ---------- phone ---------- */
.rz-phone { position: absolute; right: -22px; left: auto; bottom: -26px; width: 216px; z-index: 6; background: #1c1722; border-radius: 38px; padding: 6px; box-shadow: 0 36px 70px -22px rgba(60,40,90,0.5), 0 0 0 2px #312a3b; transition: transform .5s ease; }
.rz-phone-screen { position: relative; height: 430px; background: #fff; border-radius: 32px; overflow: hidden; }
.rz-phone-screen::before { content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 56px; height: 16px; background: #1c1722; border-radius: 100px; z-index: 20; }

.rz-status { display: flex; align-items: center; justify-content: flex-start; padding: 11px 18px 3px; }
.rz-stat-ic { display: flex; gap: 5px; font-size: 12px; color: var(--rz-ink); }
.rz-mhead { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 8px; }
.rz-mhead > i { font-size: 18px; color: var(--rz-ink); }
.rz-mhead .rz-logo { font-size: 16px; }
.rz-mhead .rz-logo i { font-size: 13px; }
.rz-mcart { position: relative; }
.rz-mcart i { font-size: 18px; color: var(--rz-rose); }
.rz-mcart b { position: absolute; top: -6px; left: -7px; background: var(--rz-rose); color: #fff; font-size: 8px; min-width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center; padding: 0 2px; }
.rz-msearch { margin: 0 14px 11px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--rz-line); border-radius: 100px; padding: 8px 13px; font-size: 10.5px; color: var(--rz-ink2); }
.rz-msearch i { font-size: 14px; }

.rz-mbanner { position: relative; margin: 0 14px 13px; border-radius: 14px; overflow: hidden; height: 130px; }
.rz-mbanner image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rz-mbanner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, rgba(248,238,245,0.97) 28%, rgba(248,238,245,0.55) 55%, transparent 78%); z-index: 1; }
.rz-mbanner-copy { position: relative; z-index: 2; height: 100%; padding: 15px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.rz-mbanner-copy h4 { font-size: 15px; font-weight: 800; color: var(--rz-ink); line-height: 1.25; }
.rz-mbanner-copy .rz-tag { margin-bottom: 8px; }
.rz-btn.sm { font-size: 9.5px; padding: 7px 13px; margin-top: 10px; }
.rz-btn.sm i { font-size: 11px; }

.rz-mcats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 12px 13px; }
.rz-mcats .rz-cat-ic { width: 42px; height: 42px; }
.rz-mcats .rz-cat-ic i { font-size: 21px; }
.rz-mcats .rz-cat em { font-size: 8.5px; }

.rz-phone .rz-sec { padding: 2px 16px 10px; }
.rz-phone .rz-sec span { font-size: 13px; }

.rz-offer { margin: 0 14px; background: #fff; border: 1px solid var(--rz-line); border-radius: 14px; overflow: hidden; }
.rz-offer-img { height: 118px; }
.rz-offer-img image-slot { width: 100%; height: 100%; display: block; }
.rz-offer-body { padding: 11px 14px 14px; }
.rz-offer-body .rz-pname { font-size: 13px; }
.rz-offer-body .rz-pcat { font-size: 10px; }
.rz-price.col { flex-direction: column; align-items: flex-start; gap: 1px; margin-top: 8px; }
.rz-price.col .rz-now { font-size: 13.5px; }

.rz-tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; padding: 8px 6px 11px; background: #fff; border-top: 1px solid var(--rz-line); box-shadow: 0 -6px 16px -10px rgba(80,30,55,0.18); }
.rz-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--rz-ink2); }
.rz-tabbar i { font-size: 18px; }
.rz-tabbar em { font-size: 7.5px; font-style: normal; font-weight: 600; }
.rz-tabbar span.active { color: var(--rz-rose); }

@media (max-width: 1024px) {
  .rz { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 28px; padding-bottom: 0; }
  .rz-desktop { flex: 1 1 480px; max-width: 640px; }
  .rz-phone { position: relative; right: auto; left: auto; bottom: auto; flex: 0 0 auto; }
}
@media (max-width: 600px) {
  .rz-desktop { flex-basis: 100%; }
  .rz-nav { gap: 13px; }
  .rz-nav span:nth-child(n+5) { display: none; }
  .rz-cat em, .rz-banner-copy p { font-size: 9.5px; }
}

/* ============================================================
   Global Component Toast Notification System (امرتات استور)
   ============================================================ */
.app-toast-container {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 90vw;
  width: max-content;
}

.app-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 14, 23, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.35);
  border-radius: var(--r-lg);
  padding: 14px 22px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-20px) scale(0.94);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.app-toast-ico {
  font-size: 22px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.app-toast.error .app-toast-ico { color: #EF4444; }
.app-toast.success .app-toast-ico { color: #22C55E; }
.app-toast.info .app-toast-ico { color: #8B5CF6; }

.app-toast-msg {
  white-space: pre-line;
}

/* ============================================================
   🛡️ OTP Verification Modal Styling
   ============================================================ */
.otp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 23, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}

.otp-modal-card {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 48px rgba(108, 99, 255, 0.2);
  width: 100%;
  max-width: 420px;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.otp-close-btn {
  position: absolute;
  top: 16px;
  left: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-3);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.otp-close-btn:hover { color: var(--text); }

.otp-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
}

.otp-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.otp-desc {
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 24px;
  line-height: 1.6;
}

.otp-input-group {
  margin-bottom: 20px;
}
.otp-input-group input {
  width: 100%;
  height: 54px;
  font-family: var(--font-fa);
  font-feature-settings: 'tnum';
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 12px;
  text-align: center;
  border: 2px solid var(--border-strong);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.otp-input-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
  background: #ffffff;
}

.otp-timer-row {
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 12px;
  min-height: 24px;
}
.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: 13.5px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.92) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }

