/* تحويلاتي · صفحة التعريف. نفس ألوان وخط البرنامج (app_tokens.dart). */

@font-face { font-family: "Plex Arabic"; src: url("assets/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("assets/fonts/IBMPlexSansArabic-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("assets/fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("assets/fonts/IBMPlexSansArabic-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --graphite: #15181D;
  --graphite-2: #1E232A;
  --graphite-3: #2A3038;
  --on-graphite: #FFFFFF;
  --on-graphite-soft: rgba(255, 255, 255, .68);
  --brand: #2BD67B;
  --brand-hover: #22C06C;
  --brand-soft: #DDF7E9;
  --brand-ink: #0B1F14;
  --brand-text: #0F7A43;

  --canvas: #F4F5F6;
  --surface: #FFFFFF;
  --surface-raised: #EEF0F2;
  --ink: #15181D;
  --ink-soft: #4B5360;
  --ink-faint: #6B7280;
  --line: #E2E5E9;
  --danger: #B91C1C;
  --shadow: 0 1px 2px rgba(16, 20, 24, .06), 0 12px 32px -12px rgba(16, 20, 24, .16);

  --radius-card: 24px;
  --radius-tile: 18px;
  --radius-pill: 999px;
  --wrap: 1160px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Plex Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* أيقونات البرنامج: الخط بلون الكلام واللمسة بالأخضر. */
.ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.ico .a { stroke: var(--brand); }
.ico .f { fill: var(--brand); stroke: none; }
.ico--on-dark { color: var(--on-graphite); }

/* ── زراير ── */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 14px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 17px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--brand { background: #2BD67B; color: #0B1F14; box-shadow: 0 10px 28px -10px rgba(43, 214, 123, .6); }
.btn--brand:hover { background: #22C06C; }
.btn--ghost { color: var(--on-graphite); border-color: rgba(255, 255, 255, .22); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04); }
.ico--btn { width: 20px; height: 20px; color: #0B1F14; }
.ico--btn .a { stroke: #0B1F14; }

.btn--outline-dark { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn--outline-dark:hover { border-color: var(--ink-faint); }

/* ── الشريط اللي فوق: أبيض شفاف ── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.topbar__row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); }
/* شعار التطبيق نفسه (أيقونة الأندرويد). */
.brand__logo { width: 38px; height: 38px; border-radius: 10px; }
.brand--small .brand__logo { width: 32px; height: 32px; border-radius: 8px; }
.topnav { display: flex; gap: 28px; margin-inline-start: auto; font-size: 15px; font-weight: 500; }
.topnav a { color: var(--ink-soft); transition: color .2s; }
.topnav a:hover { color: var(--ink); }

/* ── أول الصفحة: أبيض وتوهج أخضر ورا الموبايل ── */
.hero {
  /* التوهج أكبر من الشاشة: لازم يتقص عشان الصفحة متتعملهاش scroll بالعرض. */
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 70%, var(--canvas) 100%);
  color: var(--ink);
  padding: 64px 0 56px;
}
.hero__glow {
  position: absolute; z-index: -1; inset: -10% -8% auto auto;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 214, 123, .20), rgba(43, 214, 123, .06) 55%, rgba(43, 214, 123, 0) 72%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(21, 24, 29, .07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__title { margin-top: 22px; font-size: clamp(38px, 6vw, 68px); line-height: 1.15; }
.hl {
  color: var(--brand-text);
  background: linear-gradient(90deg, #0F7A43, #1FB866);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__lead { margin-top: 20px; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-soft); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .ico { width: 18px; height: 18px; color: var(--brand-text); stroke-width: 2.2; }

/* شارة ميزانيتك: بتفتح كارت صغير فيه جوجل بلاي والموقع. */
.maker { position: relative; display: inline-block; z-index: 5; }
.maker > summary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 8px 5px 14px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(16, 20, 24, .05);
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; list-style: none; user-select: none;
  transition: border-color .2s, box-shadow .2s;
}
.maker > summary::-webkit-details-marker { display: none; }
.maker > summary:hover, .maker[open] > summary { border-color: #BFDDEF; box-shadow: 0 6px 18px -8px rgba(40, 110, 160, .35); }
.maker__icon { width: 26px; height: 26px; border-radius: 8px; }
.maker b { color: var(--ink); }
.maker__chev { width: 16px; height: 16px; color: var(--ink-faint); transition: transform .25s var(--ease); }
.maker[open] .maker__chev { transform: rotate(180deg); }
.maker__card {
  position: absolute; top: calc(100% + 10px); inset-inline-start: 0;
  width: 340px; padding: 18px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 24px 48px -20px rgba(16, 20, 24, .35);
  text-align: start;
  animation: float-in .3s var(--ease) both;
}
.maker__head { display: flex; align-items: center; gap: 12px; }
.maker__head img { width: 52px; height: 52px; border-radius: 14px; flex: none; }
.maker__head b { display: block; font-size: 18px; }
.maker__head small { color: var(--ink-faint); font-size: 13px; }
.maker__card p { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }
.maker__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.maker__links .btn { --h: 44px; padding: 0 12px; font-size: 14px; border-radius: 12px; }
.maker__links .ico { width: 18px; height: 18px; }

/* الموبايل */
.hero__device { position: relative; display: grid; place-items: center; padding: 20px 0; }
.phone {
  position: relative;
  width: min(340px, 82vw); aspect-ratio: 9 / 19.2;
  padding: 11px; border-radius: 52px;
  background: linear-gradient(145deg, #2d333c, #0d0f12);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, .09) inset,
    0 50px 100px -30px rgba(0, 0, 0, .8),
    0 30px 60px -30px rgba(43, 214, 123, .25);
  transform: rotate(-2deg);
  animation: phone-float 7s ease-in-out infinite;
}
@keyframes phone-float { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-12px); } }
.phone__screen {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 42px; background: #F4F5F6; color: #15181D;
  font-size: 12px; line-height: 1.45;
}
.app-head { background: #15181D; color: #fff; padding: 10px 16px 16px; border-radius: 0 0 22px 22px; }
.app-status { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; padding: 2px 8px 10px; direction: ltr; }
.app-status__icons { display: flex; gap: 4px; }
.app-status__icons i { width: 14px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, .85); }
.app-status__icons i:first-child { width: 10px; }
.app-head__row { display: flex; align-items: center; gap: 10px; }
.avatar {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #1F242B; color: #2BD67B; font-weight: 700; font-size: 15px;
  box-shadow: 0 0 0 2px #2BD67B;
}
.app-head__titles { display: grid; line-height: 1.3; }
.app-head__titles b { font-size: 14px; }
.app-head__titles small { color: rgba(255, 255, 255, .6); font-size: 10.5px; }
.app-head__btn { margin-inline-start: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #2A3038; }
.app-head__btn .ico { width: 18px; height: 18px; }
.app-head__label { display: block; margin-top: 14px; color: rgba(255, 255, 255, .6); font-size: 11px; }
.app-head__total { font-size: 32px; font-weight: 700; color: #2BD67B; line-height: 1.2; font-variant-numeric: tabular-nums; }
.app-head__total small { font-size: 16px; }
.app-chips { display: flex; gap: 6px; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 8px; border-radius: 999px; background: #2A3038;
  color: rgba(255, 255, 255, .65); font-size: 10.5px; white-space: nowrap;
}
.chip b { color: #fff; }
.chip .ico { width: 13px; height: 13px; }
.app-body { flex: 1; padding: 14px 14px 0; display: grid; gap: 12px; align-content: start; overflow: hidden; }
.lines { display: flex; justify-content: space-between; }
.line { display: grid; justify-items: center; gap: 4px; font-size: 10px; color: #4B5360; }
.net {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E2E5E9 inset;
  font-style: normal; font-weight: 700; font-size: 13px;
}
.net--voda { color: #E60000; }
.net--orange { color: #FF7900; }
.net--etis { color: #D5001F; font-size: 11px; }
.net--we { color: #5C2D91; font-size: 11px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { display: grid; gap: 2px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 20, 24, .05); }
.tile small { color: #6B7280; font-size: 10px; }
.tile b { font-size: 14px; }
.tile__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #DDF7E9; margin-bottom: 4px; }
.tile__icon--muted { background: #EEF0F2; }
.tile__icon .ico { width: 16px; height: 16px; }
/* الصفوف بتاخد باقي الشاشة، واللي مش واخد مكان بيتقص من تحت زي قايمة بتتعمل scroll. */
.app-body { grid-template-rows: auto auto minmax(0, 1fr); }
.rows { overflow: hidden; min-height: 0; background: #fff; border-radius: 16px; padding: 2px 10px; box-shadow: 0 1px 2px rgba(16, 20, 24, .05); }
.row { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.row + .row { border-top: 1px solid #EDEFF2; }
.row .net { width: 32px; height: 32px; border-radius: 11px; font-size: 11px; }
.row span { display: grid; line-height: 1.35; min-width: 0; }
.row span b { font-size: 11.5px; }
.row span small { color: #6B7280; font-size: 9.5px; }
.row em { margin-inline-start: auto; font-style: normal; font-weight: 700; color: #0F7A43; font-size: 13px; display: grid; justify-items: end; line-height: 1.25; }
.row em small { color: #15803D; font-weight: 600; font-size: 9.5px; }
.app-nav {
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: #15181D; padding: 8px 6px 14px; border-radius: 22px 22px 0 0;
}
.app-nav__tab { display: grid; justify-items: center; gap: 2px; font-size: 9px; color: rgba(255, 255, 255, .6); }
.app-nav__tab .ico { width: 18px; height: 18px; opacity: .72; }
.app-nav__tab.is-on { color: #2BD67B; font-weight: 700; }
.app-nav__tab.is-on .ico { opacity: 1; }
.app-nav__add { justify-self: center; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: #2BD67B; color: #0B1F14; }
.app-nav__add .ico { width: 22px; height: 22px; stroke-width: 2.2; }

/* الكروت العايمة حوالين الموبايل */
.float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .96); color: #15181D;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -18px rgba(16, 20, 24, .28);
  font-size: 13px; line-height: 1.3; white-space: nowrap;
  animation: float-in .8s var(--ease) both, bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 14px; }
.float small { color: #6B7280; font-size: 12px; }
.float__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #2BD67B; color: #0B1F14; }
.float__icon .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.float__icon--soft { background: #DDF7E9; color: #15181D; stroke-width: 1.75; }
.float__icon--soft .ico { stroke-width: 1.75; }
.float--a { top: 12%; inset-inline-end: calc(50% + 120px); animation-delay: .5s, .5s; }
.float--b { top: 44%; inset-inline-start: calc(50% + 130px); animation-delay: .8s, 1.6s; }
.float--c { bottom: 12%; inset-inline-end: calc(50% + 110px); animation-delay: 1.1s, 2.4s; }
@keyframes float-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* المحافظ */
.networks {
  display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; justify-content: center;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
}
.networks__label { color: var(--ink-faint); font-size: 14px; }
.networks__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.networks__list li {
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; font-size: 15px; color: var(--ink);
}

/* ── الأقسام ── */
.section { padding: 104px 0; }
.section--soft { background: var(--surface); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__head h2, .split h2, .join h2 { font-size: clamp(30px, 4vw, 46px); }
.section__head p:not(.eyebrow) { margin-top: 14px; color: var(--ink-soft); font-size: 18px; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  color: var(--brand-text); font-weight: 700; font-size: 15px;
}

/* المميزات */
/* 6 أعمدة: الكارت العريض بالعرض كله، وبعده 3 كروت، وبعدهم 2 أعرض عشان الصف يتملي. */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.features > .feature { grid-column: span 2; }
.features > .feature:nth-last-child(-n + 2) { grid-column: span 3; }
.feature {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--radius-card);
  background: var(--surface); box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); }
.features > .feature--wide { grid-column: 1 / -1; }
.feature--wide { display: grid; grid-template-columns: auto 1fr auto; column-gap: 20px; align-items: center; }
.feature--wide .feature__icon { grid-row: span 2; }
.feature--wide p { max-width: 36em; }
.feature__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 16px; background: var(--graphite); color: #fff;
}
.feature--wide .feature__icon { margin-bottom: 0; }
.feature__icon .ico { width: 26px; height: 26px; }
.feature__icon .ico .a { stroke: #2BD67B; }
.feature__icon .ico .f { fill: #2BD67B; }
.feature h3 { font-size: 21px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 16px; }
.mini-entry {
  grid-row: 1 / span 2; grid-column: 3;
  display: grid; gap: 10px; width: 260px; padding: 16px;
  border-radius: 20px; background: var(--canvas); border: 1px solid var(--line);
}
.mini-entry__kinds { display: flex; gap: 6px; }
.mini-entry__kinds b {
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line);
}
.mini-entry__kinds b.on { background: #2BD67B; color: #0B1F14; border-color: transparent; }
.mini-entry__amount {
  padding: 8px 12px; border-radius: 12px; border: 2px solid var(--brand-text);
  font-size: 26px; font-weight: 700; direction: ltr; text-align: right;
  font-variant-numeric: tabular-nums; background: var(--surface);
}
.mini-entry__amount small { font-size: 14px; color: var(--ink-faint); }
.mini-entry__save { padding: 10px; border-radius: 12px; background: #2BD67B; color: #0B1F14; font-weight: 700; text-align: center; font-size: 14px; }

/* الخطوات */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius-card); background: var(--canvas); border: 1px solid var(--line); }
.step__num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 50%; background: var(--graphite); color: #2BD67B; font-weight: 700; font-size: 20px;
  box-shadow: 0 0 0 6px var(--brand-soft);
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 16px; }

/* التقفيل */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.split__copy > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-soft); font-size: 18px; }
.ticks { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks .ico {
  width: 26px; height: 26px; padding: 4px; margin-top: 1px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); stroke-width: 2.4;
}
.receipt {
  position: relative; max-width: 400px; margin-inline: auto; width: 100%;
  padding: 28px 28px 40px; border-radius: 24px 24px 0 0;
  background: var(--surface); box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.receipt__edge {
  position: absolute; inset-inline: 0; bottom: -12px; height: 14px;
  background: radial-gradient(circle at 10px -2px, transparent 10px, var(--surface) 10.5px) repeat-x;
  background-size: 20px 14px;
  filter: drop-shadow(0 6px 6px rgba(16, 20, 24, .06));
}
.receipt__top { display: grid; justify-items: center; text-align: center; gap: 2px; }
.receipt__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-soft); margin-bottom: 10px; }
.receipt__icon .ico { width: 28px; height: 28px; }
.receipt__top b { font-size: 20px; }
.receipt__top small { color: var(--ink-faint); font-size: 14px; }
.receipt__dash { height: 0; margin: 20px 0; border-top: 2px dashed var(--line); }
.receipt__rows { display: grid; gap: 12px; margin: 0; }
.receipt__rows > div { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; }
.receipt__rows dt { font-weight: 600; }
.receipt__rows dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.receipt__rows .ok {
  padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--brand-soft); color: var(--brand-text);
}
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; }
.receipt__total span { color: var(--ink-soft); }
.receipt__total b { font-size: 28px; color: var(--brand-text); }

/* الباقات */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; padding: 32px 28px; border-radius: var(--radius-card);
  background: var(--canvas); border: 1px solid var(--line);
}
.plan h3 { font-size: 26px; }
.plan__for { color: var(--ink-faint); margin-top: 4px; }
.plan ul { display: grid; gap: 12px; margin: 24px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px dashed var(--line); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ico { width: 22px; height: 22px; color: var(--brand-text); stroke-width: 2.2; margin-top: 3px; }
.plan--featured { background: var(--graphite); color: #fff; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(21, 24, 29, .6); transform: translateY(-8px); }
.plan--featured .plan__for { color: rgba(255, 255, 255, .6); }
.plan--featured ul { border-color: rgba(255, 255, 255, .14); }
.plan--featured li .ico { color: #2BD67B; }
.plan__badge {
  position: absolute; top: 24px; inset-inline-end: 24px;
  padding: 4px 12px; border-radius: 999px; background: #2BD67B; color: #0B1F14; font-weight: 700; font-size: 13px;
}

/* الأسئلة */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  transition: box-shadow .25s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BD67B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); }

/* ── سجّل اهتمامك ── */
.join {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 var(--gutter) 24px; padding: 88px 0;
  border-radius: 40px; background: var(--graphite); color: #fff;
}
.hero__glow--join { inset: auto auto -50% -20%; }
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.join__copy p { margin-top: 16px; color: var(--on-graphite-soft); font-size: 18px; max-width: 30em; }
.form {
  display: grid; gap: 16px; padding: 28px; border-radius: 28px;
  background: #1E232A; border: 1px solid rgba(255, 255, 255, .08);
}
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.field small { color: rgba(255, 255, 255, .5); font-weight: 400; }
.field input {
  width: 100%; min-height: 54px; padding: 0 16px;
  border-radius: 14px; border: 1.5px solid #3A414B; background: #15181D; color: #fff;
  font: inherit; font-size: 17px; font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
}
.field input[dir="ltr"] { text-align: left; letter-spacing: .04em; }
.field input::placeholder { color: rgba(255, 255, 255, .3); }
.field input:focus { outline: none; border-color: #2BD67B; box-shadow: 0 0 0 4px rgba(43, 214, 123, .15); }
.field input[aria-invalid="true"] { border-color: #F87171; }
.trap { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__msg { min-height: 1.7em; font-weight: 600; font-size: 15px; text-align: center; }
.form__msg.is-error { color: #F87171; }
.form__msg.is-ok { color: #2BD67B; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(11, 31, 20, .25); border-top-color: #0B1F14; animation: spin .8s linear infinite; }
.form.is-busy .spinner { display: block; }
.form.is-busy .btn { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form.is-done .field, .form.is-done .btn { display: none; }
.form.is-done .form__msg { font-size: 18px; padding: 28px 0; }

.btn--dark { background: var(--graphite); color: #fff; }
.btn--dark:hover { background: #262B33; }
.ico--btn-play { width: 18px; height: 18px; fill: #2BD67B; stroke: none; }

/* ── التذييل ── */
.footer { padding: 28px 0 40px; color: var(--ink-faint); font-size: 14px; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand--small { font-size: 17px; color: var(--ink); }

/* ── الظهور وإنت نازل ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--late { transition-delay: .15s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .float { animation: none; }
}

/* ── التابلت ── */
@media (max-width: 1020px) {
  .hero__grid, .split, .join__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__facts { justify-content: center; }
  /* الكلام في النص: كارت ميزانيتك بيفتح تحت الشارة مش عايم على جنب. */
  .maker__card { position: static; width: min(340px, calc(100vw - 2 * var(--gutter))); margin: 10px auto 0; }
  .hero__device { margin-top: 12px; }
  .features { grid-template-columns: 1fr 1fr; }
  .features > .feature, .features > .feature:nth-last-child(-n + 2) { grid-column: auto; }
  .features > .feature--wide { grid-column: 1 / -1; }
  .features > .feature:last-child { grid-column: 1 / -1; }
  .feature--wide { grid-template-columns: auto 1fr; }
  .mini-entry { grid-column: 1 / -1; grid-row: auto; width: 100%; margin-top: 20px; }
  .split { gap: 48px; }
  .join__copy { text-align: center; }
  .join__copy p { margin-inline: auto; }
  .plan--featured { transform: none; }
}

/* ── الموبايل ── */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topnav { display: none; }
  .topbar__row { justify-content: space-between; min-height: 60px; }
  .hero { padding-bottom: 40px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .float { font-size: 12px; padding: 8px 10px; gap: 8px; }
  .float b { font-size: 13px; }
  .float small { font-size: 11px; }
  .float__icon { width: 28px; height: 28px; border-radius: 9px; }
  /* مفيش مكان جنب الموبايل: الكروت بتنزل صف تحته بدل ما تغطي اللي جواه. */
  .hero__device { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-bottom: 0; }
  .phone { order: -1; margin-bottom: 18px; }
  .float { position: static; animation: float-in .8s var(--ease) both; }
  .float--c { display: none; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .features, .steps, .plans { grid-template-columns: 1fr; }
  .features > .feature, .features > .feature--wide, .features > .feature:last-child { grid-column: auto; }
  .feature--wide { display: block; }
  .feature--wide .feature__icon { margin-bottom: 18px; }
  .feature, .step, .plan { padding: 24px; }
  .join { margin-inline: 12px; padding: 56px 0; border-radius: 28px; }
  .form { padding: 20px; }
  .networks { margin-top: 40px; }
  .receipt { transform: none; }
  .footer__row { justify-content: center; text-align: center; }
}
