.lp-page-stack {
  position: relative;
  font-family: var(--lp-font, "Tajawal", Tahoma, Arial, sans-serif);
}
.lp-page-stack.is-width-narrow .lp-container { max-width: 760px; }
.lp-page-stack.is-width-wide .lp-container { max-width: 1280px; }
.lp-page-stack.is-space-compact { --lp-section-space: 48px; }
.lp-page-stack.is-space-relaxed { --lp-section-space: 96px; }
.lp-page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.lp-page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-page-stack.is-bg-gradient {
  background: var(--lp-bg, #f8fbff);
}
.lp-page-stack.has-decor::before,
.lp-page-stack.has-decor::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  pointer-events: none;
}
.lp-page-stack.has-decor::before { top: 24px; inset-inline-start: -40px; }
.lp-page-stack.has-decor::after { bottom: 40px; inset-inline-end: -50px; }
.lp-page-intro,
.lp-page-slot,
.lp-page-body,
.lp-phero { position: relative; z-index: 1; }
.lp-page-intro { padding: 20px 0 8px; }
.lp-page-stack .lp-container,
.lp-page-stack .lp-narrow {
  margin-inline: auto;
}
.lp-page-banner-shell {
  display: block;
  width: min(var(--lp-container, 1120px), calc(100% - 32px));
  max-width: 1120px;
  margin-inline: auto;
  margin-bottom: 28px;
}
.lp-page-stack.is-width-wide .lp-page-banner-shell {
  max-width: 1280px;
  width: min(1280px, calc(100% - 32px));
}
.lp-page-banner {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.9), transparent 40%),
    linear-gradient(135deg, #e8f0ff 0%, #f0fdfa 55%, #eef6ff 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 22px 48px rgba(15, 23, 42, 0.1);
  aspect-ratio: 21 / 9;
  max-height: min(420px, 46vw);
}
.lp-page-banner.is-rounded { border-radius: 22px; }
.lp-page-banner.is-square { border-radius: 14px; }
.lp-page-banner.is-soft { border-radius: 28px; }
.lp-page-banner img {
  display: block;
  width: 100%;
  height: 100%;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}
.lp-page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.lp-page-intro.has-avatar-side .lp-page-intro-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.55fr);
  align-items: center;
}
.lp-page-intro-copy {
  max-width: 46rem;
}
.lp-page-intro-copy .lp-breadcrumb {
  margin-bottom: 12px;
}
.lp-page-intro-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--lp-text, #0f172a);
}
.lp-page-intro-copy .lp-kicker {
  margin: 0 0 10px;
  color: #2563eb;
  font-size: 0.95rem;
  font-weight: 800;
}
.lp-page-intro-copy .lp-lead {
  margin: 0;
  max-width: 40rem;
  color: #475569;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.85;
}
.lp-page-intro-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.lp-page-intro-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: var(--lp-text, #0f172a);
  text-decoration: none;
  font-size: var(--lp-size-sm, 0.92rem);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lp-page-intro-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: 0 10px 22px rgba(43, 88, 251, 0.12);
}
.lp-page-intro-icon__mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(43, 88, 251, 0.12), rgba(20, 184, 166, 0.16));
  color: #2563eb;
  flex: 0 0 auto;
}
.lp-page-intro-icon__mark svg { width: 16px; height: 16px; }
.lp-page-avatar {
  position: relative;
  width: min(100%, 220px);
  aspect-ratio: 1;
  margin-inline-start: auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.85), transparent 42%),
    linear-gradient(145deg, rgba(43, 88, 251, 0.14), rgba(20, 184, 166, 0.18));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}
.lp-page-avatar.is-circle { border-radius: 50%; }
.lp-page-avatar.is-rounded { border-radius: 28px; }
.lp-page-avatar.is-square { border-radius: 12px; }
.lp-page-avatar.is-soft {
  border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
}
.lp-page-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp-page-body {
  padding-top: 8px;
  padding-bottom: calc(var(--lp-section-space, 72px) * 0.65);
}
.lp-page-panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, #ffffff 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}
.lp-page-stack .lp-page-panel .lp-prose {
  margin-top: 0;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.9;
}
.lp-page-stack .lp-page-panel .lp-prose > :first-child { margin-top: 0; }
.lp-page-stack .lp-page-panel .lp-prose p {
  margin-top: 0.95rem;
}
.lp-page-stack .lp-page-panel .lp-prose ul,
.lp-page-stack .lp-page-panel .lp-prose ol {
  display: grid;
  gap: 10px;
  margin-top: 1.15rem;
  padding: 0;
  list-style: none;
}
.lp-page-stack .lp-page-panel .lp-prose ul > li,
.lp-page-stack .lp-page-panel .lp-prose ol > li {
  position: relative;
  padding-block: 14px;
  padding-inline: 44px 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.04);
}
.lp-page-stack .lp-page-panel .lp-prose ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 16px;
  top: 1.15em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.lp-page-stack .lp-page-panel .lp-prose a {
  color: #0f766e;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lp-phero { position: relative; overflow: hidden; min-height: 420px; }
.lp-phero-slide { position: relative; }
.lp-phero-slide[hidden] { display: none; }
.lp-phero-bg,
.lp-phero-shade { position: absolute; inset: 0; }
.lp-phero-bg img { width: 100%; height: 100%; object-fit: cover; }
.lp-phero-shade.is-soft { background: linear-gradient(90deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.12)); }
.lp-phero-shade.is-strong { background: rgba(15, 23, 42, 0.55); }
.lp-phero-shade.is-none { background: transparent; }
.lp-phero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
  min-height: 420px;
  padding: 48px 0;
  color: #fff;
}
.lp-phero-grid h1,
.lp-phero-title { font-size: var(--lp-size-xl); line-height: 1.25; margin: 0 0 12px; }
.lp-phero-art img { width: min(100%, 460px); height: auto; animation: lp-phero-float 7s ease-in-out infinite; }
.lp-phero-icons { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.lp-phero-icon {
  position: absolute;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 42%;
  padding: 8px 10px;
  border-radius: var(--lp-radius-md);
  background: rgba(255, 255, 255, 0.92);
  color: var(--lp-text);
  text-decoration: none;
  font-size: var(--lp-size-sm);
  animation: lp-phero-float 6s ease-in-out infinite;
}
.lp-phero-icon svg { width: 18px; height: 18px; }
.lp-phero-icon.is-top-start { top: 16px; inset-inline-start: 16px; }
.lp-phero-icon.is-top-end { top: 16px; inset-inline-end: 16px; }
.lp-phero-icon.is-middle-start { top: 46%; inset-inline-start: 16px; }
.lp-phero-icon.is-middle-end { top: 46%; inset-inline-end: 16px; }
.lp-phero-icon.is-bottom-start { bottom: 16px; inset-inline-start: 16px; }
.lp-phero-icon.is-bottom-end { bottom: 16px; inset-inline-end: 16px; }
.lp-phero-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--lp-text);
}
.lp-phero-nav.is-prev { inset-inline-start: 12px; }
.lp-phero-nav.is-next { inset-inline-end: 12px; }
.lp-page-slot.is-off-desktop,
.lp-page-slot.is-off-tablet,
.lp-page-slot.is-off-mobile { display: block; }
@keyframes lp-phero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 767px) {
  .lp-page-slot.is-off-mobile { display: none; }
  .lp-phero-grid { grid-template-columns: 1fr; min-height: 0; }
  .lp-phero-icon { max-width: 46%; }
  .lp-page-banner {
    margin-bottom: 20px;
    aspect-ratio: 16 / 10;
    max-height: none;
    border-radius: 18px;
  }
  .lp-page-intro.has-avatar-side .lp-page-intro-grid { grid-template-columns: 1fr; }
  .lp-page-avatar { margin: 0 auto; width: min(72vw, 220px); }
  .lp-page-intro-icons { gap: 8px; }
  .lp-page-intro-icon { width: 100%; justify-content: flex-start; }
  .lp-page-panel { padding: 16px; border-radius: 18px; }
  .lp-page-stack .lp-page-panel .lp-prose ul > li,
  .lp-page-stack .lp-page-panel .lp-prose ol > li {
    padding-block: 12px;
    padding-inline: 40px 12px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .lp-page-slot.is-off-tablet { display: none; }
}
@media (min-width: 1025px) {
  .lp-page-slot.is-off-desktop { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-phero-art img,
  .lp-phero-icon { animation: none; }
}
