:root{
  --bg: #070A12;
  --bg2:#0B1020;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --text: #E9EEFF;
  --muted: rgba(233,238,255,.72);
  --border: rgba(255,255,255,.10);

  --primary: #ff2d55;
  --primary2:#ff6b93;

  --shadow: 0 18px 50px rgba(0,0,0,.30);
  --ring: 0 0 0 6px color-mix(in srgb, var(--primary) 25%, transparent);

  --radius: 22px;
}

:root:not(.dark){
  --bg: #ffffff;
  --bg2:#f6f7fb;
  --card: rgba(2,6,23,.04);
  --card2: rgba(2,6,23,.06);
  --text: #0b1220;
  --muted: rgba(11,18,32,.70);
  --border: rgba(2,6,23,.10);

  --primary: #e11d48;
  --primary2:#fb7185;

  --shadow: 0 18px 50px rgba(2,6,23,.12);
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(255,45,85,.25), transparent 60%),
    radial-gradient(800px 500px at 90% 30%, rgba(255,107,147,.20), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  overflow-x:hidden;
}

.container{width:min(1180px, calc(100% - 40px)); margin:0 auto}

a,button{outline:none}
.btn:focus-visible, .nav__link:focus-visible, details:focus-visible, summary:focus-visible{
  box-shadow: var(--ring);
  border-radius: 14px;
}

/* ---------- Decorative background blobs (parallax targets) ---------- */
.bgfx{
  position:fixed;
  inset:-20% -10%;
  pointer-events:none;
  z-index:-1;
  filter: blur(0px);
  opacity:.9;
}
.blob{
  position:absolute;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,45,85,.30), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(255,107,147,.22), transparent 55%);
  transform: translate3d(0,0,0);
}
.blob.b1{top:10%; left:5%}
.blob.b2{top:25%; right:0%; width:min(620px,80vw); height:min(620px,80vw); opacity:.7}
.blob.b3{bottom:-10%; left:20%; width:min(680px,85vw); height:min(680px,85vw); opacity:.55}

/* ---------- Topbar ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:14px 0;
}

.brand{display:flex; gap:12px; align-items:center; text-decoration:none; color:var(--text)}
.brand__logo{width:36px; height:36px; display:block}
.brand__name{font-weight:950; letter-spacing:-.2px}
.brand__sub{font-size:12px; color:var(--muted); font-weight:700; margin-top:2px}

.nav{display:flex; gap:8px; align-items:center}
.nav__link{
  color:var(--muted); text-decoration:none;
  font-weight:800; padding:10px 12px; border-radius:14px;
  position:relative;
}
.nav__link:hover{background:var(--card2); color:var(--text)}
.nav__link.is-active{
  color:var(--text);
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  border:1px solid color-mix(in srgb, var(--primary) 20%, var(--border));
}

.actions{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px;
  border-radius:16px;
  border:1px solid var(--border);
  background:var(--card);
  color:var(--text);
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  box-shadow: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover{background:var(--card2); transform: translateY(-1px)}
.btn--primary{
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  border-color: transparent;
  color:#fff;
  box-shadow: var(--shadow);
}
.btn--secondary{background:transparent}
.btn--ghost{background:transparent}

.hide-sm{display:inline}
@media (max-width: 900px){
  .nav{display:none}
}
@media (max-width: 540px){
  .hide-sm{display:none}
}

/* ---------- Hero ---------- */
.hero{padding:56px 0 24px}
.hero__inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items:start;
}
@media (max-width: 980px){
  .hero__inner{grid-template-columns: 1fr}
}

.pill{
  display:inline-flex;
  width:fit-content;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--card);
  color:var(--muted);
  font-weight:900;
}

.hero__title{
  margin:14px 0 10px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height:1.02;
  letter-spacing:-1px;
}
.grad{
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero__subtitle{
  margin:0 0 18px;
  color:var(--muted);
  font-size: 16px;
  line-height:1.8;
}

.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px}

.trust{display:flex; gap:10px; flex-wrap:wrap}
.trust__item{
  border:1px solid var(--border);
  background:var(--card);
  padding:10px 12px;
  border-radius:16px;
  font-weight:900;
  color:var(--muted);
}

.mini{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:14px;
}
@media (max-width: 540px){
  .mini{grid-template-columns:1fr}
}
.mini__card{
  border:1px solid var(--border);
  background:var(--card);
  border-radius:18px;
  padding:12px;
}
.mini__k{color:var(--muted); font-weight:900; font-size:12px}
.mini__v{font-weight:950; margin-top:6px}

.hero__right .glass{
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border-radius:22px;
  padding:16px;
  box-shadow: var(--shadow);
  overflow:hidden;
  transform: translateZ(0);
}
.mock{width:100%; height:auto; display:block}

.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.badge{
  border:1px solid var(--border);
  background:var(--card);
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  color:var(--muted);
}

/* ---------- Sections ---------- */
.section{padding:44px 0}
.section--alt{
  background: color-mix(in srgb, var(--bg2) 75%, transparent);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.section__head{margin-bottom:14px}
.section__title{margin:0 0 8px; font-size:26px; letter-spacing:-.4px; font-weight:950}
.section__sub{margin:0; color:var(--muted); font-weight:800; line-height:1.7}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .grid{grid-template-columns: 1fr}
}
.card{
  border:1px solid var(--border);
  background:var(--card);
  border-radius:var(--radius);
  padding:16px;
  transition: transform .18s ease, background .18s ease;
}
.card:hover{transform: translateY(-2px); background: var(--card2)}
.card__icon{font-size:22px}
.card__title{font-weight:950; margin-top:10px}
.card__text{color:var(--muted); font-weight:800; margin-top:8px; line-height:1.75}

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 980px){
  .two-col{grid-template-columns:1fr}
}

.steps{display:grid; gap:12px}
.step{
  border:1px solid var(--border);
  background:var(--card);
  border-radius:var(--radius);
  padding:16px;
  display:flex; gap:14px; align-items:flex-start;
}
.step__num{
  width:38px; height:38px;
  border-radius:16px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:#fff;
  font-weight:950;
}
.step__title{font-weight:950}
.step__text{color:var(--muted); font-weight:800; margin-top:6px; line-height:1.7}

/* ---------- Screens ---------- */
.screens{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 980px){
  .screens{grid-template-columns: 1fr}
}
.shot{
  border:1px solid var(--border);
  background:var(--card);
  border-radius:var(--radius);
  padding:14px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.shot img{width:100%; height:auto; display:block}
.shot__cap{margin-top:10px; color:var(--muted); font-weight:900}

/* ---------- FAQ ---------- */
.faq{display:grid; gap:10px}
.faq__item{
  border:1px solid var(--border);
  background:var(--card);
  border-radius:18px;
  padding: 12px 14px;
}
.faq__q{cursor:pointer; font-weight:950}
.faq__a{margin-top:10px; color:var(--muted); font-weight:800; line-height:1.7}

/* ---------- Final CTA ---------- */
.final-cta{margin-top:18px}
.final-cta__box{
  border:1px solid var(--border);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--primary) 18%, var(--card)),
    color-mix(in srgb, var(--primary2) 10%, var(--card))
  );
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.final-cta__title{font-weight:950; font-size:20px}
.final-cta__text{color:var(--muted); font-weight:800; margin:8px 0 12px; line-height:1.7}

/* ---------- Footer ---------- */
.footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  margin-top:16px;
}
.footer__inner{
  display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap;
}
.muted{color:var(--muted); font-weight:800}

/* ---------- Scroll Reveal Animations ---------- */
.reveal{
  opacity:0;
  transform: translateY(18px) scale(.985);
  filter: blur(4px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
  will-change: transform, opacity, filter;
}
.reveal.in{
  opacity:1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.stagger > .reveal{transition-delay: var(--d, 0ms);}

/* Nice divider */
.hr{
  height:1px;
  background: var(--border);
  margin: 14px 0;
}

/* RTL tweaks */
html[dir="rtl"] .topbar__inner,
html[dir="rtl"] .hero__cta,
html[dir="rtl"] .trust,
html[dir="rtl"] .badges,
html[dir="rtl"] .actions{
  direction: rtl;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .btn{transition:none}
  .reveal{opacity:1; transform:none; filter:none; transition:none}
}
