/* هبوط تسويقي احترافي — هوية مكتب المحاسبة */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@600;700;800;900&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --ink: #08111f;
  --ink-2: #101c30;
  --gold: #d4a83a;
  --gold-2: #f0d078;
  --gold-soft: rgba(212,168,58,.16);
  --teal: #2ec4b0;
  --paper: #f7f5ef;
  --muted: #7a879c;
  --line: rgba(255,255,255,.12);
  --soft: rgba(8,17,31,.06);
  --text-on-dark: #eef3fb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

body.landing-body {
  font-family: 'Tajawal', Tahoma, sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }

/* NAV */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8,17,31,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: #eef3fb;
}
.brand { display: flex; align-items: center; gap: .7rem; font-family: Cairo, Tajawal, sans-serif; font-weight: 800; }
.brand-mark {
  width: 2.35rem; height: 2.35rem; border-radius: .8rem;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #f0d078, var(--gold));
  color: #1a1206; font-weight: 900;
  box-shadow: 0 8px 24px rgba(212,168,58,.35);
}
.nav-links { display: none; gap: 1.25rem; font-size: .92rem; font-weight: 700; color: rgba(238,243,251,.75); }
.nav-links a:hover { color: #fff; }
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav-cta { display: flex; gap: .55rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; cursor: pointer; font: inherit; font-weight: 800;
  border-radius: 999px; padding: .7rem 1.2rem;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(145deg, #f0d078, var(--gold));
  color: #1a1206;
  box-shadow: 0 12px 28px rgba(212,168,58,.3);
}
.btn-ghost {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: #eef3fb;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-lg { padding: .9rem 1.45rem; font-size: 1.02rem; }

/* HERO — full composition */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 7.5rem 0 0;
  color: #eef3fb;
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(212,168,58,.18), transparent 55%),
    radial-gradient(700px 480px at 10% 80%, rgba(46,196,176,.14), transparent 50%),
    linear-gradient(165deg, #050b14 0%, #0e1a2e 45%, #0a1424 100%);
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 15%, transparent 72%);
  animation: drift 32s linear infinite;
  pointer-events: none;
}
.hero-copy {
  position: relative; z-index: 2;
  max-width: 640px;
  padding-bottom: 2rem;
  animation: rise .85s ease both;
}
.hero-kicker {
  display: inline-block;
  color: var(--gold-2);
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: Cairo, Tajawal, sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: 1rem;
}
.hero h1 span { color: var(--gold-2); }
.hero-lead {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.75;
  color: rgba(238,243,251,.76);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  font-size: .9rem; color: rgba(238,243,251,.65);
}
.hero-stats b { display: block; color: #fff; font-size: 1.15rem; font-weight: 800; }

.hero-shot {
  position: relative; z-index: 2;
  margin-top: 1.5rem;
  max-width: min(920px, 100%);
  margin-inline: auto;
  padding-bottom: 2.5rem;
  animation: rise 1s .15s ease both;
}
.hero-shot-frame {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(212,168,58,.08);
  background: #0b1524;
}
.hero-shot-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
}
.hero-shot-bar {
  height: 2rem;
  background: rgba(0,0,0,.35);
  display: flex; align-items: center; gap: .4rem;
  padding-inline: .85rem;
}
.hero-shot-bar i {
  width: .45rem; height: .45rem; border-radius: 50%;
  background: rgba(255,255,255,.25);
}
.hero-shot-bar i:nth-child(1){background:#fb7185}
.hero-shot-bar i:nth-child(2){background:#fbbf24}
.hero-shot-bar i:nth-child(3){background:#34d399}

/* Clickable screenshots */
.shot-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  font: inherit;
  color: inherit;
  text-align: inherit;
}
.shot-zoom img { pointer-events: none; }
.shot-zoom-hint {
  position: absolute;
  inset-inline-end: .75rem;
  bottom: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: rgba(8,17,31,.72);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  opacity: .9;
  pointer-events: none;
}
.shot-zoom:hover .shot-zoom-hint { opacity: 1; background: rgba(8,17,31,.88); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,8,16,.92);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: min(1280px, 96vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: .6rem;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }

/* SECTIONS */
.section { padding: 5rem 0; }
.section-dark {
  background: linear-gradient(180deg, #0a1422, #08111f);
  color: #eef3fb;
}
.section-dark .muted { color: rgba(238,243,251,.68); }

.eyebrow {
  color: #9a7a1c;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .05em;
  margin-bottom: .55rem;
}
.section-dark .eyebrow { color: var(--gold-2); }
.h2 {
  font-family: Cairo, Tajawal, sans-serif;
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: .7rem;
}
.muted { color: var(--muted); line-height: 1.7; font-size: 1.02rem; max-width: 38rem; }

/* Feature showcase rows */
.show {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
}
@media (min-width: 920px) {
  .show { grid-template-columns: .95fr 1.05fr; gap: 3rem; }
  .show.reverse .show-copy { order: 2; }
  .show.reverse .show-media { order: 1; }
}
.show-copy h3 {
  font-family: Cairo, Tajawal, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 900;
  margin: .35rem 0 .7rem;
}
.show-list {
  list-style: none;
  margin-top: 1.1rem;
  display: grid;
  gap: .65rem;
}
.show-list li {
  display: flex; gap: .65rem; align-items: flex-start;
  font-weight: 700;
  font-size: .95rem;
  color: #243247;
}
.section-dark .show-list li { color: rgba(238,243,251,.88); }
.show-list li i {
  color: var(--gold);
  margin-top: .15rem;
  flex-shrink: 0;
}
.show-media {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(8,17,31,.1);
  background: #fff;
  box-shadow: 0 24px 60px rgba(8,17,31,.12);
  transform: perspective(1200px) rotateY(-2deg);
  transition: transform .35s ease;
}
.section-dark .show-media {
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 28px 70px rgba(0,0,0,.4);
  background: #0d1624;
}
.show.reverse .show-media { transform: perspective(1200px) rotateY(2deg); }
.show-media:hover { transform: perspective(1200px) rotateY(0deg) translateY(-4px); }
.show-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
  background: #f3f1eb;
}
.section-dark .show-media img { background: #0d1624; }

/* Gallery strip */
.gallery-head { margin-bottom: 1.6rem; }
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .6rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(8,17,31,.2); border-radius: 99px; }
.g-card {
  scroll-snap-align: start;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(8,17,31,.1);
  background: #fff;
  box-shadow: 0 12px 36px rgba(8,17,31,.08);
}
.g-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top;
  background: #f3f1eb;
}
.g-card figcaption {
  padding: .85rem 1rem 1rem;
  font-weight: 800;
  font-size: .92rem;
}
.g-card figcaption small {
  display: block;
  margin-top: .25rem;
  font-weight: 500;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

/* Benefits */
.benefits {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .benefits { grid-template-columns: 1.1fr .9fr; }
}
.benefit-main {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(8,17,31,.08);
  background: #fff;
}
.benefit-main img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.benefit-side {
  display: grid;
  gap: .85rem;
}
.benefit-item {
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(8,17,31,.08);
}
.benefit-item b {
  display: block;
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 1.05rem;
  margin-bottom: .3rem;
}
.benefit-item p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* Tools band */
.tools-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .tools-grid { grid-template-columns: 1.15fr .85fr; align-items: stretch; }
}
.tools-shot {
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.tools-shot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top;
  background: #0d1624;
}
.tools-list {
  display: grid;
  gap: .55rem;
  align-content: start;
}
.tool-pill {
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1rem;
  border-radius: .9rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  font-weight: 700;
  transition: border-color .2s, background .2s;
}
.tool-pill:hover {
  border-color: rgba(212,168,58,.4);
  background: rgba(212,168,58,.1);
}
.tool-pill i { color: var(--gold-2); }

/* CTA */
.cta {
  text-align: center;
  padding: 5rem 0 5.5rem;
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(212,168,58,.12), transparent 60%),
    var(--paper);
}
.cta h2 {
  font-family: Cairo, Tajawal, sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: .7rem;
}
.cta p { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.7; }

.footer {
  border-top: 1px solid rgba(8,17,31,.08);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: .88rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 64px, 64px 64px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* —— LOGIN PAGE —— */
body.login-body {
  font-family: 'Tajawal', Tahoma, sans-serif;
  background: var(--ink);
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: Cairo, Tajawal, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
}
.lp-brand-mark {
  width: 2.4rem; height: 2.4rem;
  border-radius: .85rem;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: #1a1206;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(212,168,58,.35);
}
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; cursor: pointer; font: inherit; font-weight: 800;
  border-radius: 999px; padding: .72rem 1.25rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-outline {
  background: transparent;
  border: 1px solid rgba(8,17,31,.18);
  color: var(--ink);
}

.login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  background: var(--ink);
  color: var(--text-on-dark);
}
@media (min-width: 900px) {
  .login-page { grid-template-columns: 1.1fr .9fr; }
}
.login-showcase {
  position: relative;
  display: none;
  padding: 2.5rem;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 20% 20%, rgba(46,196,176,.2), transparent 55%),
    radial-gradient(600px 400px at 90% 80%, rgba(212,168,58,.18), transparent 50%),
    linear-gradient(165deg, #050b14, #14243c 55%, #0c1828);
}
@media (min-width: 900px) {
  .login-showcase { display: flex; flex-direction: column; justify-content: space-between; }
}
.login-showcase::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .7;
  pointer-events: none;
}
.login-show-inner { position: relative; z-index: 1; }
.login-show-inner h2 {
  font-family: Cairo, Tajawal, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 1.2rem 0 .8rem;
  max-width: 16ch;
}
.login-show-inner p {
  color: rgba(238,243,251,.72);
  line-height: 1.75;
  max-width: 28rem;
}
.login-points {
  position: relative; z-index: 1;
  display: grid; gap: .7rem;
  margin-top: 2rem;
}
.login-point {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .85rem 1rem;
  border-radius: .9rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .92rem;
  color: rgba(238,243,251,.88);
}
.login-point span {
  width: 1.6rem; height: 1.6rem; border-radius: .5rem;
  display: grid; place-items: center;
  background: rgba(212,168,58,.18);
  color: #f0d78a;
  flex-shrink: 0;
  font-size: .85rem;
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(500px 280px at 80% 0%, rgba(212,168,58,.08), transparent 60%),
    linear-gradient(180deg, #f7f4ec, #fbfaf6);
  color: var(--ink);
}
.login-card {
  width: min(420px, 100%);
  animation: rise .7s ease both;
}
.login-card-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.6rem;
}
.login-card h1 {
  font-family: Cairo, Tajawal, sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: .3rem;
}
.login-card .sub {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 1.4rem;
}
.login-field { margin-bottom: 1rem; }
.login-field label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: .4rem;
}
.login-field input[type="email"],
.login-field input[type="password"],
.login-field input[type="text"] {
  width: 100%;
  border: 1px solid rgba(8,17,31,.12);
  background: #fff;
  border-radius: .85rem;
  padding: .85rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.login-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.login-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin: 1rem 0 1.4rem;
  font-size: .9rem; color: var(--muted);
}
.login-row label { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.login-submit {
  width: 100%;
  border: 0; cursor: pointer; font: inherit; font-weight: 800;
  border-radius: .95rem;
  padding: .95rem 1.2rem;
  background: linear-gradient(145deg, #f0d078, var(--gold));
  color: #1a1206;
  box-shadow: 0 14px 32px rgba(212,168,58,.28);
  transition: transform .15s, filter .15s;
}
.login-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }
.login-alert {
  margin-bottom: 1rem;
  padding: .75rem .9rem;
  border-radius: .75rem;
  font-size: .9rem;
  background: rgba(220,38,38,.08);
  color: #b91c1c;
  border: 1px solid rgba(220,38,38,.2);
}
.login-alert.ok {
  background: rgba(5,150,105,.08);
  color: #047857;
  border-color: rgba(5,150,105,.2);
}
.login-error { color: #b91c1c; font-size: .82rem; margin-top: .35rem; }
