/* ==========================================================================
   صدف — الصفحة الرئيسية
   ========================================================================== */
html { background: #f7f2e9; }

body.landing {
  background:
    radial-gradient(1100px 700px at 88% -4%, rgba(213, 235, 224, 0.85) 0%, rgba(247, 242, 233, 0) 58%),
    radial-gradient(900px 620px at 2% 22%, rgba(248, 226, 205, 0.55) 0%, rgba(247, 242, 233, 0) 64%),
    linear-gradient(180deg, #fbf7ef 0%, #f8f2e8 55%, #f5eee3 100%);
  overflow-x: hidden;
}

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

/* الترويسة --------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(250, 247, 240, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(18, 51, 47, 0.07);
  box-shadow: 0 8px 30px rgba(18, 51, 47, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 18px rgba(18, 51, 47, 0.08), inset 0 1px 0 #fff;
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.03); }

.brand-mark img { width: 32px; height: 32px; }

.brand-text { display: flex; align-items: baseline; gap: 8px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--teal-950);
  letter-spacing: 0;
}

.brand-caption {
  font-size: 11px;
  color: var(--muted);
  border-right: 1px solid var(--line-strong);
  padding-right: 9px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.nav-links a {
  position: relative;
  padding: 7px 0;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1.5px;
  background: var(--teal-600);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}

.nav-links a:hover { color: var(--teal-700); }
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.local-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(18, 51, 47, 0.08);
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
}

.local-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(58, 139, 124, 0.12);
}

.header-cta { padding-inline: 16px; }

.header-cta svg { width: 16px; height: 16px; }

/* البطل ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 150px 0 98px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}

.hero-aura-one {
  width: 540px;
  height: 540px;
  background: rgba(160, 207, 191, 0.33);
  top: -140px;
  left: -100px;
}

.hero-aura-two {
  width: 420px;
  height: 420px;
  background: rgba(236, 189, 155, 0.26);
  bottom: 20px;
  right: 33%;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
}

.hero-wave svg { width: 100%; height: 210px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 54px;
  position: relative;
  z-index: 2;
}

.hero-copy { max-width: 570px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--teal-700);
  margin-bottom: 24px;
  padding: 7px 11px 7px 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(18, 51, 47, 0.08);
  backdrop-filter: blur(8px);
}

.eyebrow-spark {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
}

.eyebrow-spark svg { width: 15px; height: 15px; }

.eyebrow-line {
  width: 18px;
  height: 1px;
  background: var(--teal-300);
  margin-right: 2px;
}

.hero-title {
  font-size: clamp(42px, 4.5vw, 66px);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: -1.3px;
  color: var(--teal-950);
  margin-bottom: 24px;
}

.title-accent {
  position: relative;
  display: inline-block;
  color: var(--teal-700);
  white-space: nowrap;
  font-weight: 700;
}

.title-accent::after {
  content: "";
  position: absolute;
  right: 3px;
  left: 3px;
  bottom: 4px;
  height: 12px;
  border-radius: 30% 70% 50% 50%;
  background: linear-gradient(90deg, rgba(203, 170, 107, 0.3), rgba(219, 132, 98, 0.26), rgba(58, 139, 124, 0.18));
  z-index: -1;
  transform: rotate(-1deg);
}

.title-accent::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 5px rgba(203, 170, 107, 0.14);
  animation: pulseSoft 4s ease-in-out infinite;
}

.hero-lede {
  font-size: 16.5px;
  line-height: 2;
  color: #55645e;
  max-width: 500px;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-bottom: 32px; }

.hero-cta {
  padding-inline: 23px;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.hero-cta::after {
  content: "";
  position: absolute;
  top: 0;
  right: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-20deg);
  transition: right 0.6s var(--ease);
}

.hero-cta:hover::after { right: 130%; }

.cta-shell {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.13);
  flex: none;
}

.cta-shell svg { width: 16px; height: 16px; }

.btn-arrow { transition: transform 0.25s var(--ease); }

.hero-cta:hover .btn-arrow { transform: translateX(-4px); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 11.5px;
}

.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

.hero-trust svg { width: 14px; height: 14px; color: var(--teal-500); }

/* معاينة التطبيق --------------------------------------------------------- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-inline-start: auto;
  perspective: 1800px;
  --px: 0;
  --py: 0;
}

.visual-halo {
  position: absolute;
  inset: 6% 3% 2% 3%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(255, 252, 242, 0.9), rgba(255, 252, 242, 0.32) 52%, transparent 72%);
  filter: blur(12px);
  transform: scale(1.1);
  z-index: -1;
}

.pearl-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(18, 51, 47, 0.09);
  pointer-events: none;
  z-index: -1;
}

.orbit-one {
  inset: -38px -30px 24px 22px;
  transform: rotate(-12deg);
  border-color: rgba(203, 170, 107, 0.2);
}

.orbit-two {
  inset: 42px 22px -26px -20px;
  transform: rotate(9deg);
  border-style: dashed;
  border-color: rgba(58, 139, 124, 0.16);
}

.preview-frame {
  position: relative;
  border-radius: 26px;
  padding: 9px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(247, 237, 220, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 50px 100px -34px rgba(13, 54, 50, 0.34),
    0 18px 36px -20px rgba(13, 54, 50, 0.18),
    inset 0 1px 0 #fff;
  transform: rotate(-1.3deg) rotateX(calc(var(--py) * -2deg)) rotateY(calc(var(--px) * 2.5deg));
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.hero-visual:hover .preview-frame {
  transform: rotate(0deg) rotateX(calc(var(--py) * -1.5deg)) rotateY(calc(var(--px) * 1.5deg));
}

.preview-window {
  display: flex;
  border-radius: 19px;
  overflow: hidden;
  background: #f7f4ed;
  border: 1px solid rgba(18, 51, 47, 0.08);
  min-height: 480px;
}

.preview-rail {
  width: 48px;
  flex: none;
  background: linear-gradient(180deg, #103f3a, #0a302c);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
}

.preview-logo {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.preview-logo img { width: 22px; height: 22px; }

.rail-item {
  width: 29px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  position: relative;
}

.rail-item span {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1.3px solid rgba(255, 255, 255, 0.38);
  position: relative;
}

.rail-item span::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.rail-item.active {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 2px 0 0 var(--coral-300);
}

.rail-item.active span { border-color: rgba(255, 255, 255, 0.8); }

.rail-bottom { margin-top: auto; }

.preview-stage {
  flex: 1;
  min-width: 0;
  padding: 16px 17px 14px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 235, 226, 0.4), transparent 42%),
    #f7f5ef;
}

.preview-topbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.preview-kicker { display: block; font-size: 8px; color: #88958f; margin-bottom: 2px; }

.preview-topbar strong { font-size: 15px; font-weight: 600; color: var(--teal-950); letter-spacing: -0.2px; }

.preview-top-actions { display: flex; align-items: center; gap: 7px; }

.preview-date {
  font-size: 8px;
  color: #7b8983;
  padding: 5px 8px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(18, 51, 47, 0.08);
}

.preview-add {
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  background: var(--teal-800);
  border-radius: 6px;
  padding: 6px 9px;
  box-shadow: 0 3px 8px rgba(18, 68, 62, 0.18);
}

.preview-kpis { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; }

.preview-kpi {
  position: relative;
  padding: 11px 10px 9px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid rgba(18, 51, 47, 0.075);
  overflow: hidden;
}

.preview-kpi.primary {
  background: linear-gradient(145deg, #16564d, #0e3b36);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(13, 54, 50, 0.5);
}

.pk-label { display: block; font-size: 7px; color: #85918c; margin-bottom: 5px; }
.preview-kpi.primary .pk-label { color: rgba(255, 255, 255, 0.62); }

.preview-kpi strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.preview-kpi.primary strong { color: #fff; }

.preview-kpi strong small { font-size: 7px; font-weight: 400; opacity: 0.55; }

.pk-trend {
  display: inline-block;
  margin-top: 4px;
  font-size: 6.5px;
  color: #bfe6d7;
  background: rgba(255, 255, 255, 0.09);
  padding: 2px 5px;
  border-radius: 4px;
}

.pk-muted { display: block; margin-top: 4px; font-size: 6.5px; color: #8a968f; }

.pk-glow {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(138, 203, 181, 0.2);
  filter: blur(18px);
  left: -16px;
  bottom: -28px;
}

.preview-panels { display: grid; grid-template-columns: 1.45fr 0.9fr; gap: 9px; }

.preview-chart-card,
.preview-best,
.preview-recent {
  background: #fff;
  border-radius: 11px;
  border: 1px solid rgba(18, 51, 47, 0.075);
  padding: 11px;
  overflow: hidden;
}

.preview-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
}

.preview-card-head strong { display: block; font-size: 8.5px; font-weight: 600; color: var(--ink); }
.preview-card-head span { display: block; font-size: 6.5px; color: #96a19c; margin-top: 1px; }
.preview-card-head.compact { align-items: center; }

.mini-legend { display: flex; align-items: center; gap: 3px; font-size: 6px; color: #8e9a94; }
.mini-legend i { width: 6px; height: 2px; border-radius: 2px; background: var(--teal-600); }
.mini-link { font-size: 6.5px; color: var(--teal-600); font-weight: 500; }

.preview-chart { position: relative; height: 104px; margin-top: 3px; }

.chart-grid { position: absolute; inset: 0 0 13px; display: flex; flex-direction: column; justify-content: space-between; }
.chart-grid i { height: 1px; background: #eef1ee; }

.preview-chart svg { position: absolute; inset: 0 0 13px; width: 100%; height: calc(100% - 13px); overflow: visible; }

.chart-days {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font-size: 5.5px;
  color: #9aa49f;
}

.best-row { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px solid #f1f3f0; }
.best-row:first-of-type { border-top: 0; }

.best-emoji {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #f6f1e7;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: none;
}

.best-info { min-width: 0; flex: 1; }
.best-info strong { display: block; font-size: 6.8px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.best-info span { display: block; font-size: 5.5px; color: #9aa49f; }

.best-bar { width: 34px; height: 3px; background: #eef2ef; border-radius: 4px; overflow: hidden; flex: none; }
.best-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--teal-300), var(--teal-600)); }

.preview-recent { padding: 10px 11px 7px; }

.recent-row { display: flex; align-items: center; gap: 7px; padding: 6px 0; border-top: 1px solid #f2f4f1; }
.recent-row:first-of-type { border-top: 0; }

.recent-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  font-size: 7px;
  font-weight: 600;
  flex: none;
}

.recent-avatar.alt { background: var(--coral-100); color: var(--coral-700); }

.recent-name { flex: 1; min-width: 0; }
.recent-name strong { display: block; font-size: 6.8px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-name span { display: block; font-size: 5.5px; color: #9aa49f; direction: ltr; text-align: right; }

.recent-pay {
  font-size: 5.5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #f3f5f2;
  color: #78857f;
}

.recent-amount { font-size: 7.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.recent-amount small { font-size: 5.5px; font-weight: 400; color: #8e9a94; }

/* بطاقات عائمة */
.float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px -16px rgba(13, 54, 50, 0.28), 0 1px 0 #fff inset;
  animation: floatY 7s ease-in-out infinite;
}

.float-profit {
  top: 7%;
  right: -28px;
  animation-delay: -1.5s;
}

.float-order {
  bottom: 9%;
  left: -26px;
  padding: 9px 11px;
  animation-delay: -3.7s;
}

.float-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}

.float-icon.profit { background: var(--teal-100); color: var(--teal-700); }
.float-icon.order { background: var(--coral-100); color: var(--coral-600); }
.float-icon svg { width: 16px; height: 16px; }

.float-card div span { display: block; font-size: 7px; color: var(--muted); margin-bottom: 1px; }
.float-card div strong { display: flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--teal-950); }
.float-card div strong small { font-size: 7px; font-weight: 400; color: var(--muted); }

.float-badge {
  font-size: 7px;
  color: var(--success);
  background: var(--success-bg);
  border-radius: 4px;
  padding: 2px 5px;
  align-self: flex-end;
  margin-bottom: 2px;
}

.online-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal-500);
  display: inline-block;
  margin-right: 2px;
}

.float-order-amount { font-size: 9px; font-weight: 600; color: var(--coral-700); margin-right: 3px; }

.visual-note {
  position: absolute;
  bottom: -27px;
  right: 8px;
  font-size: 9.5px;
  color: #99a29d;
  display: flex;
  align-items: center;
  gap: 6px;
}

.visual-note::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--sand-400);
}

.scroll-hint {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #8f9a94;
  font-size: 9.5px;
  z-index: 4;
}

.scroll-hint i {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, rgba(18, 51, 47, 0.3), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-hint i::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 10px;
  background: var(--teal-600);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-12px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(32px); opacity: 0; }
}

/* المزايا ----------------------------------------------------------------- */
.features-section {
  padding: 105px 0 120px;
  position: relative;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 50px;
}

.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--coral-600);
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.section-kicker.light { color: var(--coral-300); }

.section-heading h2,
.start-card h2 {
  font-size: clamp(34px, 3.8vw, 50px);
  line-height: 1.38;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--teal-950);
}

.soft-accent { color: var(--teal-600); font-weight: 500; }

.section-heading > p {
  max-width: 350px;
  color: #68756f;
  font-size: 14px;
  line-height: 1.95;
  padding-bottom: 4px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 27px 26px 24px;
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 4px rgba(18, 51, 47, 0.02), inset 0 1px 0 #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -90px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(209, 233, 223, 0.55), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 25px 50px -28px rgba(18, 51, 47, 0.25);
}

.feature-card:hover::after { opacity: 1; }

.feature-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.feature-icon {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
}

.feature-icon svg { width: 21px; height: 21px; }
.feature-icon.teal { background: var(--teal-50); color: var(--teal-700); border-color: rgba(58, 139, 124, 0.09); }
.feature-icon.coral { background: var(--coral-100); color: var(--coral-600); border-color: rgba(193, 106, 72, 0.08); }
.feature-icon.gold { background: var(--gold-100); color: var(--gold-700); border-color: rgba(180, 140, 78, 0.1); }
.feature-icon.violet { background: var(--violet-bg); color: var(--violet); border-color: rgba(109, 91, 151, 0.08); }
.feature-icon.blue { background: var(--info-bg); color: var(--info); border-color: rgba(61, 111, 137, 0.08); }

.feature-num {
  font-size: 10px;
  color: #b4bcb7;
  font-family: var(--font);
  letter-spacing: 1px;
}

.feature-card h3,
.feature-content h3 {
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--teal-950);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.feature-card > p,
.feature-content p {
  font-size: 12.5px;
  line-height: 1.9;
  color: #74817b;
  max-width: 390px;
}

.feature-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  grid-template-rows: auto 1fr;
  gap: 0 26px;
  background:
    radial-gradient(160% 120% at 100% 0%, rgba(255, 255, 255, 0.97), rgba(250, 247, 240, 0.82)),
    #fff;
  min-height: 330px;
}

.feature-wide .feature-topline { grid-column: 1 / -1; margin-bottom: 16px; }
.feature-wide .feature-content { align-self: end; padding-bottom: 5px; }
.feature-wide .feature-content h3 { font-size: 23px; }

.feature-visual {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 100%;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -6px;
}

.sale-visual::before {
  content: "";
  position: absolute;
  inset: 4% 0 2% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(208, 232, 221, 0.6), transparent 72%);
}

.sale-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 51, 47, 0.14) 0.7px, transparent 0.7px);
  background-size: 12px 12px;
  opacity: 0.35;
  mask-image: radial-gradient(closest-side, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent 80%);
}

.mini-receipt {
  position: relative;
  z-index: 2;
  width: 225px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(18, 51, 47, 0.08);
  box-shadow: 0 22px 45px -20px rgba(18, 51, 47, 0.35);
  padding: 16px;
  transform: rotate(-4deg);
  transition: transform 0.4s var(--ease);
}

.feature-card:hover .mini-receipt { transform: rotate(-1.5deg) translateY(-3px); }

.receipt-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px dashed rgba(18, 51, 47, 0.14); }
.receipt-head span { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.receipt-head i { font-style: normal; font-size: 7px; color: #8d9892; direction: ltr; }

.receipt-line { display: flex; justify-content: space-between; margin-top: 8px; font-size: 8px; color: #5e6c66; }
.receipt-line b { font-weight: 500; color: var(--ink); font-size: 8px; }

.receipt-dash { height: 1px; margin: 11px 0 8px; background: repeating-linear-gradient(90deg, rgba(18, 51, 47, 0.15) 0 3px, transparent 3px 6px); }

.receipt-total { display: flex; justify-content: space-between; align-items: baseline; }
.receipt-total span { font-size: 8px; color: #8a9590; }
.receipt-total b { font-size: 14px; font-weight: 600; color: var(--teal-900); }
.receipt-total b small { font-size: 7px; font-weight: 400; color: #8a9590; }

.receipt-ok {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 6px;
  padding: 5px;
  font-size: 7px;
  font-weight: 500;
  margin-top: 10px;
}

.receipt-ok svg { width: 10px; height: 10px; }

.feature-metric {
  margin-top: auto;
  background: #f8f6f1;
  border: 1px solid rgba(18, 51, 47, 0.055);
  border-radius: 13px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 8px;
}

.feature-metric > span:first-child { font-size: 8.5px; color: var(--muted); grid-column: 1 / -1; }
.feature-metric strong { font-size: 18px; font-weight: 600; color: var(--teal-900); line-height: 1.2; }
.feature-metric strong small { font-size: 8px; font-weight: 400; color: var(--muted); }
.metric-up { font-size: 8px; color: var(--success); background: var(--success-bg); border-radius: 4px; padding: 2px 5px; }

.stock-bars { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }

.stock-line { display: flex; align-items: center; gap: 7px; font-size: 8px; color: #6d7a74; }
.stock-line span { width: 58px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.stock-line i { flex: 1; height: 5px; border-radius: 4px; background: #f0f2ef; overflow: hidden; }
.stock-line b { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-300), var(--teal-600)); border-radius: 4px; }
.stock-line em { font-style: normal; font-size: 7.5px; min-width: 15px; text-align: left; color: #8e9993; }
.stock-line.low b { background: linear-gradient(90deg, var(--coral-300), var(--coral-500)); }
.stock-line.low span, .stock-line.low em { color: var(--coral-700); }

.feature-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 8px; }
.feature-tags span { font-size: 8px; color: #6a7972; background: #f5f3ed; border: 1px solid rgba(18, 51, 47, 0.06); border-radius: 5px; padding: 4px 7px; }

.order-steps { display: flex; align-items: center; margin-top: auto; padding-top: 10px; }
.order-steps span { font-size: 7.5px; padding: 4px 6px; border-radius: 5px; background: #f4f5f2; color: #939d97; white-space: nowrap; }
.order-steps span.done { background: var(--teal-50); color: var(--teal-700); }
.order-steps span.active { background: var(--coral-100); color: var(--coral-700); }
.order-steps i { flex: 1; height: 1px; background: #e6eae5; margin: 0 4px; min-width: 5px; }

/* كيف يعمل --------------------------------------------------------------- */
.how-section { padding: 20px 0 110px; }

.how-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 70px;
  padding: 72px 68px;
  border-radius: 36px;
  background:
    radial-gradient(1000px 500px at 100% 0%, rgba(62, 121, 108, 0.55), transparent 55%),
    radial-gradient(800px 600px at 0% 100%, rgba(223, 164, 124, 0.16), transparent 55%),
    linear-gradient(145deg, #12453f 0%, #0b302c 55%, #092a26 100%);
  overflow: hidden;
  box-shadow: 0 45px 80px -45px rgba(8, 43, 39, 0.5);
}

.how-shell::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  top: -300px;
  left: -100px;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.018), 0 0 0 140px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

.how-shell::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(206, 229, 219, 0.15), transparent);
  bottom: -200px;
  right: 20%;
  filter: blur(20px);
  pointer-events: none;
}

.how-intro { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }

.how-intro h2 {
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.38;
  font-weight: 600;
  color: #fffdf8;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.how-intro p { font-size: 13.5px; line-height: 1.95; color: rgba(237, 245, 241, 0.62); max-width: 330px; margin-bottom: 28px; }
.how-intro .btn { margin-top: auto; }

.steps-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.step-item {
  display: grid;
  grid-template-columns: 30px 44px 1fr;
  align-items: start;
  gap: 14px;
  padding: 19px 20px 19px 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 17px;
  transition: background 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}

.step-item:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(-3px);
}

.step-number {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 1px;
  padding-top: 5px;
  direction: ltr;
  text-align: right;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--coral-300);
}

.step-icon svg { width: 20px; height: 20px; }

.step-item h3 { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.94); margin-bottom: 4px; }
.step-item p { font-size: 11.5px; line-height: 1.8; color: rgba(232, 242, 237, 0.5); }

/* ابدأ ------------------------------------------------------------------- */
.start-section { padding: 0 0 110px; }

.start-card {
  position: relative;
  text-align: center;
  padding: 82px 30px 72px;
  border-radius: 34px;
  background:
    radial-gradient(800px 500px at 50% -10%, rgba(255, 255, 255, 0.95), transparent 62%),
    radial-gradient(700px 400px at 90% 100%, rgba(217, 238, 228, 0.8), transparent 55%),
    radial-gradient(600px 400px at 5% 100%, rgba(250, 226, 204, 0.72), transparent 55%),
    #faf6ee;
  border: 1px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  box-shadow: 0 30px 70px -45px rgba(18, 51, 47, 0.22);
}

.start-card::before,
.start-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(18, 51, 47, 0.07);
  pointer-events: none;
}

.start-card::before { width: 500px; height: 500px; top: -300px; right: -150px; }
.start-card::after { width: 420px; height: 420px; bottom: -290px; left: -80px; }

.start-ornament {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px -20px rgba(18, 51, 47, 0.25);
}

.start-ornament img { width: 52px; height: 52px; }

.start-card .section-kicker { margin-bottom: 8px; }
.start-card h2 { margin-bottom: 14px; }
.start-card h2 span { color: var(--teal-600); font-weight: 500; }
.start-card > p { font-size: 14px; color: #6c7973; margin-bottom: 28px; }
.start-button { min-width: 220px; }
.start-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 22px; font-size: 10px; color: #929c96; }
.start-note svg { width: 13px; height: 13px; color: var(--teal-500); }

/* التذييل ----------------------------------------------------------------- */
.site-footer { border-top: 1px solid rgba(18, 51, 47, 0.07); background: rgba(249, 245, 237, 0.6); }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 0 31px;
}

.footer-brand { display: flex; align-items: center; gap: 9px; }
.footer-brand img { width: 31px; height: 31px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand .brand-name { font-size: 22px; line-height: 1.1; }
.footer-brand span:not(.brand-name) { font-size: 8.5px; color: #96a099; }

.footer-links { display: flex; align-items: center; gap: 22px; font-size: 11px; color: #7a8781; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-700); }
.footer-copy { font-size: 9.5px; color: #9ba49e; }

/* كشف العناصر ------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js [data-reveal].reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* استجابة ---------------------------------------------------------------- */
@media (max-width: 1140px) {
  .container { width: min(1240px, calc(100% - 48px)); }
  .hero-grid { gap: 34px; }
  .preview-window { min-height: 455px; }
  .float-profit { right: -12px; }
  .float-order { left: -10px; }
  .hero-title { letter-spacing: -0.8px; }
  .how-shell { padding: 58px 46px; gap: 45px; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .local-pill { display: none; }
  .hero { padding-top: 135px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .hero-copy { max-width: 660px; text-align: center; margin-inline: auto; }
  .hero-actions, .hero-trust, .eyebrow { justify-content: center; }
  .hero-title { font-size: clamp(40px, 7vw, 58px); }
  .hero-lede { margin-inline: auto; }
  .hero-visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .float-profit { right: -20px; }
  .float-order { left: -18px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-wide { grid-column: span 2; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-heading > p { max-width: 520px; }
  .how-shell { grid-template-columns: 1fr; gap: 40px; padding: 52px 42px; }
  .how-intro p { max-width: 450px; }
  .how-intro .btn { margin-top: 0; }
  .start-section { padding-bottom: 80px; }
  .scroll-hint { display: none; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .site-header { padding: 12px 0; }
  .header-inner { gap: 10px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand-mark img { width: 28px; height: 28px; }
  .brand-name { font-size: 25px; }
  .brand-caption { display: none; }
  .header-cta { min-height: 38px; padding: 8px 12px; font-size: 12px; }
  .header-cta svg { width: 14px; height: 14px; }
  .hero { padding-top: 112px; padding-bottom: 76px; }
  .hero-grid { gap: 45px; }
  .eyebrow { font-size: 10.5px; margin-bottom: 17px; }
  .hero-title { font-size: clamp(34px, 9vw, 48px); line-height: 1.42; }
  .title-accent { white-space: normal; }
  .hero-lede { font-size: 14px; line-height: 1.95; margin-bottom: 25px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 26px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 12px 16px; justify-content: center; font-size: 10px; }
  .hero-wave svg { height: 120px; }
  .preview-frame { border-radius: 19px; padding: 6px; transform: none; }
  .hero-visual:hover .preview-frame { transform: none; }
  .preview-window { min-height: 0; border-radius: 14px; }
  .preview-rail { display: none; }
  .preview-stage { padding: 13px 12px; gap: 10px; }
  .preview-panels { grid-template-columns: 1fr; }
  .preview-best { display: none; }
  .preview-kpi:nth-child(3) { display: none; }
  .preview-kpis { grid-template-columns: 1.15fr 1fr; }
  .float-card { transform: scale(0.88); transform-origin: center; }
  .float-profit { top: -20px; right: -12px; }
  .float-order { bottom: -24px; left: -8px; }
  .visual-note { display: none; }
  .orbit-one, .orbit-two { display: none; }
  .features-section { padding: 70px 0 80px; }
  .section-heading { margin-bottom: 32px; gap: 13px; }
  .section-heading h2 { font-size: 33px; }
  .section-heading > p { font-size: 12.5px; line-height: 1.85; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-wide { grid-column: span 1; grid-template-columns: 1fr; min-height: 0; }
  .feature-wide .feature-topline { margin-bottom: 4px; }
  .feature-wide .feature-content { padding-bottom: 4px; }
  .feature-wide .feature-content h3 { font-size: 20px; }
  .feature-visual { min-height: 185px; margin-top: 2px; }
  .feature-card { min-height: 0; padding: 22px 20px; }
  .feature-card h3 { font-size: 17px; }
  .stock-bars, .feature-tags, .order-steps { margin-top: 17px; }
  .feature-metric { margin-top: 18px; }
  .mini-receipt { width: 210px; }
  .how-section { padding: 0 0 75px; }
  .how-shell { padding: 38px 22px; border-radius: 26px; gap: 32px; }
  .how-intro h2 { font-size: 36px; }
  .how-intro p { font-size: 12.5px; }
  .step-item { grid-template-columns: 24px 38px 1fr; gap: 10px; padding: 15px 13px; }
  .step-icon { width: 38px; height: 38px; border-radius: 10px; }
  .step-icon svg { width: 18px; height: 18px; }
  .step-item h3 { font-size: 13.5px; }
  .step-item p { font-size: 10.5px; line-height: 1.75; }
  .start-section { padding-bottom: 65px; }
  .start-card { padding: 52px 20px 48px; border-radius: 26px; }
  .start-ornament { width: 66px; height: 66px; }
  .start-ornament img { width: 44px; height: 44px; }
  .start-card h2 { font-size: 36px; }
  .start-card > p { font-size: 12.5px; }
  .start-button { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 15px; padding: 24px 0 30px; }
  .footer-links { gap: 18px; }
  .footer-copy { font-size: 9px; }
}

@media (max-width: 430px) {
  .header-cta { font-size: 11px; padding-inline: 10px; }
  .header-cta .cta-mini { display: none; }
  .hero-title { font-size: 34px; }
  .preview-top-actions .preview-date { display: none; }
  .pk-label { font-size: 6px; }
  .preview-kpi strong { font-size: 12px; }
  .float-card { display: none; }
  .hero { padding-top: 105px; padding-bottom: 60px; }
  .hero-grid { gap: 34px; }
  .hero-trust span { font-size: 9px; }
  .features-section { padding-top: 58px; }
  .start-card { padding-inline: 16px; }
}
