/* =====================================================================
   About page — dark "electric" stage. Colours follow /brand.css (--ef-primary / --ef-accent).
   ===================================================================== */
.about-page {
  --ab-bg: #070b1f;
  --ab-bg-2: #0c1230;
  --ab-text: #e8ecff;
  --ab-muted: #9aa4c7;
  --ab-line: rgba(255, 255, 255, 0.08);
  --ab-p: var(--ef-primary, #4f46e5);
  --ab-a: var(--ef-accent, #f59e0b);
  margin: 0;
  background: var(--ab-bg);
  color: var(--ab-text);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  overflow-x: hidden;
}
.about-page a { color: inherit; text-decoration: none; }
.about-page h1, .about-page h2, .about-page h3 { color: inherit; }
.about-page .ic { width: 1.15em; height: 1.15em; }

/* cursor light (desktop) */
.ab-cursor {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), color-mix(in srgb, var(--ab-p) 18%, transparent), transparent 70%);
  transition: background .1s;
}

/* nav */
.ab-nav {
  position: fixed; top: 14px; inset-inline: 14px; z-index: 20; display: flex; align-items: center; gap: 18px;
  padding: 10px 14px 10px 18px; border-radius: 18px; border: 1px solid var(--ab-line);
  background: rgba(7, 11, 31, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.ab-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.15rem; letter-spacing: .3px; }
.ab-logo-mark, .ab-orb-core, .ps-mark {
  display: grid; place-items: center; border-radius: 12px; color: #111;
  background: linear-gradient(135deg, var(--ab-a), color-mix(in srgb, var(--ab-a) 60%, #f97316));
  box-shadow: 0 0 24px color-mix(in srgb, var(--ab-a) 55%, transparent);
}
.ab-logo-mark { width: 36px; height: 36px; }
.ab-logo-mark img, .ab-orb-core img { width: 70%; height: 70%; object-fit: contain; }
.ab-links { display: flex; gap: 20px; margin-inline-start: auto; font-weight: 700; font-size: .92rem; color: var(--ab-muted); }
.ab-links a:hover { color: #fff; }

.ab-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 14px; font-weight: 800; font-size: .98rem;
  border: 1px solid transparent; transition: transform .18s, box-shadow .18s, background .18s; white-space: nowrap;
}
.ab-btn:hover { transform: translateY(-2px); }
.ab-btn-ghost { padding: 9px 16px; border-color: var(--ab-line); background: rgba(255, 255, 255, .05); font-size: .9rem; }
.ab-btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.ab-btn-primary {
  color: #111; background: linear-gradient(135deg, var(--ab-a), color-mix(in srgb, var(--ab-a) 55%, #f97316));
  box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--ab-a) 80%, transparent);
}
.ab-btn-wa { background: #16a34a; color: #fff; box-shadow: 0 14px 34px -14px rgba(22, 163, 74, .8); }

/* hero */
.ab-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 120px 20px 80px; }
.ab-circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.trace { fill: none; stroke: color-mix(in srgb, var(--ab-p) 70%, #8ba0ff); stroke-width: 1.6; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ab-draw 3.2s ease-out forwards; }
.t2 { animation-delay: .3s; } .t3 { animation-delay: .6s; } .t4 { animation-delay: .9s; } .t5 { animation-delay: 1.1s; } .t6 { animation-delay: 1.3s; }
@keyframes ab-draw { to { stroke-dashoffset: 0; } }
.node { fill: var(--ab-bg); stroke: var(--ab-a); stroke-width: 2; opacity: 0; animation: ab-node 0.6s 2.4s forwards, ab-blink 2.4s 3s infinite; }
@keyframes ab-node { to { opacity: 1; } }
@keyframes ab-blink { 50% { fill: var(--ab-a); } }
.spark { fill: var(--ab-a); filter: drop-shadow(0 0 6px var(--ab-a)); offset-rotate: 0deg; animation: ab-run 4.2s linear infinite; opacity: 0; }
.s1 { offset-path: path("M-20 140 H260 L320 200 H560 L610 150 H900 L960 210 H1220"); animation-delay: 2.6s; }
.s2 { offset-path: path("M1220 450 H820 L760 510 H520 L470 460 H240 L180 520 H-20"); animation-delay: 3.4s; animation-duration: 5s; }
.s3 { offset-path: path("M120 -20 V120 L180 180 V330 L130 380 V720"); animation-delay: 3s; animation-duration: 3.6s; }
.s4 { offset-path: path("M1060 720 V480 L1000 420 V220 L1060 160 V-20"); animation-delay: 4s; animation-duration: 3.8s; }
@keyframes ab-run { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

.ab-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.g1 { width: 520px; height: 520px; top: -160px; inset-inline-end: -120px; background: var(--ab-p); animation: ab-float 12s ease-in-out infinite; }
.g2 { width: 420px; height: 420px; bottom: -160px; inset-inline-start: -120px; background: color-mix(in srgb, var(--ab-a) 70%, #f97316); opacity: .28; animation: ab-float 14s ease-in-out infinite reverse; }
@keyframes ab-float { 50% { transform: translate(40px, 30px) scale(1.1); } }

.ab-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 820px; }
.ab-orb { position: relative; width: 130px; height: 130px; margin: 0 auto 26px; display: grid; place-items: center; }
.ab-orb-core { width: 76px; height: 76px; border-radius: 24px; font-size: 2.2rem; animation: ab-pulse 2.6s ease-in-out infinite; }
.ab-orb-core .ic { width: 40px; height: 40px; stroke-width: 2.4; }
@keyframes ab-pulse { 50% { box-shadow: 0 0 60px color-mix(in srgb, var(--ab-a) 80%, transparent); transform: scale(1.05); } }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--ab-a) 45%, transparent); animation: ab-ring 3.6s ease-out infinite; }
.r2 { animation-delay: 1.2s; } .r3 { animation-delay: 2.4s; }
@keyframes ab-ring { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.ab-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: #c9d2f5; border: 1px solid var(--ab-line); background: rgba(255, 255, 255, .04); }
.ab-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: ab-dot 1.8s infinite; }
@keyframes ab-dot { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } }
.ab-title { margin: 20px 0 12px; font-weight: 900; line-height: 1.15; font-size: clamp(2.6rem, 7vw, 5.2rem); letter-spacing: -.5px; }
.ab-title .line { display: block; opacity: 0; transform: translateY(24px); animation: ab-rise .9s .3s cubic-bezier(.2, .8, .2, 1) forwards; }
.ab-title .line + .line { animation-delay: .55s; }
@keyframes ab-rise { to { opacity: 1; transform: none; } }
.electric {
  position: relative; background: linear-gradient(90deg, var(--ab-a), #fff7d6, var(--ab-a), color-mix(in srgb, var(--ab-a) 50%, #f97316));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: ab-rise .9s .55s cubic-bezier(.2, .8, .2, 1) forwards, ab-shine 4s linear 1.5s infinite;
  filter: drop-shadow(0 0 22px color-mix(in srgb, var(--ab-a) 45%, transparent));
}
@keyframes ab-shine { to { background-position: -300% 0; } }
.electric::after { content: attr(data-text); position: absolute; inset: 0; color: transparent; text-shadow: 2px 0 color-mix(in srgb, var(--ab-a) 60%, transparent); opacity: 0; animation: ab-flicker 6s 2s infinite; }
@keyframes ab-flicker { 0%, 94%, 100% { opacity: 0; } 95%, 97% { opacity: .8; } 96% { opacity: 0; } }
.ab-lead { color: var(--ab-muted); font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin: 0 auto 30px; max-width: 600px; opacity: 0; animation: ab-rise .9s .8s forwards; }
.ab-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; opacity: 0; animation: ab-rise .9s 1s forwards; }
.ab-scroll { width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--ab-line); margin: 46px auto 0; position: relative; }
.ab-scroll span { position: absolute; top: 8px; inset-inline-start: 50%; width: 4px; height: 8px; margin-inline-start: -2px; border-radius: 2px; background: var(--ab-a); animation: ab-wheel 1.8s infinite; }
@keyframes ab-wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* sections */
.ab-section { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 100px 20px; }
.ab-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.ab-kicker { display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .5px; color: var(--ab-a); padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ab-a) 12%, transparent); margin-bottom: 14px; }
.ab-head h2, .ab-about h2 { font-weight: 900; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.3; margin: 0 0 12px; }
.ab-head p { color: var(--ab-muted); font-size: 1.05rem; margin: 0; }

.ab-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab-feature {
  position: relative; overflow: hidden; padding: 24px 22px; border-radius: 22px; border: 1px solid var(--ab-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); transition: transform .25s, border-color .25s;
}
.ab-feature:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--ab-a) 55%, transparent); }
.ab-feature-ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; color: var(--ab-a); background: color-mix(in srgb, var(--ab-a) 13%, transparent); border: 1px solid color-mix(in srgb, var(--ab-a) 25%, transparent); }
.ab-feature-ic .ic { width: 24px; height: 24px; }
.ab-feature h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 6px; }
.ab-feature p { color: var(--ab-muted); font-size: .9rem; line-height: 1.8; margin: 0; }
.ab-feature-shine { position: absolute; inset: 0; background: radial-gradient(260px circle at var(--fx, 50%) var(--fy, 0%), color-mix(in srgb, var(--ab-a) 16%, transparent), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.ab-feature:hover .ab-feature-shine { opacity: 1; }

.ab-how { max-width: 900px; }
.ab-steps { position: relative; display: grid; gap: 22px; }
.ab-steps-line { position: absolute; top: 10px; bottom: 10px; inset-inline-start: 27px; width: 3px; border-radius: 3px; background: var(--ab-line); overflow: hidden; }
.ab-steps-line span { display: block; width: 100%; height: 0; background: linear-gradient(var(--ab-a), var(--ab-p)); box-shadow: 0 0 12px var(--ab-a); transition: height .2s linear; }
.ab-step { position: relative; display: flex; gap: 20px; align-items: flex-start; padding: 6px 0; }
.ab-step-n { flex-shrink: 0; width: 57px; height: 57px; border-radius: 18px; display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; color: #111; background: linear-gradient(135deg, var(--ab-a), color-mix(in srgb, var(--ab-a) 55%, #f97316)); box-shadow: 0 0 0 6px var(--ab-bg); z-index: 1; }
.ab-step h3 { font-size: 1.2rem; font-weight: 800; margin: 6px 0; }
.ab-step p { color: var(--ab-muted); margin: 0; line-height: 1.8; }

.ab-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: center; }
.ab-phone { position: relative; width: 280px; height: 560px; margin: 0 auto; border-radius: 44px; padding: 14px; background: linear-gradient(160deg, #1a2148, #070b1f); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--ab-p) 70%, transparent), inset 0 0 0 6px #0b1029; animation: ab-tilt 7s ease-in-out infinite; }
@keyframes ab-tilt { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.ab-phone-notch { position: absolute; top: 18px; inset-inline-start: 50%; width: 90px; height: 22px; margin-inline-start: -45px; border-radius: 12px; background: #050816; z-index: 2; }
.ab-phone-screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; padding: 48px 14px 14px; background: #f3f5fb; color: #1e293b; display: flex; flex-direction: column; gap: 10px; }
.ps-top { display: flex; align-items: center; gap: 8px; font-weight: 900; }
.ps-mark { width: 28px; height: 28px; border-radius: 9px; }
.ps-card { border-radius: 16px; padding: 14px; color: #fff; background: linear-gradient(135deg, var(--ab-p), color-mix(in srgb, var(--ab-p) 60%, #7c3aed)); }
.ps-card small { display: block; opacity: .85; font-size: .72rem; }
.ps-card strong { font-size: 1.4rem; font-weight: 900; }
.ps-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, .06); }
.ps-row b { display: block; font-size: .82rem; }
.ps-row small { color: #64748b; font-size: .7rem; }
.ps-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--ab-p) 12%, #fff); color: var(--ab-p); }
.ps-ic.g { background: #e7f8f1; color: #059669; } .ps-ic.a { background: #fff6e0; color: #d97706; }
.ps-fab { position: absolute; bottom: 16px; inset-inline-start: 50%; margin-inline-start: -24px; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #111; background: linear-gradient(135deg, var(--ab-a), #f97316); box-shadow: 0 10px 22px -8px var(--ab-a); }
.ab-about p { color: #c9d2f5; font-size: 1.05rem; line-height: 2; }
.ab-trust { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ab-trust li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--ab-line); background: rgba(255, 255, 255, .03); font-weight: 700; }
.ab-trust .ic { color: #22c55e; }

.ab-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ab-contact { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; border: 1px solid var(--ab-line); background: rgba(255, 255, 255, .035); transition: transform .2s, border-color .2s, background .2s; }
a.ab-contact:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--ab-a) 55%, transparent); background: rgba(255, 255, 255, .06); }
.ab-contact-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; color: var(--ab-a); background: color-mix(in srgb, var(--ab-a) 13%, transparent); }
.ab-contact.wa .ab-contact-ic { color: #fff; background: #16a34a; }
.ab-contact small { display: block; color: var(--ab-muted); font-size: .78rem; }
.ab-contact b { font-size: 1rem; }

.ab-footer { position: relative; z-index: 1; text-align: center; padding: 30px 20px 40px; color: var(--ab-muted); border-top: 1px solid var(--ab-line); font-size: .9rem; display: flex; gap: 10px; justify-content: center; }
.ab-footer a:hover { color: #fff; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; }

@media (max-width: 991.98px) {
  .ab-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-split { grid-template-columns: 1fr; gap: 40px; }
  .ab-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-links { display: none; }
  .ab-nav .ab-btn-ghost { margin-inline-start: auto; }
}
@media (max-width: 575.98px) {
  .ab-section { padding: 70px 16px; }
  .ab-features, .ab-contacts { grid-template-columns: 1fr; }
  .ab-hero { padding: 110px 16px 60px; }
  .ab-btn { width: 100%; justify-content: center; }
  .ab-phone { width: 250px; height: 500px; }
  .ab-nav { top: 10px; inset-inline: 10px; }
  .ab-cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .about-page *, .about-page *::before, .about-page *::after { animation: none !important; transition: none !important; }
  .trace { stroke-dashoffset: 0; } .node, .reveal, .ab-title .line, .ab-lead, .ab-cta { opacity: 1; transform: none; }
  .spark { display: none; }
}
