/* ვერსია: 1 — ცვლილებისას გაზარდე და გვერდებზე `landing.css?v=N` განაახლე (nginx `.css`-ს ერთი წლით აქეშებს).

   სტატიკური „ლენდინგ“ გვერდების სტილი (2026-11 რედიზაინი; ნიმუში — /loyalty-platform.html). pages.css-ის შემდეგ
   იტვირთება და მის ფერებს (--accent, --surface…) იყენებს, ღია და მუქ თემაში. კლასები .lp-*: ზედა ბლოკი მაგალითით,
   ფილები, მიმაგრებული .subnav, მოდულის ბარათი (.lp-mod), სამი სვეტი, სეგმენტები, ნაბიჯები, კითხვები <details>-ით.
   ფილის ფერი მაუსის მიტანისას — nth-child-ით, ან გვერდზე style="--tile:#…". */

.wrap.lp { max-width: 1120px; }
.lp :target, .lp [id] { scroll-margin-top: 132px; }
.lp-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px;
          border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.lp-ico svg { width: 22px; height: 22px; }
.lp-tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .2px; color: var(--accent);
          background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; }
.lp-pro { display: inline-block; font-size: 11px; font-weight: 800; color: #b45309; background: rgba(245, 158, 11, .14);
          border-radius: 999px; padding: 1px 8px; vertical-align: 2px; margin-left: 4px; }
html[data-theme="dark"] .lp-pro { color: #fcd34d; }

/* ── hero ── */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 36px 0 8px; }
.lp-hero h1 { margin-top: 12px; }
.lp-hero .lead { margin-bottom: 22px; }
.lp-ctas .cta { margin-bottom: 0; }
.lp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--border); }
.lp-facts dt { font-size: 21px; font-weight: 800; color: var(--text); line-height: 1.3; font-variant-numeric: tabular-nums; }
.lp-facts dd { margin: 0; font-size: 13px; color: var(--dim); line-height: 1.4; }

.lp-demo { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 18px;
           box-shadow: 0 22px 50px -24px rgba(15, 23, 42, .35); }
.lp-demo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 800;
                color: var(--text); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.lp-demo-head span:last-child { font-weight: 600; color: var(--dim); }
.lp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; margin-right: 7px; }
.lp-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-side { border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.lp-side .lp-tag { align-self: flex-start; }
.lp-till { background: var(--accent-soft); border: 1px solid var(--border); }
.lp-phone { background: linear-gradient(150deg, #0f172a, #1e3a8a); color: #e2e8f0; }
.lp-phone .lp-tag { color: #fff; background: rgba(255, 255, 255, .16); }
.lp-small { font-size: 12.5px; color: var(--dim); line-height: 1.4; }
.lp-small b { color: var(--text); }
.lp-phone .lp-small { color: #94a3b8; }
.lp-amount { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; }
.lp-amount span { display: block; font-size: 11.5px; color: var(--dim); }
.lp-amount b { font-size: 21px; color: var(--text); font-variant-numeric: tabular-nums; }
.lp-lines { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.lp-lines li { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 3px; color: var(--muted); }
.lp-lines b { color: #16a34a; font-variant-numeric: tabular-nums; }
html[data-theme="dark"] .lp-lines b { color: #4ade80; }
.lp-btn { margin-top: auto; font: inherit; font-size: 13.5px; font-weight: 800; color: #fff; background: var(--accent); border: 0;
          border-radius: 11px; padding: 10px 12px; cursor: pointer; }
.lp-btn:hover { filter: brightness(1.08); }
.lp-btn--ghost { color: var(--accent); background: transparent; border: 1px solid var(--accent); }
.lp-balance { font-size: 13px; color: #94a3b8; }
.lp-balance b { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.lp-phone .energy-head { color: #fff; font-size: 12.5px; }
.lp-phone .energy-bar span { border-color: rgba(255, 255, 255, .22); height: 12px; }
.lp-toast { margin: auto 0 0; font-size: 12.5px; line-height: 1.45; color: #cbd5e1; }
.lp-pop { animation: lpPop .35s ease; }
@keyframes lpPop { 50% { transform: scale(1.03); } }

/* ზედა ბლოკი მაგალითის გარეშე, ან ვიდეოთი */
.lp-hero--solo { grid-template-columns: minmax(0, 1fr); }
.lp-hero--solo > div { max-width: 820px; }
.lp-hero > .pk-short { margin: 0 auto; width: min(100%, 280px); }

/* ── სექციები ── */
.lp-sec { margin: 56px 0 0; }
.lp-sec > h2 { margin-top: 0; }
.lp-sec > p, .lp-mod-intro p { max-width: 780px; }
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; align-items: start; }
.lp-split .pk-short { margin: 0 auto; width: min(100%, 260px); }

.lp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lp-tile { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; color: inherit; background: var(--surface);
           border: 1px solid var(--border); border-radius: 16px; padding: 15px; transition: border-color .15s, background .15s, transform .15s; }
.lp-tile:hover { transform: translateY(-2px); }
.lp-tile b { display: block; color: var(--text); font-size: 14.5px; line-height: 1.35; margin-bottom: 3px; }
.lp-tile span { display: block; font-size: 13px; line-height: 1.5; color: var(--dim); }
/* ხატულა ფილაში: ზედა წესი (span → block) მას არ უნდა ეხებოდეს, თორემ სურათი კუთხეში იწევს */
.lp-tile .lp-ico { display: inline-flex; width: 44px; height: 44px; color: var(--accent); }
/* მაუსის მიტანისას თითო ფილას თავისი ფერი — ხატულის შინაარსის მიხედვით */
.lp-tile { --tile: var(--accent); }
.lp-tile:nth-child(1) { --tile: #2563eb; }  /* ქულები */
.lp-tile:nth-child(2) { --tile: #16a34a; }  /* ვიზიტები */
.lp-tile:nth-child(3) { --tile: #d97706; }  /* გათამაშებები */
.lp-tile:nth-child(4) { --tile: #0284c7; }  /* ბარათი და Wallet */
.lp-tile:nth-child(5) { --tile: #4f46e5; }  /* დაცვა */
.lp-tile:nth-child(6) { --tile: #9333ea; }  /* რეპორტები */
.lp-tile:nth-child(7) { --tile: #0d9488; }  /* API და AI */
.lp-tile:nth-child(8) { --tile: #e11d48; }  /* ფასები */
.lp-tile:hover, .lp-tile:focus-visible { border-color: var(--tile); background: color-mix(in srgb, var(--tile) 7%, var(--surface)); }
.lp-tile:hover .lp-ico, .lp-tile:focus-visible .lp-ico { background: var(--tile); color: #fff; }
.lp-tile:hover b, .lp-tile:focus-visible b { color: var(--tile); }
html[data-theme="dark"] .lp-tile:hover b, html[data-theme="dark"] .lp-tile:focus-visible b { color: color-mix(in srgb, var(--tile) 55%, #fff); }

/* მიმაგრებული ქვემენიუ — ჰედერის ქვეშ (72px; ვიწროზე 64px) */
.subnav { position: sticky; top: 72px; z-index: 40; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.subnav .wrap.lp { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap.lp::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; }
.subnav a.is-here { color: var(--nav-hl); }

.lp-mod { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 30px 32px; margin: 28px 0 0;
          box-shadow: 0 16px 40px -28px rgba(15, 23, 42, .3); }
.lp-mod-head { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.lp-mod-head .lp-ico { width: 48px; height: 48px; border-radius: 14px; }
.lp-mod-head h2 { margin: 6px 0 6px; }
.lp-mod-head p { margin: 0; }
.lp-mod h3 { font-size: 16.5px; }
.lp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 6px; }
.lp-col { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; }
.lp-col h3 { margin: 0 0 8px; font-size: 13px; font-weight: 800; text-transform: none; color: var(--accent); }
.lp-col ul { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.6; }
.lp-col li { margin-bottom: 8px; }
.lp-col li:last-child { margin-bottom: 0; }
.lp-mod .grid { margin-bottom: 14px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.lp-mod .grid .card { background: var(--bg); }
.lp-mod .grid .card h3 { font-size: 15.5px; }
.lp-mod .grid .card p { font-size: 14.5px; }
.lp-more { font-size: 14.5px; font-weight: 700; }

/* ქულები: დონეების მაგალითი */
.lp-tiers { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: var(--bg); border: 1px solid var(--border);
            border-radius: 16px; padding: 14px 16px; margin: 0 0 16px; }
.lp-tier-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-tier-btn { font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); background: transparent; border: 1px solid var(--border);
               border-radius: 999px; padding: 6px 13px; cursor: pointer; }
.lp-tier-btn.is-active { color: #fff; background: var(--tier, var(--accent)); border-color: var(--tier, var(--accent)); }
.lp-tier-out { flex: 1 1 260px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.lp-tier-out b { color: var(--text); }

/* ვიზიტები: ენერგიის ბარათი (სტილი pages.css-ის .energy-*) */
.lp-energy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-bottom: 18px; }
.lp-energy .energy-bar span { height: 20px; }
.lp-energy-btns { display: flex; gap: 8px; }

/* რეპორტები: სეგმენტები */
.lp-segs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.lp-seg { border-radius: 14px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--seg) 35%, transparent);
          background: color-mix(in srgb, var(--seg) 9%, transparent); }
.lp-seg b { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text); line-height: 1.35; }
.lp-seg b::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--seg); }
.lp-seg span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--dim); }

/* მუშაობის ორი გზა */
.lp-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 8px; }

/* დაწყება: ნაბიჯები */
.lp-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; counter-reset: step; }
.lp-steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin: 0;
               font-size: 14.5px; line-height: 1.55; }
.lp-steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px;
                       border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.lp-steps strong { display: block; margin-bottom: 2px; }

/* კითხვები */
.lp-faq { max-width: 820px; margin-left: auto; margin-right: auto; }
/* ბოლო ნაწილი ფუტერს არ უნდა ეკვროდეს */
main.lp { padding-bottom: 64px; }
.lp-faq > h2 { text-align: center; }
.lp-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 20px; margin: 0 0 10px; }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 16px 0; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary h3 { margin: 0; font-size: 16px; }
.lp-faq summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim);
                         transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.lp-faq details p { margin: 0 0 14px; }

@media (max-width: 980px) {
  .lp-hero, .lp-split { grid-template-columns: minmax(0, 1fr); }
  .lp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-cols { grid-template-columns: minmax(0, 1fr); }
  .lp-segs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .subnav { top: 64px; }
  .lp :target, .lp [id] { scroll-margin-top: 124px; }
  .lp-mod { padding: 20px 18px; border-radius: 20px; }
  .lp-mod-head { flex-direction: column; gap: 10px; }
  .lp-ways { grid-template-columns: minmax(0, 1fr); }
  .lp-energy { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .lp-demo-grid, .lp-tiles { grid-template-columns: minmax(0, 1fr); }
  .lp-facts dt { font-size: 18px; }
  .lp-segs { grid-template-columns: minmax(0, 1fr); }
}
/* დარიცხვის მაგალითი (landing.js, [data-lp-calc]) */
.lp-calc-row { display: grid; gap: 6px; margin: 0 0 12px; }
.lp-calc-row > span { font-size: 12.5px; color: var(--dim); }
.lp-calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.lp-calc-out > div { background: var(--accent-soft); border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; }
.lp-calc-out span { display: block; font-size: 12.5px; color: var(--dim); }
.lp-calc-out b { font-size: 24px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }

/* ჩამონათვალი ბარათებად: <ul class="lp-list"><li><strong>სათაური</strong> — ტექსტი</li> */
.lp-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 0 0 16px; }
.lp-list li { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; margin: 0; font-size: 14.5px; line-height: 1.6; }
.lp-list li strong { color: var(--accent); }

/* ენერგიის ბარათი ზედა ბლოკში */
.lp-demo .energy-card { margin: 0 0 12px; }
.lp-demo .lp-energy-btns { display: flex; gap: 8px; }

/* ბარათები მაუსის მიტანისას ოდნავ ამოიწევს */
.lp .card, .lp-col, .lp-seg, .lp-steps li, .lp-list li { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lp .card:hover, .lp-col:hover, .lp-steps li:hover, .lp-list li:hover {
  transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(15, 23, 42, .4);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.lp-seg:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -20px var(--seg); border-color: var(--seg); }
.lp-faq details { transition: border-color .2s ease; }
.lp-faq details:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
@media (prefers-reduced-motion: reduce) {
  .lp-tile, .lp-pop, .lp .card, .lp-col, .lp-seg, .lp-steps li, .lp-list li { transition: none; animation: none; }
  .lp-tile:hover, .lp .card:hover, .lp-col:hover, .lp-seg:hover, .lp-steps li:hover, .lp-list li:hover { transform: none; }
}
