/* ═══════════════════════════════════════════════════════════════════════════
   Landing page — a hand port of the sahmeeinvest site (sahmee-invest-ai/
   sahmeeinvest: Astro + Tailwind). Same sizes, spacing and animations; colours
   come from the shared theme (assets/css/brand.css), so the page follows
   Admin → Settings → Trader Layout (palette + surface style):

     --primary   → brand-500 (buttons, badges)    --primary-2 → glows
     --cyan      → brand-300 (light accents)

   Dark "navy" sections follow the surface style: Sahmee = the original navy,
   Neutral = black, Colorful = dark tinted by the main colour.
   ═══════════════════════════════════════════════════════════════════════════ */

body.lpi {
  --navy-950: color-mix(in srgb, var(--primary) 6%, #05070b);
  --navy-900: color-mix(in srgb, var(--primary) 8%, #090c12);
  --navy-800: color-mix(in srgb, var(--primary) 12%, #10141c);
  --navy-700: color-mix(in srgb, var(--primary) 16%, #161b25);
  --brand-50: color-mix(in srgb, var(--primary) 7%, #fff);
  --brand-100: color-mix(in srgb, var(--primary) 14%, #fff);
  --brand-300: var(--cyan);
  --brand-400: color-mix(in srgb, var(--primary) 70%, #fff);
  --brand-500: var(--primary);
  --brand-600: color-mix(in srgb, var(--primary) 82%, #000);
  --profit: #10b981;
  --gold: #f2b84b;
  --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0; --slate-300: #cbd5e1; --slate-400: #94a3b8;
  --slate-500: #64748b; --slate-600: #475569; --slate-700: #334155;
  --lp-font: 'Poppins', 'Cairo', ui-sans-serif, system-ui, sans-serif;
}
:root[data-tone="sahmee"] body.lpi { --navy-950: #030e1b; --navy-900: #051628; --navy-800: #0a203c; --navy-700: #122d54; }
:root[data-tone="neutral"] body.lpi { --navy-950: #000000; --navy-900: #0a0a0b; --navy-800: #131315; --navy-700: #1c1c1f; }

/* ── Base ─────────────────────────────────────────────────────────────── */
html:root body.lpi { margin: 0; background: #fff; color: var(--slate-600); font-family: var(--lp-font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
html[dir="rtl"] body.lpi { --lp-font: 'Cairo', ui-sans-serif, system-ui, sans-serif; }
html:has(body.lpi) { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; visibility: visible !important; }
.lpi *, .lpi *::before, .lpi *::after { box-sizing: border-box; }
.lpi h1, .lpi h2, .lpi h3, .lpi h4, .lpi p, .lpi ul, .lpi ol, .lpi fieldset { margin: 0; }
.lpi ul, .lpi ol { padding: 0; list-style: none; }
.lpi fieldset { border: 0; padding: 0; min-width: 0; }
.lpi a { color: inherit; text-decoration: none; }
.lpi img, .lpi svg { display: block; max-width: 100%; }
.lpi button, .lpi input, .lpi textarea { font: inherit; color: inherit; }
.lpi ::selection { background: color-mix(in srgb, var(--brand-400) 30%, transparent); color: var(--navy-900); }
.lpi :focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.lpi .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.lpi .skip-link:focus { position: fixed; top: .75rem; inset-inline-start: .75rem; z-index: 100; width: auto; height: auto; clip: auto; margin: 0; padding: .5rem 1rem; border-radius: .5rem; background: #fff; color: var(--navy-900); }
.lpi .ico { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
html[dir="rtl"] .lpi .flip { transform: rotate(180deg); }
.lpi .hidden { display: none !important; }

.lpi .container-x { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .lpi .container-x { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .lpi .container-x { padding-inline: 2rem; } }

/* ── Buttons (rounded-full) ───────────────────────────────────────────── */
.lpi .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-align: center; border-radius: 999px; padding: .875rem 1.75rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: all .2s cubic-bezier(.4,0,.2,1); }
@media (min-width: 640px) { .lpi .btn { font-size: 1rem; line-height: 1.5rem; white-space: nowrap; } }
.lpi .btn-primary { background: var(--brand-500); color: #fff; box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--brand-500) 25%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--brand-500) 25%, transparent); }
.lpi .btn-primary:hover { background: var(--brand-600); }
.lpi .btn-primary:disabled { opacity: .6; cursor: default; }
.lpi .btn-dark { background: var(--navy-900); color: #fff; }
.lpi .btn-dark:hover { background: var(--navy-800); }
.lpi .btn-outline-light { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.lpi .btn-outline-light:hover { background: rgba(255,255,255,.1); }
.lpi .btn-sm { padding: .625rem 1.25rem; font-size: .875rem; line-height: 1.25rem; }

/* ── Header ───────────────────────────────────────────────────────────── */
.lpi-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.1); background: color-mix(in srgb, var(--navy-900) 90%, transparent); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lpi-header .bar { display: flex; height: 4rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.lpi-logo { height: 2rem; width: auto; object-fit: contain; }
/* brand.css forces filter:none !important on [data-app-logo-override] in light mode; out-rank it here. */
:root img.lpi-logo.custom[data-app-logo-override] { filter: brightness(0) invert(1) !important; }
.lpi-header nav { display: none; }
.lpi-header nav ul { display: flex; align-items: center; gap: 2rem; font-size: .875rem; font-weight: 500; color: var(--slate-300); }
.lpi-header nav a:hover { color: #fff; }
.lpi-header .right { display: none; align-items: center; gap: 1rem; }
.lpi-header .lang { border-radius: 999px; border: 1px solid rgba(255,255,255,.2); padding: .375rem .875rem; font-size: .75rem; font-weight: 600; color: var(--slate-200); background: none; cursor: pointer; transition: all .15s; }
.lpi-header .lang:hover { border-color: var(--brand-400); background: rgba(255,255,255,.1); color: #fff; }
.lpi-header .mobile { display: flex; align-items: center; gap: .75rem; }
.lpi-header .mobile .lang { border-radius: .5rem; padding: .25rem .625rem; }
.lpi-header .menu-btn { border-radius: .5rem; padding: .5rem; color: #fff; background: none; border: 0; cursor: pointer; }
.lpi-header .menu-btn:hover { background: rgba(255,255,255,.1); }
.lpi-header .menu-btn svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) {
  .lpi-header .bar { height: 5rem; }
  .lpi-logo { height: 2.25rem; }
  .lpi-header nav { display: block; }
  .lpi-header .right { display: flex; }
  .lpi-header .mobile { display: none; }
}
.lpi-mobile-menu { position: fixed; inset: 4rem 0 0 0; z-index: 40; background: var(--navy-900); }
.lpi-mobile-menu nav { display: flex; height: 100%; flex-direction: column; gap: .5rem; padding-block: 1.5rem; }
.lpi-mobile-menu nav > a { border-radius: .75rem; padding: .75rem 1rem; font-size: 1.125rem; font-weight: 500; color: var(--slate-200); }
.lpi-mobile-menu nav > a:hover { background: rgba(255,255,255,.05); }
.lpi-mobile-menu .lang-big { border-radius: .75rem; border: 1px solid rgba(255,255,255,.15); padding: .75rem 1rem; font-size: 1rem; font-weight: 600; color: var(--brand-400); background: none; text-align: start; cursor: pointer; }
.lpi-mobile-menu .btn { margin-top: auto; margin-bottom: 1.5rem; }
@media (min-width: 1024px) { .lpi-mobile-menu { display: none !important; } }

/* ── Shared section bits ──────────────────────────────────────────────── */
.lpi .sec { padding-block: 5rem; }
@media (min-width: 1024px) { .lpi .sec { padding-block: 7rem; } }
.lpi .eyebrow { font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .2em; color: var(--brand-600); text-transform: uppercase; }
.lpi .eyebrow-dark { color: var(--brand-400); }
.lpi .section-title { font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; letter-spacing: -.025em; color: var(--navy-900); }
.lpi .section-title.on-dark { color: #fff; }
@media (min-width: 640px) { .lpi .section-title { font-size: 2.25rem; line-height: 2.5rem; } }
.lpi .head-center { margin-inline: auto; max-width: 42rem; text-align: center; }
.lpi .head-center .section-title { margin-top: .75rem; }
.lpi .glow { position: absolute; pointer-events: none; border-radius: 999px; filter: blur(64px); }

/* Hero */
.lpi-hero { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.lpi-hero .glow-a { top: -10rem; right: -10rem; width: 40rem; height: 40rem; background: color-mix(in srgb, var(--brand-500) 20%, transparent); }
.lpi-hero .glow-b { bottom: -15rem; left: -10rem; width: 30rem; height: 30rem; background: rgba(14,165,233,.1); }
.lpi-hero .grid-lines { position: absolute; inset: 0; pointer-events: none; opacity: .07; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%); mask-image: radial-gradient(ellipse at center, #000, transparent 75%); }
.lpi-hero .grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 3.5rem; padding-top: 3.5rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .lpi-hero .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 6rem; padding-bottom: 8rem; } }
.lpi-hero .kicker { font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .25em; color: var(--brand-400); text-transform: uppercase; }
.lpi-hero h1 { margin-top: 1rem; font-size: 3rem; line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
.lpi-hero h1 .grad { background-image: linear-gradient(to right, var(--brand-300), #7dd3fc, var(--brand-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 640px) { .lpi-hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .lpi-hero h1 { font-size: 4.5rem; } }
.lpi-hero .desc { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; line-height: 1.625; color: var(--slate-300); }
.lpi-hero .ctas { margin-top: 2.25rem; display: flex; flex-direction: column; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 640px) { .lpi-hero .ctas { flex-direction: row; } }
.lpi-hero .visual { position: relative; margin-inline: auto; width: 100%; max-width: 32rem; }
.lpi-dash { border-radius: 1.5rem; border: 1px solid rgba(255,255,255,.1); background: #fff; padding: 1.25rem; color: var(--navy-900); box-shadow: 0 25px 50px -12px rgba(0,0,0,.4); }
@media (min-width: 640px) { .lpi-dash { padding: 1.5rem; } }
.lpi-dash .top { display: flex; align-items: center; justify-content: space-between; }
.lpi-dash .label { font-size: .75rem; font-weight: 500; color: var(--slate-500); }
.lpi-dash .value { font-size: 1.5rem; line-height: 2rem; font-weight: 700; }
.lpi-dash .pill-up { border-radius: 999px; background: #ecfdf5; padding: .25rem .75rem; font-size: .875rem; font-weight: 600; color: #047857; }
.lpi-dash svg.chart { margin-top: 1rem; height: 7rem; width: 100%; }
.lpi-dash .sub { margin-top: 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .05em; color: var(--slate-500); text-transform: uppercase; }
.lpi-dash ul { margin-top: .75rem; }
.lpi-dash li { display: flex; align-items: center; gap: .75rem; border-radius: 1rem; border: 1px solid var(--slate-100); background: var(--slate-50); padding: .75rem; }
.lpi-dash li + li { margin-top: .625rem; }
.lpi-dash .av { display: flex; width: 2.5rem; height: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 999px; font-size: .875rem; font-weight: 700; color: #fff; }
.lpi-dash .av.c1 { background: var(--brand-500); } .lpi-dash .av.c2 { background: var(--gold); } .lpi-dash .av.c3 { background: #0ea5e9; }
.lpi-dash .meta { min-width: 0; flex: 1; }
.lpi-dash .meta p:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; font-weight: 600; }
.lpi-dash .meta p:last-child { font-size: .75rem; color: var(--slate-500); }
.lpi-dash .ret { font-size: .875rem; font-weight: 700; color: #059669; }
.lpi-dash .tag { display: flex; align-items: center; gap: .25rem; border-radius: 999px; padding: .375rem .75rem; font-size: .75rem; font-weight: 600; color: #fff; }
.lpi-dash .tag svg { width: .875rem; height: .875rem; }
.lpi-dash .tag.on { background: var(--brand-500); } .lpi-dash .tag.off { background: var(--navy-900); }
.lpi-dash .note { margin-top: .75rem; text-align: center; font-size: 10px; color: var(--slate-400); }
.lpi-chip { position: absolute; bottom: -1.5rem; inset-inline-start: -1rem; border-radius: 1rem; background: var(--navy-800); padding: .75rem 1rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 0 0 1px rgba(255,255,255,.1); }
@media (min-width: 640px) { .lpi-chip { inset-inline-start: -2.5rem; } }
.lpi-chip p:first-child { font-size: 11px; color: var(--slate-400); }
.lpi-chip p:last-child { font-size: .875rem; font-weight: 600; color: #fff; }
.lpi-chip b { color: var(--brand-400); }

/* What is */
.lpi-what { background: #fff; }
.lpi-what .grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 3rem; }
@media (min-width: 1024px) { .lpi-what .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; } }
.lpi-what .section-title { margin-top: .75rem; }
.lpi-what .p1 { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.625; color: var(--slate-700); }
.lpi-what .p2 { margin-top: 1rem; line-height: 1.625; color: var(--slate-600); }
.lpi-what .btn { margin-top: 2rem; }
.lpi-what .art { position: relative; }
.lpi-what .art .tilt { position: absolute; inset: 1.5rem; transform: rotate(-3deg); border-radius: 2rem; background: var(--brand-100); }
.lpi-what .art .card { position: relative; border-radius: 2rem; border: 1px solid var(--slate-200); background: #fff; padding: 2rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
@media (min-width: 640px) { .lpi-what .art .card { padding: 2.5rem; } }
.lpi-what .bubbles { display: flex; align-items: center; gap: 1rem; }
.lpi-what .bubbles .pair { display: flex; }
.lpi-what .bubbles .pair span { display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 999px; font-size: .875rem; font-weight: 700; color: #fff; box-shadow: 0 0 0 4px #fff; }
.lpi-what .bubbles .pair span + span { margin-inline-start: -.5rem; }
.lpi-what .bubbles .you { background: var(--navy-900); } .lpi-what .bubbles .pro { background: var(--brand-500); }
.lpi-what .bubbles p { font-weight: 600; color: var(--navy-900); }
.lpi-what .points { margin-top: 2rem; }
.lpi-what .points li { display: flex; align-items: center; gap: .75rem; color: var(--navy-900); }
.lpi-what .points li + li { margin-top: 1rem; }
.lpi-what .points .ok { display: flex; width: 1.75rem; height: 1.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); }
.lpi-what .points .ok svg { width: 1rem; height: 1rem; }

/* How it works */
.lpi-how { background: var(--navy-950); color: #fff; }
.lpi-how .steps { position: relative; margin-top: 4rem; }
.lpi-how .line { position: absolute; top: 2rem; left: 10%; right: 10%; display: none; height: 2px; pointer-events: none; background: linear-gradient(to right, color-mix(in srgb, var(--brand-500) 20%, transparent), var(--brand-400), color-mix(in srgb, var(--brand-500) 20%, transparent)); }
.lpi-how ol { position: relative; display: grid; gap: 1.5rem; }
.lpi-how li { position: relative; display: flex; gap: 1.25rem; }
.lpi-how .num { position: relative; z-index: 1; display: flex; width: 4rem; height: 4rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 1rem; background: var(--brand-500); font-size: 1.25rem; font-weight: 800; color: var(--navy-950); box-shadow: 0 20px 25px -5px color-mix(in srgb, var(--brand-500) 20%, transparent), 0 0 0 8px color-mix(in srgb, var(--navy-900) 80%, transparent); }
.lpi-how h3 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; color: #fff; }
.lpi-how li p { margin-top: .5rem; font-size: .875rem; line-height: 1.625; color: var(--slate-300); }
.lpi-how li p a { font-weight: 500; color: var(--brand-400); }
@media (min-width: 768px) {
  .lpi-how .line { display: block; }
  .lpi-how ol { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
  .lpi-how li { flex-direction: column; align-items: center; text-align: center; }
  .lpi-how h3 { margin-top: 1.25rem; }
}
.lpi-how .ctas { margin-top: 4rem; display: flex; flex-direction: column; justify-content: center; gap: .75rem; }
@media (min-width: 640px) { .lpi-how .ctas { flex-direction: row; } }

/* Why choose */
.lpi-why { background: var(--slate-50); }
.lpi-why ul { margin-top: 3.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .lpi-why ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lpi-why ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lpi-why li { border-radius: 1.5rem; border: 1px solid var(--slate-200); background: #fff; padding: 1.75rem; transition: all .15s; }
.lpi-why li:hover { transform: translateY(-.25rem); border-color: var(--brand-300); box-shadow: 0 20px 25px -5px color-mix(in srgb, var(--brand-500) 10%, transparent), 0 8px 10px -6px color-mix(in srgb, var(--brand-500) 10%, transparent); }
.lpi-why .ic { display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 1rem; background: var(--brand-50); color: var(--brand-600); transition: all .15s; }
.lpi-why .ic svg { width: 1.5rem; height: 1.5rem; }
.lpi-why li:hover .ic { background: var(--brand-500); color: #fff; }
.lpi-why h3 { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; color: var(--navy-900); }
.lpi-why li p { margin-top: .5rem; font-size: .875rem; line-height: 1.625; color: var(--slate-600); }

/* Money managers */
.lpi-mm { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.lpi-mm .glow { top: 0; left: 50%; width: 60rem; height: 30rem; transform: translate(-50%, -50%); background: color-mix(in srgb, var(--brand-500) 15%, transparent); }
.lpi-mm .container-x { position: relative; }
.lpi-mm .head { margin-inline: auto; max-width: 48rem; text-align: center; }
.lpi-mm h2 { margin-top: .75rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; letter-spacing: -.025em; }
@media (min-width: 640px) { .lpi-mm h2 { font-size: 3rem; line-height: 1; } }
.lpi-mm .tagline { margin-top: 1.25rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 500; color: var(--brand-300); }
.lpi-mm .desc { margin-top: 1.25rem; line-height: 1.625; color: var(--slate-300); }
.lpi-mm .subtitle { margin-top: 4rem; text-align: center; font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
@media (min-width: 640px) { .lpi-mm .subtitle { font-size: 1.5rem; line-height: 2rem; } }
.lpi-mm ul { margin-top: 2.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .lpi-mm ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lpi-mm ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lpi-mm li { display: flex; gap: 1rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); padding: 1.5rem; transition: all .15s; }
.lpi-mm li:hover { border-color: color-mix(in srgb, var(--brand-400) 40%, transparent); background: rgba(255,255,255,.07); }
.lpi-mm .ic { display: flex; width: 2.75rem; height: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .75rem; background: color-mix(in srgb, var(--brand-500) 15%, transparent); color: var(--brand-400); }
.lpi-mm .ic svg { width: 1.25rem; height: 1.25rem; }
.lpi-mm h4 { font-weight: 600; text-align: start; }
.lpi-mm li p { margin-top: .375rem; font-size: .875rem; line-height: 1.625; color: var(--slate-400); text-align: start; }
.lpi-mm .cta { margin-top: 3rem; text-align: center; }

/* FAQ */
.lpi-faq { background: var(--slate-50); }
.lpi-faq .wrap { margin-inline: auto; max-width: 48rem; }
.lpi-faq .list { margin-top: 3rem; }
.lpi-faq details { border-radius: 1rem; border: 1px solid var(--slate-200); background: #fff; padding: 1.25rem 1.5rem; transition: box-shadow .15s; }
.lpi-faq details + details { margin-top: .75rem; }
.lpi-faq details[open] { box-shadow: 0 10px 15px -3px rgba(226,232,240,.6), 0 4px 6px -4px rgba(226,232,240,.6); }
@media (min-width: 640px) { .lpi-faq details { padding-inline: 1.75rem; } }
.lpi-faq summary { display: flex; cursor: pointer; list-style: none; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: start; font-weight: 600; color: var(--navy-900); }
@media (min-width: 640px) { .lpi-faq summary { font-size: 1.125rem; line-height: 1.75rem; } }
.lpi-faq summary::-webkit-details-marker { display: none; }
.lpi-faq summary h3 { font-size: inherit; font-weight: inherit; }
.lpi-faq .plus { display: flex; width: 2rem; height: 2rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 999px; background: var(--brand-50); font-size: 1.125rem; color: var(--brand-600); transition: transform .15s; }
.lpi-faq details[open] .plus { transform: rotate(45deg); }
.lpi-faq details p { margin-top: .75rem; text-align: start; line-height: 1.625; color: var(--slate-600); }
.lpi-faq details p a { font-weight: 500; color: var(--brand-600); text-underline-offset: 4px; }
.lpi-faq details p a:hover { text-decoration: underline; }

/* Register */
.lpi-reg { background: var(--navy-950); color: #fff; }
.lpi-reg .anchor { display: block; transform: translateY(-1rem); }
.lpi-reg .grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 3rem; }
@media (min-width: 1024px) { .lpi-reg .grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
.lpi-reg .section-title { margin-top: .75rem; }
.lpi-reg .desc { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.625; color: var(--slate-300); }
.lpi-reg .box { margin-top: 2rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); background: color-mix(in srgb, var(--navy-900) 80%, transparent); padding: 1.5rem; font-size: .875rem; line-height: 1.625; color: var(--slate-300); }
.lpi-reg .box p:first-child { font-weight: 600; color: #fff; }
.lpi-reg .box p + p { margin-top: .25rem; }
.lpi-reg .box a { font-weight: 500; color: var(--brand-400); }
.lpi-reg .box a:hover { color: var(--brand-300); text-decoration: underline; }
.lpi-reg .panel { border-radius: 1.5rem; border: 1px solid rgba(255,255,255,.1); background: color-mix(in srgb, var(--navy-900) 90%, transparent); padding: 1.5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.4); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (min-width: 640px) { .lpi-reg .panel { padding: 2.5rem; } }
.lpi-reg form { display: grid; gap: 1.25rem; position: relative; }
@media (min-width: 640px) { .lpi-reg form { grid-template-columns: 1fr 1fr; } .lpi-reg .span-2 { grid-column: span 2; } }
.lpi-reg label.f, .lpi-reg legend { display: block; margin-bottom: .5rem; text-align: start; font-size: .875rem; font-weight: 500; color: var(--slate-200); }
.lpi-reg legend { margin-bottom: .75rem; }
.lpi-roles { display: grid; gap: .75rem; }
@media (min-width: 640px) { .lpi-roles { grid-template-columns: 1fr 1fr; } }
.lpi-role { display: flex; cursor: pointer; align-items: center; gap: 1rem; border-radius: 1rem; border: 2px solid rgba(255,255,255,.1); background: color-mix(in srgb, var(--navy-900) 50%, transparent); padding: 1rem; transition: all .15s; }
.lpi-role:hover { border-color: rgba(255,255,255,.2); }
.lpi-role.on { border-color: var(--brand-400); background: color-mix(in srgb, var(--brand-500) 20%, transparent); color: #fff; }
.lpi-role:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-500) 30%, transparent); }
.lpi-role .ri { display: flex; width: 2.75rem; height: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: .75rem; background: var(--navy-800); color: var(--slate-400); }
.lpi-role.on .ri { background: var(--brand-500); color: #fff; }
.lpi-role .ri svg { width: 1.25rem; height: 1.25rem; }
.lpi-role b { display: block; font-weight: 600; color: #fff; text-align: start; }
.lpi-role small { display: block; font-size: .875rem; color: var(--slate-400); text-align: start; }
.lpi .lpi-input { width: 100%; border-radius: .75rem; border: 1px solid rgba(255,255,255,.1); background: var(--navy-900); padding: .75rem 1rem; color: #fff; text-align: start; outline: none; transition: border-color .15s; }
.lpi .lpi-input::placeholder { color: var(--slate-500); }
/* Inputs also carry .login-input, whose brand.css :focus rule paints a light surface — keep them dark. */
.lpi .lpi-input:focus { background: var(--navy-900); color: #fff; border-color: var(--brand-400); box-shadow: none; }
.lpi .lpi-input.invalid { border-color: #ef4444; }
.lpi textarea.lpi-input { resize: vertical; }
.lpi-reg .err { margin-top: .375rem; text-align: start; font-size: .875rem; color: #f87171; }
.lpi-reg .form-error { border-radius: .75rem; border: 1px solid rgba(224,71,79,.3); background: rgba(224,71,79,.05); padding: .75rem 1rem; text-align: start; font-size: .875rem; color: #f87171; }
.lpi-reg .send { width: 100%; }
@media (min-width: 640px) { .lpi-reg .send { width: auto; min-width: 14rem; } }
html[dir="rtl"] .lpi-reg .send .ic-send { transform: scaleX(-1); }
.lpi-reg .honeypot { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; }
.lpi-reg .sent { display: flex; flex-direction: column; align-items: center; border-radius: 1.5rem; border: 1px solid color-mix(in srgb, var(--brand-500) 30%, transparent); background: color-mix(in srgb, var(--brand-500) 10%, transparent); padding: 3.5rem 1.5rem; text-align: center; color: #fff; }
.lpi-reg .sent svg { width: 3.5rem; height: 3.5rem; color: var(--brand-400); }
.lpi-reg .sent h3 { margin-top: 1rem; font-size: 1.5rem; font-weight: 700; }
.lpi-reg .sent p { margin-top: .5rem; max-width: 28rem; color: var(--slate-300); }
.lpi-reg .sent .btn { margin-top: 2rem; border-color: rgba(255,255,255,.2); color: #fff; }
.lpi-reg .sent .btn:hover { background: rgba(255,255,255,.1); }

/* Country select (dark) */
.lpi-cs { position: relative; width: 100%; }
.lpi-cs .trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .75rem; border-radius: .75rem; border: 1px solid rgba(255,255,255,.1); background: var(--navy-900); padding: .75rem 1rem; text-align: start; cursor: pointer; transition: border-color .15s; }
.lpi-cs .trigger:hover { border-color: rgba(255,255,255,.2); }
.lpi-cs .trigger:focus { outline: none; border-color: var(--brand-400); }
.lpi-cs .trigger.invalid { border-color: #ef4444; }
.lpi-cs .value { display: flex; min-width: 0; align-items: center; gap: .625rem; }
.lpi-cs .value .flag { font-size: 1.25rem; line-height: 1; }
.lpi-cs .value .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; font-weight: 600; color: #fff; }
.lpi-cs .value .ph { font-size: .875rem; color: var(--slate-400); }
.lpi-cs .chev { width: 1rem; height: 1rem; color: var(--slate-400); transition: transform .2s; }
.lpi-cs.open .chev { transform: rotate(180deg); }
.lpi-cs .panel-cs { position: absolute; z-index: 50; margin-top: .5rem; width: 100%; min-width: 280px; border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); background: color-mix(in srgb, var(--navy-900) 95%, transparent); padding: .5rem; color: var(--slate-200); box-shadow: 0 25px 50px -12px color-mix(in srgb, var(--brand-500) 10%, rgba(0,0,0,.4)); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.lpi-cs .search { position: relative; margin-bottom: .5rem; padding-inline: .25rem; }
.lpi-cs .search svg { position: absolute; top: 50%; inset-inline-start: .875rem; width: 1rem; height: 1rem; transform: translateY(-50%); color: var(--slate-400); }
.lpi-cs .search input { width: 100%; border-radius: .75rem; border: 1px solid rgba(255,255,255,.1); background: var(--navy-800); padding: .5rem 2rem .5rem 2.25rem; font-size: .875rem; color: #fff; outline: none; }
html[dir="rtl"] .lpi-cs .search input { padding: .5rem 2.25rem .5rem 2rem; }
.lpi .lpi-cs .search input:focus { background: var(--navy-800); color: #fff; border-color: var(--brand-400); box-shadow: none; }
.lpi-cs ul { max-height: 15rem; overflow-y: auto; overscroll-behavior: contain; padding: .25rem; font-size: .875rem; }
.lpi-cs li button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .75rem; border-radius: .5rem; padding: .5rem .75rem; text-align: start; border: 0; background: none; color: var(--slate-200); cursor: pointer; }
.lpi-cs li button:hover { background: rgba(255,255,255,.1); color: #fff; }
.lpi-cs li button.sel { background: color-mix(in srgb, var(--brand-500) 20%, transparent); color: var(--brand-300); font-weight: 600; }
.lpi-cs li .row { display: flex; align-items: center; gap: .625rem; overflow: hidden; }
.lpi-cs li .row .flag { font-size: 1.125rem; line-height: 1; }
.lpi-cs li .row .en { font-size: 11px; color: var(--slate-400); }
.lpi-cs li svg { width: 1rem; height: 1rem; color: var(--brand-400); }
.lpi-cs .none { padding: 1.5rem 0; text-align: center; font-size: .75rem; color: var(--slate-400); }

/* Footer */
.lpi-footer { background: var(--navy-950); color: var(--slate-400); }
.lpi-footer .grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 768px) { .lpi-footer .grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.lpi-footer .about { margin-top: 1rem; max-width: 24rem; font-size: .875rem; line-height: 1.625; }
.lpi-footer .about a { color: var(--slate-300); }
.lpi-footer .about a:hover, .lpi-footer ul a:hover { color: #fff; }
.lpi-footer h2 { font-size: .875rem; font-weight: 600; color: #fff; }
.lpi-footer ul { margin-top: 1rem; font-size: .875rem; }
.lpi-footer ul li + li { margin-top: .5rem; }
.lpi-footer .legal { border-top: 1px solid rgba(255,255,255,.05); }
.lpi-footer .legal .container-x { padding-block: 1.5rem; font-size: .75rem; line-height: 1.625; color: var(--slate-500); }
.lpi-footer .legal p + p { margin-top: .75rem; }
.lpi-footer .legal strong { color: var(--slate-400); }

/* ── Animations ───────────────────────────────────────────────────────── */
@keyframes lpi-spin { to { transform: rotate(360deg); } }
.lpi .spin { animation: lpi-spin 1s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  html:has(body.lpi) { scroll-behavior: auto; }
  .lpi *, .lpi *::before, .lpi *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Language selector (EN / AR / ES) — same pill look as the original switch link */
.lpi .lang-select { -webkit-appearance: none; appearance: none; cursor: pointer; font: inherit; line-height: 1.2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: .75rem; background-position: right .55rem center; padding-inline-end: 1.6rem !important; }
html[dir="rtl"] .lpi .lang-select { background-position: left .55rem center; }
.lpi-header .lang.lang-select { background-color: transparent; color: var(--slate-200); }
.lpi .lang-select option { background: var(--navy-900); color: #fff; }
.lpi-mobile-menu .lang-big { display: flex; align-items: center; gap: .75rem; }
.lpi-mobile-menu .lang-big .lang-select { flex: 1; border: 0; background-color: transparent; color: var(--brand-400); font-weight: 600; padding: 0; }

/* Longer Spanish labels / headline */
.lpi-header nav a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) { .lpi-header nav ul { gap: 1.25rem; } .lpi-header .bar { gap: 1rem; } }
html[lang="es"] .lpi-header nav ul { gap: 1.5rem; }
@media (min-width: 1024px) and (max-width: 1279px) { html[lang="es"] .lpi-header nav ul { gap: .9rem; font-size: .8125rem; } }
html[lang="es"] .lpi-hero h1 { overflow-wrap: break-word; }
@media (min-width: 1024px) { html[lang="es"] .lpi-hero h1 { font-size: clamp(2.5rem, 3.9vw, 3.6rem); } }
