/* =====================================================================
   LIMORA — inner pages (Citizenship, E-Governance)
   Uses the same tokens, buttons, labels and animations as the home page.
   ===================================================================== */

.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { transform: scaleX(1); }

/* ---------- Page hero ---------- */
.ph { position: relative; padding: 171px 0 120px; overflow: hidden; }
.ph::before { content: ""; position: absolute; width: 900px; height: 900px; right: -15%; top: -30%; background: radial-gradient(circle, rgba(215,68,31,.14), transparent 60%); filter: blur(40px); pointer-events: none; }
.ph__grid { display: grid; grid-template-columns: 616px 1fr; gap: 64px; align-items: center; position: relative; }
.ph__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.crumbs { display: flex; gap: 6px; font-size: 12px; line-height: 16px; color: rgba(255,255,255,.72); margin-bottom: 4px; }
.crumbs a:hover { color: var(--orange-light); }
.ph__title { margin-top: 4px; font-size: 60px; line-height: 64px; letter-spacing: -1.8px; }
.ph__lead { max-width: 520px; color: rgba(255,255,255,.75); }
.ph .btn-row { margin-top: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 4px; font-size: 12px; line-height: 20px; color: rgba(255,255,255,.72); }
.trust li { display: flex; align-items: center; gap: 10px; }
.ph__visual { position: relative; justify-self: end; width: 100%; max-width: 560px; aspect-ratio: 1; }
.ph__visual--tall { max-width: 520px; aspect-ratio: 520/540; }
.ph__img { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; }
.ph__img img { width: 100%; height: 100%; object-fit: cover; }
.ph__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,8,5,0) 55%, rgba(18,8,5,.45)); }
.float-card { position: absolute; z-index: 2; background: rgba(32,23,20,.92); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.float-card strong { display: block; font-weight: 500; }
.float-card span { font-size: 12px; line-height: 16px; color: rgba(255,255,255,.68); }
.float-card--pass { left: -40px; bottom: 22px; width: 230px; padding: 12px 12px 16px; display: flex; flex-direction: column; gap: 6px; }
.float-card--pass .float-card__img { height: 120px; border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
.float-card--pass .float-card__img img { width: 100%; height: 100%; object-fit: cover; }
.float-card--row { left: -40px; bottom: 50px; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; }
.float-card--row div { display: flex; flex-direction: column; gap: 4px; }

.icon-badge--md { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(90deg, rgba(221,96,65,.18), rgba(221,96,65,.06)); border: 1px solid rgba(221,96,65,.35); }
.icon-badge--sm2 { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(90deg, rgba(221,96,65,.18), rgba(221,96,65,.06)); border: 1px solid rgba(221,96,65,.35); }
.icon-badge--lg { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(90deg, rgba(221,96,65,.18), rgba(221,96,65,.06)); border: 1px solid rgba(221,96,65,.35); }

/* ---------- Split section header (title left, text right) ---------- */
.split-head { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: end; margin-bottom: 64px; }
.split-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.split-head .h2 { max-width: 700px; }
.split-head .body-lg { color: rgba(255,255,255,.72); padding-bottom: 4px; }
.split-head--solo { grid-template-columns: 1fr; margin-bottom: 40px; }
.split-head--solo .h2 { max-width: 900px; }

/* ---------- Check lists ---------- */
.checks { display: flex; flex-direction: column; gap: 14px; }
.checks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 24px; color: rgba(255,255,255,.88); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: url("../assets/icons/check-orange.svg") center / contain no-repeat; }
.checks--dark li { color: #2a1d18; }
.checks--dark li::before { filter: brightness(0) saturate(100%); opacity: .85; }
.checks--2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 14px; }
.eyebrow-o { font-size: 12px; line-height: 16px; letter-spacing: .96px; text-transform: uppercase; font-weight: 500; color: var(--orange-2); }

/* ---------- Two documents ---------- */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.doc-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: border-color .5s, transform .7s var(--ease); }
.doc-card:hover { border-color: rgba(221,96,65,.4); transform: translateY(-6px); }
.doc-card__img { position: relative; height: 300px; overflow: hidden; }
.doc-card__img img { transition: scale 1.2s var(--ease); }
.doc-card:hover .doc-card__img img { scale: 1.06; }
.doc-card__body { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.doc-card__body .checks { margin-top: 10px; }

/* ---------- Mini steps (4 cards with number) ---------- */
.msteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mstep { position: relative; padding: 33px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; overflow: hidden; isolation: isolate; transition: border-color .5s, translate .7s var(--ease); }
.mstep::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(215,68,31,.14), transparent 60%); opacity: 0; transition: opacity .6s; }
.mstep:hover { border-color: rgba(221,96,65,.45); translate: 0 -6px; }
.mstep:hover::before { opacity: 1; }
.mstep .icon-badge { margin-bottom: 36px; transition: scale .6s var(--ease), rotate .6s var(--ease); }
.mstep:hover .icon-badge { scale: 1.08; rotate: -6deg; }
.mstep__n { position: absolute; right: 33px; top: 47px; font-size: 16px; font-weight: 500; color: var(--orange-2); font-variant-numeric: tabular-nums; }
.mstep p { color: rgba(255,255,255,.68); }
.note-bar { margin-top: 64px; display: flex; align-items: center; gap: 16px; padding: 17px 20px; border-radius: 12px; background: rgba(215,68,31,.1); border: 1px solid rgba(215,68,31,.3); font-size: 16px; color: rgba(255,255,255,.88); }

/* ---------- Feature grid (12 small cards) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat { position: relative; padding: 29px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: border-color .5s, background-color .5s; }
.feat .icon-badge { margin-bottom: 26px; transition: background .5s, border-color .5s, box-shadow .5s; }
.feat .icon-badge img { transition: filter .4s, scale .6s var(--ease); }
.feat h3 { font-size: 20px; line-height: 28px; letter-spacing: -.1px; font-weight: 500; }
.feat p { font-size: 12px; line-height: 20px; color: rgba(255,255,255,.68); }
.feat::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--orange), transparent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.feat:hover { border-color: rgba(221,96,65,.35); background-color: rgba(255,255,255,.06); }
.feat:hover::after { transform: scaleX(1); }
.feat:hover .icon-badge { background: var(--orange); border-color: var(--orange); box-shadow: 0 10px 24px -8px rgba(215,68,31,.7); }
.feat:hover .icon-badge img { filter: brightness(0) invert(1); scale: 1.1; }
.feat-grid--kit .feat { padding: 25px; }
.feat-grid--kit .feat h3 { font-size: 16px; line-height: 24px; }
.feat-grid--kit .feat .icon-badge { margin-bottom: 16px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 736px 1fr; gap: 24px; align-items: stretch; }
.cream-card { position: relative; background: var(--cream); color: #120805; border-radius: 24px; padding: 44px; display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.cream-card::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(215,68,31,.18), transparent 65%); pointer-events: none; }
.cream-card__top { display: flex; align-items: center; justify-content: space-between; }
.cream-card .caps { color: rgba(18,8,5,.7); }
.badge--dark { background: #120805; color: #fff; padding: 5px 10px; }
.price--dark strong { color: #120805; }
.price__unit { font-size: 20px; line-height: 32px; color: rgba(18,8,5,.6); align-self: flex-end; padding-bottom: 6px; }
.cream-card__lead { font-size: 20px; line-height: 32px; color: rgba(18,8,5,.78); max-width: 520px; }
.cream-card hr { width: 100%; border: 0; height: 1px; background: rgba(18,8,5,.12); margin: 0; }
.btn--dark { background: #120805; color: #fff; }
.btn--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange); transform: translateY(102%); transition: transform .6s var(--ease); }
.btn--dark:hover::before { transform: none; }
.fine--dark { color: rgba(18,8,5,.62); max-width: 560px; }
.addon-list { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 37px; display: flex; flex-direction: column; gap: 12px; }
.addon-list > p { color: rgba(255,255,255,.68); max-width: 360px; margin-bottom: 10px; }
.addon-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease); }
.addon-list li div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.addon-list li strong { font-weight: 500; }
.addon-list li span { font-size: 12px; line-height: 16px; color: rgba(255,255,255,.62); }
.addon-list li b { font-weight: 500; color: var(--orange-light); white-space: nowrap; transition: scale .5s var(--ease); }
.addon-list li:hover { padding-left: 8px; }
.addon-list li:hover b { scale: 1.12; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; right: 0; top: 7px; height: 1px; background: rgba(255,255,255,.12); }
.timeline::after { content: ""; position: absolute; left: 7px; right: 0; top: 7px; height: 1px; background: var(--orange); transform: scaleX(var(--tl, 0)); transform-origin: left; }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 42px; }
.tl-dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--orange); background: var(--bg-alt); z-index: 1; transition: background .4s, box-shadow .4s; }
.timeline li.is-on .tl-dot { background: var(--orange); box-shadow: 0 0 0 6px rgba(215,68,31,.18); }
.tl-day { font-size: 12px; line-height: 16px; letter-spacing: .96px; text-transform: uppercase; font-weight: 500; color: var(--orange-2); }
.timeline p { font-size: 12px; line-height: 20px; color: rgba(255,255,255,.68); max-width: 216px; }

/* ---------- Verify ---------- */
.verify { display: grid; grid-template-columns: 600px 1fr; gap: 80px; align-items: center; }
.verify__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.verify__copy .body-lg { max-width: 500px; }
.verify-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 37px; display: flex; flex-direction: column; gap: 20px; }
.verify-card__field { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; transition: border-color .4s, box-shadow .4s; }
.verify-card__field:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(215,68,31,.15); }
.verify-card__field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; }
.verify-card__field input::placeholder { color: rgba(255,255,255,.62); }
.verify-card__result { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 12px; background: rgba(90,204,115,.08); border: 1px solid rgba(90,204,115,.3); }
.verify-card__result div { display: flex; flex-direction: column; gap: 4px; }
.verify-card__result strong { font-weight: 500; }
.verify-card__result span { font-size: 12px; line-height: 16px; color: rgba(255,255,255,.72); }
.verify-card .caption { color: rgba(255,255,255,.55); }

/* ---------- Is / Isn't ---------- */
.isnt { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.isnt__card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 37px; display: flex; flex-direction: column; gap: 24px; transition: border-color .5s; }
.isnt__card ul { display: flex; flex-direction: column; gap: 16px; }
.isnt__card li { position: relative; padding-left: 30px; color: rgba(255,255,255,.88); }
.isnt__card li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: center / contain no-repeat; }
.isnt__card--yes li::before { background-image: url("../assets/icons/check-green.svg"); }
.isnt__card--no li::before { background-image: url("../assets/icons/cross.svg"); }
.isnt__card--yes:hover { border-color: rgba(90,204,115,.4); }
.isnt__card--no:hover { border-color: rgba(215,68,31,.45); }

/* ---------- Two paths ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 41px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); overflow: hidden; isolation: isolate; transition: border-color .5s; }
.path-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--x,50%) var(--y,0%), rgba(215,68,31,.16), transparent 50%); opacity: 0; transition: opacity .5s; }
.path-card:hover { border-color: rgba(221,96,65,.45); }
.path-card:hover::before { opacity: 1; }
.path-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 40px; }
.path-card p { color: rgba(255,255,255,.72); max-width: 506px; }
.path-card__link { display: inline-flex; gap: 8px; font-weight: 500; margin-top: 4px; }
.path-card__link .arrow { color: var(--orange-2); }
.path-card:hover .path-card__link .arrow { transform: translateX(6px); }
.path-card .icon-badge { transition: rotate .7s var(--ease), scale .7s var(--ease); }
.path-card:hover .icon-badge { rotate: 8deg; scale: 1.08; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: center; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 37px; display: flex; flex-direction: column; gap: 20px; transition: transform .7s var(--ease), border-color .5s, box-shadow .7s var(--ease); }
.plan:hover { transform: translateY(-8px); border-color: rgba(221,96,65,.4); }
.plan__for { font-size: 12px; line-height: 16px; color: rgba(255,255,255,.62); margin-top: -8px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan__price strong { font-size: 60px; line-height: 64px; letter-spacing: -1.8px; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan__price span { color: rgba(255,255,255,.62); }
.plan .checks { flex: 1; margin-bottom: 18px; }
.plan--featured { background: var(--cream); color: #120805; border-color: var(--cream); padding: 37px 37px 41px; transform: none; }
.plan--featured:hover { transform: translateY(-8px); }
.plan--featured .plan__for { color: rgba(18,8,5,.6); }
.plan--featured .plan__price { border-color: rgba(18,8,5,.12); }
.plan--featured .plan__price span { color: rgba(18,8,5,.6); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plans__note { margin-top: 56px; }

/* ---------- Voting ---------- */
.voting { display: grid; grid-template-columns: 440px 1fr; gap: 80px; align-items: start; }
.voting__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; position: sticky; top: 120px; }
.voting__copy .checks { margin: 8px 0 8px; }
.proposals { display: flex; flex-direction: column; gap: 20px; }
.proposal { padding: 29px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: border-color .5s, transform .7s var(--ease); }
.proposal:hover { border-color: rgba(221,96,65,.4); transform: translateX(-6px); }
.proposal__meta { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 16px; }
.proposal__id { color: var(--orange-light); }
.proposal__time { margin-left: auto; color: rgba(255,255,255,.62); }
.proposal .tag { padding: 5px 10px; }
.bar { height: 4px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 6px; }
.bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-light)); transform: scaleX(var(--yes, 0)); transform-origin: left; }
.proposal__votes { display: flex; gap: 16px; font-size: 12px; line-height: 16px; color: rgba(255,255,255,.62); }
.proposal__votes b { color: #fff; font-weight: 500; }

/* ---------- Member levels ---------- */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.level { padding: 37px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; transition: border-color .5s, background-color .5s; }
.level .icon-badge { margin-bottom: 40px; transition: box-shadow .6s; }
.level__who { color: var(--orange-2); font-weight: 500; margin-bottom: 8px; }
.level:hover { border-color: rgba(221,96,65,.4); background-color: rgba(255,255,255,.06); }
.level:hover .icon-badge { box-shadow: 0 0 0 6px rgba(215,68,31,.12); }

/* ---------- Animation initial states ---------- */
.js [data-ph-item], .js [data-ph-visual], .js [data-ph-float] { opacity: 0; }
.js .ph__title .line__in { transform: translateY(110%); }
.js [data-msteps] .mstep, .js [data-feat] .feat, .js [data-plans] .plan, .js [data-timeline] li, .js [data-proposals] .proposal { opacity: 0; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1200px) {
  .ph__grid { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .verify { grid-template-columns: 1fr 1fr; gap: 48px; }
  .voting { grid-template-columns: 1fr 1.3fr; gap: 48px; }
}
@media (max-width: 1080px) {
  .ph { padding: 140px 0 80px; }
  .ph__grid { grid-template-columns: 1fr; gap: 56px; }
  .ph__visual { justify-self: stretch; max-width: none; aspect-ratio: 4/3; }
  .float-card--pass, .float-card--row { left: 16px; bottom: 16px; }
  .split-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .docs, .paths, .isnt { grid-template-columns: 1fr; }
  .msteps { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .timeline { grid-template-columns: 1fr; gap: 32px; padding-left: 0; }
  .timeline::before, .timeline::after { left: 7px; right: auto; top: 7px; bottom: 0; width: 1px; height: auto; }
  .timeline::after { transform: scaleY(var(--tl, 0)); transform-origin: top; }
  .timeline li { padding: 0 0 0 40px; }
  .verify, .voting { grid-template-columns: 1fr; }
  .voting__copy { position: static; }
  .levels { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 767px) {
  .ph { padding: 120px 0 64px; }
  .ph__title { font-size: 42px; line-height: 46px; letter-spacing: -1.2px; }
  .ph__copy { gap: 18px; }
  .ph .btn-row { flex-direction: column; width: 100%; }
  .ph .btn-row .btn { width: 100%; }
  .trust { gap: 12px 20px; }
  .ph__visual, .ph__visual--tall { aspect-ratio: 1; }
  .float-card--pass { width: 180px; }
  .float-card--pass .float-card__img { height: 90px; }
  .doc-card__img { height: 220px; }
  .doc-card__body { padding: 24px; }
  .msteps { grid-template-columns: 1fr; gap: 16px; }
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feat h3, .feat-grid--kit .feat h3 { font-size: 15px; line-height: 20px; }
  .mstep { padding: 24px; }
  .mstep .icon-badge { margin-bottom: 16px; }
  .mstep__n { right: 24px; top: 38px; }
  .note-bar { align-items: flex-start; font-size: 14px; }
  .feat, .feat-grid--kit .feat { padding: 16px; }
  .feat .icon-badge { margin-bottom: 12px; }
  .cream-card { padding: 28px 22px; }
  .checks--2col { grid-template-columns: 1fr; }
  .price__unit { font-size: 16px; }
  .addon-list { padding: 26px 22px; }
  .verify-card { padding: 24px 20px; }
  .isnt__card { padding: 26px 22px; }
  .path-card { padding: 28px 24px; }
  .path-card__top { margin-bottom: 20px; }
  .plan { padding: 28px 24px; }
  .plan__price strong { font-size: 48px; line-height: 52px; }
  .proposal { padding: 22px; }
  .proposal__meta { flex-wrap: wrap; }
  .level { padding: 26px 22px; }
  .level .icon-badge { margin-bottom: 20px; }
}
