/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 48px); }
body {
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
  background: var(--bg-body);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip-link { position: absolute; top: -100px; right: 16px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.ico { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ═══════════════════════════════════════
   CSS VARIABLES — رصينX Identity (unchanged)
═══════════════════════════════════════ */
:root {
  --blue:         #1B22A7;
  --blue-light:   #4260E6;
  --blue-dark:    #141A85;
  --blue-deeper:  #0D0D0D;
  --blue-50:      #EEF1FF;
  --blue-100:     #DCE3FF;
  --blue-border:  rgba(27,34,167,0.14);
  --blue-glow:    0 12px 40px rgba(27,34,167,0.22);

  /* Legacy aliases */
  --purple:        var(--blue);
  --purple-dark:   var(--blue-dark);
  --purple-deeper: var(--blue-deeper);
  --purple-light:  var(--blue-light);
  --purple-soft:   var(--blue-50);
  --purple-softer: var(--blue-50);
  --purple-border: var(--blue-border);
  --purple-glow:   var(--blue-glow);
  --shadow-purple: var(--blue-glow);

  --text:    #0D1117;
  --text-2:  #4B5563;
  --text-3:  #6B7280;   /* darkened from #9CA3AF for WCAG AA contrast */

  --bg-white: #FFFFFF;
  --bg-soft:  #F5F7FF;
  --bg-body:  #FFFFFF;

  --gold:  #F59E0B;
  --green: #16A34A;
  --red:   #DC2626;

  --nav-h:      72px;
  --radius:     16px;
  --radius-sm:  11px;
  --radius-pill: 50px;

  --shadow-sm: 0 2px 12px rgba(27,34,167,0.08);
  --shadow:    0 4px 24px rgba(27,34,167,0.11);
  --shadow-md: 0 12px 48px rgba(27,34,167,0.15);

  --ease: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ═══════════════════════════════════════
   LAYOUT & TYPOGRAPHY
═══════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section { padding: 112px 0; position: relative; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-50); color: var(--blue);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius-pill);
  padding: 5px 16px; font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
}
.section-tag::before {
  content: ''; width: 10px; height: 10px; flex-shrink: 0;
  background:
    linear-gradient(45deg, transparent 42%, currentColor 42%, currentColor 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, currentColor 42%, currentColor 58%, transparent 58%);
}
.section-title {
  font-size: clamp(27px, 3.6vw, 42px);
  font-weight: 700; color: var(--text);
  line-height: 1.35; margin-bottom: 16px;
  text-wrap: balance;
}
.section-title span { color: var(--blue); }
.section-lead { font-size: 17px; color: var(--text-2); line-height: 1.9; max-width: 640px; }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .section-lead { margin-inline: auto; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; font-weight: 600;
  border: 2px solid transparent; transition: all var(--ease);
  white-space: nowrap; text-decoration: none; cursor: pointer;
}
.btn:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.btn-primary { background: var(--blue); color: #fff !important; border-color: var(--blue); box-shadow: var(--blue-glow); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 16px 48px rgba(27,34,167,0.30); }
.btn-secondary { background: #fff; color: var(--blue); border-color: var(--blue-border); }
.btn-secondary:hover { border-color: var(--blue); background: var(--blue-50); }
.btn-white { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover { background: var(--blue-50); border-color: var(--blue-50); }
.btn-outline-white { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 11px 24px; font-size: 14px; }
.btn-wa { background: #25D366; color: #fff !important; border-color: #25D366; }
.btn-wa:hover { background: #1DA851; border-color: #1DA851; }
.btn .ico { width: 18px; height: 18px; }

/* ═══════════════════════════════════════
   TOP BAR
═══════════════════════════════════════ */
.top-bar {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  color: rgba(255,255,255,0.92); font-size: 13px; font-weight: 500;
  padding: 8px 0; text-align: center;
  position: fixed; top: 0; left: 0; right: 0; z-index: 901;
  display: flex; align-items: center; justify-content: center;
  height: 36px;
}
.top-bar-inner { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.top-bar a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: opacity 0.2s; direction: ltr; unicode-bidi: embed; }
.top-bar a:hover { opacity: 0.85; text-decoration: underline; }
.top-bar-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.3); display: inline-block; }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--blue-border);
  transition: box-shadow var(--ease);
  height: var(--nav-h);
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(27,34,167,0.10); }
.navbar-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 48px; width: auto; max-width: 190px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-2); transition: color var(--ease); position: relative; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links .btn { font-size: 13px; padding: 10px 20px; border-radius: 9px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 10px; border-radius: 8px; transition: background var(--ease); }
.hamburger:hover { background: var(--blue-50); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: calc(var(--nav-h) + 36px); left: 0; right: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  padding: 16px 20px 20px; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--blue-border); z-index: 899;
  box-shadow: 0 12px 40px rgba(27,34,167,0.10);
  max-height: calc(100vh - var(--nav-h) - 36px); overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 600; color: var(--text); border: 1px solid #f0f0f0; transition: all var(--ease); }
.mobile-menu a:hover { background: var(--blue-50); color: var(--blue); border-color: var(--blue-100); }
.mobile-menu .btn { text-align: center; margin-top: 8px; }

/* ═══════════════════════════════════════
   X MOTIF — decorative geometry from the logo's X
═══════════════════════════════════════ */
.x-motif { position: absolute; pointer-events: none; color: var(--blue); opacity: .08; }
.x-motif svg { width: 100%; height: 100%; display: block; }

/* ═══════════════════════════════════════
   REAL DASHBOARD SCREEN (crop of the official mockup)
   Source image 1408×1056; screen area x246 y96 w1072 h668
═══════════════════════════════════════ */
.dash-screen { position: relative; aspect-ratio: 1072 / 668; overflow: hidden; background: #fff; }
.dash-zoom { position: absolute; inset: 0; transform-origin: 0 0; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.dash-zoom img { position: absolute; max-width: none; width: 131.343%; height: auto; left: -22.948%; top: -14.371%; } /* legacy screenshot crop, unused */
.dash-zoom[data-focus="projects"]  { transform: translate(-4.8%, 0) scale(1.2); }
.dash-zoom[data-focus="execution"] { transform: translate(0, -57.6%) scale(1.6); }
.dash-zoom[data-focus="budget"]    { transform: translate(-55.5%, -24%) scale(1.85); }

.laptop { position: relative; width: 100%; }
.laptop-lid { background: #0D0D0D; border-radius: 16px 16px 6px 6px; padding: 2.2% 2.2% 2.6%; box-shadow: 0 30px 80px rgba(27,34,167,0.22), inset 0 0 0 1px rgba(255,255,255,.06); }
.laptop-lid .dash-screen { border-radius: 4px; }
.laptop-base { height: 14px; margin: 0 -6%; background: linear-gradient(180deg,#d9dce6 0%, #b8bccb 100%); border-radius: 0 0 18px 18px; position: relative; }
.laptop-base::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18%; height: 5px; background: #a3a8b8; border-radius: 0 0 8px 8px; }
.shot-caption { font-size: 12px; color: var(--text-3); margin-top: 14px; text-align: center; }

/* ═══════════════════════════════════════
   1. HERO
═══════════════════════════════════════ */
.hero {
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(66,96,230,0.10), transparent 60%),
    radial-gradient(600px 400px at 95% 90%, rgba(27,34,167,0.06), transparent 60%),
    #fff;
  padding-top: calc(var(--nav-h) + 36px + 64px);
  padding-bottom: 96px;
  overflow: hidden;
}
.hero .x-motif.a { width: 520px; height: 520px; top: 70px; left: -140px; opacity: .07; }
.hero .x-motif.b { width: 180px; height: 180px; bottom: 40px; right: 46%; opacity: .06; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--blue-100);
  border-radius: var(--radius-pill); padding: 6px 8px 6px 16px;
  margin-bottom: 26px; font-size: 13px; color: var(--text-2); font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.hero-badge img { height: 28px; width: auto; }
.hero-title { font-size: clamp(34px, 5vw, 60px); font-weight: 700; color: var(--text); line-height: 1.25; margin-bottom: 22px; text-wrap: balance; }
.hero-title em { color: var(--blue); font-style: normal; display: block; }
.hero-desc { font-size: 18px; color: var(--text-2); line-height: 1.9; margin-bottom: 30px; max-width: 540px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 16px; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-pill); color: var(--blue-dark); font-size: 14px; font-weight: 600; }
.hero-points .ico { width: 18px; height: 18px; color: var(--blue); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-visual { position: relative; padding: 0 3%; }
.hero-visual::before {
  content: ''; position: absolute; inset: 8% 0 -6% 0; z-index: -1;
  background: linear-gradient(135deg, var(--blue-100), rgba(66,96,230,.12));
  border-radius: 32px; transform: rotate(-3deg);
}

/* entrance */

/* ═══════════════════════════════════════
   2. CHALLENGES
═══════════════════════════════════════ */
.challenges { background: var(--bg-soft); border-top: 1px solid var(--blue-border); }
.ch-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.ch-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; counter-reset: ch; }
.ch-item { padding: 22px 0 24px; border-top: 1px solid rgba(27,34,167,.16); display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; }
.ch-item:nth-child(even) { translate: 0 28px; }
.ch-num { font-size: 15px; font-weight: 700; color: var(--blue-light); font-variant-numeric: tabular-nums; padding-top: 2px; }
.ch-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.ch-item p { grid-column: 2; font-size: 14.5px; color: var(--text-2); line-height: 1.8; }

.scatter {
  position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; margin-inline: auto;
  border-radius: 28px; background:
    radial-gradient(circle at center, rgba(66,96,230,.10), transparent 62%),
    radial-gradient(rgba(27,34,167,.13) 1px, transparent 1.4px) 0 0 / 20px 20px,
    #fff;
  border: 1px solid var(--blue-border); box-shadow: var(--shadow);
  overflow: hidden;
}
.scatter-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.scatter-lines path { fill: none; stroke: #9aa6e8; stroke-width: 1.4; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.scatter-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed var(--red); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.5; padding: 10px;
  box-shadow: 0 0 0 10px rgba(220,38,38,.05);
}
.scatter-core b { display: block; font-size: 28px; color: var(--red); line-height: 1.1; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--blue-border); border-radius: 12px;
  padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-sm); white-space: nowrap;
  animation: drift 7s ease-in-out infinite;
}
.chip .ico { width: 18px; height: 18px; }
.chip.wa .ico { color: #1DA851; } .chip.mail .ico { color: var(--blue-light); } .chip.xl .ico { color: #15803d; }
.chip.pdf .ico { color: var(--red); } .chip.inv .ico { color: #b45309; } .chip.dwg .ico { color: var(--blue); }
.chip.c1 { top: 9%; right: 8%; transform: rotate(-4deg); }
.chip.c2 { top: 13%; left: 7%; transform: rotate(3deg); animation-delay: -1.5s; }
.chip.c3 { top: 44%; right: 3%; transform: rotate(2deg); animation-delay: -3s; }
.chip.c4 { top: 47%; left: 3%; transform: rotate(-3deg); animation-delay: -4s; }
.chip.c5 { bottom: 11%; right: 12%; transform: rotate(4deg); animation-delay: -2s; }
.chip.c6 { bottom: 8%; left: 11%; transform: rotate(-2deg); animation-delay: -5s; }
@keyframes drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ═══════════════════════════════════════
   3. SOLUTION — hub diagram
═══════════════════════════════════════ */
.solution { background: #fff; overflow: hidden; }
.hub { position: relative; max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr 1fr; grid-template-rows: repeat(3, auto); gap: 28px 40px; align-items: center; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hub-lines line { stroke: var(--blue-100); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hub-lines line.flow { stroke: var(--blue-light); stroke-dasharray: 4 14; stroke-linecap: round; animation: flow 2.4s linear infinite; opacity: .7; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.hub-node { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--blue-border); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.hub-node:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.hub-node .ni { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hub-node strong { display: block; font-size: 16px; font-weight: 700; }
.hub-node small { display: block; font-size: 13px; color: var(--text-3); line-height: 1.5; }
.hub-core { grid-column: 2; grid-row: 1 / span 3; position: relative; z-index: 1; justify-self: center; width: 100%; max-width: 300px; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; text-align: center;
  background: linear-gradient(#fff,#fff) padding-box, linear-gradient(135deg, #4260E6, #1B22A7 60%, #141A85) border-box;
  border: 6px solid transparent;
  box-shadow: 0 0 0 14px rgba(66,96,230,.10), 0 0 0 30px rgba(66,96,230,.05), 0 30px 70px rgba(27,34,167,.25);
  color: var(--blue-dark); }
.hub-core img { width: 56%; height: auto; }
.hub-core span { font-size: 13px; color: var(--text-2); max-width: 70%; line-height: 1.6; }
.hub-l1 { grid-column: 1; grid-row: 1; } .hub-l2 { grid-column: 1; grid-row: 2; } .hub-l3 { grid-column: 1; grid-row: 3; }
.hub-r1 { grid-column: 3; grid-row: 1; } .hub-r2 { grid-column: 3; grid-row: 2; } .hub-r3 { grid-column: 3; grid-row: 3; }

/* ═══════════════════════════════════════
   4. WHAT YOU GET
═══════════════════════════════════════ */
.get { background: var(--bg-soft); border-top: 1px solid var(--blue-border); overflow: hidden; }
.get-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.get-list { display: flex; flex-direction: column; gap: 6px; }
.get-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 18px; border-radius: 14px; transition: background var(--ease); }
.get-item:hover { background: #fff; box-shadow: var(--shadow-sm); }
.get-ic { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1.5px solid var(--blue-100); color: var(--blue); display: flex; align-items: center; justify-content: center; position: relative; }
.get-ic em { position: absolute; top: -7px; left: -7px; font-style: normal; font-size: 10px; font-weight: 700; background: var(--blue); color: #fff; border-radius: 999px; padding: 1px 6px; }
.get-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.get-item p { font-size: 14.5px; color: var(--text-2); line-height: 1.8; }
.devices { position: relative; padding: 0 0 40px 12%; }
.phone {
  position: absolute; left: 0; bottom: 0; width: 28%; min-width: 150px; z-index: 2;
  aspect-ratio: 9 / 19; background: #0D0D0D; border-radius: 26px; padding: 7px;
  box-shadow: 0 24px 60px rgba(13,13,13,.28);
}
.phone-screen { width: 100%; height: 100%; border-radius: 20px; background: linear-gradient(180deg, var(--blue-50), #fff 40%); overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 14% 10% 10%; gap: 9%; }
.phone-screen::before { content: ''; width: 32%; height: 4px; border-radius: 4px; background: #d5daf0; margin-bottom: 4%; }
.phone-screen img { width: 58%; height: auto; }
.phone-skel { width: 100%; display: flex; flex-direction: column; gap: 7px; }
.phone-skel i { display: block; height: 9px; border-radius: 6px; background: var(--blue-100); }
.phone-skel i:nth-child(2) { width: 75%; } .phone-skel i:nth-child(3) { width: 88%; background: #e9ecf8; }
.phone-skel.box i { height: 34px; border-radius: 10px; background: #fff; border: 1px solid var(--blue-100); width: 100%; }
.devices .shot-caption { text-align: start; padding-inline-start: 0; padding-inline-end: 36%; }

/* ═══════════════════════════════════════
   5. CORE VALUE — 3 pillars (strongest visual)
═══════════════════════════════════════ */
.core {
  background: radial-gradient(800px 420px at 80% 0%, rgba(66,96,230,.45), transparent 60%),
              linear-gradient(160deg, #0D0D0D 0%, #141A85 55%, #1B22A7 100%);
  color: #fff; overflow: hidden;
}
.core .x-motif { color: #fff; opacity: .06; width: 640px; height: 640px; top: -120px; left: -180px; }
.core .section-tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.core .section-title { color: #fff; }
.core .section-title span { color: #9fb2ff; }
.core-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.core-grid::before { content: ''; position: absolute; top: 44px; right: 16.66%; left: 16.66%; height: 2px; background: linear-gradient(90deg, rgba(159,178,255,.15), rgba(159,178,255,.7), rgba(159,178,255,.15)); }
.core-col { position: relative; padding: 0 28px; text-align: center; }
.core-col + .core-col { border-inline-start: 1px solid rgba(255,255,255,.08); }
.core-ic { width: 88px; height: 88px; margin: 0 auto 26px; border-radius: 24px; display: flex; align-items: center; justify-content: center; position: relative;
  background: linear-gradient(145deg, #4260E6, #1B22A7); box-shadow: 0 0 0 8px rgba(66,96,230,.18), 0 18px 40px rgba(0,0,0,.35); }
.core-ic .ico { width: 40px; height: 40px; color: #fff; stroke-width: 1.5; }
.core-num { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: #9fb2ff; margin-bottom: 8px; }
.core-col h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.core-col p { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.9; max-width: 330px; margin: 0 auto 22px; }
.core-value { display: inline-flex; align-items: flex-start; gap: 8px; text-align: start; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: 14px; line-height: 1.7; color: #fff; max-width: 330px; }
.core-value b { color: #9fb2ff; font-weight: 700; white-space: nowrap; }

/* ═══════════════════════════════════════
   6. FEATURES — tabs
═══════════════════════════════════════ */
.features { background: #fff; }
.tabs-list { display: flex; gap: 6px; padding: 6px; background: var(--bg-soft); border: 1px solid var(--blue-border); border-radius: 16px; margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.tabs-list::-webkit-scrollbar { display: none; }
.tab-btn { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 11px; background: transparent; color: var(--text-2); font-size: 15px; font-weight: 600; transition: background var(--ease), color var(--ease), box-shadow var(--ease); white-space: nowrap; }
.tab-btn .ico { width: 20px; height: 20px; }
.tab-btn:hover { color: var(--blue); background: rgba(255,255,255,.7); }
.tab-btn[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--blue-100); }
.tab-panel { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-in .tp-text, .tab-panel.is-in .tp-visual { animation: tabIn .45s cubic-bezier(.2,.7,.2,1); }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tp-kicker { font-size: 14px; font-weight: 600; color: var(--blue-light); margin-bottom: 8px; }
.tp-text h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.45; margin-bottom: 22px; text-wrap: balance; }
.tp-list { display: flex; flex-direction: column; gap: 12px; }
.tp-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--text); }
.tp-list li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 4px; border-radius: 6px; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B22A7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid var(--blue-100); }
.tp-visual { position: relative; }
.frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--blue-100); box-shadow: var(--shadow-md); background: #fff; }
.frame-bar { display: flex; gap: 6px; padding: 10px 14px; background: #f4f6fc; border-bottom: 1px solid var(--blue-border); direction: ltr; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dbea; }
.illus { aspect-ratio: 1072 / 668; background: radial-gradient(rgba(27,34,167,.10) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--bg-soft); display: flex; align-items: center; justify-content: center; padding: 6%; }
.illus svg { width: 100%; height: 100%; }
.illus text { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; }

/* ═══════════════════════════════════════
   7. JOURNEY — timeline
═══════════════════════════════════════ */
.journey { background: var(--bg-soft); border-top: 1px solid var(--blue-border); }
.tl { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; --p: 0; }
.tl::before, .tl::after { content: ''; position: absolute; top: 27px; height: 3px; border-radius: 3px; right: calc(100% / 14); }
.tl::before { left: calc(100% / 14); background: var(--blue-100); }
.tl::after { width: calc((100% - 100% / 7) * var(--p)); background: linear-gradient(270deg, var(--blue), var(--blue-light)); transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.tl-step { position: relative; z-index: 1; text-align: center; padding: 0 4px; }
.tl-dot { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-100); color: var(--blue); display: flex; align-items: center; justify-content: center; transition: all .4s ease; position: relative; }
.tl-dot .ico { width: 24px; height: 24px; }
.tl-dot em { position: absolute; top: -6px; left: -6px; font-style: normal; font-size: 11px; font-weight: 700; min-width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100); transition: all .4s ease; }
.tl-step.on .tl-dot { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(27,34,167,.3); }
.tl-step.on .tl-dot em { background: #fff; }
.tl-step:hover .tl-dot { transform: translateY(-3px); }
.tl-step h3 { font-size: 15px; font-weight: 700; line-height: 1.5; margin-bottom: 6px; }
.tl-step p { font-size: 13.5px; color: var(--text-2); line-height: 1.75; }

/* ═══════════════════════════════════════
   8. INTEGRATIONS
═══════════════════════════════════════ */
.integrations { background: #fff; }
.int-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.int-item { position: relative; border: 1px solid var(--blue-border); border-radius: 18px; padding: 26px; background: #fff; transition: border-color var(--ease), box-shadow var(--ease); }
.int-item:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.int-item.lead { grid-row: span 2; background: linear-gradient(170deg, var(--blue-50) 0%, #fff 60%); display: flex; flex-direction: column; }
.int-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.int-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100); display: flex; align-items: center; justify-content: center; }
.int-item.lead .int-ic { background: #fff; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; border: 1px dashed; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.study { color: #92400e; background: #fffbeb; border-color: #f5c870; }
.status.addon { color: var(--blue); background: var(--blue-50); border-color: #a9b7f5; }
.int-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.int-item p { font-size: 14.5px; color: var(--text-2); line-height: 1.85; }
.int-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.int-tags span { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--blue-border); color: var(--text-2); direction: ltr; }
.int-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; font-size: 13.5px; color: var(--text-2); line-height: 1.8; padding: 14px 18px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--blue-border); }
.int-note .ico { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }

/* ═══════════════════════════════════════
   9. ABOUT APPSBUNCHES
═══════════════════════════════════════ */
.about { background: var(--bg-soft); border-top: 1px solid var(--blue-border); }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.about-text p { font-size: 16.5px; color: var(--text-2); line-height: 1.95; margin-bottom: 16px; }
.about-facts { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 30px; }
.about-link { margin-top: 14px; }
.ab-stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 64px; border-top: 1.5px solid var(--blue-dark); padding-top: 34px; }
.ab-stats li { display: flex; flex-direction: column; gap: 10px; padding: 6px 28px 10px; }
.ab-stats li + li { border-inline-start: 1px solid rgba(27,34,167,.14); }
.ab-stats li:first-child { padding-inline-start: 0; }
.ab-stats strong { align-self: flex-start; font-size: clamp(34px, 4.2vw, 56px); font-weight: 700; line-height: 1; color: var(--blue-dark); letter-spacing: -.01em; }
.ab-stats li.lead strong { color: var(--blue-light); }
.ab-stats span { font-size: 16px; font-weight: 500; color: var(--text-2); }
.ab-stats li { transition: transform .35s var(--ease-out); }
.ab-stats li:hover { transform: translateY(-3px); }
@media (max-width: 900px) {
  .ab-stats { grid-template-columns: repeat(3, 1fr); row-gap: 28px; margin-top: 48px; }
  .ab-stats li:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
}
@media (max-width: 640px) {
  .ab-stats { grid-template-columns: 1fr 1fr; padding-top: 26px; }
  .ab-stats li { padding: 4px 16px 6px; }
  .ab-stats li.lead { grid-column: 1 / -1; padding-inline-start: 0; padding-bottom: 18px; border-bottom: 1px solid rgba(27,34,167,.14); }
  .ab-stats li:nth-child(2), .ab-stats li:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
  .ab-stats li:nth-child(4) { border-inline-start: 0; }
  .ab-stats span { font-size: 14.5px; }
}
.about-fact { padding: 14px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--blue-border); }
.about-fact strong { display: block; font-size: 26px; font-weight: 700; color: var(--blue); line-height: 1.2; }
.about-fact span { font-size: 13px; color: var(--text-2); }
.about-fact strong.txt { font-size: 19px; padding: 4px 0 3px; }
.logos { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 40px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--blue-border); box-shadow: var(--shadow); overflow: hidden; }
.logos .x-motif { inset: 0; width: 100%; height: 100%; opacity: .05; }
.logo-tile { position: relative; display: flex; align-items: center; justify-content: center; height: 120px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--blue-border); padding: 18px; }
.logo-tile img { max-height: 54px; width: auto; }
.logo-link { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--blue-glow); }
.logo-link .ico { width: 20px; height: 20px; stroke-width: 2.4; }
.logos figcaption { grid-column: 1 / -1; text-align: center; font-size: 13px; color: var(--text-3); position: relative; }

/* ═══════════════════════════════════════
   10. DEMO / CONTACT
═══════════════════════════════════════ */
.demo-section { background: #fff; overflow: hidden; }
.demo-section .x-motif { width: 420px; height: 420px; bottom: -120px; right: -120px; opacity: .05; }
.demo-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; position: relative; }
.demo-info .section-lead { margin-bottom: 28px; }
.benefits-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.benefit-item { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--text); }
.benefit-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-icon .ico { width: 18px; height: 18px; }
.contact-box { background: var(--bg-soft); border: 1px solid var(--blue-100); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-box > p { font-size: 14px; font-weight: 600; color: var(--text); }
.contact-line { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--blue); direction: ltr; justify-content: flex-end; width: fit-content; }
.contact-line .ico { width: 18px; height: 18px; }
.contact-box .btn { align-self: flex-start; margin-top: 4px; }

.form-card { background: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow-md); border: 1.5px solid var(--blue-100); }
.form-card h3 { font-size: 21px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-subtitle { font-size: 14px; color: var(--text-2); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.opt { font-size: 12px; font-weight: 400; color: var(--text-3); }
.req { color: var(--red); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid #d9dde7; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; color: var(--text); background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") left 14px center / 16px no-repeat; padding-left: 40px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #9CA3AF; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,34,167,0.14); }
.form-group input[aria-invalid="true"], .form-group textarea[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,.10); }
.ltr-input { direction: ltr; text-align: right; }
.field-error { display: none; font-size: 12.5px; color: var(--red); margin-top: 6px; font-weight: 500; }
.field-error.show { display: block; }
.field-hint { color: var(--text-3); font-size: 12px; margin-top: 6px; display: block; }
.form-group textarea { min-height: 96px; resize: vertical; }
.form-alert { display: none; align-items: flex-start; gap: 10px; padding: 12px 16px; margin-bottom: 16px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 14px; line-height: 1.7; }
.form-alert.show { display: flex; }
.form-alert .ico { width: 20px; height: 20px; margin-top: 2px; }
.form-alert a { text-decoration: underline; font-weight: 600; }
.form-submit {
  width: 100%; padding: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff; border: none; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700; cursor: pointer; transition: all var(--ease); box-shadow: var(--blue-glow);
}
.form-submit:hover { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); transform: translateY(-1px); box-shadow: 0 16px 48px rgba(27,34,167,0.30); }
.form-submit:disabled { opacity: 0.7; cursor: progress; transform: none; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.form-submit[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-privacy { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 40px 12px 8px; }
.form-success .success-icon { display: flex; justify-content: center; margin-bottom: 16px; }
.form-success h3 { font-size: 21px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.form-success p { font-size: 15px; color: var(--text-2); line-height: 1.8; }
.booking-btn {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff; border: none; border-radius: var(--radius-sm); padding: 14px 32px;
  font-size: 16px; font-weight: 700; cursor: pointer; transition: all var(--ease); box-shadow: var(--blue-glow);
}
.booking-btn:hover { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); transform: translateY(-2px); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer { background: linear-gradient(180deg, #1B22A7 0%, #141A85 100%); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr; gap: 60px; padding-bottom: 40px; align-items: start; }
.footer-grid > div:first-child { display: flex; flex-direction: column; gap: 16px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 32px; width: auto; }
.footer-raseen { display: inline-flex; align-self: flex-start; align-items: center; background: #fff; border-radius: 14px; padding: 12px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .35s var(--ease-out), box-shadow .35s; }
.footer-raseen img { height: 44px; width: auto; }
.footer-raseen:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.24); }
.footer-by { font-size: 12.5px; color: rgba(255,255,255,.65); }
.footer-desc { font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,0.72); margin: 0; }
.footer-col { display: flex; flex-direction: column; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.72); transition: color var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-contact { gap: 14px; }
.footer-contact h4 { margin-bottom: 0; }
.footer-contact a { font-size: 13.5px; color: rgba(255,255,255,0.72); }
.footer-contact a:hover { color: #fff; }
.footer-contact address { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; flex-wrap: wrap; gap: 16px; font-size: 12.5px; color: rgba(255,255,255,0.6); border-top: 1px solid rgba(255,255,255,0.12); }
.footer-powered a { color: rgba(255,255,255,0.7); }
.footer-powered a:hover { color: #fff; }

/* ═══════════════════════════════════════
   FLOATING WHATSAPP
═══════════════════════════════════════ */
.wa-float {
  position: fixed; z-index: 850;
  left: calc(24px + env(safe-area-inset-left, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.38), 0 4px 10px rgba(13,13,13,.12);
  transition: transform .3s var(--ease-out), box-shadow .3s, background .3s;
}
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float:hover { background: #1DA851; transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 34px rgba(37,211,102,.45), 0 6px 14px rgba(13,13,13,.14); }
.wa-float:active { transform: scale(.96); }
.wa-float:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 4px; border-radius: 50%; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: 0; pointer-events: none; }
.wa-tip {
  position: absolute; left: calc(100% + 12px); top: 50%; white-space: nowrap;
  background: #0D1117; color: #fff; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 8px;
  opacity: 0; transform: translate3d(-6px, -50%, 0); pointer-events: none;
  transition: opacity .25s, transform .3s var(--ease-out);
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: translate3d(0, -50%, 0); }
.motion .wa-float { animation: waIn .5s var(--ease-out) 1.2s both; }
.motion .wa-float::before { animation: waPing 3.6s var(--ease-soft) 2.4s infinite; }
@keyframes waIn { from { opacity: 0; transform: translateY(16px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes waPing { 0% { transform: scale(1); opacity: .45; } 60%, 100% { transform: scale(1.55); opacity: 0; } }
@media (max-width: 640px) {
  .wa-float { width: 52px; height: 52px; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 27px; height: 27px; }
  .wa-float.no-bar { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .wa-tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float::before { animation: none !important; } }

/* ═══════════════════════════════════════
   STICKY MOBILE CTA
═══════════════════════════════════════ */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 800; padding: 12px 16px; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-top: 1px solid var(--blue-border); box-shadow: 0 -4px 20px rgba(27,34,167,0.12); }
.sticky-cta .btn { width: 100%; justify-content: center; font-size: 16px; padding: 14px; }

/* ═══════════════════════════════════════
   REVEAL
═══════════════════════════════════════ */
/* ═══════════════════════════════════════
   MOTION SYSTEM
   - Everything animates transform / opacity only (compositor-friendly).
   - Hidden-before-reveal states apply only when <html> has .motion
     (added by an inline script when reduced motion is NOT requested),
     so content is always visible without JS or with reduced motion.
   - Durations 300–700ms; stagger 70ms via --i (set by JS).
═══════════════════════════════════════ */
:root { --ease-out: cubic-bezier(.2,.7,.2,1); --ease-soft: cubic-bezier(.4,0,.2,1); --stagger: 70ms; }

/* Scroll progress (navbar) */
.scroll-progress { position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; transform-origin: right center; transform: scaleX(0); background: linear-gradient(270deg, var(--blue), var(--blue-light)); pointer-events: none; }

/* ── Scroll reveal variants ── */
.motion .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .6s var(--ease-out), transform .65s var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.motion .reveal[data-reveal="fade"]  { transform: none; }
.motion .reveal[data-reveal="scale"] { transform: scale(.96); }
.motion .reveal[data-reveal="start"] { transform: translate3d(28px, 0, 0); }   /* from the RTL start side */
.motion .reveal[data-reveal="end"]   { transform: translate3d(-28px, 0, 0); }
.motion .reveal[data-reveal="none"]  { opacity: 1; transform: none; }
.motion .reveal.visible { opacity: 1; transform: none; }
.motion .reveal .section-tag::before { transform: rotate(-90deg) scale(.5); transition: transform .6s var(--ease-out) .15s; }
.motion .reveal.visible .section-tag::before { transform: none; }

/* ── Hero entrance ── */
.motion .enter { opacity: 0; animation: enterUp .7s var(--ease-out) both; }
.motion .enter.d1 { animation-delay: .05s; } .motion .enter.d2 { animation-delay: .15s; } .motion .enter.d3 { animation-delay: .27s; }
.motion .enter.d4 { animation-delay: .38s; } .motion .enter.d5 { animation-delay: .48s; } .motion .enter.d6 { animation-delay: .25s; }
.motion .hero-title .enter { animation-name: enterTitle; }
.motion .hero-visual.enter { animation: enterVisual .8s var(--ease-out) .25s both; }
.motion .hero2-stage.enter { animation: enterVisual .8s var(--ease-out) .35s both; }
.motion .hero2-stage .phone-float { animation: enterUp .6s var(--ease-out) .9s both; }
.motion .hero-visual.enter::before { animation: cardIn .7s var(--ease-out) .55s both; }
.motion .hero-points.enter { animation: none; opacity: 1; }
.motion .hero-points li { opacity: 0; animation: enterUp .5s var(--ease-out) both; animation-delay: calc(.32s + var(--i, 0) * 80ms); }
@keyframes enterUp    { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes enterTitle { from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes enterVisual { from { opacity: 0; transform: perspective(1400px) translate3d(0, 34px, 0) rotateX(9deg) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: rotate(0deg) scale(.96); } to { opacity: 1; transform: rotate(-3deg); } }
.hero-title .hl { display: block; }
/* one-time light sweep across the dashboard screen */
.motion .hero .dash-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(110%); animation: sweep 1.1s var(--ease-soft) 1s forwards; }
@keyframes sweep { to { transform: translateX(-110%); } }
/* pointer tilt target (JS sets --rx/--ry on fine pointers only) */
.hero-visual .laptop { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out); }

/* ── Subtle background motion (paused off-screen via .is-off) ── */
.hero::before { content: ''; position: absolute; width: 760px; height: 760px; top: -260px; left: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(66,96,230,.12) 0%, transparent 62%); pointer-events: none; }
.motion .hero::before { animation: glowDrift 18s ease-in-out infinite alternate; }
.motion .x-motif svg { animation: xDrift 22s ease-in-out infinite alternate; }
.motion .hero .x-motif.b svg { animation-duration: 16s; animation-direction: alternate-reverse; }
.motion .core .x-motif svg { animation-duration: 28s; }
@keyframes glowDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(90px, 60px, 0); } }
@keyframes xDrift { from { transform: translate3d(0,0,0) rotate(0deg); } to { transform: translate3d(-18px, 14px, 0) rotate(6deg); } }
.is-off .x-motif svg, .is-off.hero::before, .is-off .chip, .is-off .scatter-core::after, .is-off .hub-core::after, .is-off .status::before, .is-off .hub-lines .flow { animation-play-state: paused !important; }

/* ── Buttons ── */
.btn, .form-submit, .booking-btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .form-submit::after, .booking-btn::after, .btn-wa::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(120%);
}
.btn-primary:hover::after, .form-submit:hover::after, .booking-btn:hover::after, .btn-wa:hover::after { transform: translateX(-120%); transition: transform .7s var(--ease-soft); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active, .form-submit:active, .booking-btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.btn .ico { transition: transform .3s var(--ease-out); }
.btn:hover .ico { transform: translateX(-3px); }

/* ── Nav underline ── */
.nav-links a:not(.btn)::after { content: ''; position: absolute; bottom: -6px; right: 0; left: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav-links a:not(.btn):hover::after, .nav-links a.active:not(.btn)::after { transform: scaleX(1); }

/* ── Card / icon hovers ── */
.hero-points li { transition: transform .3s var(--ease-out), background .3s, border-color .3s; }
.hero-points li:hover { transform: translateY(-2px); background: var(--blue-100); }
.ch-item { transition: border-color .35s var(--ease-soft); }
.ch-item h3, .ch-num { transition: color .3s, transform .35s var(--ease-out); }
.ch-item:hover { border-top-color: var(--blue); }
.ch-item:hover h3 { color: var(--blue); }
.ch-item:hover .ch-num { transform: translateX(-4px); }
.hub-node .ni, .get-ic, .int-ic, .benefit-icon, .core-ic, .logo-link { transition: background .3s, color .3s, transform .35s var(--ease-out), box-shadow .35s, border-color .3s; }
.hub-node:hover .ni { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.06); }
.get-item:hover .get-ic { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.int-item { transition: border-color .3s, box-shadow .3s, transform .35s var(--ease-out); }
.int-item:hover { transform: translateY(-4px); }
.int-item:hover .int-ic { background: var(--blue); color: #fff; border-color: var(--blue); transform: rotate(-6deg); }
.benefit-item:hover .benefit-icon { background: var(--blue); color: #fff; }
.core-col:hover .core-ic { transform: translateY(-5px); box-shadow: 0 0 0 10px rgba(66,96,230,.26), 0 24px 48px rgba(0,0,0,.4); }
.core-value { transition: background .3s, border-color .3s; }
.core-col:hover .core-value { background: rgba(255,255,255,.11); border-color: rgba(159,178,255,.35); }
.logo-tile { transition: transform .35s var(--ease-out), border-color .3s; }
.logos:hover .logo-tile { border-color: var(--blue-100); }
.logos:hover .logo-link { transform: translateX(-4px); }
.tl-step p, .tl-step h3 { transition: opacity .5s var(--ease-soft), color .3s; }
.tl-step:hover h3 { color: var(--blue); }
.tab-btn .ico { transition: transform .3s var(--ease-out); }
.tab-btn:hover .ico { transform: translateY(-2px); }
.form-group label { transition: color .25s; }
.form-group:focus-within label { color: var(--blue); }
.contact-line { transition: transform .3s var(--ease-out); }
.contact-line:hover { transform: translateX(-3px); }
.footer-col a { display: inline-block; transition: color var(--ease), transform .3s var(--ease-out); }
.footer-col a:hover { transform: translateX(-3px); }

/* ── Tabs: sliding indicator + panel transitions ── */
.tabs-list { position: relative; }
.tab-ind { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 11px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--blue-100); pointer-events: none; z-index: 0; opacity: 0; transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .2s; }
.tab-btn { position: relative; z-index: 1; }
.tabs-list.has-ind .tab-ind { opacity: 1; }
.tabs-list.has-ind .tab-btn[aria-selected="true"] { background: transparent; box-shadow: none; }
.tabs-list.no-anim .tab-ind { transition: none; }
.motion .tab-panel.is-in .tp-text { animation: tabIn .45s var(--ease-out) both; }
.motion .tab-panel.is-in .tp-visual { animation: tabInVisual .55s var(--ease-out) .06s both; }
.motion .tab-panel.is-in .tp-list li { animation: tabIn .4s var(--ease-out) both; animation-delay: calc(.12s + var(--i, 0) * 50ms); }
@keyframes tabInVisual { from { opacity: 0; transform: translate3d(0, 10px, 0) scale(.985); } to { opacity: 1; transform: none; } }
.illus svg > g > * { transform-box: fill-box; transform-origin: center; }
.motion .tab-panel.is-in .illus svg > g > * { animation: illusIn .45s var(--ease-out) both; animation-delay: calc(.15s + var(--i, 0) * 40ms); }
@keyframes illusIn { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }

/* ── Diagrams ── */
/* Challenges: chips pop in, lines fade, core pings */
.motion .scatter .chip { opacity: 0; scale: .85; transition: opacity .45s var(--ease-out), scale .5s var(--ease-out); transition-delay: calc(.2s + var(--i, 0) * 90ms); }
.motion .scatter.visible .chip { opacity: 1; scale: 1; }
.motion .scatter .scatter-lines { opacity: 0; transition: opacity .7s var(--ease-soft) .55s; }
.motion .scatter.visible .scatter-lines { opacity: 1; }
.scatter-core::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(220,38,38,.45); opacity: 0; pointer-events: none; }
.motion .scatter.visible .scatter-core::after { animation: ping 3.2s var(--ease-soft) 1.2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.chip { transition: box-shadow .3s; }
.scatter .chip:hover { box-shadow: var(--shadow); }

/* Solution hub: lines grow out from the core, nodes converge */
.motion .hub .hub-lines { clip-path: circle(0% at 50% 50%); transition: clip-path .7s var(--ease-out) .2s; }
.motion .hub.visible .hub-lines { clip-path: circle(75% at 50% 50%); }
.motion .hub .hub-lines .flow { opacity: 0; transition: opacity .5s .9s; }
.motion .hub.visible .hub-lines .flow { opacity: .7; }
.motion .hub .hub-core { opacity: 0; transform: scale(.88); transition: opacity .55s var(--ease-out), transform .65s var(--ease-out); }
.motion .hub.visible .hub-core { opacity: 1; transform: none; }
.motion .hub .hub-node { opacity: 0; transition: opacity .5s var(--ease-out), translate .6s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s, border-color .3s; transition-delay: calc(.35s + var(--i, 0) * 70ms), calc(.35s + var(--i, 0) * 70ms), 0s, 0s, 0s; }
.motion .hub .hub-l1, .motion .hub .hub-l2, .motion .hub .hub-l3 { translate: -24px 0; }
.motion .hub .hub-r1, .motion .hub .hub-r2, .motion .hub .hub-r3 { translate: 24px 0; }
.motion .hub.visible .hub-node { opacity: 1; translate: none; }
.hub-core::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(66,96,230,.35); opacity: 0; pointer-events: none; }
.motion .hub.visible .hub-core::after { animation: ping 4s var(--ease-soft) 1.4s infinite; }

/* What you get: phone slides in after the laptop */
.motion .devices .phone { opacity: 0; translate: -22px 18px; transition: opacity .55s var(--ease-out) .35s, translate .65s var(--ease-out) .35s; }
.motion .devices.visible .phone { opacity: 1; translate: none; }

/* Pillars: connector draws from the RTL start */
.motion .core-grid::before { transform: scaleX(0); transform-origin: right center; transition: transform .9s var(--ease-out) .25s; }
.motion .core-grid.visible::before { transform: none; }

/* Timeline: upcoming steps stay muted until reached */
.motion .tl-step:not(.on) h3, .motion .tl-step:not(.on) p { opacity: .35; }

/* Integrations status dots breathe softly */
.motion .status::before { animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Form success */
.motion .form-success.anim { animation: enterUp .5s var(--ease-out) both; }
.motion .form-success.anim circle, .motion .form-success.anim polyline { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .6s var(--ease-out) .15s forwards; }
.motion .form-success.anim polyline { animation-delay: .5s; animation-duration: .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.motion .form-alert.show { animation: shake .4s var(--ease-soft); }
@keyframes shake { 0%,100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.motion .field-error.show { animation: enterUp .3s var(--ease-out); }

/* Smaller travel on phones */
@media (max-width: 640px) {
  .motion .reveal { transform: translate3d(0, 14px, 0); }
  .motion .reveal[data-reveal="start"], .motion .reveal[data-reveal="end"] { transform: translate3d(0, 14px, 0); }
  .motion .hub .hub-node { translate: 0 12px; }
  .hero::before { width: 480px; height: 480px; }
}

/* ═══════════════════════════════════════
   RASEENX APP UI — code-rendered dashboard
   Built from the real system modules (لوحة تحكم المسؤول):
   إحصائيات عامة · مؤشرات الأداء · تفاصيل المشاريع · المشاريع بحسب الحالة · أنواع المشاريع
   Canvas 1040×650, scaled to its frame by JS (--s).
═══════════════════════════════════════ */
.app-host { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #F5F7FF; max-width: 100%; }
.ax { position: absolute; top: 0; right: 0; width: 1040px; height: 650px; transform-origin: top right; transform: scale(var(--s, .5));
  display: grid; grid-template-columns: 196px 1fr; direction: rtl; background: #F5F7FF; color: var(--text);
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-size: 12px; line-height: 1.5; text-align: right; user-select: none; }
.ax * { box-sizing: border-box; }
.ax .ico { width: 15px; height: 15px; stroke-width: 1.8; }
.ax-num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
/* sidebar */
.ax-side { background: linear-gradient(180deg, #1B22A7 0%, #141A85 100%); color: #fff; padding: 16px 12px; display: flex; flex-direction: column; gap: 14px; }
.ax-brand { background: #fff; border-radius: 12px; padding: 12px 10px 10px; text-align: center; }
.ax-brand img { height: 34px; width: auto; margin: 0 auto 6px; display: block; }
.ax-brand span { display: block; font-size: 10.5px; font-weight: 600; color: var(--blue-dark); }
.ax-nav { display: flex; flex-direction: column; gap: 4px; }
.ax-nav span { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; font-size: 12px; color: rgba(255,255,255,.78); }
.ax-nav span::after { content: '‹'; margin-inline-start: auto; opacity: .55; font-size: 14px; line-height: 1; }
.ax-nav span.on { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.ax-nav span.on::after { content: none; }
.ax-side-foot { margin-top: auto; font-size: 10px; color: rgba(255,255,255,.55); padding: 0 6px; }
/* main */
.ax-main { display: grid; grid-template-rows: 50px 42px 1fr; min-width: 0; }
.ax-top { background: #fff; border-bottom: 1px solid rgba(27,34,167,.1); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.ax-tabs { display: flex; gap: 6px; }
.ax-tabs span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 9px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.ax-tabs span.on { background: var(--blue); color: #fff; }
.ax-tools { display: flex; gap: 8px; }
.ax-tools i { width: 30px; height: 30px; border-radius: 9px; background: #F1F3FB; color: var(--text-2); display: flex; align-items: center; justify-content: center; }
.ax-tools i:last-child { border-radius: 50%; background: var(--blue-100); color: var(--blue); }
.ax-head { margin: 10px 16px 0; border-radius: 11px; background: linear-gradient(270deg, #1B22A7, #2A3DBF 60%, #4260E6); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.ax-head b { font-size: 13px; }
.ax-head small { font-size: 10.5px; color: rgba(255,255,255,.75); }
.ax-body { padding: 10px 16px 14px; display: grid; gap: 10px; align-content: start; overflow: hidden; min-height: 0; }
.ax-panel { background: #fff; border: 1px solid rgba(27,34,167,.09); border-radius: 13px; padding: 12px 14px; box-shadow: 0 2px 10px rgba(27,34,167,.04); min-width: 0; }
.ax-panel h4 { font-size: 13.5px; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.ax-panel h4 em { font-style: normal; font-size: 10px; font-weight: 600; color: var(--blue); background: var(--blue-50); border-radius: 999px; padding: 1px 8px; }
.ax-g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ax-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ax-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ax-row { display: grid; gap: 10px; min-height: 0; }
.ax-body.fill { grid-template-rows: auto 1fr; align-content: stretch; }
.ax-body.fill > .ax-panel:last-child, .ax-body.fill > .ax-row:last-child > .ax-panel { display: flex; flex-direction: column; }
.ax-spread { flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.ax-body.fill .ax-pair { padding: 10px 0; font-size: 12px; }
.ax-body.fill .ax-pair .ax-bar { height: 8px; }
.ax-body.fill .ax-row:last-child .ax-g2 { flex: 1; }
/* stat card */
.ax-card { background: #F8F9FF; border: 1px solid #E6EAFB; border-radius: 11px; padding: 10px 12px; display: grid; grid-template-columns: 26px 1fr; gap: 2px 8px; align-items: center; min-width: 0; }
.ax-card .ci { width: 26px; height: 26px; border-radius: 8px; background: var(--blue-50); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.ax-card .ci.warn { background: #FEF3C7; color: #B45309; } .ax-card .ci.ok { background: #DCFCE7; color: #15803D; }
.ax-card b { font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-card p { grid-column: 1 / -1; font-size: 10px; color: var(--text-3); line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-card strong { grid-column: 1 / -1; font-size: 19px; font-weight: 700; color: var(--blue); line-height: 1.25; margin-top: 4px; display: flex; align-items: baseline; gap: 5px; justify-content: flex-start; }
.ax-card strong small { font-size: 10.5px; font-weight: 600; color: var(--text-2); }
.ax-card.big strong { font-size: 21px; }
.ax-card .ax-bar { grid-column: 1 / -1; margin-top: 6px; }
/* bars */
.ax-bar { height: 7px; border-radius: 99px; background: #E6EAFB; overflow: hidden; }
.ax-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(270deg, var(--blue), var(--blue-light)); transform-origin: right center; transform: scaleX(1); }
.ax-bar.green i { background: linear-gradient(270deg, #15803D, #22C55E); }
.ax-bar.soft i { background: #9fb2ff; }
.ax-st { display: grid; grid-template-columns: 96px 1fr 26px; align-items: center; gap: 10px; padding: 5px 0; font-size: 11.5px; }
.ax-st .ax-num { font-weight: 700; color: var(--blue-dark); text-align: left; }
/* table */
.ax-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 11px; table-layout: fixed; }
.ax-table th:nth-child(1) { width: 25%; } .ax-table th:nth-child(2) { width: 10%; } .ax-table th:nth-child(3) { width: 15%; }
.ax-table td:first-child { white-space: normal; line-height: 1.45; }
.ax-table th { background: var(--blue); color: #fff; font-weight: 600; padding: 8px 7px; text-align: center; white-space: nowrap; font-size: 10.5px; }
.ax-table th:first-child { border-radius: 0 9px 9px 0; text-align: right; }
.ax-table th:last-child { border-radius: 9px 0 0 9px; }
.ax-table td { padding: 9px 7px; text-align: center; border-bottom: 1px solid #EEF1FB; white-space: nowrap; }
.ax-table td:first-child { text-align: right; font-weight: 700; color: var(--text); }
.ax-table tr:nth-child(even) td { background: #FAFBFF; }
.ax-table .pc { display: flex; align-items: center; gap: 6px; }
.ax-table .pc .ax-bar { flex: 1; height: 6px; }
.ax-table .pc .ax-num { font-weight: 700; font-size: 10.5px; color: var(--blue-dark); min-width: 30px; }
.chip-s { display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--blue-50); color: var(--blue); }
.chip-s.done { background: #DCFCE7; color: #15803D; }
/* donut */
.ax-donut { display: flex; align-items: center; gap: 18px; }
.ax-donut svg { width: 128px; height: 128px; transform: rotate(-90deg); flex-shrink: 0; }
.ax-donut circle { fill: none; stroke-width: 6.5; }
.ax-donut .seg { stroke-dasharray: var(--da); stroke-linecap: butt; }
.ax-legend { display: grid; gap: 7px; font-size: 11px; }
.ax-legend span { display: flex; align-items: center; gap: 7px; }
.ax-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.ax-legend .ax-num { margin-inline-start: auto; font-weight: 700; color: var(--blue-dark); padding-inline-start: 10px; }
.ax-ring { position: relative; width: 96px; height: 96px; margin: 2px auto 6px; }
.ax-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ax-ring circle { fill: none; stroke-width: 3.4; }
.ax-ring .seg { stroke: var(--blue); stroke-dasharray: var(--da); stroke-linecap: round; }
.ax-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: var(--blue); }
.ax-pair { display: grid; grid-template-columns: 150px 1fr 64px; gap: 4px 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid #EEF1FB; font-size: 11px; }
.ax-pair:last-child { border-bottom: 0; }
.ax-pair .nm { font-weight: 700; grid-row: span 2; }
.ax-pair .ax-bar { height: 6px; }
.ax-pair .lbl { font-size: 10px; color: var(--text-3); text-align: left; }
.ax-key { display: flex; gap: 14px; font-size: 10.5px; color: var(--text-2); margin-top: -4px; margin-bottom: 4px; }
.ax-key span { display: inline-flex; align-items: center; gap: 5px; }
.ax-key i { width: 10px; height: 5px; border-radius: 3px; background: var(--c); }

/* ── Task board (المهام) ── */
.ax-nav span.open { color: #fff; font-weight: 600; }
.ax-nav span.open::after { content: '⌄'; transform: none; }
.ax-sub { display: flex; flex-direction: column; gap: 2px; margin: 0 8px 4px 0; padding-inline-start: 10px; border-inline-start: 1px solid rgba(255,255,255,.18); }
.ax-sub span { padding: 6px 8px; font-size: 11px; }
.ax-sub span::after { content: none; }
.ax-head-light { background: transparent; color: var(--text); padding: 0; margin: 10px 16px 0; }
.ax-head-light b { font-size: 15px; color: var(--blue-dark); }
.ax-acts { display: flex; gap: 6px; }
.ax-acts i { width: 30px; height: 30px; border-radius: 9px; background: #fff; border: 1px solid #E1E6F8; color: var(--text-2); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 14px; font-weight: 700; }
.ax-acts i.pri { background: var(--blue); border-color: var(--blue); color: #fff; font-size: 18px; font-weight: 400; }
.kb { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: start; min-height: 0; }
.kb-col { background: #EEF1FB; border-radius: 13px; padding: 8px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.kb-head { display: flex; align-items: center; gap: 7px; background: #fff; border-radius: 9px; padding: 8px 10px; border: 1px solid #E1E6F8; }
.kb-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.kb-head b { font-size: 12px; font-weight: 700; color: var(--text); }
.kb-head .ax-num { margin-inline-start: auto; font-size: 10.5px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); border-radius: 999px; padding: 0 7px; }
.kb-run { --c: #1B22A7; } .kb-done { --c: #15803D; } .kb-hold { --c: #B45309; } .kb-todo { --c: #6B7280; }
.kb-card { background: #fff; border-radius: 10px; padding: 10px 11px; border: 1px solid #E6EAFB; border-inline-start: 3px solid var(--c); box-shadow: 0 1px 4px rgba(27,34,167,.05); display: flex; flex-direction: column; gap: 9px; }
.kb-card b { font-size: 11.5px; font-weight: 600; line-height: 1.55; color: var(--text); }
.kb-meta { display: flex; align-items: center; justify-content: space-between; }
.kb-pri { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: #B91C1C; background: #FEE2E2; border-radius: 6px; padding: 2px 7px; }
.kb-pri .ico { width: 11px; height: 11px; }
.kb-ok { width: 18px; height: 18px; border-radius: 50%; background: #DCFCE7; color: #15803D; display: flex; align-items: center; justify-content: center; }
.kb-ok .ico { width: 11px; height: 11px; stroke-width: 2.6; }
.kb-done .kb-card b { color: var(--text-2); }
.motion .app-host:not(.ax-in) .kb-card { opacity: 0; transform: translateY(10px); }
.motion .app-host .kb-card { transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(.1s + var(--p, 0) * 60ms); }

/* ── Products & suppliers reports ── */
.ax-table.pr td, .ax-table.su td { padding: 5.5px 7px; }
.ax-table.pr th:nth-child(1) { width: 28%; } .ax-table.pr th:nth-child(2) { width: 12%; } .ax-table.pr th:nth-child(3) { width: 15%; } .ax-table.pr th:nth-child(4) { width: 13%; }
.ax-table.su th:nth-child(1) { width: 11%; } .ax-table.su th:nth-child(2) { width: 27%; } .ax-table.su th:nth-child(3) { width: 18%; } .ax-table.su th:nth-child(4) { width: 28%; }
.ax-table.su td:first-child { text-align: center; }
.ax-table.su td:nth-child(2) { font-weight: 700; text-align: right; }
.ax-table td.code { font-weight: 700; color: var(--blue-dark); }
.ax-table td.link { color: var(--blue); }
.ax-table td.link .ico { width: 11px; height: 11px; vertical-align: -1px; margin-inline-end: 4px; }
.ax-table td { overflow: hidden; text-overflow: ellipsis; }
.cat { display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.cat-raw { background: var(--blue-50); color: var(--blue); }
.cat-eq { background: #FEF3C7; color: #92400E; }
.cat-lab { background: #DCFCE7; color: #15803D; }
.ax-foot { font-size: 10px; color: var(--text-3); padding-top: 6px; }

/* ── Documents & departments ── */
.ax-table.dc td { padding: 7px 7px; vertical-align: middle; }
.ax-table.dc th:nth-child(1) { width: 27%; } .ax-table.dc th:nth-child(2) { width: 12%; } .ax-table.dc th:nth-child(3) { width: 9%; } .ax-table.dc th:nth-child(4) { width: 22%; }
.ax-table.dc td:first-child { font-weight: 500; }
.ax-table.dc td.proj { font-weight: 600; white-space: normal; line-height: 1.4; }
.ax-table.dc td:nth-child(5), .ax-table.dc td:nth-child(6) { white-space: normal; line-height: 1.4; font-size: 10.5px; }
.fchip { display: inline-flex; align-items: center; gap: 7px; background: #F4F6FD; border: 1px solid #E6EAFB; border-radius: 8px; padding: 4px 8px; max-width: 100%; }
.fchip em { font-style: normal; font-size: 8px; font-weight: 700; color: #fff; background: #DC2626; border-radius: 3px; padding: 2px 3px; flex-shrink: 0; }
.fchip .ax-num { font-size: 10px; color: var(--blue-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dtype { font-size: 10px; font-weight: 600; color: var(--blue); background: var(--blue-50); border-radius: 999px; padding: 2px 8px; }
.th { display: inline-flex; flex-direction: column; justify-content: center; gap: 3px; width: 34px; height: 34px; border-radius: 7px; padding: 6px; background: #fff; border: 1px solid #DDE3F7; box-shadow: 0 1px 3px rgba(27,34,167,.08); vertical-align: middle; }
.th i { display: block; height: 2px; border-radius: 2px; background: #C9D2F2; } .th i:nth-child(2) { width: 70%; } .th i:nth-child(3) { width: 85%; }
.th-plan { background: #EEF3FF; } .th-plan i { background: #8AA0F0; height: 1px; }
.th-photo { background: linear-gradient(160deg, #A5B4D8, #6B7FB5 60%, #4B5C8F); border-color: transparent; }
.th-photo i { background: rgba(255,255,255,.35); }
.th-none { color: var(--text-3); }
.deps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.dep { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 6px; background: #F8F9FF; border: 1px solid #E6EAFB; border-radius: 10px; padding: 7px 10px; }
.dep b { font-size: 11px; font-weight: 600; }
.dep em { font-style: normal; font-size: 15px; font-weight: 700; color: var(--blue); grid-row: span 2; }
.dep small { font-size: 9.5px; color: var(--text-3); }

/* ── Mobile app screen (canvas 320×676) ── */
.phone-screen.app-host { padding: 0; display: block; aspect-ratio: auto; background: #F5F7FF; }
.phone-screen.app-host::before { content: none; }
.axm { position: absolute; top: 0; right: 0; width: 320px; height: 676px; transform-origin: top right; transform: scale(var(--s, .5));
  direction: rtl; text-align: right; display: flex; flex-direction: column; background: #F5F7FF; color: var(--text);
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-size: 12px; line-height: 1.5; user-select: none; }
.axm * { box-sizing: border-box; }
.axm .ico { width: 16px; height: 16px; stroke-width: 1.8; }
.axm-notch { height: 26px; display: flex; justify-content: center; align-items: center; background: #fff; }
.axm-notch i { width: 84px; height: 18px; border-radius: 0 0 12px 12px; background: #0D0D0D; margin-top: -8px; }
.axm-bar { background: #fff; padding: 4px 14px 8px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(27,34,167,.08); }
.axm-bar img { height: 26px; width: auto; }
.axm-bar .tools { display: flex; gap: 6px; }
.axm-bar .tools i { width: 30px; height: 30px; border-radius: 9px; background: #F1F3FB; color: var(--text-2); display: flex; align-items: center; justify-content: center; position: relative; }
.axm-bar .tools i.dot::after { content: ''; position: absolute; top: 6px; left: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.axm-body { flex: 1; padding: 10px 12px 8px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; min-height: 0; }
.axm-body > * { flex-shrink: 0; }
.axm-hero { border-radius: 16px; padding: 11px 14px 10px; color: #fff; background: radial-gradient(240px 140px at 0% 0%, rgba(66,96,230,.9), transparent 70%), linear-gradient(160deg, #141A85, #1B22A7 60%); position: relative; overflow: hidden; }
.axm-hero::after { content: ''; position: absolute; width: 140px; height: 140px; left: -40px; bottom: -60px; background:
  linear-gradient(45deg, transparent 46%, rgba(255,255,255,.12) 46%, rgba(255,255,255,.12) 54%, transparent 54%),
  linear-gradient(-45deg, transparent 46%, rgba(255,255,255,.12) 46%, rgba(255,255,255,.12) 54%, transparent 54%); }
.axm-hero small { display: block; font-size: 10.5px; color: rgba(255,255,255,.75); }
.axm-hero b { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 5px; }
.axm-hero strong { display: flex; align-items: baseline; gap: 5px; font-size: 24px; font-weight: 700; line-height: 1.2; }
.axm-hero strong small { display: inline; font-size: 11px; }
.axm-hero .sub { margin-top: 7px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: rgba(255,255,255,.8); }
.axm-hero .sub .ax-num { font-size: 13px; font-weight: 700; color: #fff; }
.axm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.axm-stat { background: #fff; border: 1px solid #E6EAFB; border-radius: 13px; padding: 8px 11px; display: flex; flex-direction: column; gap: 3px; }
.axm-stat .t { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: var(--text-2); }
.axm-stat .t span { width: 22px; height: 22px; border-radius: 7px; background: var(--blue-50); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.axm-stat .t span.ok { background: #DCFCE7; color: #15803D; }
.axm-stat .t .ico { width: 13px; height: 13px; }
.axm-stat strong { font-size: 19px; font-weight: 700; color: var(--blue); line-height: 1.2; }
.axm-stat .ax-bar { height: 5px; }
.axm-sec { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--blue-dark); margin-top: 2px; }
.axm-sec em { font-style: normal; font-size: 10px; font-weight: 600; color: var(--blue); background: var(--blue-50); padding: 1px 8px; border-radius: 999px; }
.axm-list { display: flex; flex-direction: column; gap: 6px; }
.axm-item { background: #fff; border: 1px solid #E6EAFB; border-radius: 13px; padding: 7px 11px; display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; align-items: center; }
.axm-item b { font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.axm-item .ax-bar { height: 6px; }
.axm-item .ax-num { font-size: 11px; font-weight: 700; color: var(--blue-dark); }
.axm-nav { background: #fff; border-top: 1px solid rgba(27,34,167,.08); display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 6px 14px; }
.axm-nav span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; color: var(--text-3); font-weight: 600; }
.axm-nav span.on { color: var(--blue); }
.axm-nav span.on .ico { background: var(--blue-50); border-radius: 8px; padding: 3px; width: 26px; height: 22px; }
.axm-home { width: 96px; height: 4px; border-radius: 4px; background: #0D0D0D; opacity: .8; margin: 0 auto 6px; }
.motion .app-host:not(.ax-in) .axm-hero, .motion .app-host:not(.ax-in) .axm-stat, .motion .app-host:not(.ax-in) .axm-item { opacity: 0; transform: translateY(8px); }
.motion .app-host .axm-hero, .motion .app-host .axm-stat, .motion .app-host .axm-item { transition: opacity .45s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--p, 0) * 70ms); }

/* entrance (only with .motion; final state is the default) */
.motion .app-host:not(.ax-in) .ax-bar i { transform: scaleX(0); }
.motion .app-host .ax-bar i { transition: transform .7s var(--ease-out); transition-delay: calc(.15s + var(--d, 0) * 60ms); }
.motion .app-host:not(.ax-in) .seg { stroke-dasharray: 0 100; }
.motion .app-host .seg { transition: stroke-dasharray .8s var(--ease-out) .2s; }
.motion .app-host:not(.ax-in) .ax-panel { opacity: 0; transform: translateY(8px); }
.motion .app-host .ax-panel { transition: opacity .45s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--p, 0) * 90ms); }
.motion .app-host .ax-table tbody tr { transition: opacity .4s var(--ease-out); transition-delay: calc(.2s + var(--d, 0) * 70ms); }
.motion .app-host:not(.ax-in) .ax-table tbody tr { opacity: 0; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 1024px) {
  section { padding: 88px 0; }
  .hero-grid { gap: 40px; }
  .ch-grid { grid-template-columns: 1fr; gap: 56px; }
  .scatter { max-width: 520px; aspect-ratio: 4 / 3; }
  .get-grid { grid-template-columns: 1fr; gap: 48px; }
  .devices { max-width: 640px; margin: 0 auto; width: 100%; }
  .tab-panel { grid-template-columns: 1fr; gap: 32px; }
  .tp-visual { order: -1; }
  .int-grid { grid-template-columns: 1fr 1fr; }
  .int-item.lead { grid-column: 1 / -1; grid-row: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* timeline vertical */
  .tl { grid-template-columns: 1fr; gap: 0; max-width: 620px; margin: 0 auto; }
  .tl::before, .tl::after { top: 28px; bottom: 28px; right: 27px; left: auto; width: 3px; height: auto; }
  .tl::after { height: calc((100% - 56px) * var(--p)); bottom: auto; width: 3px; transition: height 1.4s cubic-bezier(.2,.7,.2,1); background: linear-gradient(180deg, var(--blue-light), var(--blue)); }
  .tl-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: start; padding: 0 0 28px; }
  .tl-step:last-child { padding-bottom: 0; }
  .tl-dot { margin: 0; grid-row: span 2; }
  .tl-step h3 { font-size: 16px; padding-top: 4px; margin-bottom: 2px; }
  .tl-step p { font-size: 14.5px; }
}
@media (max-width: 900px) {
  .hero { padding-bottom: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; margin: 8px auto 0; width: 100%; }
  .hub { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hub-lines { display: none; }
  .hub-core { grid-column: 1 / -1; grid-row: 1; max-width: 220px; margin-bottom: 18px; }
  .hub-l1, .hub-l2, .hub-l3, .hub-r1, .hub-r2, .hub-r3 { grid-column: auto; grid-row: auto; margin: 0; }
  .core-grid { grid-template-columns: 1fr; gap: 48px; }
  .core-grid::before { display: none; }
  .core-col + .core-col { border: 0; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.1); }
  .demo-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 40px; }
  .section-lead { font-size: 16px; }
  .hero { padding-top: calc(var(--nav-h) + 36px + 36px); }
  .hero-desc { font-size: 16.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-points li { font-size: 13px; }
  .ch-list { grid-template-columns: 1fr; }
  .ch-item:nth-child(even) { translate: none; }
  .scatter { aspect-ratio: 1 / 1.05; }
  .chip { font-size: 12px; padding: 7px 10px; }
  .chip .ico { width: 16px; height: 16px; }
  .hub { grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
  .hub-node { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .hub-node .ni { width: 40px; height: 40px; }
  .hub-node strong { font-size: 15px; }
  .hub-node small { font-size: 12.5px; }
  .devices { padding: 0 0 36px 16%; }
  .phone { border-radius: 18px; padding: 5px; min-width: 112px; width: 31%; }
  .phone-screen { border-radius: 14px; }
  .phone-skel i { height: 6px; } .phone-skel.box i { height: 22px; }
  .get-item { padding: 14px 4px; grid-template-columns: 46px 1fr; gap: 14px; }
  .get-ic { width: 46px; height: 46px; }
  .tab-btn { flex: 0 0 auto; padding: 10px 14px; font-size: 14px; }
  .tabs-list { margin-inline: -16px; border-radius: 0; border-inline: 0; padding-inline: 16px; }
  .int-grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: 1fr; padding: 28px 20px; }
  .logo-link { margin: 0 auto; transform: rotate(-90deg); }
  .logo-tile { height: 96px; }
  .form-card { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand-row { justify-content: center; }
  .footer-raseen { align-self: center; }
  .footer-contact { align-items: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .sticky-cta { display: block; }
  body { padding-bottom: 72px; }
}
@media (max-width: 480px) {
  .top-bar { font-size: 11px; padding: 6px 0; height: 32px; }
  .top-bar-inner { gap: 12px; }
  .top-bar-sep, .top-bar-label { display: none; }
  .navbar { top: 32px; }
  .mobile-menu { top: calc(var(--nav-h) + 32px); }
  .hero { padding-top: calc(var(--nav-h) + 32px + 32px); }
  .brand img { height: 42px; }
}

/* ═══════════════════════════════════════
   MOBILE POLISH (≤ 640px)
═══════════════════════════════════════ */
.hero-phone { display: none; }
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: 27px; line-height: 1.4; }
  .section-tag { font-size: 12.5px; margin-bottom: 14px; }

  /* Hero: readable phone UI instead of a shrunken laptop */
  .hero { padding-bottom: 48px; }
  .hero-title { font-size: 36px; margin-bottom: 16px; }
  .hero-desc { margin-bottom: 22px; line-height: 1.85; }
  .hero-points { gap: 8px; margin-bottom: 26px; }
  .hero-points li { padding: 7px 12px; }
  .hero-visual .laptop { display: none; }
  .hero-visual { padding: 0; max-width: 300px; }
  .hero-visual::before { inset: 10% -14% 14% -14%; border-radius: 28px; }
  .hero-phone { display: block; }
  .phone.phone-hero { position: relative; left: auto; bottom: auto; width: 74%; min-width: 0; margin: 0 auto; border-radius: 30px; padding: 7px; box-shadow: 0 28px 70px rgba(27,34,167,.28); }
  .phone.phone-hero .phone-screen { border-radius: 24px; }
  .hero-phone .shot-caption { margin-top: 18px; }

  /* Challenges: tighter list */
  .ch-grid { gap: 36px; }
  .ch-item { padding: 16px 0 18px; grid-template-columns: 36px 1fr; }
  .ch-item h3 { font-size: 16.5px; }
  .ch-item p { font-size: 14.5px; line-height: 1.75; }
  .scatter { max-width: 360px; }

  /* Solution hub */
  .hub-core { max-width: 170px; margin-bottom: 22px; box-shadow: 0 0 0 10px rgba(66,96,230,.10), 0 0 0 20px rgba(66,96,230,.05), 0 20px 50px rgba(27,34,167,.2); }
  .hub-core span { font-size: 12px; }

  /* What you get */
  .get-list { gap: 2px; }
  .get-item p { font-size: 14px; line-height: 1.75; }
  .get-item h3 { font-size: 16px; }

  /* Pillars: compact rows instead of tall centered columns */
  .core-grid { gap: 0; }
  .core-col { display: grid; grid-template-columns: 60px 1fr; gap: 4px 16px; text-align: start; padding: 22px 0 !important; }
  .core-col + .core-col { border-top: 1px solid rgba(255,255,255,.1); }
  .core-ic { width: 60px; height: 60px; border-radius: 18px; margin: 0; grid-row: span 3; box-shadow: 0 0 0 6px rgba(66,96,230,.18), 0 12px 28px rgba(0,0,0,.35); }
  .core-ic .ico { width: 28px; height: 28px; }
  .core-num { margin-bottom: 0; font-size: 12px; }
  .core-col h3 { font-size: 19px; margin-bottom: 6px; }
  .core-col p { margin: 0 0 12px; max-width: none; font-size: 14.5px; line-height: 1.8; }
  .core-value { grid-column: 1 / -1; max-width: none; width: 100%; font-size: 13.5px; }

  /* Feature tabs: bigger app screens with horizontal swipe */
  .tabs-list { margin-bottom: 24px; -webkit-mask-image: linear-gradient(to left, transparent 0, #000 28px); mask-image: linear-gradient(to left, transparent 0, #000 28px); }
  .tab-panel { grid-template-columns: minmax(0, 1fr); }
  .tp-visual, .tp-text { min-width: 0; max-width: 100%; }
  .tp-visual .frame { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .tp-visual .frame .app-host { width: 640px; max-width: none; }
  .tp-visual .frame-bar { width: 640px; }
  .tp-visual .shot-caption::before { content: 'اسحب أفقيًا لعرض الشاشة كاملة · '; color: var(--blue); font-weight: 600; }
  .tp-text h3 { font-size: 21px; margin-bottom: 16px; }
  .tp-list li { font-size: 15px; }

  /* Journey */
  .tl-step { padding-bottom: 22px; }

  /* Integrations */
  .int-item { padding: 20px; border-radius: 16px; }
  .int-top { margin-bottom: 12px; }
  .int-ic { width: 42px; height: 42px; }
  .int-item h3 { font-size: 17px; }
  .int-item p { font-size: 14px; line-height: 1.8; }
  .int-tags { padding-top: 14px; }

  /* About */
  .about-text p { font-size: 15.5px; line-height: 1.9; }
  .logos { padding: 22px 18px; gap: 12px; }
  .logo-tile { height: 84px; }
  .logo-tile img { max-height: 44px; }

  /* Demo + form */
  .demo-grid { gap: 32px; }
  .benefits-list { gap: 10px; margin-bottom: 22px; }
  .benefit-item { font-size: 15px; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; padding: 13px 14px; } /* ≥16px stops iOS zoom-on-focus */
  .form-submit { padding: 16px; font-size: 17px; }

  /* Readable small text */
  .shot-caption, .opt, .field-hint, .status, .form-privacy { font-size: 13px; }
  .field-error { font-size: 13px; }

  /* Tap targets */
  .hamburger { padding: 13px 11px; }
  .top-bar a { padding: 6px 0; }

  /* Footer: link columns side by side */
  .footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; text-align: start; }
  .footer-grid > div:first-child, .footer-contact { grid-column: 1 / -1; }
  .footer-grid > div:first-child { align-items: center; text-align: center; }
  .footer-contact { align-items: flex-start; }
  .footer-col ul { gap: 10px; }
  .footer-col a { padding: 2px 0; }
  .footer-bottom { padding-bottom: 20px; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 32px; }
  .section-title { font-size: 25px; }
  .phone.phone-hero { width: 80%; }
}

/* ═══════════════════════════════════════
   V2 — PRODUCT SITE COMPONENTS
═══════════════════════════════════════ */
.anchor-alias { position: absolute; top: 0; }

/* Hero: centered copy, wide product stage */
.hero2 { padding-bottom: 72px; }
.hero2-copy { text-align: center; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.hero2 .hero-title { font-size: clamp(36px, 5.4vw, 66px); margin-bottom: 18px; }
.hero2 .hero-desc { max-width: 640px; margin: 0 auto 30px; font-size: 18.5px; }
.hero2 .hero-actions { justify-content: center; margin-bottom: 22px; }
.hero2 .hero-actions .btn-secondary .ico { transition: transform .3s var(--ease-out); }
.hero-jump { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.hero-jump-label { font-size: 13px; color: var(--text-3); margin-inline-end: 4px; }
.hero-jump a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--blue-dark); background: #fff; border: 1px solid var(--blue-100); transition: background .25s, border-color .25s, transform .3s var(--ease-out), box-shadow .3s; }
.hero-jump a .ico { width: 16px; height: 16px; color: var(--blue); }
.hero-jump a:hover { background: var(--blue-50); border-color: #b8c4f8; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.hero2-stage { position: relative; max-width: 1000px; margin: 56px auto 0; padding: 0 4%; }
.hero2-stage::before { content: ''; position: absolute; inset: 14% -2% -4% -2%; z-index: -1; border-radius: 40px; background: linear-gradient(180deg, rgba(220,227,255,.9), rgba(238,241,255,.3)); }
.hero-laptop { --sx: 0deg; transform: perspective(1600px) rotateX(calc(var(--rx, 0deg) + var(--sx))) rotateY(var(--ry, 0deg)); transform-origin: 50% 100%; transition: transform .5s var(--ease-out); }
.phone-float { position: absolute; left: 0; bottom: -28px; width: 21%; min-width: 0; z-index: 3; box-shadow: 0 30px 70px rgba(13,13,13,.32); }
.hero2-caption { margin-top: 44px; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 34px; }
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.trust-strip .ico { width: 18px; height: 18px; color: var(--blue); }

/* Problem → solution */
.shift { background: var(--bg-soft); border-top: 1px solid var(--blue-border); overflow: hidden; }
.shift-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.pain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 30px; }
.pain-list li { padding: 14px 0; border-top: 1px solid rgba(27,34,167,.14); display: flex; flex-direction: column; gap: 2px; }
.pain-list b { font-size: 15.5px; font-weight: 700; color: var(--text); position: relative; padding-inline-start: 18px; }
.pain-list b::before { content: ''; position: absolute; inset-inline-start: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); opacity: .75; transform: rotate(45deg); transition: background .4s, opacity .4s; }
.pain-list span { font-size: 13.5px; color: var(--text-2); padding-inline-start: 18px; }
.shift[data-state="after"] .pain-list b::before { background: var(--green); opacity: 1; }
.shift-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.seg-toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-100); box-shadow: var(--shadow-sm); }
.seg-btn { position: relative; z-index: 1; border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: var(--text-2); transition: color .3s; min-height: 44px; }
.seg-btn[aria-pressed="true"] { color: #fff; }
.seg-ind { position: absolute; top: 5px; bottom: 5px; right: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--red); transition: transform .45s var(--ease-out), background .45s; }
.seg-toggle.after .seg-ind { transform: translateX(-100%); background: var(--blue); }
.shift-stage { position: relative; width: 100%; max-width: 500px; display: grid; }
.shift-stage > figure { grid-area: 1 / 1; position: relative; inset: auto; margin: 0; min-height: 100%; transition: opacity .55s var(--ease-out), transform .6s var(--ease-out); }
.shift-stage .orbit { aspect-ratio: 1; }
.shift-stage .scatter { max-width: none; aspect-ratio: auto; }
.shift-stage[data-state="before"] .stage-after { opacity: 0; transform: scale(.94); pointer-events: none; }
.shift-stage[data-state="after"] .stage-before { opacity: 0; transform: scale(1.04); pointer-events: none; }
.orbit { border-radius: 28px; background: radial-gradient(circle at center, rgba(66,96,230,.12), transparent 62%), #fff; border: 1px solid var(--blue-border); box-shadow: var(--shadow); }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-lines circle { fill: none; stroke: var(--blue-100); stroke-width: .5; stroke-dasharray: 1.5 2; }
.orbit-lines line { stroke: #9aa6e8; stroke-width: .45; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .8s var(--ease-out); }
.shift-stage[data-state="after"] .orbit-lines line { stroke-dashoffset: 0; }
.orbit-lines line:nth-of-type(2) { transition-delay: .06s; } .orbit-lines line:nth-of-type(3) { transition-delay: .12s; } .orbit-lines line:nth-of-type(4) { transition-delay: .18s; } .orbit-lines line:nth-of-type(5) { transition-delay: .24s; } .orbit-lines line:nth-of-type(6) { transition-delay: .3s; }
.orbit-core { position: absolute; top: 50%; left: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; border: 4px solid var(--blue); box-shadow: 0 0 0 10px rgba(66,96,230,.1), 0 18px 40px rgba(27,34,167,.22); }
.orbit-core img { width: 70%; height: auto; }
.orb { position: absolute; transform: translate(-50%, -50%) scale(.85); opacity: 0; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--blue-100); box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 700; color: var(--blue-dark); white-space: nowrap; transition: opacity .45s var(--ease-out), transform .5s var(--ease-out); }
.orb .ico { width: 18px; height: 18px; color: var(--blue); }
.o1 { top: 16%; left: 50%; } .o2 { top: 33%; left: 79.4%; } .o3 { top: 67%; left: 79.4%; } .o4 { top: 84%; left: 50%; } .o5 { top: 67%; left: 20.6%; } .o6 { top: 33%; left: 20.6%; }
.shift-stage[data-state="after"] .orb { opacity: 1; transform: translate(-50%, -50%); }
.o2 { transition-delay: .05s !important; } .o3 { transition-delay: .1s !important; } .o4 { transition-delay: .15s !important; } .o5 { transition-delay: .2s !important; } .o6 { transition-delay: .25s !important; }

/* Tour */
.tour .tab-panel { gap: 48px; }
.tp-desc { font-size: 16px; color: var(--text-2); line-height: 1.85; margin: -8px 0 18px; }
.tp-next { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 8px 0; font-size: 14.5px; font-weight: 700; color: var(--blue); min-height: 44px; }
.tp-next .ico { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.tp-next:hover .ico { transform: translateX(-4px); }
.tour-cta { margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-radius: 20px; background: linear-gradient(270deg, #1B22A7, #2A3DBF 55%, #4260E6); color: #fff; box-shadow: var(--blue-glow); position: relative; overflow: hidden; }
.tour-cta::after { content: ''; position: absolute; width: 220px; height: 220px; left: -60px; top: -80px; opacity: .14; background: linear-gradient(45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%); pointer-events: none; }
.tour-cta b { display: block; font-size: 19px; margin-bottom: 4px; }
.tour-cta span { font-size: 14.5px; color: rgba(255,255,255,.8); }
.tour-cta .btn-primary { background: #fff; color: var(--blue) !important; border-color: #fff; box-shadow: none; flex-shrink: 0; position: relative; z-index: 1; }
.tour-cta .btn-primary:hover { background: var(--blue-50); }
.tour-cta .btn-primary::after { background: linear-gradient(110deg, transparent 30%, rgba(27,34,167,.12) 50%, transparent 70%); }

/* Value: what-you-get strip */
.core { padding-bottom: 96px; }
.get-strip { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 30px; }
.get-strip-title { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #9fb2ff; margin-bottom: 18px; text-align: center; }
.get-strip ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.get-strip li { display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .35s var(--ease-out); }
.get-strip li:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.get-strip .ico { width: 22px; height: 22px; color: #9fb2ff; grid-row: span 2; margin-top: 2px; }
.get-strip b { font-size: 14px; font-weight: 700; color: #fff; }
.get-strip span { font-size: 12.5px; color: rgba(255,255,255,.65); }

/* Journey stepper */
.stepper { --n: 7; }
.st-list { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; position: relative; }
.st-list::before, .st-list::after { content: ''; position: absolute; top: 27px; right: calc(100% / 14); height: 3px; border-radius: 3px; }
.st-list::before { left: calc(100% / 14); background: var(--blue-100); }
.st-list::after { width: calc((100% - 100% / 7) * var(--sp, 0)); background: linear-gradient(270deg, var(--blue), var(--blue-light)); transition: width .5s var(--ease-out); }
.st-btn { position: relative; z-index: 1; width: 100%; border: 0; background: none; padding: 0 4px 6px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--text-2); border-radius: 12px; }
.st-dot { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-100); color: var(--blue); display: flex; align-items: center; justify-content: center; transition: all .35s var(--ease-out); }
.st-dot .ico { width: 24px; height: 24px; }
.st-n { font-size: 11.5px; font-weight: 700; color: var(--blue-light); letter-spacing: .04em; }
.st-t { font-size: 14px; font-weight: 600; line-height: 1.5; transition: color .3s; }
.st-btn:hover .st-dot { transform: translateY(-3px); border-color: var(--blue-light); }
.st-btn.done .st-dot { background: var(--blue-50); border-color: var(--blue-light); }
.st-btn[aria-selected="true"] .st-dot { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(66,96,230,.16), 0 10px 24px rgba(27,34,167,.28); }
.st-btn[aria-selected="true"] .st-t { color: var(--blue-dark); font-weight: 700; }
.st-panel { position: relative; z-index: 2; margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--blue-100); box-shadow: var(--shadow); }
.st-body { min-width: 0; }
.st-body.swap { animation: tabIn .4s var(--ease-out); }
.st-step { font-size: 12.5px; color: var(--text-3); }
.st-step b { color: var(--blue); }
.st-panel h3 { font-size: 20px; font-weight: 700; margin: 2px 0 4px; }
.st-panel p { font-size: 15.5px; color: var(--text-2); }
.st-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.st-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--blue); padding: 8px 0; }
.st-link .ico { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.st-link:hover .ico { transform: translateX(-3px); }
.st-nav { display: flex; gap: 8px; }
.st-nav button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--blue-100); background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; transition: background .25s, transform .2s; }
.st-nav button:hover { background: var(--blue-50); }
.st-nav button:active { transform: scale(.94); }
.st-nav button:disabled { opacity: .35; cursor: default; }
.st-nav .ico { width: 18px; height: 18px; }

/* Scope: core vs add-ons */
.scope-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.scope-core, .scope-add { border-radius: 20px; padding: 26px; }
.scope-core { background: linear-gradient(170deg, var(--blue-50), #fff 70%); border: 1px solid var(--blue-100); }
.scope-add { background: #fff; border: 1px solid var(--blue-border); }
.scope-core h3, .scope-add h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.scope-core h3 .ico { width: 22px; height: 22px; color: #fff; background: var(--green); border-radius: 50%; padding: 4px; }
.scope-add h3 .ico { width: 22px; height: 22px; color: var(--blue); }
.scope-add h3 small { font-size: 12px; font-weight: 600; color: #92400e; background: #fffbeb; border: 1px dashed #f5c870; border-radius: 999px; padding: 2px 10px; }
.scope-core ul { display: flex; flex-direction: column; gap: 4px; }
.scope-core li a, .scope-core li span { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 11px; font-size: 15px; font-weight: 600; color: var(--text); transition: background .25s, color .25s; }
.scope-core li a::after { content: 'شاهد ‹'; font-size: 12.5px; font-weight: 600; color: var(--blue); opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .3s var(--ease-out); }
.scope-core li a:hover { background: #fff; color: var(--blue); }
.scope-core li a:hover::after, .scope-core li a:focus-visible::after { opacity: 1; transform: none; }
.addon-list { display: flex; flex-direction: column; }
.addon-list li { display: grid; grid-template-columns: 108px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--blue-border); }
.addon-list li:first-child { border-top: 0; padding-top: 4px; }
.addon-mark { display: inline-flex; align-items: center; justify-content: center; height: 36px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--blue-border); font-size: 12.5px; font-weight: 700; color: var(--blue-dark); }
.addon-mark .ico { width: 20px; height: 20px; color: var(--blue); }
.addon-list b { font-size: 15px; font-weight: 700; }
.addon-list p { font-size: 13.5px; color: var(--text-2); line-height: 1.75; }
.scope-add .int-note { margin-top: 14px; }

/* Profile */
.profile { background: #fff; }
.profile-card { display: grid; grid-template-columns: 440px 1fr; gap: 56px; align-items: center; padding: 40px; border-radius: 28px; background: linear-gradient(135deg, var(--bg-soft), #fff 60%); border: 1px solid var(--blue-border); }
.profile-cover { position: relative; display: block; aspect-ratio: 1.414 / 1; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #141A85, #1B22A7 60%, #4260E6); box-shadow: 0 24px 60px rgba(27,34,167,.28); transform: rotate(-3deg); transition: transform .45s var(--ease-out), box-shadow .45s; }
.profile-cover:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 30px 70px rgba(27,34,167,.34); }
.profile-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.profile-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; font-weight: 700; }
.profile-fallback img { background: #fff; border-radius: 10px; padding: 8px 12px; width: 60%; height: auto; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.profile-meta { display: block; margin-top: 12px; font-size: 13px; color: var(--text-3); }

/* About v2 */
.about2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.about2 .section-title { margin-bottom: 0; }
.about2-text p { font-size: 16.5px; color: var(--text-2); line-height: 1.95; }

/* FAQ */
.faq { background: #fff; border-top: 1px solid var(--blue-border); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-head .btn { margin-top: 22px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--blue-border); border-radius: 16px; background: #fff; transition: border-color .3s, box-shadow .3s, background .3s; }
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); background: linear-gradient(180deg, var(--bg-soft), #fff); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 16.5px; font-weight: 700; color: var(--text); min-height: 56px; border-radius: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B22A7' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease-out), background-color .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--blue-100); }
.faq-item summary:hover { color: var(--blue); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { font-size: 15px; color: var(--text-2); line-height: 1.9; }
.motion .faq-item[open] .faq-a { animation: tabIn .35s var(--ease-out); }


/* Before view: six everyday questions */
.shift-visual, .shift-copy { min-width: 0; }
.shift-stage > figure { min-width: 0; }
.pq-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto repeat(3, 1fr); gap: 12px; padding: 18px; align-content: stretch; }
.pq-label { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; justify-self: center; font-size: 12.5px; font-weight: 700; color: #991b1b; background: #fef2f2; border: 1px dashed #fca5a5; border-radius: 999px; padding: 4px 12px; }
.pq-label .ico { width: 15px; height: 15px; }
.pq { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px 13px; border-radius: 14px; background: #fff; border: 1px solid #f3d4d4; box-shadow: 0 6px 18px rgba(153,27,27,.07); min-width: 0; transition: transform .35s var(--ease-out), box-shadow .3s; }
.pq:hover { transform: rotate(0) translateY(-2px) !important; box-shadow: 0 10px 24px rgba(153,27,27,.12); z-index: 2; }
.pq-ic { width: 28px; height: 28px; border-radius: 8px; background: #fef2f2; color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 2px; }
.pq-ic .ico { width: 16px; height: 16px; }
.pq b { font-size: 14px; font-weight: 700; line-height: 1.45; color: var(--text); }
.pq small { font-size: 12px; color: var(--text-2); line-height: 1.55; }
.pq1 { transform: rotate(-2deg); } .pq2 { transform: rotate(1.6deg) translateY(6px); } .pq3 { transform: rotate(1.2deg) translateX(-4px); }
.pq4 { transform: rotate(-1.8deg) translateY(4px); } .pq5 { transform: rotate(-1deg) translateX(4px); } .pq6 { transform: rotate(2deg) translateY(4px); }
.motion .pq-board .pq { opacity: 0; scale: .9; transition: opacity .45s var(--ease-out), scale .5s var(--ease-out), transform .35s var(--ease-out), box-shadow .3s; transition-delay: calc(.15s + var(--i, 0) * 80ms), calc(.15s + var(--i, 0) * 80ms), 0s, 0s; }
.motion .shift-visual.visible .pq { opacity: 1; scale: 1; }
@media (max-width: 640px) {
  .pq-board { gap: 9px; padding: 12px; }
  .pq { padding: 10px; border-radius: 12px; }
  .pq-ic { width: 24px; height: 24px; }
  .pq b { font-size: 13px; }
  .pq small { font-size: 11.5px; }
}
/* Demo: profile download */
.dl-card { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; padding: 14px; margin-bottom: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--blue-100); box-shadow: var(--shadow-sm); transition: box-shadow .3s, border-color .3s; }
.dl-card:hover { box-shadow: var(--shadow); border-color: #b8c4f8; }
.dl-thumb { display: block; border-radius: 9px; overflow: hidden; aspect-ratio: 1.414 / 1; background: var(--blue); box-shadow: 0 8px 20px rgba(27,34,167,.22); transition: transform .35s var(--ease-out); }
.dl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dl-card:hover .dl-thumb { transform: translateY(-2px) rotate(-1deg); }
.dl-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-body b { font-size: 15.5px; font-weight: 700; }
.dl-body small { font-size: 12.5px; color: var(--text-3); }
.dl-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.dl-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; min-height: 40px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; transition: background .25s, transform .2s; }
.dl-btn .ico { width: 16px; height: 16px; }
.dl-btn:hover { background: var(--blue-dark); }
.dl-btn:active { transform: scale(.97); }
.dl-link { font-size: 14px; font-weight: 700; color: var(--blue); padding: 8px 0; }
.dl-link:hover { text-decoration: underline; }
@media (max-width: 400px) { .dl-card { grid-template-columns: 104px 1fr; gap: 12px; } }

/* Demo: next steps */
.next-steps { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; position: relative; }
.next-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 10px 0; position: relative; }
.next-steps li > span { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; position: relative; z-index: 1; }
.next-steps li:not(:last-child)::before { content: ''; position: absolute; top: 44px; bottom: -6px; right: 16px; width: 2px; background: var(--blue-100); }
.next-steps b { display: block; font-size: 15.5px; font-weight: 700; }
.next-steps small { font-size: 13.5px; color: var(--text-2); }

@media (max-width: 1024px) {
  .shift-grid { grid-template-columns: 1fr; gap: 40px; }
  .shift-stage { max-width: 460px; }
  .get-strip ul { grid-template-columns: repeat(3, 1fr); }
  .scope-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .about2 { grid-template-columns: 1fr; gap: 20px; }
  .profile-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; justify-items: center; text-align: center; }
  .profile-cover { width: min(100%, 460px); }
  .profile-actions { justify-content: center; }
  .st-list { display: flex; flex-direction: column; gap: 0; max-width: 620px; margin: 0 auto; }
  .st-list::before, .st-list::after { top: 28px; bottom: 28px; right: 27px; left: auto; width: 3px; height: auto; }
  .st-list::after { height: calc((100% - 56px) * var(--sp, 0)); bottom: auto; transition: height .5s var(--ease-out); background: linear-gradient(180deg, var(--blue-light), var(--blue)); }
  .st-btn { flex-direction: row; text-align: start; gap: 14px; padding: 6px 0; align-items: center; }
  .st-n { order: 3; margin-inline-start: auto; }
  .st-t { font-size: 15.5px; }
  .stepper .st-panel { margin: 4px 0 10px; margin-inline-start: 70px; flex-direction: column; align-items: stretch; padding: 18px 20px; }
  .st-actions { justify-content: space-between; }
}
@media (max-width: 640px) {
  .hero2 { padding-bottom: 40px; }
  .hero2 .hero-title { font-size: 36px; }
  .hero2 .hero-desc { font-size: 16.5px; margin-bottom: 22px; }
  .hero2 .hero-actions { width: 100%; }
  .hero-jump { gap: 6px; }
  .hero-jump-label { width: 100%; margin: 0 0 2px; }
  .hero-jump a { min-height: 40px; }
  .hero2-stage { margin-top: 34px; padding: 0; max-width: 300px; }
  .hero2-stage::before { inset: 10% -14% 10% -14%; border-radius: 28px; }
  .hero2-stage .hero-laptop { display: none; }
  .phone-float { position: relative; left: auto; bottom: auto; width: 74%; margin: 0 auto; border-radius: 30px; padding: 7px; }
  .phone-float .phone-screen { border-radius: 24px; }
  .hero2-caption { margin-top: 18px; }
  .trust-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; text-align: start; }
  .trust-strip li { font-size: 13px; align-items: flex-start; }
  .pain-list { grid-template-columns: 1fr; margin-top: 22px; }
  .pain-list li { padding: 11px 0; }
  .shift-stage { max-width: 360px; }
  .orb { font-size: 12px; padding: 7px 10px; gap: 5px; }
  .orb .ico { width: 15px; height: 15px; }
  .tour-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 22px; margin-top: 40px; }
  .tour-cta .btn { width: 100%; }
  .tp-desc { font-size: 15px; }
  .get-strip ul { grid-template-columns: 1fr 1fr; }
  .get-strip li:last-child { grid-column: 1 / -1; }
  .stepper .st-panel { margin-inline-start: 0; }
  .scope-core, .scope-add { padding: 20px; }
  .addon-list li { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .addon-mark { grid-column: 1 / -1; justify-self: start; padding: 0 12px; height: 30px; }
  .addon-list li > div { grid-column: 1; }
  .profile-card { grid-template-columns: 1fr; padding: 22px; gap: 26px; justify-items: center; text-align: center; }
  .profile-cover { width: 100%; transform: rotate(-1.5deg); }
  .profile-actions { justify-content: center; }
  .profile-actions .btn { width: 100%; }
  .faq-item summary { font-size: 15.5px; padding: 16px 18px; }
  .faq-a { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-laptop { transform: none !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .enter { opacity: 1 !important; transform: none !important; }
  .chip, .x-motif svg, .hero::before, .status::before { animation: none !important; }
  .hero-visual .laptop { transform: none !important; }
}

/* ═══════════════════════════════════════
   GEO additions — comparison, fit, summary (same tokens)
═══════════════════════════════════════ */
.hero-desc strong { color: var(--blue); font-weight: 700; }
.pain-head { font-size: 15px; font-weight: 700; color: var(--blue); margin-top: 28px; }
.pain-head + .pain-list { margin-top: 10px; }
.tp-q { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--blue); background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-pill); padding: 4px 14px; margin-bottom: 12px; }
.tp-q span { color: var(--text-3); font-weight: 500; }

.cmp { margin-top: 72px; }
.cmp-head { max-width: 760px; margin-bottom: 24px; }
.cmp-title { font-size: clamp(21px, 2.4vw, 27px); font-weight: 700; color: var(--text); line-height: 1.45; margin-bottom: 8px; text-wrap: balance; }
.cmp-lead { font-size: 15.5px; color: var(--text-2); line-height: 1.9; }
.cmp-wrap { border-radius: 20px; background: #fff; border: 1px solid var(--blue-border); box-shadow: var(--shadow-sm); overflow: hidden; }
.cmp-table { width: 100%; border-collapse: collapse; text-align: start; font-size: 14.5px; line-height: 1.8; }
.cmp-table th, .cmp-table td { padding: 16px 20px; text-align: start; vertical-align: top; border-top: 1px solid var(--blue-border); }
.cmp-table thead th { border-top: 0; background: var(--bg-soft); font-size: 14px; font-weight: 700; color: var(--text); }
.cmp-table thead th small { display: block; font-weight: 500; color: var(--text-3); font-size: 12.5px; }
.cmp-table thead th.cmp-x { background: var(--blue); color: #fff; }
.cmp-table tbody th { font-weight: 700; color: var(--text); width: 18%; white-space: nowrap; }
.cmp-table td { color: var(--text-2); }
.cmp-table td:last-child { color: var(--text); background: linear-gradient(90deg, transparent, var(--blue-50)); font-weight: 500; }
.cmp-table td:last-child::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--green); transform: rotate(45deg); margin-inline-end: 10px; vertical-align: middle; }

.fit { background: var(--bg-soft); border-top: 1px solid var(--blue-border); }
.fit-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.fit-card { border-radius: 20px; padding: 30px; background: #fff; border: 1px solid var(--blue-border); }
.fit-card.yes { border-color: var(--blue-100); box-shadow: var(--shadow); }
.fit-card h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.fit-card h3 .ico { width: 26px; height: 26px; padding: 4px; border-radius: 8px; }
.fit-card.yes h3 .ico { color: #fff; background: var(--blue); }
.fit-card.no h3 .ico { color: var(--text-2); background: var(--bg-soft); border: 1px solid var(--blue-border); }
.fit-card li { position: relative; padding: 10px 0; padding-inline-start: 20px; border-top: 1px solid var(--blue-border); font-size: 15px; color: var(--text-2); line-height: 1.8; }
.fit-card li:first-child { border-top: 0; }
.fit-card li::before { content: ''; position: absolute; inset-inline-start: 0; top: 1.15em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--blue); }
.fit-card.no li::before { background: var(--text-3); opacity: .6; }
.fit-note { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--blue); }

.summary { background: #fff; padding: 88px 0 0; }
.summary-box { position: relative; overflow: hidden; border-radius: 24px; padding: 40px 44px; background: linear-gradient(135deg, var(--bg-soft), #fff 70%); border: 1px solid var(--blue-border); border-inline-start: 5px solid var(--blue); }
.summary-statement { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; color: var(--text); line-height: 1.7; max-width: 900px; text-wrap: balance; }
.summary-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.summary-points li { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--blue-border); font-size: 14.5px; color: var(--text-2); line-height: 1.75; }
.summary-points b { color: var(--blue); }

@media (max-width: 900px) {
  .fit-grid, .summary-points { grid-template-columns: 1fr; }
  .cmp { margin-top: 56px; }
}
@media (max-width: 640px) {
  .summary { padding-top: 64px; }
  .summary-box { padding: 26px 20px; }
  .fit-card { padding: 22px 18px; }
  .cmp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: 100%; }
  .cmp-table tr { border-top: 1px solid var(--blue-border); padding: 6px 0 10px; }
  .cmp-table tbody tr:first-child { border-top: 0; }
  .cmp-table th, .cmp-table td { border-top: 0; padding: 6px 18px; }
  .cmp-table tbody th { padding-top: 14px; color: var(--blue); white-space: normal; width: 100%; }
  .cmp-table td::before, .cmp-table td:last-child::before { content: attr(data-label); display: block; width: auto; height: auto; background: none; transform: none; margin: 0 0 2px; font-size: 12px; font-weight: 600; color: var(--text-3); }
  .cmp-table td:last-child { background: var(--blue-50); border-radius: 10px; margin: 4px 12px 0; width: auto; padding: 8px 12px; }
}
