/* ===== Brand palette (swap these to match LendSoka) ===== */
:root {
  --bg:           #040308;
  --bg-2:         #07060d;
  --surface:      #0d0b16;
  --surface-2:    #120f1f;
  --border:       #221d33;
  --primary:      #8254cf;
  --primary-2:    #9a6ae0;
  --primary-hi:   #c3aef0;
  --glow:         #5b2d9c;
  --text:         #f3f0ff;
  --text-muted:   #a99fcf;
  --text-dim:     #7a6fa0;
  --success:      #34d399;
  --radius:       18px;
  --radius-sm:    12px;
  --maxw:         1180px;
  --ease:         cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; }

/* ===== Background glow ===== */
.bg-glow { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(140px); opacity: .28; }
.glow-1 { width: 600px; height: 600px; background: var(--glow); top: -200px; left: -150px; }
.glow-2 { width: 500px; height: 500px; background: #3b1873; top: 30%; right: -200px; opacity: .2; }
.glow-3 { width: 700px; height: 700px; background: #2c1259; bottom: -300px; left: 20%; opacity: .15; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
  box-shadow: 0 8px 30px -8px var(--glow);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--glow); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 17px 34px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent; border: 1.5px solid var(--border); color: var(--text);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--primary); background: rgba(139,92,246,.08); box-shadow: none; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  padding: 16px 0;
  backdrop-filter: blur(14px);
  background: rgba(11,8,23,.55);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.scrolled { border-bottom-color: var(--border); background: rgba(11,8,23,.85); }
.header__inner { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 18px -2px var(--glow);
}
.brand__text { font-weight: 800; letter-spacing: .5px; font-size: 18px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--text-muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 70px 0 90px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 7px 15px; border-radius: 100px; font-size: 13.5px; color: var(--text-muted);
  margin-bottom: 24px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero__title { font-size: clamp(44px, 7vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -1px; }
.hero__subtitle {
  font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; margin-top: 8px;
  background: linear-gradient(90deg, var(--primary-2), var(--primary-hi));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__lead { color: var(--text-muted); font-size: 17.5px; margin: 22px 0 32px; max-width: 520px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 30px; margin-top: 44px; flex-wrap: wrap; }
.hero__trust-item { display: flex; flex-direction: column; }
.hero__trust-item strong { font-size: 26px; font-weight: 800; }
.hero__trust-item span { font-size: 13.5px; color: var(--text-dim); }

/* Hero visual */
.hero__visual { position: relative; }
.hero__card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: 24px; padding: 18px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.hero__card-img {
  border-radius: 16px; overflow: hidden; aspect-ratio: 16/11;
  background: radial-gradient(circle at 30% 30%, #2a1a5e, #0d0820);
  display: flex; align-items: center; justify-content: center;
}
.hero__card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero__card-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--primary-hi); }
.hero__card-placeholder span { font-weight: 800; font-size: 22px; letter-spacing: 1px; color: var(--text); }
.hero__card-placeholder small { color: var(--primary-2); font-size: 12px; }
.hero__card-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.hero__card-stats div { text-align: center; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 6px; }
.hero__card-stats span { display: block; font-weight: 800; font-size: 18px; }
.hero__card-stats small { color: var(--text-dim); font-size: 11.5px; }
.up { color: var(--success); }

.floating-chip {
  position: absolute; display: flex; align-items: center; gap: 7px;
  background: rgba(24,16,48,.92); border: 1px solid var(--border);
  padding: 9px 14px; border-radius: 100px; font-size: 13px; font-weight: 600;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); backdrop-filter: blur(8px);
}
.floating-chip svg { color: var(--success); }
.chip-1 { top: 9%; left: -22px; animation: float 4s ease-in-out infinite; }
.chip-2 { top: 40%; right: -22px; animation: float 4s ease-in-out infinite .8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Marquee ===== */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; background: var(--bg-2); }
.marquee__track { display: flex; gap: 28px; white-space: nowrap; width: max-content; animation: scroll 28s linear infinite; }
.marquee__track span { font-weight: 800; font-size: 18px; color: var(--text-dim); letter-spacing: 1px; }
.marquee__track span:nth-child(even) { color: var(--primary); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__tag {
  display: inline-block; color: var(--primary-2); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px;
}
.section__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; }
.section__desc { color: var(--text-muted); font-size: 17px; margin-top: 16px; }

/* ===== Grid & cards ===== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--primary); }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(139,92,246,.2), rgba(168,85,247,.1));
  border: 1px solid var(--border); margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; color: var(--primary-2); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* ===== About ===== */
.about__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about__text .section__tag, .about__text .section__title { text-align: left; }
.about__text .section__title { font-size: clamp(26px, 3.4vw, 38px); }
.about__text .section__desc { margin-bottom: 26px; }
.checklist { list-style: none; margin-bottom: 30px; display: grid; gap: 13px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--text); }
.checklist svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; }
.about__stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.stat-box {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center;
}
.stat-box__num {
  display: block; font-size: 38px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--primary-hi), var(--primary-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-box__label { color: var(--text-muted); font-size: 14px; margin-top: 10px; display: block; }

/* ===== Features ===== */
.feature {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 30px; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--primary); }
.feature::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2)); opacity: .7;
}
.feature__badge {
  font-size: 13px; font-weight: 800; color: var(--primary-2);
  border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; display: inline-block; margin-bottom: 16px;
}
.feature h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--text-muted); font-size: 15.5px; }

/* ===== Results ===== */
.results__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 36px; }
.result-stat {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 20px; text-align: center;
}
.result-stat__num { display: block; font-size: 44px; font-weight: 800; line-height: 1; }
.result-stat__label { color: var(--text-muted); font-size: 14.5px; margin-top: 10px; display: block; }
.results__shots { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 26px; }
.shot {
  aspect-ratio: 4/3; border-radius: var(--radius); border: 1.5px dashed var(--border);
  background: var(--bg-2); display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 14px; text-align: center; padding: 16px;
}
.disclaimer-inline { text-align: center; color: var(--text-dim); font-size: 13.5px; max-width: 620px; margin: 0 auto; }

/* ===== Reviews ===== */
.placeholder-note { color: #f0b429 !important; font-size: 14.5px; }
.review {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .3s var(--ease);
}
.review:hover { transform: translateY(-4px); }
.review.is-placeholder { border-style: dashed; }
.review__stars { color: #f5b942; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.review p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; font-style: italic; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--surface-2)); flex-shrink: 0; }
.review__author strong { display: block; font-size: 15px; }
.review__author small { color: var(--text-dim); font-size: 13px; }

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: start; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px; transition: transform .3s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-5px); }
.plan--featured {
  border-color: var(--primary);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 70px -30px var(--glow);
  transform: scale(1.03);
}
.plan--featured:hover { transform: scale(1.03) translateY(-5px); }
.plan__ribbon {
  position: absolute; top: 18px; right: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 100px;
}
.plan__head h3 { font-size: 24px; font-weight: 800; }
.plan__period { color: var(--text-dim); font-size: 14px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 24px; }
.plan__price s { color: var(--text-dim); font-size: 18px; }
.plan__price strong { font-size: 46px; font-weight: 800; line-height: 1; }
.plan__price span { color: var(--text-muted); font-weight: 600; }
.plan__list { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.plan__list li { position: relative; padding-left: 26px; color: var(--text-muted); font-size: 15px; }
.plan__list li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 8px;
  border-left: 2px solid var(--primary-2); border-bottom: 2px solid var(--primary-2);
  transform: rotate(-45deg);
}
.pricing__note { text-align: center; color: var(--text-muted); margin-top: 28px; font-size: 15px; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 14px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 4px 24px; transition: border-color .3s;
}
.faq__item[open] { border-color: var(--primary); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after {
  content: ''; position: absolute; background: var(--primary-2); border-radius: 2px;
  top: 50%; left: 50%; transition: transform .3s;
}
.faq__plus::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq__plus::after { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq__item[open] .faq__plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq__item p { color: var(--text-muted); font-size: 15.5px; padding-bottom: 20px; }

/* ===== CTA ===== */
.cta { padding: 40px 0 100px; }
.cta__box {
  text-align: center; padding: 64px 32px; border-radius: 28px;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.cta__box::before {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: var(--glow); filter: blur(120px); opacity: .3; top: -150px; left: 50%; transform: translateX(-50%);
}
.cta__box h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; position: relative; }
.cta__box p { color: var(--text-muted); font-size: 17px; margin: 16px 0 30px; position: relative; }
.cta__box .btn { position: relative; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; background: var(--bg-2); }
.footer__inner { display: grid; gap: 22px; }
.footer__brand .brand__text { font-size: 20px; font-weight: 800; }
.footer__brand p { color: var(--primary-2); font-size: 14px; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { color: var(--text-muted); font-size: 15px; transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__disclaimer { color: var(--text-dim); font-size: 12.5px; max-width: 760px; line-height: 1.7; }
.footer__copy { color: var(--text-dim); font-size: 13px; }

/* ===== Reveal animation =====
   Hidden state applies ONLY when JS has initialised (html.reveal-ready).
   If script.js fails to load/run, content stays fully visible — never a black screen. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-ready .reveal { opacity: 0; transform: translateY(28px); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .header .btn--sm { display: none; }
  .burger { display: flex; }
  .header.menu-open .nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 18px 24px; gap: 18px;
  }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .grid-2, .grid-3, .pricing, .results__grid, .results__shots { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-5px); }
  .section { padding: 64px 0; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .grid-2, .grid-3, .results__grid, .results__shots { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero__trust { gap: 22px; }
  .floating-chip { display: none; }
  .cta__box { padding: 44px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .floating-chip, .badge .dot { animation: none; }
}
