/* Daftar public landing page. Logical properties keep it correct in RTL and LTR. */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --brand: #4F46DD; --brand-dark: #3b32c4; --ink: #0f172a; --muted: #475569;
  --bg: #ffffff; --alt: #f4f6ff; --line: #e2e8f0; --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.lp-wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.lp-narrow { max-width: 820px; }
.lp-center { text-align: center; }
h1, h2, h3 { line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.lp-lead { font-size: 1.1rem; color: var(--muted); }
.lp-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* nav */
.lp-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.lp-nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; }
.lp-brand img { border-radius: 9px; }
.lp-links { display: flex; align-items: center; gap: 18px; }
.lp-links > a:not(.lp-btn) { color: var(--muted); font-weight: 500; }
.lp-links > a:not(.lp-btn):hover { color: var(--brand); }
.lp-lang { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
.lp-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-weight: 700; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.lp-btn:active { transform: scale(.97); }
.lp-btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.lp-btn-solid { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(79,70,221,.3); }
.lp-btn-solid:hover { background: var(--brand-dark); }
.lp-btn-ghost { border-color: var(--line); background: #fff; }
.lp-btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.lp-btn-white { background: #fff; color: var(--brand); }

/* hero */
.lp-hero { background: linear-gradient(160deg, #f4f6ff 0%, #ffffff 60%); padding-block: 64px 72px; overflow: hidden; }
.lp-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.lp-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lp-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lp-store { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.lp-hero-art { position: relative; min-height: 300px; }
.lp-card { position: absolute; width: min(270px, 78%); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 18px 40px rgba(15,23,42,.1); display: grid; gap: 4px; }
.lp-card strong { font-size: 1rem; } .lp-card em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; direction: ltr; text-align: start; unicode-bidi: plaintext; }
.lp-card-1 { top: 0; inset-inline-start: 0; }
.lp-card-2 { top: 100px; inset-inline-end: 0; }
.lp-card-3 { top: 205px; inset-inline-start: 24px; }
.lp-pill { justify-self: start; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.lp-pill-company { background: #e0e7ff; color: #3730a3; }
.lp-pill-project { background: #dcfce7; color: #166534; }
.lp-pill-personal { background: #fef3c7; color: #92400e; }

/* sections */
.lp-section { padding-block: 72px; }
.lp-alt { background: var(--alt); }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 36px; }
.lp-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.lp-feature p { color: var(--muted); font-size: .97rem; }
.lp-ico { width: 44px; height: 44px; display: grid; place-items: center; background: #e0e7ff; color: var(--brand); border-radius: 12px; margin-bottom: 12px; }
.lp-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 36px; }
.lp-steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.lp-steps p { color: var(--muted); }
.lp-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px; }

/* plans */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 34px; }
.lp-plan { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.lp-plan-hi { border-color: var(--brand); box-shadow: 0 10px 30px rgba(79,70,221,.15); }
.lp-price { font-size: 1.35rem; font-weight: 800; color: var(--brand); }
.lp-plan ul { list-style: none; display: grid; gap: 8px; flex: 1; margin-block: 6px 14px; }
.lp-plan li { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.lp-plan li svg { flex: none; width: 18px; height: 18px; color: var(--brand); margin-top: 4px; }

/* faq */
.lp-faq { margin-top: 28px; display: grid; gap: 10px; }
.lp-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.lp-faq summary { cursor: pointer; font-weight: 700; }
.lp-faq details[open] summary { color: var(--brand); margin-bottom: 8px; }
.lp-faq p { color: var(--muted); }

.lp-final { background: linear-gradient(135deg, #4F46DD, #3b32c4); color: #fff; padding-block: 64px; }
.lp-final h2 { margin-bottom: 22px; }

.lp-footer { padding-block: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.lp-footer-in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.lp-footer a:hover { color: var(--brand); }

@media (max-width: 860px) {
  .lp-hero-in { grid-template-columns: 1fr; }
  .lp-hero-art { min-height: 290px; max-width: 420px; }
  .lp-burger { display: block; }
  .lp-links { display: none; position: absolute; top: 64px; inset-inline: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 16px 20px 20px; border-bottom: 1px solid var(--line); gap: 12px; }
  .lp-links.open { display: flex; }
  .lp-lang { text-align: center; }
  .lp-section { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
