/* ==========================================================================
   Public landing + sign-up pages
   Standalone (no Bootstrap). Apple-style, matches the admin's apple.css
   palette. Uses logical properties so Arabic (dir="rtl") mirrors cleanly.
   ========================================================================== */

:root {
  --lp-font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --lp-bg: #fff8f4;
  --lp-surface: #ffffff;
  --lp-label: #484f7f;
  --lp-label-2: #6e6e73;
  --lp-label-3: #86868b;
  --lp-sep: rgba(60, 60, 67, 0.12);
  --lp-fill: rgba(120, 120, 128, 0.08);
  --lp-blue: #c94a26; /* brand primary, AA on white (name kept so rules below stay unchanged) */
  --lp-brand: #fb6b47;
  --lp-brand-hover: #a83c1e;
  --lp-ink: #484f7f;
  --lp-sun: #f6c127;
  --lp-indigo: #5856d6;
  --lp-purple: #af52de;
  --lp-pink: #ff2d55;
  --lp-green: #34c759;
  --lp-orange: #ff9500;
  --lp-red: #ff3b30;
  --lp-teal: #30b0c7;
  --lp-r-xl: 28px;
  --lp-r-lg: 20px;
  --lp-r-md: 14px;
  --lp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.05);
  --lp-shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.04), 0 30px 80px -20px rgba(0, 20, 60, 0.28);
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-wrap: 1180px;
}
.lp--ar { --lp-font: "IBM Plex Sans Arabic", "Inter", -apple-system, system-ui, "Segoe UI", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body.lp {
  margin: 0;
  font-family: var(--lp-font);
  color: var(--lp-label);
  background: var(--lp-bg);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.lp--ar body, body.lp--ar { letter-spacing: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lp-blue); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(251, 107, 71, 0.18); }
:focus-visible { outline: 3px solid rgba(251, 107, 71, 0.45); outline-offset: 2px; border-radius: 8px; }

.lp-wrap { width: 100%; max-width: var(--lp-wrap); margin-inline: auto; padding-inline: 24px; }
.lp-flip { transition: transform 0.25s var(--lp-ease); }
[dir="rtl"] .lp-flip { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--lp-font);
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--lp-ease), background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.lp-btn:active { transform: scale(0.97); }
.lp-btn--sm { padding: 9px 16px; font-size: 14px; }
.lp-btn--lg { padding: 16px 28px; font-size: 17px; }
.lp-btn--primary { background: var(--lp-blue); color: #fff; box-shadow: 0 6px 20px -6px rgba(251, 107, 71, 0.6); }
.lp-btn--primary:hover { background: var(--lp-brand-hover); box-shadow: 0 10px 26px -8px rgba(251, 107, 71, 0.7); }
.lp-btn--primary:hover .lp-flip { transform: translateX(3px); }
[dir="rtl"] .lp-btn--primary:hover .lp-flip { transform: scaleX(-1) translateX(3px); }
.lp-btn--ghost { color: var(--lp-label); background: transparent; }
.lp-btn--ghost:hover { background: var(--lp-fill); }
.lp-btn--glass { color: var(--lp-label); background: rgba(255, 255, 255, 0.7); border-color: var(--lp-sep); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lp-btn--glass:hover { background: #fff; }
.lp-btn--white { background: #fff; color: var(--lp-label); }
.lp-btn--white:hover { background: #f2f2f7; }
.lp-btn--outline-white { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.lp-btn--outline-white:hover { background: rgba(255, 255, 255, 0.12); }
.lp-btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- Nav ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.lp-nav.is-scrolled { border-bottom-color: var(--lp-sep); background: rgba(250, 250, 252, 0.82); }
.lp-nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.lp-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--lp-label); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.lp-brand img { width: 30px; height: auto; }
.lp-brand img.lp-brand__logo { width: auto; height: 40px; display: block; }
.lp-footer .lp-brand img.lp-brand__logo { height: 34px; }
@media (max-width: 600px) { .lp-brand img.lp-brand__logo { height: 34px; } }
.lp-nav__links { display: flex; gap: 4px; margin-inline: auto; }
.lp-nav__links a { color: var(--lp-label-2); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: color 0.2s, background-color 0.2s; }
.lp-nav__links a:hover { color: var(--lp-label); background: var(--lp-fill); }
.lp-nav__actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.lp-nav__links + .lp-nav__actions { margin-inline-start: 0; }

.lp-lang { position: relative; }
.lp-lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  border: 0; border-radius: 999px; background: transparent; color: var(--lp-label-2);
  font: 600 13px/1 var(--lp-font); cursor: pointer;
}
.lp-lang__btn:hover, .lp-lang.is-open .lp-lang__btn { background: var(--lp-fill); color: var(--lp-label); }
.lp-lang__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--lp-sep); border-radius: 14px; box-shadow: var(--lp-shadow-lg);
  opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top; pointer-events: none;
  transition: opacity 0.18s, transform 0.25s var(--lp-ease);
}
.lp-lang.is-open .lp-lang__menu, .lp-lang:focus-within .lp-lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lp-lang__menu a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 9px; color: var(--lp-label); font-size: 14px; }
.lp-lang__menu a:hover { background: var(--lp-fill); }
.lp-lang__menu a.is-active { color: var(--lp-blue); font-weight: 600; }
.lp-lang__menu a[lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--lp-font); }

/* ---------- Hero ---------- */
.lp-hero { position: relative; padding: 64px 0 40px; text-align: center; overflow: hidden; }
.lp-hero__glow {
  position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 40% at 25% 30%, rgba(251, 107, 71, 0.18), transparent 70%),
    radial-gradient(35% 35% at 75% 25%, rgba(246, 193, 39, 0.16), transparent 70%),
    radial-gradient(35% 35% at 55% 60%, rgba(255, 149, 0, 0.12), transparent 70%);
  filter: blur(20px);
  animation: lp-drift 18s ease-in-out infinite alternate;
}
@keyframes lp-drift { to { transform: translate3d(0, 30px, 0) scale(1.06) rotate(2deg); } }
.lp-hero__copy { max-width: 900px; }
.lp-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.75); border: 1px solid var(--lp-sep); box-shadow: var(--lp-shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--lp-label-2);
}
.lp-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-green); box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.18); animation: lp-pulse 2.4s ease-in-out infinite; }
@keyframes lp-pulse { 50% { box-shadow: 0 0 0 7px rgba(52, 199, 89, 0.05); } }
.lp-hero__title {
  margin-top: 22px;
  font-size: clamp(36px, 5.4vw, 68px); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance;
}
.lp--ar .lp-hero__title { letter-spacing: 0; line-height: 1.2; font-weight: 700; }
.lp-hero__title span { display: block; }
.lp-gradient-text {
  background: linear-gradient(92deg, #484f7f 0%, #c94a26 40%, #fb6b47 70%, #a671be 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: lp-shine 8s ease-in-out infinite alternate;
  padding-bottom: 0.06em;
}
@keyframes lp-shine { to { background-position: 100% 0; } }
.lp-hero__sub { margin: 24px auto 0; max-width: 660px; font-size: clamp(18px, 2.1vw, 21px); color: var(--lp-label-2); line-height: 1.5; }
.lp-hero__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-hero__note { margin-top: 18px; font-size: 13px; color: var(--lp-label-3); }
.lp-hero__note i { margin-inline-end: 4px; }

/* Browser-window frame around screenshots */
.lp-device {
  position: relative; margin: 52px auto 0; max-width: 1080px;
  border-radius: 18px; background: #fff; padding: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), var(--lp-shadow-lg);
  transform-origin: 50% 0;
}
.lp-hero .lp-device { transform: perspective(1600px) rotateX(var(--tilt, 14deg)) scale(var(--scale, 0.96)); transition: transform 0.1s linear; will-change: transform; }
.lp-device img { border-radius: 0 0 18px 18px; width: 100%; }
.lp-device__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding-inline: 16px; background: #f2f2f5; border-radius: 18px 18px 0 0; border-bottom: 1px solid var(--lp-sep); }
.lp-device__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.lp-device__bar > span:nth-child(2) { background: #febc2e; }
.lp-device__bar > span:nth-child(3) { background: #28c840; }
.lp-device__url { margin-inline: auto; padding: 4px 14px; border-radius: 8px; background: #fff; font-size: 12px; color: var(--lp-label-3); direction: ltr; }
.lp-device__url i { font-size: 10px; margin-inline-end: 4px; }
.lp-device--dark { background: #1c1c1e; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 90px -30px rgba(0, 0, 0, 0.8); margin: 0; }
.lp-device--dark .lp-device__bar { background: #2c2c2e; border-bottom-color: rgba(255, 255, 255, 0.06); }

.lp-float {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 18px; box-shadow: var(--lp-shadow-lg);
  text-align: start; animation: lp-bob 6s ease-in-out infinite;
}
.lp-float b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.lp-float small { display: block; font-size: 12px; color: var(--lp-label-2); }
.lp-float--a { inset-inline-start: -28px; top: 34%; }
.lp-float--b { inset-inline-end: -28px; bottom: 16%; animation-delay: -3s; }
@keyframes lp-bob { 50% { transform: translateY(-10px); } }
.lp-float__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 16px; }

/* ---------- Colour chips ---------- */
.lp-c-green { background: linear-gradient(135deg, #4cd964, #30b94d); color: #fff; }
.lp-c-blue { background: linear-gradient(135deg, #2f95ff, #0066e0); color: #fff; }
.lp-c-indigo { background: linear-gradient(135deg, #7a78ff, #4d4acb); color: #fff; }
.lp-c-orange { background: linear-gradient(135deg, #ffb340, #ff8a00); color: #fff; }
.lp-c-red { background: linear-gradient(135deg, #ff6961, #ff3b30); color: #fff; }
.lp-c-teal { background: linear-gradient(135deg, #5ac8e0, #2a9db3); color: #fff; }
.lp-t-green { color: #28a745; } .lp-t-orange { color: #e6550d; } .lp-t-blue { color: var(--lp-blue); }

/* ---------- Marquee strip ---------- */
.lp-strip { padding: 30px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lp-strip__track { display: flex; gap: 44px; width: max-content; animation: lp-marquee 38s linear infinite; }
[dir="rtl"] .lp-strip__track { animation-name: lp-marquee-rtl; }
.lp-strip__item { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; color: var(--lp-label-3); white-space: nowrap; }
.lp-strip__item i { font-size: 6px; color: #c7c7cc; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }
@keyframes lp-marquee-rtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.lp-section { padding: 110px 0; }
.lp-section--tint { background: #fff; }
.lp-section--dark { background: #000; color: #f5f5f7; }
.lp-section--dark .lp-lead { color: #a1a1a6; }
.lp-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.lp-eyebrow { font-size: 15px; font-weight: 600; color: var(--lp-blue); margin-bottom: 10px; }
.lp-section--dark .lp-eyebrow { color: #2997ff; }
.lp-h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.035em; }
.lp-h3 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.lp--ar .lp-h2, .lp--ar .lp-h3 { letter-spacing: 0; line-height: 1.25; }
.lp-lead { margin-top: 18px; font-size: clamp(17px, 1.8vw, 20px); color: var(--lp-label-2); }

/* ---------- Bento ---------- */
.lp-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-card {
  position: relative; overflow: hidden; background: var(--lp-surface); border-radius: var(--lp-r-xl);
  padding: 30px; box-shadow: var(--lp-shadow-sm);
  transition: transform 0.4s var(--lp-ease), box-shadow 0.4s var(--lp-ease);
}
.lp-card:hover { transform: translateY(-4px); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 24px 50px -20px rgba(0, 0, 0, 0.18); }
.lp-card h3 { margin-top: 18px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.lp-card p { margin-top: 8px; color: var(--lp-label-2); font-size: 15px; }
.lp-card--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; }
.lp-card--tall { grid-row: span 2; display: flex; flex-direction: column; }
.lp-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 19px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.lp-icon--sm { width: 38px; height: 38px; border-radius: 11px; font-size: 15px; flex: none; }

.lp-mini { margin-top: 24px; }
.lp-glance { margin: 0; background: #f9f9fb; border-radius: 20px; padding: 20px; border: 1px solid var(--lp-sep); }
.lp-glance__nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lp-glance__nums b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.lp-glance__nums small { color: var(--lp-label-3); font-size: 12px; }
.lp-glance__bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; margin: 14px 0 16px; background: var(--lp-fill); }
.lp-glance__bar span { width: 0; transition: width 1.4s var(--lp-ease) 0.3s; }
.is-in .lp-glance__bar span { width: var(--w); }
.lp-glance__bar .g { background: var(--lp-green); } .lp-glance__bar .x { background: #aeaeb2; } .lp-glance__bar .o { background: var(--lp-orange); }
.lp-glance__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-glance__list li { display: flex; align-items: center; gap: 10px; }
.lp-line { flex: 1; height: 9px; border-radius: 9px; background: linear-gradient(90deg, #e5e5ea, #f2f2f7); }
.lp-av { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: hsl(var(--h, 210) 70% 55%); }
.lp-tag { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--lp-fill); color: var(--lp-label-2); direction: ltr; }
.lp-tag--green { background: rgba(52, 199, 89, 0.14); color: #1f8a3a; }
.lp-tag--orange { background: rgba(255, 149, 0, 0.14); color: #c25e00; }

.lp-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: linear-gradient(180deg, #f9f9fb, #eef0ff); border-radius: 20px; padding: 18px; min-height: 260px; }
.lp-bubble { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.35; }
.lp-bubble--in { align-self: flex-start; background: #fff; border-end-start-radius: 6px; box-shadow: var(--lp-shadow-sm); }
.lp-bubble--out { align-self: flex-end; background: var(--lp-blue); color: #fff; border-end-end-radius: 6px; }
.lp-bubble--photo { display: grid; grid-template-columns: repeat(3, 54px); gap: 5px; padding: 6px; }
.lp-bubble--photo span { height: 54px; border-radius: 12px; background: linear-gradient(135deg, #ffd3a5, #fd6585); }
.lp-bubble--photo span:nth-child(2) { background: linear-gradient(135deg, #a1c4fd, #c2e9fb); }
.lp-bubble--photo span:nth-child(3) { background: linear-gradient(135deg, #d4fc79, #96e6a1); }

.lp-ring { position: relative; width: 92px; height: 92px; }
.lp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-ring circle { fill: none; stroke-width: 3.4; stroke-linecap: round; }
.lp-ring .bg { stroke: #e5e5ea; }
.lp-ring .fg { stroke: var(--lp-blue); stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s var(--lp-ease) 0.2s; }
.is-in .lp-ring .fg { stroke-dasharray: 82 100; }
.lp-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 19px; font-weight: 700; }
.lp-emoji { display: flex; gap: 10px; font-size: 28px; }
.lp-emoji span { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #fff7ec; transition: transform 0.4s var(--lp-ease); }
.lp-card:hover .lp-emoji span:nth-child(odd) { transform: translateY(-4px) rotate(-6deg); }
.lp-card:hover .lp-emoji span:nth-child(even) { transform: translateY(-2px) rotate(6deg); }
.lp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-pills .lp-tag { font-size: 14px; padding: 8px 14px; }
.lp-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.lp-bars span { flex: 1; height: 0; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #5ac8e0, #2a9db3); transition: height 1.2s var(--lp-ease); }
.lp-bars span:nth-child(n) { transition-delay: calc(var(--i, 0) * 0.05s); }
.is-in .lp-bars span { height: var(--h); }

/* ---------- Split sections ---------- */
.lp-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: center; }
.lp-split--rev { grid-template-columns: 1fr 1.1fr; }
.lp-checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.lp-checks li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.lp-checks i { color: #30d158; font-size: 20px; }
.lp-points { display: grid; gap: 22px; margin-top: 34px; }
.lp-point { display: flex; gap: 16px; align-items: flex-start; }
.lp-point h3 { font-size: 17px; font-weight: 700; }
.lp-point p { color: var(--lp-label-2); font-size: 15px; margin-top: 2px; }

/* Phone */
.lp-phone { position: relative; width: 300px; margin-inline: auto; padding: 12px; border-radius: 50px; background: #1d1d1f; box-shadow: inset 0 0 0 2px #3a3a3c, var(--lp-shadow-lg); }
.lp-phone__screen { border-radius: 39px; overflow: hidden; background: #f5f5f7; aspect-ratio: 9 / 19.5; }
.lp-phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lp-phone__notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
.lp-toast {
  position: absolute; display: flex; gap: 10px; align-items: center; width: 270px; padding: 11px 13px;
  border-radius: 20px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--lp-shadow-lg); border: 1px solid rgba(255, 255, 255, 0.8); text-align: start;
  animation: lp-bob 7s ease-in-out infinite;
}
.lp-toast b { display: block; font-size: 13px; }
.lp-toast small { display: block; font-size: 12.5px; color: var(--lp-label-2); line-height: 1.3; }
.lp-toast__app { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--lp-sep); }
.lp-toast__app img { width: 24px; }
.lp-toast--1 { top: 18%; inset-inline-start: -120px; }
.lp-toast--2 { bottom: 20%; inset-inline-end: -110px; animation-delay: -3.5s; }

/* ---------- Duo cards ---------- */
.lp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lp-card--feature { background: var(--lp-bg); padding: 44px; box-shadow: none; }
.lp-card--feature > p:not(.lp-eyebrow) { margin-top: 14px; font-size: 17px; }
.lp-langs { display: grid; gap: 10px; margin-top: 30px; }
.lp-langs .lp-bubble { max-width: 100%; font-size: 15px; }
.lp-langs .lp-bubble b { font-size: 11px; color: var(--lp-blue); margin-inline-end: 6px; letter-spacing: 0.04em; }
.lp-bubble--ar { align-self: flex-end; font-family: "IBM Plex Sans Arabic", var(--lp-font); border-end-start-radius: 18px; border-end-end-radius: 6px; }
.lp-schools { display: grid; gap: 8px; margin-top: 30px; padding: 8px; background: #fff; border-radius: 20px; box-shadow: var(--lp-shadow-sm); }
.lp-school { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; font-size: 15px; }
.lp-school b { flex: 1; font-weight: 600; }
.lp-school.is-active { background: rgba(251, 107, 71, 0.1); color: var(--lp-blue); }

/* ---------- Steps ---------- */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.lp-step { padding: 32px; background: #fff; border-radius: var(--lp-r-xl); box-shadow: var(--lp-shadow-sm); }
.lp-step__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-weight: 700; font-size: 18px; color: #fff; background: linear-gradient(135deg, #fb6b47, #f6c127);
  box-shadow: 0 8px 20px -8px rgba(251, 107, 71, 0.7);
}
.lp-step h3 { margin-top: 20px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.lp-step p { margin-top: 8px; color: var(--lp-label-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.lp-faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.lp-faq__list details { border-bottom: 1px solid var(--lp-sep); }
.lp-faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
}
.lp-faq__list summary::-webkit-details-marker { display: none; }
.lp-faq__list summary i { color: var(--lp-label-3); font-size: 14px; transition: transform 0.3s var(--lp-ease); }
.lp-faq__list details[open] summary i { transform: rotate(45deg); color: var(--lp-blue); }
.lp-faq__list details p { padding: 0 0 22px; color: var(--lp-label-2); max-width: 640px; }

/* ---------- CTA + footer ---------- */
.lp-cta { padding: 20px 24px 100px; }
.lp-cta__inner {
  position: relative; overflow: hidden; text-align: center; color: #fff; padding: 90px 32px; border-radius: 36px;
  background: radial-gradient(60% 80% at 20% 0%, #a671be 0%, transparent 60%), radial-gradient(60% 80% at 90% 100%, #f6c127 0%, transparent 55%), linear-gradient(135deg, #c94a26, #484f7f);
  box-shadow: 0 40px 80px -30px rgba(201, 74, 38, 0.45);
}
.lp-cta .lp-lead { color: rgba(255, 255, 255, 0.85); }
.lp-footer { border-top: 1px solid var(--lp-sep); padding: 36px 0 44px; font-size: 13px; color: var(--lp-label-3); }
.lp-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.lp-footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-inline-start: auto; }
.lp-footer__links a { color: var(--lp-label-2); }
.lp-footer__links a:hover, .lp-footer__links a.is-active { color: var(--lp-label); }
.lp-footer__copy { width: 100%; }

/* ---------- Reveal on scroll ---------- */
.lp-js .lp-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--lp-ease), transform 0.9s var(--lp-ease); }
.lp-js .lp-reveal.is-in { opacity: 1; transform: none; }
.lp-js .lp-hero .lp-reveal:nth-child(2) { transition-delay: 0.08s; }
.lp-js .lp-hero .lp-reveal:nth-child(3) { transition-delay: 0.16s; }
.lp-js .lp-hero .lp-reveal:nth-child(4) { transition-delay: 0.24s; }
.lp-js .lp-hero .lp-reveal:nth-child(5) { transition-delay: 0.32s; }
.lp-js .lp-hero .lp-device.lp-reveal { transform: perspective(1600px) translateY(60px) rotateX(22deg) scale(0.92); transition-duration: 1.4s; transition-delay: 0.3s; }
.lp-js .lp-hero .lp-device.lp-reveal.is-in { transform: perspective(1600px) rotateX(var(--tilt, 14deg)) scale(var(--scale, 0.96)); }
.lp-js .lp-hero .lp-device.lp-reveal.is-settled { transition: transform 0.1s linear; }

/* ==========================================================================
   Sign-up page
   ========================================================================== */
.su { min-height: calc(100vh - 64px); display: grid; grid-template-columns: 1fr 1.1fr; }
.su-aside {
  position: relative; overflow: hidden; color: #fff; padding: 72px 56px;
  background: radial-gradient(70% 60% at 10% 0%, #a671be 0%, transparent 60%), radial-gradient(60% 60% at 100% 100%, #f6c127 0%, transparent 60%), linear-gradient(160deg, #c94a26, #484f7f);
  display: flex; flex-direction: column; justify-content: center;
}
.su-aside h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.07; font-weight: 800; letter-spacing: -0.035em; }
.lp--ar .su-aside h1 { letter-spacing: 0; line-height: 1.25; }
.su-aside > p { margin-top: 18px; color: rgba(255, 255, 255, 0.85); font-size: 18px; max-width: 460px; }
.su-perks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.su-perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.su-perks i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.2); font-size: 13px; }
.su-shot { margin-top: 48px; max-width: 520px; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); }
[dir="rtl"] .su-shot { transform: perspective(1200px) rotateY(8deg) rotateX(4deg); }
.su-main { display: flex; align-items: center; justify-content: center; padding: 56px 24px; }
.su-form { width: 100%; max-width: 520px; }
.su-form h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; }
.su-form .su-sub { margin-top: 6px; color: var(--lp-label-2); font-size: 15px; }
.su-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.su-field { display: flex; flex-direction: column; gap: 7px; }
.su-field--full { grid-column: 1 / -1; }
.su-field label { font-size: 13px; font-weight: 600; color: var(--lp-label-2); }
.su-field label .req { color: var(--lp-red); margin-inline-start: 2px; }
.su-field input, .su-field select, .su-field textarea {
  width: 100%; font: 400 16px/1.3 var(--lp-font); color: var(--lp-label);
  padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(60, 60, 67, 0.18); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none;
}
.su-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2386868b' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 36px; }
[dir="rtl"] .su-field select { background-position: left 14px center; }
.su-field textarea { min-height: 96px; resize: vertical; }
.su-field input:focus, .su-field select:focus, .su-field textarea:focus { outline: none; border-color: var(--lp-blue); box-shadow: 0 0 0 4px rgba(251, 107, 71, 0.15); }
.su-field.has-error input, .su-field.has-error select { border-color: var(--lp-red); box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.12); }
.su-field input[type="tel"], .su-field input[type="email"] { direction: ltr; text-align: start; }
[dir="rtl"] .su-field input[type="tel"], [dir="rtl"] .su-field input[type="email"] { text-align: right; }
.su-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 12px; background: rgba(120, 120, 128, 0.12); }
.su-seg { position: relative; }
.su-seg input { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.su-seg label { margin: 0; padding: 9px 6px; text-align: center; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--lp-label); transition: background-color 0.2s, box-shadow 0.2s; }
.su-seg input:checked + label { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.su-seg input:focus-visible + label { outline: 3px solid rgba(251, 107, 71, 0.45); }
.su-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.su-alert { display: none; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 59, 48, 0.1); color: #c4271e; font-size: 14px; font-weight: 500; }
.su-alert.is-on { display: block; }
.su-submit { width: 100%; margin-top: 24px; }
.su-terms { margin-top: 14px; font-size: 12.5px; color: var(--lp-label-3); text-align: center; }
.su-switch { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--lp-sep); text-align: center; font-size: 15px; color: var(--lp-label-2); }
.su-switch a { font-weight: 600; }
.su-done { display: none; text-align: center; padding: 30px 0; }
.su-done.is-on { display: block; animation: lp-pop 0.6s var(--lp-ease); }
.su-done__icon { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: #fff; background: linear-gradient(135deg, #4cd964, #30b94d); box-shadow: 0 16px 36px -12px rgba(52, 199, 89, 0.7); }
.su-done h2 { font-size: 30px; }
.su-done p { margin: 10px auto 26px; max-width: 380px; color: var(--lp-label-2); }
@keyframes lp-pop { from { opacity: 0; transform: scale(0.94); } }
.lp-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.5); border-top-color: #fff; animation: lp-rot 0.7s linear infinite; display: none; }
.is-loading .lp-spin { display: inline-block; }
@keyframes lp-rot { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .lp-float--a { inset-inline-start: 12px; } .lp-float--b { inset-inline-end: 12px; }
  .lp-toast--1 { inset-inline-start: -60px; } .lp-toast--2 { inset-inline-end: -50px; }
}
@media (max-width: 960px) {
  .lp-nav__links { display: none; }
  .lp-bento { grid-template-columns: 1fr 1fr; }
  .lp-card--wide { grid-column: 1 / -1; }
  .lp-card--tall { grid-row: auto; }
  .lp-split, .lp-split--rev, .lp-faq, .lp-duo { grid-template-columns: 1fr; gap: 48px; }
  .lp-split--rev .lp-split__media { order: 2; }
  .lp-steps { grid-template-columns: 1fr; }
  .su { grid-template-columns: 1fr; }
  .su-aside { padding: 48px 24px; }
  .su-shot { display: none; }
}
@media (max-width: 640px) {
  body.lp { font-size: 16px; }
  .lp-hide-xs { display: none; }
  .lp-hero { padding-top: 56px; }
  .lp-section { padding: 76px 0; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-card--wide { grid-template-columns: 1fr; }
  .lp-card, .lp-card--feature, .lp-step { padding: 26px; }
  .lp-device { margin-top: 44px; border-radius: 12px; }
  .lp-device__bar { height: 26px; border-radius: 12px 12px 0 0; }
  .lp-device__bar > span { width: 8px; height: 8px; }
  .lp-device__url { display: none; }
  .lp-device img { border-radius: 0 0 12px 12px; }
  .lp-float { display: none; }
  .lp-toast { display: none; }
  .lp-phone { width: 260px; }
  .lp-hero__ctas .lp-btn { width: 100%; }
  .lp-cta { padding-inline: 12px; }
  .lp-cta__inner { padding: 64px 22px; border-radius: 28px; }
  .su-grid { grid-template-columns: 1fr; }
  .lp-nav__inner { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .lp-js .lp-reveal { opacity: 1; transform: none; }
  .lp-hero .lp-device { transform: none; }
}

/* ---------- Additions: parent-app phone screen, chat typing, fixes ---------- */
.lp-card .lp-eyebrow { color: var(--lp-blue); margin-top: 0; font-size: 15px; }
.lp-card--span2 { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; column-gap: 28px; align-items: center; }
.lp-card--span2 > .lp-icon { grid-row: 1; }
.lp-card--span2 > h3, .lp-card--span2 > p { grid-column: 1 / 2; }
.lp-card--span2 > .lp-icon, .lp-card--span2 > h3, .lp-card--span2 > p { grid-column: 1; }
.lp-card--span2 > .lp-bars { grid-column: 2; grid-row: 1 / span 3; margin: 0; height: 120px; }
.lp-toast .lp-toast__app.lp-c-orange { background: linear-gradient(135deg, #ffb340, #ff8a00); color: #fff; box-shadow: none; }
.lp-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; background: #fff; border-radius: 18px; box-shadow: var(--lp-shadow-sm); }
.lp-typing span { width: 7px; height: 7px; border-radius: 50%; background: #c7c7cc; animation: lp-type 1.2s infinite ease-in-out; }
.lp-typing span:nth-child(2) { animation-delay: 0.15s; } .lp-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes lp-type { 30% { transform: translateY(-4px); background: #8e8e93; } }

.lp-app { display: flex; flex-direction: column; padding: 14px 16px 18px; background: linear-gradient(180deg, #fff 0%, #f5f5f7 40%); text-align: start; }
.lp-app__status { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; padding: 2px 10px 0; direction: ltr; }
.lp-app__status i { font-size: 10px; }
.lp-app__head { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.lp-app__head div { flex: 1; }
.lp-app__head b { display: block; font-size: 17px; letter-spacing: -0.02em; }
.lp-app__head small, .lp-app__tl small, .lp-app__msg small { display: block; font-size: 11.5px; color: var(--lp-label-2); }
.lp-app__head > i { color: var(--lp-label-3); font-size: 14px; }
.lp-av--lg { width: 40px; height: 40px; font-size: 15px; }
.lp-app__day { margin-top: 16px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.lp-app__tl { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; position: relative; }
.lp-app__tl::before { content: ""; position: absolute; inset-inline-start: 13px; top: 14px; bottom: 14px; width: 2px; background: #e5e5ea; }
.lp-app__tl li { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 0; }
.lp-app__tl b { display: block; font-size: 12.5px; font-weight: 600; }
.lp-app__dot { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; box-shadow: 0 0 0 3px #f5f5f7; }
.lp-app__photos .lp-bubble--photo { display: grid; grid-template-columns: repeat(3, 40px); gap: 4px; padding: 0; margin-top: 5px; }
.lp-app__photos .lp-bubble--photo span { height: 40px; border-radius: 8px; }
.lp-app__msg { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: #fff; border-radius: 16px; box-shadow: var(--lp-shadow-sm); }
.lp-app__msg b { font-size: 12.5px; }
@media (max-width: 960px) { .lp-card--span2 { grid-column: 1 / -1; } }
@media (max-width: 640px) { .lp-card--span2 { display: block; } .lp-card--span2 > .lp-bars { margin-top: 24px; height: 80px; } }
.lp-card--span2 { align-content: center; }
.lp-toast--1 { top: 2%; inset-inline-start: -150px; }
.lp-toast--2 { bottom: 26%; }
@media (max-width: 1100px) { .lp-toast--1 { inset-inline-start: -70px; } }
.lp-device__bar { direction: ltr; }

/* ==========================================================================
   Human touches: hand-drawn underline, paper price cards, founders coupon.
   Warm and a little imperfect on purpose; still calm and legible.
   ========================================================================== */
.lp-scribble { position: relative; isolation: isolate; display: inline-block !important; white-space: nowrap; color: var(--lp-blue); padding-bottom: 0.12em; }
.lp-scribble__line {
  position: absolute; inset-inline: -2%; bottom: -0.08em; width: 104%; height: 0.32em;
  color: var(--lp-sun); z-index: -1; overflow: visible;
}
.lp-scribble__line path { stroke-dasharray: 340; stroke-dashoffset: 340; animation: lp-draw 0.9s 0.35s var(--lp-ease) forwards; }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
.lp--ar .lp-scribble__line { transform: scaleX(-1); }

/* Pricing */
.lp-prices {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start;
}
.lp-price {
  position: relative; background: var(--lp-surface); border: 1px solid #f0e3da; border-radius: 22px;
  padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 1px 0 #f3e7df, 0 10px 24px -14px rgba(72, 79, 127, 0.25);
}
.lp-price h3 { font-size: 22px; letter-spacing: -0.02em; }
.lp-price__lead { color: var(--lp-label-2); font-size: 15px; min-height: 2.9em; }
.lp-price__amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.lp-price__amount b { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--lp-ink); font-variant-numeric: tabular-nums; }
.lp-price__amount span { color: var(--lp-label-2); font-size: 15px; }
.lp-price ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.lp-price li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.lp-price li i { color: var(--lp-blue); margin-top: 4px; font-size: 13px; }
.lp-price .lp-btn { margin-top: auto; justify-content: center; }
.lp-price--featured {
  border: 2px solid var(--lp-brand); background: #fffdfb;
  transform: translateY(-10px);
  box-shadow: 0 2px 0 #f6d7cb, 0 22px 40px -20px rgba(201, 74, 38, 0.45);
}
.lp-price__tag {
  position: absolute; top: -15px; inset-inline-end: 18px;
  background: var(--lp-sun); color: #3b3305; font-size: 13px; font-weight: 700;
  padding: 5px 12px; border-radius: 8px; transform: rotate(2.5deg);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
}
.lp--ar .lp-price__tag { transform: rotate(-2.5deg); }

/* Founding schools: a printed coupon with a dashed edge */
.lp-founders {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px 56px;
  background: #fffaf3; border: 2px dashed #e9b9a6; border-radius: 26px; padding: clamp(26px, 4vw, 48px);
}
.lp-founders__intro .lp-h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.lp-founders__intro .lp-lead { margin-bottom: 24px; }
.lp-founders__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.lp-founders__list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.lp-founders__num {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50% 46% 52% 48%;
  background: var(--lp-brand); color: #fff; font-weight: 800; font-size: 16px;
}
.lp-founders__list li:nth-child(2) .lp-founders__num { background: var(--lp-sun); color: #3b3305; }
.lp-founders__list li:nth-child(3) .lp-founders__num { background: #abcd52; color: #2c3a08; }
.lp-founders__list h3 { font-size: 18px; margin-bottom: 4px; letter-spacing: -0.015em; }
.lp-founders__list p { color: var(--lp-label-2); font-size: 15.5px; }
.lp-founders__promise {
  grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border-radius: 16px; padding: 16px 18px; font-weight: 600; color: var(--lp-ink);
  border-inline-start: 5px solid var(--lp-sun);
}
.lp-founders__promise i { color: var(--lp-blue); margin-top: 3px; }

@media (max-width: 900px) {
  .lp-prices { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .lp-price--featured { transform: none; order: -1; }
  .lp-founders { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-scribble__line path { animation: none; stroke-dashoffset: 0; }
}
.lp-price .lp-btn--ghost { border: 1.5px solid #ecd9cf; }
@media (max-width: 560px) { .lp-scribble { white-space: normal; } }
