/* ==========================================================================
   YOYO! Messenger — WhatsApp-inspired light landing (full rebuild)
   Brand: purple #5c2d91 + yellow smiley #ffcc00
   Fonts: Cairo (display / AR) + Manrope (body)
   Cache: ym-landing-wa-20260823-restore
   ========================================================================== */

:root {
  --purple-900: #2a1344;
  --purple-800: #3d1d63;
  --purple-700: #4a2478;
  --purple-600: #5c2d91;
  --purple-500: #6b3fa8;
  --purple-400: #8b5fc8;
  --purple-100: #f0eaf8;
  --purple-50: #faf8fd;
  --yellow: #ffcc00;
  --yellow-soft: #ffe680;
  --yellow-dark: #c48a00;
  --cream: #fcf5eb;
  --ink: #111b21;
  --ink-muted: #54656f;
  --ink-subtle: #8696a0;
  --paper: #ffffff;
  --surface: #f0f2f5;
  --surface-warm: #fcf5eb;
  --line: rgba(17, 27, 33, 0.08);
  --shadow-sm: 0 2px 12px rgba(17, 27, 33, 0.06);
  --shadow-md: 0 12px 40px rgba(92, 45, 145, 0.12);
  --shadow-lg: 0 24px 64px rgba(92, 45, 145, 0.16);
  --shadow-phone: 0 20px 50px rgba(17, 27, 33, 0.22);
  --font-display: "Cairo", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --header-h: 72px;
  --radius: 16px;
  --radius-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.landing-page {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

body.landing-page * { user-select: auto; }

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.lp-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Buttons ── */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 24px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lp-btn:active { transform: translateY(1px); }

.lp-btn-sm { padding: 9px 18px; font-size: 14px; }
.lp-btn-lg { padding: 14px 28px; font-size: 16px; }

.lp-btn-purple {
  background: var(--purple-600);
  color: #fff;
  border-color: var(--purple-600);
  box-shadow: 0 4px 16px rgba(92, 45, 145, 0.28);
}

.lp-btn-purple:hover {
  background: var(--purple-500);
  border-color: var(--purple-500);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(92, 45, 145, 0.32);
}

.lp-btn-yellow {
  background: var(--yellow);
  color: var(--purple-900);
  border-color: var(--yellow);
  box-shadow: 0 4px 16px rgba(255, 204, 0, 0.32);
}

.lp-btn-yellow:hover {
  background: var(--yellow-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 204, 0, 0.4);
}

.lp-btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.lp-btn-outline:hover {
  background: var(--surface);
}

.lp-btn[disabled],
.lp-btn.is-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* ── Header / Nav ── */

.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--purple-800);
  flex-shrink: 0;
}

.lp-logo svg { width: 34px; height: 34px; }
.lp-logo-bang { color: var(--yellow); }

.lp-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.lp-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s;
}

.lp-nav a:hover { color: var(--purple-600); }

.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lp-mobile-download-cta { display: none; }

.lp-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.lp-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s;
}

.lp-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 28px 20px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.lp-mobile-nav[hidden] { display: none; }

.lp-mobile-nav a {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.lp-mobile-nav a:last-child { border-bottom: none; }

/* ── Hero ── */

.lp-hero {
  padding: calc(var(--header-h) + 48px + env(safe-area-inset-top, 0px)) 0 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  overflow: hidden;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.lp-hero-text {
  animation: lp-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.lp-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin: 0 0 20px;
}

.lp-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--ink);
}

.lp-lead {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink-muted);
  max-width: 48ch;
  margin: 0 0 12px;
  line-height: 1.55;
}

.lp-lead-ar,
.lp-copy-ar {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink-subtle);
  max-width: 48ch;
  margin: 0 0 28px;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.lp-hero-note {
  font-size: 14px;
  color: var(--ink-subtle);
  margin: 0;
}

.lp-hero-note strong { color: var(--ink); }

/* Hero visual */
.lp-hero-visual {
  position: relative;
  min-height: 420px;
  animation: lp-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.lp-hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.lp-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(92, 45, 145, 0.15), transparent 60%);
}

/* ── Phone mockup ── */

.lp-phone {
  position: relative;
  width: 220px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  z-index: 2;
}

.lp-phone-hero {
  position: absolute;
  bottom: -20px;
  right: -10px;
  animation: lp-float 5s ease-in-out infinite;
}

.lp-phone-small {
  width: 120px;
  border-radius: 22px;
  padding: 6px;
  position: absolute;
  bottom: -16px;
  right: -24px;
}

.lp-phone-notch {
  width: 60px;
  height: 6px;
  background: #333;
  border-radius: 999px;
  margin: 0 auto 8px;
}

.lp-phone-screen {
  background: var(--purple-800);
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.lp-phone-small .lp-phone-screen {
  min-height: 160px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
}

.lp-chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--purple-600);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.lp-chat-body {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.lp-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.4;
}

.lp-bubble-in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-bottom-left-radius: 4px;
}

.lp-bubble-out {
  align-self: flex-end;
  background: var(--yellow);
  color: var(--purple-900);
  border-bottom-right-radius: 4px;
}

/* Room screen */
.lp-phone-screen--rooms {
  background: #ece5dd;
  min-height: 300px;
}

.lp-room-header {
  padding: 14px 16px;
  background: var(--purple-600);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.lp-room-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--ink);
}

.lp-room-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-500);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.lp-room-avatar--you { background: var(--yellow); color: var(--purple-900); }

.lp-room-members {
  margin-top: auto;
  padding: 10px 12px;
  font-size: 10px;
  color: var(--ink-subtle);
  text-align: center;
}

/* Call screen */
.lp-phone-screen--call {
  background: linear-gradient(180deg, var(--purple-700), var(--purple-900));
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  min-height: 300px;
}

.lp-call-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.lp-call-name {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.lp-call-status {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin: 4px 0 24px;
}

.lp-call-actions {
  display: flex;
  gap: 20px;
}

.lp-call-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.lp-call-btn--end { background: #e74c3c; }
.lp-call-btn--cam { background: rgba(255, 255, 255, 0.2); }

.lp-sync-icon {
  font-size: 28px;
  color: var(--yellow);
  margin-bottom: 4px;
}

.lp-sync-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* ── Showcase sections ── */

.lp-showcase {
  padding: 100px 0;
  background: var(--paper);
}

.lp-showcase--alt {
  background: var(--surface-warm);
}

.lp-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lp-showcase-grid--reverse .lp-showcase-copy { order: -1; }

.lp-showcase-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--ink);
}

.lp-showcase-copy p {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 46ch;
  margin: 0 0 16px;
  line-height: 1.6;
}

.lp-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--purple-600);
  transition: gap 0.2s;
}

.lp-link-arrow:hover { gap: 8px; color: var(--purple-500); }

.lp-showcase-visual {
  position: relative;
  min-height: 360px;
}

.lp-showcase-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.lp-showcase-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-phone-float {
  position: absolute;
  bottom: -24px;
  left: -20px;
  animation: lp-float 6s ease-in-out infinite 0.3s;
}

.lp-phone-float--right {
  left: auto;
  right: -20px;
  animation-delay: 0.6s;
}

.lp-privacy-badge {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--purple-600);
}

.lp-privacy-badge svg {
  width: 28px;
  height: 28px;
}

/* Device duo (laptop + phone) */
.lp-device-duo {
  position: relative;
  padding: 20px 40px 40px 0;
}

.lp-laptop {
  background: #d1d7db;
  border-radius: 12px 12px 0 0;
  padding: 12px 12px 0;
  box-shadow: var(--shadow-md);
}

.lp-laptop-screen {
  background: var(--paper);
  border-radius: 8px 8px 0 0;
  min-height: 260px;
  overflow: hidden;
}

.lp-laptop-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--purple-600);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
}

.lp-laptop-chats { padding: 12px; }

.lp-laptop-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

.lp-laptop-row:hover { background: var(--surface); }

.lp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple-400);
  flex-shrink: 0;
}

.lp-dot--yellow { background: var(--yellow); }

/* ── Download band ── */

.lp-download-band {
  padding: 100px 0;
  background: var(--surface);
}

.lp-download-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.lp-download-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 14px;
}

.lp-download-head p {
  font-size: 17px;
  color: var(--ink-muted);
  margin: 0 0 8px;
}

.lp-download-cards {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.lp-dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.lp-dl-card--primary {
  background: linear-gradient(160deg, rgba(255, 204, 0, 0.1), rgba(107, 63, 168, 0.08));
  border-color: rgba(92, 45, 145, 0.2);
}

a.lp-dl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(92, 45, 145, 0.3);
}

.lp-dl-card--soon {
  opacity: 0.6;
  cursor: default;
}

.lp-dl-badge {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-900);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: 999px;
}

.lp-dl-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-100);
  color: var(--purple-600);
}

.lp-dl-icon svg { width: 26px; height: 26px; }

.lp-dl-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.lp-dl-card p {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.5;
}

.lp-dl-cta {
  margin-top: auto;
  font-weight: 700;
  font-size: 15px;
  color: var(--purple-600);
}

.lp-dl-card--soon .lp-dl-cta { color: var(--ink-subtle); }

.lp-more-downloads {
  text-align: center;
  font-size: 14px;
  color: var(--ink-subtle);
  margin: 0 0 32px;
}

.lp-more-downloads a {
  color: var(--purple-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-more-downloads a:hover { color: var(--purple-500); }

/* PWA strip */
.lp-pwa-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.lp-pwa-strip-text h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}

.lp-pwa-strip-text p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 52ch;
}

.lp-pwa-strip-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lp-pwa-ios-hint {
  display: none;
  font-size: 13px;
  color: var(--ink-muted);
  max-width: 28ch;
  margin: 0;
}

/* ── Footer ── */

.lp-footer {
  padding: 64px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.lp-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--purple-800);
  margin-bottom: 12px;
}

.lp-footer-logo svg { width: 28px; height: 28px; }
.lp-footer-logo span { color: var(--yellow); }

.lp-footer-brand-col p {
  font-size: 14px;
  color: var(--ink-subtle);
  max-width: 28ch;
  margin: 0;
}

.lp-footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-subtle);
  margin: 0 0 14px;
  font-weight: 700;
}

.lp-footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 10px;
  transition: color 0.15s;
}

.lp-footer-col a:hover { color: var(--purple-600); }

.lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-subtle);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.lp-footer-bottom a { color: var(--ink-muted); }
.lp-footer-bottom a:hover { color: var(--purple-600); }

/* ── Scroll reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Animations ── */

@keyframes lp-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Desktop browser policy (hide Sign In, show Windows) ── */

.lp-desktop-download-cta { display: none; }

/* Mobile: hide hero Log in under Android CTA (Windows CTA remains for desktop). */
.lp-hero-ctas > .lp-signin-cta { display: none !important; }

html.yoyo-desktop-browser .lp-signin-cta { display: none !important; }
html.yoyo-desktop-browser .lp-desktop-download-cta { display: inline-flex; }
html.yoyo-desktop-browser .lp-mobile-download-cta { display: none !important; }
html.yoyo-desktop-browser .lp-more-downloads .lp-signin-cta { display: none !important; }

/* ── Responsive ── */

@media (max-width: 1024px) {
  .lp-hero-grid,
  .lp-showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lp-showcase-grid--reverse .lp-showcase-copy { order: 0; }

  .lp-hero-visual { min-height: 340px; order: -1; }

  .lp-phone-hero {
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
  }

  .lp-download-cards { grid-template-columns: 1fr; }

  .lp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .lp-container { padding: 0 20px; }

  .lp-nav { display: none; }

  .lp-menu-toggle { display: flex; }

  .lp-header-actions .lp-btn-outline { display: none; }

  .lp-mobile-download-cta { display: inline-flex; }
  html.yoyo-desktop-browser .lp-mobile-download-cta { display: none !important; }

  .lp-hero { padding-bottom: 60px; }

  .lp-hero-ctas { flex-direction: column; }
  .lp-hero-ctas .lp-btn { width: 100%; }

  .lp-showcase { padding: 72px 0; }

  .lp-showcase-copy { text-align: center; }
  .lp-showcase-copy p,
  .lp-copy-ar { margin-left: auto; margin-right: auto; }

  .lp-showcase-visual { min-height: 280px; }

  .lp-phone-float,
  .lp-phone-float--right {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: -16px;
  }

  .lp-pwa-strip {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .lp-pwa-strip-actions { justify-content: center; flex-wrap: wrap; }

  .lp-footer-grid { grid-template-columns: 1fr; }

  .lp-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero-text,
  .lp-hero-visual,
  .lp-phone-hero,
  .lp-phone-float {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ── Language switcher (light theme) ── */
.lp-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--purple-50);
}
.lp-lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lp-lang-btn:hover { color: var(--purple-700); }
.lp-lang-btn.is-active {
  background: var(--paper);
  color: var(--purple-700);
  box-shadow: var(--shadow-sm);
}
.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-mobile-nav .lp-lang-switch {
  margin: 4px 0 12px;
  width: fit-content;
}

/* Hide mixed bilingual leftovers once i18n switcher owns copy */
html[data-landing-lang] .lp-lead-ar,
html[data-landing-lang] .lp-copy-ar,
html[data-landing-lang] .lp-i18n-hide {
  display: none !important;
}

/* ── RTL ── */
html[dir="rtl"] body.landing-page { text-align: right; }
html[dir="rtl"] .lp-header-inner,
html[dir="rtl"] .lp-hero-grid,
html[dir="rtl"] .lp-showcase-grid,
html[dir="rtl"] .lp-footer-grid,
html[dir="rtl"] .lp-download-cards,
html[dir="rtl"] .lp-pwa-strip,
html[dir="rtl"] .lp-footer-bottom,
html[dir="rtl"] .lp-hero-ctas {
  direction: rtl;
}
html[dir="rtl"] .lp-nav { direction: rtl; }
html[dir="rtl"] .lp-link-arrow { display: inline-flex; flex-direction: row-reverse; }
html[dir="rtl"] .lp-phone-float--right { right: auto; left: -18px; }
html[dir="rtl"] .lp-phone-hero { right: auto; left: 4%; }
html[dir="rtl"] .lp-hero-photo { margin-left: 0; margin-right: auto; }
@media (max-width: 900px) {
  html[dir="rtl"] .lp-phone-hero,
  html[dir="rtl"] .lp-phone-float,
  html[dir="rtl"] .lp-phone-float--right {
    left: auto;
    right: auto;
  }
}
