/**
 * Kashiro Pro — landing (kashiroai layout + blue 3D theme)
 */
:root {
  --kp-primary: #0c1929;
  --kp-primary-hover: #1e3a5f;
  --kp-secondary: #2563eb;
  --kp-secondary-hover: #3b82f6;
  --kp-text: #ffffff;
  --kp-muted: rgba(255, 255, 255, 0.88);
  --kp-reveal-duration: 0.75s;
}

html {
  scroll-behavior: smooth;
}

.kp-body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--kp-primary);
  color: var(--kp-text);
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif;
  position: relative;
  overflow-x: hidden;
}

.kp-body a {
  text-decoration: none;
}

/* خلفية 3D */
.kp-bg-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(37, 99, 235, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 30%, rgba(14, 165, 233, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 70%, rgba(59, 130, 246, 0.12), transparent 45%);
}

.kp-bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* scroll progress */
.kp-scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, #06b6d4, #2563eb, #7c3aed);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.12s ease-out;
}

/* hero entrance */
.kp-anim-fade-up {
  opacity: 0;
  transform: translateY(32px);
  animation: kp-fade-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes kp-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* reveal on scroll — بدون blur عشان ما يظهر ظل أسود مع السكرول */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.kp-feature {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible .kp-feature {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Navbar */
.kp-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.kp-nav__inner {
  max-width: 72rem;
  margin-inline: auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.kp-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--kp-primary);
}

@media (min-width: 768px) {
  .kp-brand {
    font-size: 1.75rem;
  }
}

.kp-brand__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.kp-nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.kp-nav__links a {
  color: var(--kp-primary);
  transition: color 0.15s;
}

.kp-nav__links a:hover {
  color: var(--kp-secondary);
}

@media (min-width: 768px) {
  .kp-nav__links {
    display: flex;
  }
}

.kp-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--kp-primary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
}

@media (min-width: 768px) {
  .kp-nav__toggle {
    display: none;
  }
}

.kp-btn-login {
  display: none;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--kp-secondary);
  border-radius: 0.5rem;
  transition: background 0.15s, transform 0.15s;
}

.kp-btn-login:hover {
  background: var(--kp-secondary-hover);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .kp-btn-login {
    display: inline-flex;
  }
}

.kp-mobile-menu {
  display: none;
  max-width: 72rem;
  margin-inline: auto;
  padding: 0 1rem 1rem;
}

.kp-mobile-menu.is-open {
  display: block;
}

.kp-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 1rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.kp-mobile-menu .kp-btn-whatsapp {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  width: 100%;
}

/* Main */
.kp-main {
  position: relative;
  z-index: 1;
  padding-top: 5.5rem;
  padding-bottom: 2rem;
}

.kp-container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* Hero — عمودين + mockup */
.kp-hero {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0 3.5rem;
  opacity: 1;
  transform: none;
  filter: none;
}

@media (min-width: 768px) {
  .kp-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 2.5rem 3rem;
    padding: 3rem 0 4.5rem;
  }
}

@media (min-width: 1100px) {
  .kp-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 3rem 4rem;
  }
}

.kp-hero__text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: center;
  min-width: 0;
}

@media (min-width: 768px) {
  .kp-hero__text {
    text-align: right;
    max-width: none;
  }
}

.kp-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kp-hero__text h1 {
  font-size: clamp(1.85rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.22;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.kp-accent {
  color: var(--kp-secondary);
}

.kp-hero__text h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--kp-secondary);
  margin: 0 0 1rem;
}

.kp-hero__text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--kp-muted);
  margin: 0;
}

.kp-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .kp-hero__actions {
    align-items: flex-start;
  }
}

.kp-hero__cta-main {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 480px) {
  .kp-hero__cta-main {
    width: auto;
    min-width: min(100%, 18rem);
  }
}

.kp-hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.kp-hero__cta-row .kp-btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  justify-content: center;
  padding-inline: 1rem;
  font-size: 0.95rem;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
}

.kp-hero__cta-hint {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
}

/* Hero visual — cubes + device mockup */
.kp-hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  min-height: clamp(240px, 52vw, 340px);
  transition: transform 0.1s linear;
  transform: translate3d(0, var(--hero-parallax, 0), 0);
}

.kp-hero-visual:hover .kp-hero-mockup {
  transform: scale(1.015);
}

.kp-hero-mockup {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0.5rem 0 1.25rem;
  transition: transform 0.35s ease;
}

.kp-scene-3d {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  perspective-origin: 50% 40%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

@media (max-width: 767px) {
  .kp-hero {
    gap: 2rem;
  }

  .kp-hero__text {
    order: 2;
  }

  .kp-hero-visual {
    order: 1;
  }

  .kp-scene-3d {
    display: none;
  }

  .kp-hero-img--phone {
    inset-inline-start: 0;
    bottom: 2%;
    width: clamp(4.75rem, 28%, 7.5rem);
  }
}

.kp-cube-stack {
  position: relative;
  transform-style: preserve-3d;
  animation: kp-float-tilt 8s ease-in-out infinite;
}

@keyframes kp-float-tilt {
  0%,
  100% {
    transform: rotateX(12deg) rotateY(-18deg) translateY(0);
  }
  50% {
    transform: rotateX(18deg) rotateY(12deg) translateY(-14px);
  }
}

.kp-cube {
  position: absolute;
  width: 100px;
  height: 72px;
  left: 50%;
  top: 50%;
  margin-left: -50px;
  margin-top: -36px;
  border-radius: 0.75rem;
  transform-style: preserve-3d;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.kp-cube--a {
  background: linear-gradient(145deg, #60a5fa 0%, #2563eb 100%);
  transform: translateZ(36px) translateX(-60px) rotateY(-22deg);
}

.kp-cube--b {
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
  width: 120px;
  height: 86px;
  margin-left: -60px;
  margin-top: -43px;
  transform: translateZ(0) rotateY(8deg);
}

.kp-cube--c {
  background: linear-gradient(145deg, #06b6d4 0%, #0891b2 100%);
  transform: translateZ(-28px) translateX(65px) rotateY(26deg);
  opacity: 0.92;
}

.kp-hero-images {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  aspect-ratio: 520 / 340;
  isolation: isolate;
}

.kp-hero-img--desktop {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(148, 163, 184, 0.12);
}

.kp-hero-img--phone {
  position: absolute;
  inset-inline-start: -2%;
  bottom: 4%;
  width: clamp(5.25rem, 24%, 8.75rem);
  height: auto;
  z-index: 3;
  border-radius: 1rem;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-8deg);
}

.kp-hero-glow {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 0.5rem;
  transform: translateX(-50%);
  width: min(72%, 18rem);
  height: 4.5rem;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.42) 0%, transparent 72%);
  filter: blur(1.75rem);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Buttons */
.kp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.kp-btn--secondary {
  background: var(--kp-secondary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.kp-btn--secondary:hover {
  background: var(--kp-secondary-hover);
  transform: translateY(-2px);
}

.kp-btn--white {
  background: #fff;
  color: var(--kp-primary);
}

.kp-btn--white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

/* Sections */
.kp-section {
  padding: 3rem 0;
}

.kp-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 2.5rem;
}

.kp-features {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .kp-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .kp-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kp-feature {
  background: rgba(30, 58, 95, 0.65);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(8px);
}

.kp-feature:hover {
  background: #243b5c;
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.kp-feature i {
  font-size: 3rem;
  color: var(--kp-secondary);
  margin-bottom: 1rem;
}

.kp-feature h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.kp-feature p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--kp-muted);
  line-height: 1.6;
}

/* Platform */
.kp-platform {
  background: linear-gradient(to left, #1d4ed8, #1e40af, #1e3a8a);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.35);
  transition: transform 0.35s ease;
}

[data-reveal].is-visible .kp-platform {
  animation: kp-scale-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes kp-scale-in {
  from {
    transform: scale(0.96);
    opacity: 0.85;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.kp-platform h3 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.kp-platform p {
  margin: 0 auto 1.25rem;
  max-width: 38rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.kp-platform-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

@media (min-width: 640px) {
  .kp-platform-icons {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
  }
}

.kp-platform-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s, background 0.2s;
}

.kp-platform-icon:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255, 255, 255, 0.2);
}

.kp-platform-icon img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.kp-platform-icon span {
  font-size: 0.8rem;
  font-weight: 600;
}

.kp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.kp-tag {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Footer */
.kp-footer {
  background: rgba(30, 58, 95, 0.7);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(8px);
}

.kp-footer__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .kp-footer__grid {
    flex-direction: row;
    align-items: center;
    text-align: right;
  }
}

.kp-footer__logo {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

.kp-footer__content h2 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .kp-footer__content h2 {
    text-align: right;
  }
}

.kp-footer__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--kp-muted);
  text-align: center;
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .kp-footer__text {
    text-align: right;
  }
}

.kp-footer__social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .kp-footer__social {
    justify-content: flex-start;
  }
}

.kp-footer__social a:hover {
  color: var(--kp-secondary);
}

.kp-footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 1rem 0;
}

.kp-footer__copy {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}

/* FAB */
.kp-fab {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.25rem;
  inset-inline-end: auto;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  background: var(--kp-secondary);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.5);
  transition: background 0.15s, transform 0.15s;
}

.kp-fab:hover {
  background: var(--kp-secondary-hover);
  transform: translateY(-3px);
}

/* Hero typography */
.kp-hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kp-secondary);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.kp-hero__tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: #93c5fd;
  margin: 0;
  line-height: 1.55;
}

.kp-hero__intro {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 38rem;
}

.kp-taglines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .kp-taglines {
    justify-content: flex-start;
  }
}

.kp-tagline-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: rgba(255, 255, 255, 0.85);
}

.kp-section-desc {
  text-align: center;
  color: var(--kp-muted);
  max-width: 42rem;
  margin: -1.5rem auto 2rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.kp-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.kp-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--kp-secondary);
}

.kp-btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
}

.kp-btn--ghost-link {
  display: inline-block;
  margin-top: 1rem;
  color: #93c5fd;
  font-weight: 600;
}

.kp-btn--ghost-link:hover {
  color: #fff;
}

/* Modes */
.kp-modes {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .kp-modes {
    grid-template-columns: 1fr 1fr;
  }
}

.kp-mode-card {
  padding: 1.75rem;
  border-radius: 1rem;
  background: rgba(30, 58, 95, 0.55);
  border: 1px solid rgba(37, 99, 235, 0.25);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kp-mode-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.2);
}

.kp-mode-card--accent {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.35), rgba(30, 58, 95, 0.8));
  border-color: rgba(96, 165, 250, 0.45);
}

.kp-mode-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
  margin-bottom: 1rem;
}

.kp-mode-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.kp-mode-card p {
  margin: 0 0 1.25rem;
  color: var(--kp-muted);
  line-height: 1.65;
}

/* Why */
.kp-why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .kp-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.kp-why-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: transform 0.25s ease, border-color 0.25s;
}

.kp-why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.4);
}

.kp-why-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kp-why-card h3 i {
  color: var(--kp-secondary);
}

.kp-why-card p {
  margin: 0;
  color: var(--kp-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Downloads */
.kp-downloads {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .kp-downloads {
    grid-template-columns: 1fr 1fr;
  }
}

.kp-download-card {
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.kp-download-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.kp-download-card--android {
  background: linear-gradient(145deg, #15803d, #166534);
  box-shadow: 0 12px 32px rgba(22, 163, 74, 0.35);
}

.kp-download-card--windows {
  background: linear-gradient(145deg, #1d4ed8, #1e3a8a);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

.kp-download-card__fa {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.kp-download-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.kp-download-card__ver {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.kp-download-card__notes {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.kp-download-card__muted {
  opacity: 0.85;
  margin-bottom: 0;
}

.kp-download-card__warn {
  font-size: 0.88rem;
  color: #fde68a;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
  margin: 0;
}

.kp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Closing */
.kp-closing {
  padding: 2rem 0 5rem;
  text-align: center;
}

.kp-closing__quote {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.8;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  max-width: 52rem;
  margin-inline: auto;
  padding: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.3);
}

/* Site footer */
.kp-site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 2rem 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
}

.kp-site-footer__inner {
  text-align: start;
}

.kp-site-footer__brand {
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.kp-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.kp-site-footer__links a {
  color: var(--kp-muted);
  font-size: 0.9rem;
}

.kp-site-footer__links a:hover {
  color: #93c5fd;
}

.kp-site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Static pages */
.kp-main--page {
  padding-bottom: 3rem;
}

.kp-page {
  max-width: 48rem;
  padding: 1rem 0 2rem;
}

.kp-page__title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.kp-page__lead {
  font-size: 1.15rem;
  color: #93c5fd;
  margin: 0 0 2rem;
}

.kp-page__meta {
  font-size: 0.9rem;
  opacity: 0.75;
  margin: 0 0 2rem;
}

.kp-page__section {
  margin-bottom: 2rem;
}

.kp-page__section h2 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: #93c5fd;
}

.kp-page__section p {
  line-height: 1.75;
  color: var(--kp-muted);
  margin: 0 0 0.75rem;
}

.kp-page__list {
  margin: 0;
  padding-right: 1.25rem;
  line-height: 1.8;
  color: var(--kp-muted);
}

.kp-page__back {
  margin-top: 2rem;
}

.kp-page__back a,
.kp-inline-link {
  color: #93c5fd;
  font-weight: 600;
}

.kp-inline-link:hover {
  color: #fff;
}

.kp-terms-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kp-terms-item {
  padding: 1.25rem 1.5rem;
  border-radius: 0.85rem;
  background: rgba(30, 58, 95, 0.45);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.kp-terms-item h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kp-terms-item h2 i {
  color: var(--kp-secondary);
}

.kp-terms-item p {
  margin: 0;
  color: var(--kp-muted);
  line-height: 1.65;
}

/* Parallax layers */
.kp-parallax-layer {
  will-change: transform;
}

/* Marquee taglines */
.kp-taglines-marquee {
  overflow: hidden;
  margin-top: 0.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.kp-taglines-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: kp-marquee 28s linear infinite;
}

.kp-taglines-track span {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

@keyframes kp-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* 3D orbits */
.kp-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(96, 165, 250, 0.35);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.kp-orbit--1 {
  width: 220px;
  height: 220px;
  animation: kp-orbit-spin 18s linear infinite;
}

.kp-orbit--2 {
  width: 280px;
  height: 280px;
  animation: kp-orbit-spin 26s linear infinite reverse;
}

@keyframes kp-orbit-spin {
  from {
    transform: translate(-50%, -50%) rotateX(65deg) rotateZ(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotateX(65deg) rotateZ(360deg);
  }
}

/* Section title line */
.kp-section-title--line {
  position: relative;
  padding-bottom: 0.75rem;
}

.kp-section-title--line::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--kp-secondary), transparent);
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible .kp-section-title--line::after {
  width: 120px;
}

/* AI banner */
.kp-ai-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(124, 58, 237, 0.18));
  border: 1px solid rgba(147, 197, 253, 0.35);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
  text-align: center;
}

@media (min-width: 768px) {
  .kp-ai-banner {
    flex-direction: row;
    text-align: right;
    padding: 2rem 2.5rem;
  }
}

.kp-ai-banner__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.25);
  animation: kp-pulse-glow 3s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes kp-pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.35);
  }
  50% {
    box-shadow: 0 0 36px rgba(37, 99, 235, 0.55);
  }
}

.kp-ai-banner h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
}

.kp-ai-banner p {
  margin: 0;
  color: var(--kp-muted);
  line-height: 1.75;
}

/* Buttons glow */
.kp-btn--glow {
  animation: kp-btn-glow 2.5s ease-in-out infinite;
}

@keyframes kp-btn-glow {
  0%,
  100% {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  }
  50% {
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.55);
  }
}

.kp-btn--download {
  position: relative;
  overflow: hidden;
}

.kp-btn--download::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: kp-shimmer 3s ease-in-out infinite;
}

@keyframes kp-shimmer {
  0% {
    transform: translateX(-120%);
  }
  45%,
  100% {
    transform: translateX(120%);
  }
}

[data-reveal].is-visible .kp-why-card,
[data-reveal].is-visible .kp-mode-card,
[data-reveal].is-visible .kp-download-card {
  animation: kp-card-pop 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

[data-reveal].is-visible .kp-mode-card:nth-child(1) {
  animation-delay: 0.1s;
}
[data-reveal].is-visible .kp-mode-card:nth-child(2) {
  animation-delay: 0.2s;
}
[data-reveal].is-visible .kp-download-card--android {
  animation-delay: 0.1s;
}
[data-reveal].is-visible .kp-download-card--windows {
  animation-delay: 0.22s;
}

@keyframes kp-card-pop {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.kp-hero-img--desktop {
  animation: kp-float-img 4.5s ease-in-out infinite;
}

.kp-hero-img--phone {
  animation: kp-float-phone 3.6s ease-in-out infinite;
}

@keyframes kp-float-img {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes kp-float-phone {
  0%,
  100% {
    transform: rotate(-8deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(-10px);
  }
}

/* WhatsApp CTAs */
.kp-btn-whatsapp,
.kp-btn--whatsapp-lg,
.kp-btn--whatsapp-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: 0.65rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.kp-btn-whatsapp {
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
  color: #fff;
  background: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.kp-btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.kp-btn--whatsapp-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.kp-btn--whatsapp-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.kp-btn--whatsapp-footer {
  padding: 0.65rem 1.25rem;
  color: #fff;
  background: #25d366;
  white-space: nowrap;
}

.kp-fab--wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.kp-fab--wa:hover {
  background: linear-gradient(135deg, #20bd5a, #0f7a6e);
}

.kp-footer-admin {
  opacity: 0.65;
  font-size: 0.85rem;
}

/* Contact strip */
.kp-contact-strip {
  padding: 0 0 2rem;
}

.kp-contact-strip__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(37, 99, 235, 0.15));
  border: 1px solid rgba(37, 211, 102, 0.35);
}

@media (min-width: 768px) {
  .kp-contact-strip__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: right;
  }
}

.kp-contact-strip h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.kp-contact-strip p {
  margin: 0;
  color: var(--kp-muted);
  font-size: 0.95rem;
}

/* Pricing */
.kp-section--pricing {
  padding-top: 2rem;
  overflow: hidden;
}

.kp-pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 640px) {
  .kp-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .kp-pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.kp-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 2.25rem 1.15rem 1.15rem;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.22);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.kp-price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.2);
}

.kp-price-card--featured {
  border-color: rgba(59, 130, 246, 0.65);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.28), rgba(15, 23, 42, 0.95));
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 20px 48px rgba(37, 99, 235, 0.22);
}

.kp-price-card--featured:hover {
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.5), 0 24px 52px rgba(37, 99, 235, 0.28);
}

.kp-price-card--featured-premium {
  border-color: rgba(245, 158, 11, 0.7);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.24), rgba(15, 23, 42, 0.95));
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.4), 0 20px 48px rgba(217, 119, 6, 0.25);
}

.kp-price-card--featured-premium:hover {
  border-color: rgba(251, 191, 36, 0.75);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.55), 0 24px 52px rgba(217, 119, 6, 0.32);
}

.kp-price-card--featured-premium .kp-price-card__badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.45);
}

.kp-price-card--featured-premium .kp-price-card__price {
  color: #fcd34d;
}

.kp-btn--premium {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
}

.kp-btn--premium:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
}

.kp-price-card__badge {
  position: absolute;
  top: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 0.3rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.kp-price-card__head {
  text-align: center;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.kp-price-card__name {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f0;
}

.kp-price-card__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.kp-price-card__price {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  color: #93c5fd;
}

.kp-price-card__currency {
  font-size: 0.85rem;
  color: var(--kp-muted);
}

.kp-price-card__period {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #86efac;
  font-weight: 600;
}

.kp-price-card__suitable {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.kp-price-card__features {
  list-style: none;
  margin: 0;
  padding: 0 0.15rem;
  flex: 1 1 auto;
  min-height: 0;
}

.kp-price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.kp-price-card__features i {
  color: #4ade80;
  margin-top: 0.15rem;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.kp-price-card__cta {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1rem;
  width: 100%;
}

.kp-price-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.65rem;
  font-size: 0.85rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.kp-btn--block {
  width: 100%;
  box-sizing: border-box;
}

.kp-pricing-note {
  text-align: center;
  margin-top: 1.5rem;
}

.kp-pricing-note a {
  color: #93c5fd;
  font-weight: 600;
}

/* Pricing page */
.kp-page-hero {
  text-align: center;
  padding: 1rem 0 2.5rem;
}

.kp-page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.kp-page-hero__lead {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: var(--kp-muted);
  line-height: 1.7;
}

.kp-trust-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1.5rem 0 2.5rem;
}

.kp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--kp-muted);
}

.kp-trust-item i {
  color: var(--kp-secondary);
}

.kp-site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  text-align: start;
}

@media (min-width: 768px) {
  .kp-site-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: start;
  }

  .kp-site-footer__top .kp-btn--whatsapp-footer {
    flex-shrink: 0;
  }
}

.kp-site-footer__note {
  font-size: 0.85rem;
  color: var(--kp-muted);
  margin: 0.35rem 0 0;
  max-width: 28rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  .kp-feature {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .kp-cube-stack,
  .kp-hero-img--desktop,
  .kp-hero-img--phone,
  .kp-footer__logo,
  .kp-taglines-track,
  .kp-orbit,
  .kp-ai-banner__icon,
  .kp-btn--glow,
  .kp-btn--download::after {
    animation: none !important;
  }

  .kp-anim-fade-up {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .kp-hero-visual {
    transition: none;
  }

  .kp-scroll-progress {
    display: none;
  }
}

/* FAQ — أسئلة شائعة (SEO + تجربة المستخدم) */
.kp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.kp-faq__item {
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  padding: 0.25rem 1rem;
}

.kp-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  list-style: none;
}

.kp-faq__item summary::-webkit-details-marker {
  display: none;
}

.kp-faq__item p {
  margin: 0 0 1rem;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.65;
}
