/* LayoutFix landing page (index.html only, body.lp). */
.lp { --ink: #0c0616; --pink: #ff5f9e; --grad: linear-gradient(90deg, #ffb347, #ff5f9e 55%, #a259ff);
  --tgrad: linear-gradient(92deg, #ffd36b, #ff7a8a 45%, #c77dff); background: #fff; color: #1b1f33; }
@media (prefers-color-scheme: dark) { .lp { background: #0f0a18; color: #eceefb; } }
.lp .site-header { position: absolute; inset: 0 0 auto; z-index: 10; background: transparent; border: 0; }
.lp .site-header .brand, .lp .site-header .nav a:not(.btn) { color: #fff; }
.lp .site-header .btn { background: var(--grad); border: 0; color: #fff; }
.lp main { overflow: hidden; }

.lp-hero { position: relative; background: var(--ink); color: #fff; padding: 130px 0 90px; }
.lp-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 70% at 0% 0%, #ff5f6d66 0%, transparent 70%), radial-gradient(45% 70% at 100% 20%, #a259ff77 0%, transparent 70%),
    radial-gradient(40% 60% at 50% 110%, #ffc37144 0%, transparent 70%); }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; max-width: 1200px; }
.lp-pill { display: inline-block; margin: 0 0 22px; padding: 6px 16px; border-radius: 999px; font-size: .85rem; color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.lp-pill span { color: #ffc371; }
.lp-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin: 0 0 20px; }
.lp-grad { background: var(--tgrad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 1.12rem; color: rgba(255,255,255,.75); max-width: 560px; margin: 0 0 26px; }
.lp-demo { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.96); color: #1b1f33; border-radius: 16px;
  padding: 14px 18px; min-height: 60px; max-width: 540px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.lp-demo-key { color: var(--pink); font-size: 1.3rem; }
.lp-demo-text { font-size: 1.35rem; font-weight: 600; text-decoration: underline wavy #ef4d5c; text-underline-offset: 7px; transition: color .4s; }
.lp-demo-text.fixed { text-decoration: none; color: #0fa760; }
.lp-demo-ok { margin-left: auto; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e8fbf1; color: #0fa760; opacity: 0; transition: opacity .3s; }
.lp-demo-ok.on { opacity: 1; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.lp-cta.center { justify-content: center; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700;
  font-size: 1rem; color: #fff; text-decoration: none !important; transition: transform .15s, background .15s; }
.lp-btn:hover { transform: translateY(-1px) scale(1.02); }
.lp-btn-primary { background: var(--grad); box-shadow: 0 18px 50px -12px rgba(255,95,158,.75); color: #fff !important; }
.lp-btn-ghost { border: 2px solid rgba(255,255,255,.4); color: #fff !important; }
.lp-btn-ghost:hover { background: rgba(255,255,255,.1); }
.lp-btn-white { background: #fff; color: #d6336c !important; box-shadow: 0 18px 40px -14px rgba(0,0,0,.4); }
.lp-btn-outline { border: 1.5px solid currentColor; color: inherit !important; }
.lp-btn.sm { padding: 8px 18px; font-size: .88rem; margin-top: 14px; }
.lp-btn.block { display: flex; width: 100%; margin-top: 12px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: .88rem; color: rgba(255,255,255,.6); }
.lp-video-wrap { position: relative; }
.lp-video-glow { position: absolute; inset: -22px; border-radius: 36px; background: var(--grad); filter: blur(46px); opacity: .55; }
.lp-video { position: relative; display: block; width: 100%; border-radius: 22px; border: 1px solid rgba(255,255,255,.15); background: #000;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.lp-video-note { position: relative; text-align: center; font-size: .85rem; color: rgba(255,255,255,.6); margin: 12px 0 0; }

.lp-band { background: linear-gradient(90deg, #ff5f6d, #ff5f9e, #a259ff); color: #fff; text-align: center; font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 600; padding: 26px 0; }
.lp-band code { font-family: inherit; background: rgba(255,255,255,.22); border-radius: 6px; padding: 1px 8px; }

.lp-section { padding-top: 90px; padding-bottom: 90px; max-width: 1200px; }
.lp-kicker { text-align: center; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; color: #d6336c; margin: 0 0 10px; }
.lp-two .lp-kicker { text-align: left; }
.lp-h2 { text-align: center; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; max-width: 760px; margin: 0 auto 48px; }
.lp-h2.left { text-align: left; margin: 0 0 28px; }
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-features article, .lp-steps article { background: #fff; border: 1px solid rgba(25,27,46,.08); border-radius: 20px; padding: 28px;
  box-shadow: 0 4px 20px -4px rgba(43,58,74,.08); transition: transform .2s, box-shadow .2s; }
.lp-features article:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -10px rgba(43,58,74,.18); }
.lp-features h3, .lp-steps h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.lp-features p, .lp-steps p { color: #5d6178; margin: 0; }
.lp-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; font-size: 1.3rem;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 22px -8px var(--c1); }

.lp-soft { background: #f5f3fa; padding: 90px 0; }
.lp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; max-width: 1200px; }
.lp-langs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lp-langs li { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid rgba(25,27,46,.08);
  border-radius: 14px; padding: 16px 20px; font-size: 1.12rem; font-weight: 600; }
.lp-langs b { font-size: .75rem; padding: 4px 12px; border-radius: 999px; }
.lp-langs .ok { background: #dcfce7; color: #15803d; }
.lp-langs .beta { background: #fef3c7; color: #b45309; }
.lp-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-plat { background: #fff; border: 1px solid rgba(25,27,46,.08); border-radius: 18px; padding: 26px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.lp-plat b { font-size: 1.2rem; margin-top: 8px; }
.lp-plat span { font-size: .85rem; color: #5d6178; }
.lp-plat-ic { font-size: 2.6rem; line-height: 1; }
.lp-win { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 44px; height: 44px; }
.lp-win i:nth-child(1) { background: #f35325; } .lp-win i:nth-child(2) { background: #81bc06; }
.lp-win i:nth-child(3) { background: #05a6f0; } .lp-win i:nth-child(4) { background: #ffba08; }
.lp-small-link { font-size: .8rem; margin-top: 8px; color: #5d6178 !important; }

.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.2rem; }

.lp-dark { position: relative; background: var(--ink); color: #fff; padding: 90px 0; }
.lp-glow-2 { background: radial-gradient(40% 80% at 20% 100%, #ff5f9e55 0%, transparent 70%), radial-gradient(40% 80% at 80% 0%, #a259ff66 0%, transparent 70%); }
.lp-price { position: relative; max-width: 470px; margin: 0 auto; text-align: center; padding: 40px 36px; border-radius: 28px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); backdrop-filter: blur(10px); }
.lp-price-tag { display: inline-block; background: #ffd36b; color: #1b1f33; font-weight: 700; font-size: .85rem; padding: 6px 16px; border-radius: 999px; }
.lp-amount { margin: 20px 0 4px; }
.lp-amount b { font-size: 4rem; font-weight: 800; }
.lp-amount span { color: rgba(255,255,255,.7); margin-left: 6px; }
.lp-price-sub { color: rgba(255,255,255,.7); margin: 0 0 22px; }
.lp-price ul { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; }
.lp-price li { padding: 7px 0 7px 28px; position: relative; }
.lp-price li::before { content: "✓"; position: absolute; left: 0; color: #38ef7d; font-weight: 700; }
.lp-price-fine { font-size: .78rem; color: rgba(255,255,255,.55); margin: 18px 0 0; }
.lp-price-fine a { color: #ffd36b; }

.lp-faq { max-width: 820px; }
.lp-faq details { border-bottom: 1px solid rgba(25,27,46,.1); padding: 4px 0; }
.lp-faq summary { cursor: pointer; font-size: 1.1rem; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; }
.lp-faq summary::after { content: "+"; font-size: 1.4rem; color: #d6336c; }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq p { color: #5d6178; margin: 0 0 18px; }

.lp-final { background: linear-gradient(135deg, #ff5f6d, #ff5f9e 50%, #a259ff); color: #fff; text-align: center; padding: 80px 0; }
.lp-final img { filter: drop-shadow(0 16px 30px rgba(0,0,0,.25)); }
.lp-final h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; margin: 18px 0 8px; }
.lp-final p { font-size: 1.15rem; opacity: .92; margin: 0; }

@media (prefers-color-scheme: dark) {
  .lp-features article, .lp-steps article, .lp-langs li, .lp-plat { background: #181a2e; border-color: rgba(255,255,255,.08); }
  .lp-soft { background: #130e1f; }
  .lp-features p, .lp-steps p, .lp-plat span, .lp-faq p { color: #a3a7c4; }
  .lp-faq details { border-color: rgba(255,255,255,.1); }
}
@media (max-width: 900px) {
  .lp-hero { padding-top: 110px; }
  .lp-hero-grid, .lp-two { grid-template-columns: 1fr; gap: 44px; }
  .lp-features, .lp-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lp .site-header .nav a:not(.btn) { display: none; }
  .lp-features, .lp-steps, .lp-platforms { grid-template-columns: 1fr; }
  .lp-btn { width: 100%; }
  .lp-section, .lp-soft, .lp-dark { padding-top: 64px; padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { .lp-btn, .lp-features article { transition: none; } }

/* The same call to action at the top of the page; the header sits over it. */
.lp-top { padding: 110px 0 64px; }
.lp-top + .lp-hero { padding-top: 80px; }
@media (max-width: 600px) { .lp-top { padding: 96px 0 48px; } .lp-top + .lp-hero { padding-top: 56px; } }

/* Privacy note: one short line, the full explanation on hover, keyboard focus or tap. */
.lp-privacy { position: relative; display: inline-block; margin-top: 18px; }
.lp-final .lp-privacy { display: block; width: fit-content; margin: 18px auto 0; }
.lp-privacy-trigger { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); color: #fff; font: inherit;
  font-size: .9rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: help; text-decoration: underline dotted rgba(255,255,255,.7);
  text-underline-offset: 3px; }
.lp-privacy-trigger:hover, .lp-privacy-trigger:focus-visible { background: rgba(255,255,255,.2); outline: none; }
.lp-privacy-pop { position: absolute; z-index: 20; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px);
  width: min(380px, calc(100vw - 32px)); background: #fff; color: #1b1f33; text-align: left; border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 24px 60px -18px rgba(12,6,22,.55); font-size: .9rem; line-height: 1.5; opacity: 0; visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.lp-hero .lp-privacy-pop { left: 0; transform: translateY(4px); }
.lp-privacy-pop::before { content: ""; position: absolute; top: -7px; left: 50%; margin-left: -7px; width: 14px; height: 14px;
  background: #fff; transform: rotate(45deg); border-radius: 3px; }
.lp-hero .lp-privacy-pop::before { left: 28px; }
.lp-privacy-pop b { display: block; font-size: 1rem; margin-bottom: 6px; }
.lp-privacy-pop p { margin: 0 0 8px; font-size: .9rem; opacity: 1; }
.lp-privacy-pop p:last-child { margin-bottom: 0; color: #5b6075; }
.lp-privacy:hover .lp-privacy-pop, .lp-privacy:focus-within .lp-privacy-pop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.lp-hero .lp-privacy:hover .lp-privacy-pop, .lp-hero .lp-privacy:focus-within .lp-privacy-pop { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .lp-privacy-pop { transition: none; } }

/* What users say */
.lp-quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 980px; margin: 0 auto; }
.lp-quote { margin: 0; background: #fff; border: 1px solid rgba(25,27,46,.08); border-radius: 18px; padding: 26px 28px; box-shadow: 0 8px 24px rgba(25,27,46,.05); }
.lp-quote blockquote { margin: 0 0 14px; font-size: 1.08rem; line-height: 1.6; color: #191b2e; }
.lp-quote blockquote::before { content: "“"; display: block; font-size: 2.6rem; line-height: .8; color: #d6336c; margin-bottom: 6px; }
.lp-quote figcaption { color: #5d6178; font-size: .92rem; }

/* Links between the English, Arabic and Russian pages. */
.lang-switch { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; }
.lang-switch a { color: inherit; opacity: .75; }
.lang-switch a:hover, .lang-switch a[aria-current] { opacity: 1; }
.lang-switch a[aria-current] { font-weight: 700; }
.lp .site-header .lang-switch { color: #fff; }
@media (max-width: 600px) { .site-header .lang-switch { display: none; } }

/* Beta sign-up on the Arabic and Russian pages: one email field, in the top section and in the price card. */
.lp-beta { max-width: 580px; margin: 22px auto 18px; padding: 20px 22px; border-radius: 22px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35); text-align: center; }
.lp-beta-badge { display: inline-block; background: #ffd36b; color: #1b1f33; font-weight: 700; font-size: .85rem; padding: 5px 14px; border-radius: 999px; }
.lp-beta p, .lp-final .lp-beta p { font-size: 1.05rem; margin: 10px 0 14px; opacity: 1; }
.lp-beta a { color: #fff; text-decoration: underline; }
.lp-beta-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lp-beta-form input[type=email] { flex: 1 1 220px; min-width: 0; padding: 13px 18px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; background: #fff; color: #1b1f33; }
.lp-beta-form input[type=email]:focus-visible { outline: none; border-color: #ffd36b; }
.lp-beta-form button { border: 0; cursor: pointer; font-family: inherit; }
.lp-beta p.lp-beta-hint, .lp-final .lp-beta p.lp-beta-hint { font-size: .82rem; opacity: .85; margin: 10px 0 0; }
.lp-beta p.lp-beta-error, .lp-final .lp-beta p.lp-beta-error { background: #fff; color: #b3261e; border-radius: 12px; padding: 8px 14px; font-size: .95rem; font-weight: 600; }
.lp-beta p.lp-beta-error a { color: inherit; }
.lp-beta-done b { display: block; font-size: 1.15rem; }
.lp-price .lp-beta { margin: 18px 0 20px; padding: 16px 18px; }
.lp-price .lp-beta p { font-size: .98rem; margin-top: 0; }
.lp-price-after { margin: 0; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.7); }
.lp-price-after + .lp-amount { margin-top: 4px; }

/* Right-to-left (the Arabic page): mirror what the rules above place by left and right. */
[dir="rtl"] .lp-demo-ok { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lp-two .lp-kicker, [dir="rtl"] .lp-h2.left { text-align: right; }
[dir="rtl"] .lp-amount span { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .lp-price ul { text-align: right; }
[dir="rtl"] .lp-price li { padding: 7px 28px 7px 0; }
[dir="rtl"] .lp-price li::before { left: auto; right: 0; }
[dir="rtl"] .lp-privacy-pop { text-align: right; }
[dir="rtl"] .lp-hero .lp-privacy-pop { left: auto; right: 0; }
[dir="rtl"] .lp-hero .lp-privacy-pop::before { left: auto; right: 28px; }
/* Arabic letters join: letter-spacing would pull them apart, and tight line heights clip their marks. */
[lang="ar"] .lp-kicker, [lang="ar"] .lp-hero h1, [lang="ar"] .lp-h2, [lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { letter-spacing: 0; }
[lang="ar"] .lp-hero h1 { line-height: 1.3; }
[lang="ar"] .lp-h2, [lang="ar"] .lp-final h2 { line-height: 1.4; }
[lang="ar"] .lp-kicker { font-size: .95rem; }
/* Russian words run longer than English ones: a slightly smaller headline keeps it to three lines. */
[lang="ru"] .lp-hero h1 { font-size: clamp(2rem, 3.9vw, 3.1rem); }

/* Language-pair buttons at the top of each landing page */
.lp-pairs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 26px; }
.lp-pair { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  color: #fff; text-decoration: none; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); transition: background .15s; }
.lp-pair:hover { background: rgba(255,255,255,.26); }
.lp-pair[aria-current] { background: #fff; color: #191b2e; border-color: #fff; }
.lp-pair b { font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: #fef3c7; color: #b45309; }

/* Why people keep LayoutFix on: the user quote and what it does for you */
.lp-love { background: linear-gradient(180deg, #fff 0%, #f6f4ff 100%); padding: 64px 0 56px; }
.lp-love .lp-kicker.center { text-align: center; }
.lp-quote-big { max-width: 860px; margin: 14px auto 40px; text-align: center; }
.lp-quote-big blockquote { margin: 0 0 20px; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.45; font-weight: 600; color: #191b2e; letter-spacing: -.01em; }
.lp-quote-big blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .7; color: #d6336c; margin-bottom: 10px; }
.lp-quote-big figcaption { display: inline-flex; align-items: center; gap: 10px; color: #5d6178; font-size: .98rem; }
.lp-avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, #7c5cff, #d6336c); }
.lp-love-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.lp-love-grid article { background: #fff; border: 1px solid rgba(25,27,46,.08); border-radius: 16px; padding: 20px; box-shadow: 0 6px 20px rgba(25,27,46,.05); }
.lp-love-grid article > span { font-size: 1.5rem; }
.lp-love-grid h3 { margin: 10px 0 6px; font-size: 1.02rem; color: #191b2e; }
.lp-love-grid p { margin: 0; color: #5d6178; font-size: .93rem; line-height: 1.5; }
@media (prefers-color-scheme: dark) {
  .lp-love { background: linear-gradient(180deg, #10111f 0%, #15172b 100%); }
  .lp-quote-big blockquote, .lp-love-grid h3 { color: #fff; }
  .lp-love-grid article { background: #181a2e; border-color: rgba(255,255,255,.08); }
  .lp-quote-big figcaption, .lp-love-grid p { color: #b6b9d0; }
}
