/* ════════════════════════════════════════════════════════════════
   GAYYAR PRO · akm.css — AKM finger sleeves (gp-akm-10)
   ثيم مأخوذ من علبة المنتج: أسود فحمي + أخضر #34B44B + رسم خطّي أبيض
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg:          #070907;
  --bg-2:        #0b0e0b;
  --card:        rgba(242, 247, 242, 0.028);
  --ink:         #f2f7f2;
  --ink-soft:    #c3cfc5;
  --ink-dim:     #74836f;
  --line:        rgba(242, 247, 242, 0.08);
  --line-strong: rgba(242, 247, 242, 0.16);

  --green:       #34b44b;
  --green-light: #6fe287;
  --green-deep:  #1d7a2f;
  --green-glow:  rgba(52, 180, 75, 0.45);
  --green-soft:  rgba(52, 180, 75, 0.12);

  --f-body:    'Cairo', sans-serif;
  --f-display: 'Cairo', sans-serif;
  --f-latin:   'Orbitron', sans-serif;
  --f-mono:    'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body.akm {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--green); color: #041006; }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── خلفية عامة: توهج أخضر خافت + شبكة ─────────────────────────── */
.ak-bgfx {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(52,180,75,0.10), transparent 60%),
    radial-gradient(ellipse 60% 45% at 50% 110%, rgba(52,180,75,0.07), transparent 60%);
}
.ak-bgfx::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(52,180,75,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52,180,75,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 75%);
}

section { position: relative; z-index: 1; }

/* ── شريط التقدم ────────────────────────────────────────────────── */
.ak-rail {
  position: fixed; top: 0; right: 0; width: 3px; height: 100vh;
  background: rgba(242,247,242,0.05); z-index: 90;
}
.ak-rail .fill {
  width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--green-light), var(--green));
  box-shadow: 0 0 12px var(--green-glow);
}

/* ── النافبار ───────────────────────────────────────────────────── */
.ak-nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 28px;
  background: rgba(7, 9, 7, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.ak-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.ak-brand .logo img { width: 38px; height: 38px; object-fit: contain; }
.ak-brand .name { display: flex; flex-direction: column; line-height: 1.15; }
.ak-brand .name .b {
  font-family: var(--f-latin); font-size: 13px; font-weight: 800;
  letter-spacing: 2px; color: var(--ink);
}
.ak-brand .name .s {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 2.5px;
  color: var(--green); margin-top: 2px;
}
.ak-nav-links { display: flex; gap: 26px; }
.ak-nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; transition: color 0.2s;
}
.ak-nav-links a:hover { color: var(--green-light); }
.ak-nav-cta {
  display: flex; align-items: center; gap: 10px;
}
.ak-cart-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: none;
  color: var(--ink-soft); cursor: pointer; position: relative;
  transition: border-color 0.2s, color 0.2s; flex-shrink: 0;
}
.ak-cart-btn:hover { border-color: var(--green); color: var(--green-light); }
.ak-cart-btn .cart-badge {
  position: absolute; top: -6px; left: -6px; min-width: 18px; height: 18px;
  padding: 0 4px; background: var(--bg); border: 1px solid var(--line-strong);
  color: var(--ink-soft); font-family: var(--f-mono); font-size: 10px;
  display: grid; place-items: center; border-radius: 9px; transition: 0.2s;
}
.ak-btn-order {
  font-family: var(--f-body); font-weight: 700; font-size: 14px;
  padding: 10px 22px; background: var(--green); color: #041006;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.ak-btn-order:hover { background: var(--green-light); box-shadow: 0 0 24px var(--green-glow); }

/* شارة "قريباً" — تُخفى تلقائياً من product-status.js عند التوفّر */
.ak-soon-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 2px;
  color: var(--green-light); border: 1px solid rgba(52,180,75,0.4);
  padding: 8px 14px; border-radius: 99px; background: var(--green-soft);
  white-space: nowrap;
}
.ak-soon-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  animation: ak-pulse 2.2s ease-in-out infinite;
}

/* عناصر يحقنها product-status.js — نلوّنها بأخضر الثيم بدل سماوي B3 */
body.akm .ak-spec-row .mini {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 1px;
  padding: 3px 8px; border-radius: 6px; margin-left: 8px;
  background: var(--green-soft); color: var(--green-light);
  border: 1px solid rgba(52,180,75,0.3);
}
body.akm .gp-price-slot .gp-price-val { color: var(--green-light); text-shadow: 0 0 24px var(--green-glow); }
body.akm .gp-color-btn:hover { border-color: var(--green); color: var(--green-light); }
body.akm .gp-color-btn.active { background: var(--green); border-color: var(--green); color: #041006; }

/* ═════════════════════════ HERO — تصميم الغلاف ═════════════════════════ */
.ak-hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 110px calc(clamp(64px, 9vw, 130px) + 18px) 70px;
  overflow: hidden;
}

/* عنوان مخفي بصرياً — للفهرسة وقارئات الشاشة */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* أشرطة خضراء جانبية — أجناب العلبة */
.ak-side {
  position: absolute; top: 0; bottom: 0; width: clamp(64px, 9vw, 130px);
  background: var(--green); z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.ak-side.right { right: 0; }
.ak-side.left  { left: 0; }
.ak-side span {
  font-family: var(--f-latin); font-weight: 900;
  font-size: clamp(40px, 6vw, 84px); letter-spacing: 20px;
  color: #fff; white-space: nowrap;
}
.ak-side.right span { transform: rotate(90deg); }
.ak-side.left  span { transform: rotate(-90deg); }

.ak-hero-inner {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 660px;
}

.ak-hero-logo { width: clamp(60px, 8vw, 92px); margin: 0 auto 4px; opacity: 0.95; }
.ak-hero-wordmark { width: clamp(190px, 28vw, 310px); margin: 0 auto 26px; }

@keyframes ak-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* لوحة اليدين + الأصابع المتوهجة + «خليك محترف» بين الأيدي */
.ak-hands {
  position: relative; width: 100%;
  aspect-ratio: 2320 / 1476;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}
.ak-hands .base { position: absolute; inset: 0; width: 100%; }
.ak-hands .glow-layer {
  position: absolute; inset: 0;
  background-size: 100% 100%; background-repeat: no-repeat;
  filter: drop-shadow(0 0 18px var(--green-glow));
}
.ak-hands .halo {
  position: absolute; inset: -12%;
  background: radial-gradient(ellipse 55% 55% at 50% 42%, rgba(52,180,75,0.16), transparent 65%);
  z-index: -1;
}
.ak-hands .slogan {
  /* مضبوط على قياس الحبر الفعلي: حافة الهاتف تنتهي عند 54.5% من ارتفاع
     الصورة، فيبدأ حبر الشعار من ~60% حيث الفجوة بين الساعدين ≥ 37% */
  position: absolute; left: 50%; bottom: -2%; width: 34%;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 26px rgba(0,0,0,0.7));
}

/* المزايا الثلاث — بنفس تصميم قاع الغلاف */
.ak-hero-feats {
  display: flex; align-items: stretch; justify-content: center;
  width: 100%; margin: clamp(30px, 5vh, 54px) 0 30px;
}
.ak-hero-feats .f { flex: 1; padding: 0 clamp(8px, 2vw, 20px); }
.ak-hero-feats h3 {
  font-family: var(--f-body); font-weight: 900;
  font-size: clamp(15px, 2.3vw, 26px); color: var(--green);
  margin-bottom: 6px; white-space: nowrap;
}
.ak-hero-feats p {
  font-size: clamp(10px, 1.2vw, 14px); color: #fff;
  font-weight: 400; line-height: 1.75;
}
.ak-hero-feats .sep { width: 3px; background: var(--green); border-radius: 2px; flex-shrink: 0; }

/* أزرار الإجراء */
.ak-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ak-btn {
  font-family: var(--f-body); font-weight: 700; font-size: 16px;
  padding: 15px 34px; text-decoration: none; cursor: pointer;
  transition: 0.22s; display: inline-flex; align-items: center; gap: 8px;
}
.ak-btn-primary {
  background: var(--green); color: #041006; border: 1px solid var(--green);
}
.ak-btn-primary:hover {
  background: var(--green-light); border-color: var(--green-light);
  box-shadow: 0 0 34px var(--green-glow); transform: translateY(-2px);
}
.ak-btn-ghost {
  background: none; color: var(--ink); border: 1px solid var(--line-strong);
}
.ak-btn-ghost:hover { border-color: var(--green); color: var(--green-light); }

.gp-price-slot { justify-content: center; }

/* تلميح السكرول */
.ak-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 3px;
  color: var(--ink-dim); z-index: 3;
}
.ak-hint .line {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--green), transparent);
  animation: ak-drip 1.8s ease-in-out infinite;
}
@keyframes ak-drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ═════════════════ GRIP — سكرولي تيلينغ مثبّت ═════════════════ */
.ak-grip-track { height: 320vh; }
.ak-grip-pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ak-grip-bg {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(52,180,75,0.14), transparent 70%);
}
body.no-anim .ak-grip-bg { opacity: 1; }
body.no-anim .ak-grip-visual .sleeve { opacity: 1; }
body.no-anim .ak-grip-phase.p2 { opacity: 1; position: relative; margin-top: 40px; }
body.no-anim .ak-grip-track { height: auto; }
body.no-anim .ak-grip-pin { position: relative; height: auto; padding: 90px 0; }

.ak-grip-grid {
  position: relative; z-index: 2; width: min(1180px, 92vw);
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px;
}

.ak-grip-visual {
  position: relative; aspect-ratio: 2320 / 1476;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.65));
}
.ak-grip-visual .base { position: absolute; inset: 0; }
.ak-grip-visual .sleeve {
  position: absolute; inset: 0; opacity: 0;
  background-size: 100% 100%; background-repeat: no-repeat;
  filter: drop-shadow(0 0 16px var(--green-glow));
}
/* كل نسخة تكشف ربعاً واحداً — إصبع واحد لكل ربع
   inset(top left bottom right) بالنسبة للصورة نفسها */
.ak-grip-visual .sleeve.s1 { clip-path: inset(0 50% 50% 0); }   /* أعلى اليسار */
.ak-grip-visual .sleeve.s2 { clip-path: inset(0 0 50% 50%); }   /* أعلى اليمين */
.ak-grip-visual .sleeve.s3 { clip-path: inset(50% 50% 0 0); }   /* أسفل اليسار */
.ak-grip-visual .sleeve.s4 { clip-path: inset(50% 0 0 50%); }   /* أسفل اليمين */

/* الختم يجلس في الفراغ بين الساعدين أسفل الهاتف — لا فوق الأيدي.
   transform-origin عند مركز الختم نفسه كي لا يزحف جانبياً عند الميلان */
.ak-grip-seal {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding-top: 30%; transform-origin: 50% 76%;
  opacity: 0; transform: scale(1.6) rotate(-6deg); z-index: 3;
}
.ak-grip-seal img { width: 34%; filter: drop-shadow(0 8px 30px rgba(0,0,0,0.7)); }

.ak-grip-copy { position: relative; min-height: 340px; }
.ak-grip-phase { position: absolute; inset: 0; }
.ak-grip-phase.p2 { opacity: 0; }

.ak-grip-eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 3px;
  margin-bottom: 16px;
}
.ak-grip-phase.p1 .ak-grip-eyebrow { color: var(--ink-dim); }
.ak-grip-phase.p2 .ak-grip-eyebrow { color: var(--green-light); }

.ak-grip-phase h2 {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.3; margin-bottom: 14px;
}
.ak-grip-phase.p2 h2 em { font-style: normal; color: var(--green); }
.ak-grip-phase.p1 h2 em { font-style: normal; color: #8fa0a8; }

.ak-grip-phase p.lead {
  font-size: 16px; font-weight: 400; color: var(--ink-soft);
  line-height: 1.9; margin-bottom: 22px; max-width: 460px;
}

.ak-grip-cards { display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.ak-grip-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  padding: 14px 16px; border-radius: 12px;
  backdrop-filter: blur(6px);
}
.ak-grip-phase.p2 .ak-grip-card { border-color: rgba(52,180,75,0.25); }
.ak-grip-card svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.ak-grip-phase.p1 .ak-grip-card svg { color: #8fa0a8; }
.ak-grip-phase.p2 .ak-grip-card svg { color: var(--green-light); }
.ak-grip-card strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.ak-grip-card span { font-size: 13px; color: var(--ink-dim); line-height: 1.7; }

/* عدّاد الأصابع */
.ak-grip-count {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 4px;
  color: var(--ink-dim); z-index: 4;
}
.ak-grip-count b { color: var(--green-light); font-weight: 500; }

/* ═════════════════ بطاقات التفاصيل ═════════════════ */
.ak-detail { padding: 110px 24px; }
.ak-head { text-align: center; margin-bottom: 54px; }
.ak-head .eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 4px;
  color: var(--green-light); margin-bottom: 12px;
}
.ak-head h2 {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(34px, 4.5vw, 58px); line-height: 1.3;
}
.ak-head h2 .accent { color: var(--green); }

.ak-detail-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.ak-dcard {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 30px; transition: border-color 0.25s, transform 0.25s;
}
.ak-dcard:hover { border-color: rgba(52,180,75,0.4); transform: translateY(-3px); }
.ak-dcard .tag {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 3px;
  color: var(--ink-dim); margin-bottom: 14px;
}
.ak-dcard h3 {
  font-family: var(--f-display); font-weight: 900; font-size: 27px;
  line-height: 1.4; margin-bottom: 10px;
}
.ak-dcard p { font-size: 14px; font-weight: 400; color: var(--ink-soft); line-height: 1.9; }
.ak-dcard .big {
  margin-top: 20px; display: flex; align-items: baseline; gap: 10px;
}
.ak-dcard .big span:first-child {
  font-family: var(--f-latin); font-weight: 800; font-size: 44px;
  color: var(--green); text-shadow: 0 0 26px var(--green-glow);
}
.ak-dcard .big .unit { font-size: 12px; color: var(--ink-dim); font-family: var(--f-mono); }
.ak-dcard .pills { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.ak-chip {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px;
  padding: 6px 13px; border-radius: 99px;
  border: 1px solid var(--line-strong); color: var(--ink-soft);
}
.ak-chip.green { border-color: rgba(52,180,75,0.45); color: var(--green-light); background: var(--green-soft); }

/* موجة اللمس المتحركة */
.ak-wave { width: 100%; height: 56px; margin-top: 18px; overflow: visible; }
.ak-wave .flow { animation: ak-wave-move 3.2s linear infinite; }
@keyframes ak-wave-move { from { transform: translateX(0); } to { transform: translateX(200px); } }

/* ═════════════════ العلبة ═════════════════ */
.ak-box { padding: 110px 24px; }
.ak-box-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.ak-box-stage { position: relative; display: grid; place-items: center; }
.ak-box-stage .orb {
  position: absolute; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(52,180,75,0.22), transparent 65%);
  filter: blur(10px);
}
.ak-box-stage img {
  position: relative; width: min(440px, 80vw);
  filter: drop-shadow(0 40px 70px rgba(0,0,0,0.7));
  animation: ak-float 5.5s ease-in-out infinite;
}
@keyframes ak-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }

.ak-box-copy .eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 4px;
  color: var(--green-light); margin-bottom: 12px;
}
.ak-box-copy h2 {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.35; margin-bottom: 14px;
}
.ak-box-copy h2 .accent { color: var(--green); }
.ak-box-copy p.lead {
  font-size: 15px; font-weight: 400; color: var(--ink-soft);
  line-height: 1.95; margin-bottom: 26px;
}
.ak-box-list { display: flex; flex-direction: column; gap: 12px; }
.ak-box-item {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px; background: var(--card);
}
.ak-box-item svg { width: 20px; height: 20px; color: var(--green-light); flex-shrink: 0; }
.ak-box-item span { font-size: 14px; color: var(--ink-soft); }
.ak-box-item strong { color: var(--ink); font-weight: 700; }

/* ═════════════════ المواصفات ═════════════════ */
.ak-specs { padding: 110px 24px; }
.ak-spec-table {
  max-width: 860px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.ak-spec-row {
  display: grid; grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line); transition: background 0.2s;
}
.ak-spec-row:last-child { border-bottom: none; }
.ak-spec-row:hover { background: var(--green-soft); }
.ak-spec-row .k {
  padding: 16px 22px; font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 1px; color: var(--ink-dim);
  border-left: 1px solid var(--line); display: flex; align-items: center;
}
.ak-spec-row .v { padding: 16px 22px; font-size: 14.5px; color: var(--ink-soft); }
.ak-tag-mini {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 1px;
  padding: 3px 8px; border-radius: 6px; margin-right: 8px;
  background: var(--green-soft); color: var(--green-light);
  border: 1px solid rgba(52,180,75,0.3);
}

/* ═════════════════ الختام ═════════════════ */
.ak-final {
  position: relative; min-height: 92vh; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  padding: 110px 24px;
  border-top: 1px solid var(--line);
}
.ak-final-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 60%, rgba(52,180,75,0.16), transparent 65%);
}
.ak-final-content { position: relative; z-index: 2; max-width: 760px; }
.ak-final .slogan-img { width: min(420px, 74vw); margin: 0 auto 10px; }
.ak-final .eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 4px;
  color: var(--green-light); margin-bottom: 18px;
}
.ak-final .sub {
  font-size: 16px; font-weight: 400; color: var(--ink-soft);
  line-height: 1.95; margin-bottom: 32px;
}

/* ═════════════════ الفوتر ═════════════════ */
.ak-footer {
  border-top: 1px solid var(--line);
  padding: 34px 28px; display: flex; align-items: center;
  justify-content: space-between; gap: 18px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.ak-footer .f-brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-dim); }
.ak-footer .f-brand img { width: 30px; height: 30px; object-fit: contain; }
.ak-footer .f-meta { font-size: 12.5px; color: var(--ink-dim); }
.ak-footer .f-meta a { color: inherit; text-decoration: none; transition: color 0.2s; }
.ak-footer .f-meta a:hover { color: var(--green-light); }

/* ── ظهور العناصر ──────────────────────────────────────────────── */
.ak-rev { opacity: 0; transform: translateY(28px); }
.no-anim .ak-rev, body.no-anim .ak-rev { opacity: 1 !important; transform: none !important; }

/* ═════════════════ الاستجابة ═════════════════ */
@media (max-width: 1024px) {
  .ak-grip-grid { grid-template-columns: 1fr; gap: 20px; width: min(640px, 92vw); }
  .ak-grip-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .ak-grip-copy { min-height: 300px; }
  .ak-detail-grid { grid-template-columns: 1fr; }
  .ak-box-grid { grid-template-columns: 1fr; gap: 40px; }
  .ak-side { display: none; }
  .ak-hero { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 768px) {
  .ak-nav { padding: 12px 16px; }
  .ak-nav-links { display: none; }
  .ak-btn-order { display: none; }
  .ak-spec-row { grid-template-columns: 1fr; }
  .ak-spec-row .k { border-left: none; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
  .ak-spec-row .v { padding-top: 10px; }
  .ak-hero { padding-top: 104px; }
  /* شعار «خليك محترف» يمتد تحت صورة الأيدي — مسافة ثابتة تمنع تلامسه مع المزايا */
  .ak-hero-feats { margin-top: 52px; }

  /* ── القسم المثبّت على الهاتف ────────────────────────────────
     المساحة العمودية محدودة والقسم overflow:hidden — كل المقاسات
     هنا محسوبة كي تدخل المرحلة كاملة (صورة + عنوان + ٣ بطاقات +
     العدّاد) في الشاشة بلا قصّ */
  .ak-grip-pin { align-items: flex-start; padding: 80px 0 34px; }
  .ak-grip-grid { gap: 14px; }
  .ak-grip-visual { max-width: 280px; }
  .ak-grip-copy { min-height: 400px; }
  .ak-grip-eyebrow { font-size: 10px; margin-bottom: 10px; }
  .ak-grip-phase h2 { font-size: 26px; line-height: 1.25; margin-bottom: 10px; }
  .ak-grip-phase p.lead { font-size: 13.5px; line-height: 1.7; margin-bottom: 14px; }
  .ak-grip-cards { gap: 8px; }
  .ak-grip-card { padding: 10px 12px; gap: 10px; border-radius: 10px; }
  .ak-grip-card svg { width: 18px; height: 18px; }
  .ak-grip-card strong { font-size: 13.5px; }
  .ak-grip-card span { font-size: 12px; line-height: 1.55; }
  .ak-grip-count { bottom: 10px; font-size: 11px; letter-spacing: 3px; }
}

/* هواتف بشاشة قصيرة (iPhone SE ونحوه) — ضغط إضافي كي لا يُقصّ شيء */
@media (max-width: 768px) and (max-height: 720px) {
  .ak-grip-pin { padding: 72px 0 26px; }
  .ak-grip-grid { gap: 10px; }
  .ak-grip-visual { max-width: 225px; }
  .ak-grip-copy { min-height: 370px; }
  .ak-grip-phase h2 { font-size: 23px; }
  .ak-grip-phase p.lead { font-size: 12.5px; margin-bottom: 10px; }
  .ak-grip-card { padding: 8px 10px; }
  .ak-grip-card span { font-size: 11.5px; }
  .ak-grip-count { bottom: 6px; }
}

/* ── تقليل الحركة ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ak-rev { opacity: 1; transform: none; }
}

/* ── وضع الأداء الخفيف (perf-lite.js) — أجهزة ضعيفة ─────────────── */
html.gp-lite .ak-nav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html.gp-lite .ak-grip-card { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
