/* UMT-ის ლენდინგის სტილი. ფერები gui/tokens.py-ის იგივე ტოკენებია (მუქი და ღია თემა), ამიტომ საიტი აპს ემთხვევა. */
:root {
  --accent: #7c3aed; --accent-hi: #8b5cf6; --accent-lo: #6d28d9; --accent-light: #a855f7; --accent-deep: #5b21b6;
  --green: #16a34a; --green-hi: #15803d; --red: #ef4444;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
:root, [data-theme="dark"] {
  --bg: #0f0d17; --surface: #191525; --surface-2: #1e1a2b; --control: #221c2e; --border: #262133; --border-strong: #3a3350;
  --text: #f2f0f7; --muted: #918ca4; --side: #120f1c; --side-border: #1a1626; --side-text: #f2f0f7; --side-muted: #918ca4;
  --wash: rgba(124, 58, 237, .16); --glow: rgba(168, 85, 247, .35); --shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
[data-theme="light"] {
  --bg: #e9e8f0; --surface: #fcfcfe; --surface-2: #f6f5fb; --control: #f3f2f8; --border: #dcd8e6; --border-strong: #c6c0d6;
  --text: #211d2e; --muted: #6b6580; --side: #1c1830; --side-border: #251f3a; --side-text: #f2f0f7; --side-muted: #9d97b0;
  --wash: rgba(124, 58, 237, .10); --glow: rgba(124, 58, 237, .22); --shadow: 0 24px 60px rgba(40, 20, 90, .18);
  --accent-hi: #6d28d9; --accent-lo: #5b21b6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease), color .4s var(--ease); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ფონის რბილი ნათება (როგორც აპის AmbientBgFrame) */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .35; animation: drift 26s var(--ease) infinite alternate; }
.ambient i:nth-child(1) { background: #7c3aed; top: -30vmax; left: -15vmax; }
.ambient i:nth-child(2) { background: #a855f7; bottom: -35vmax; right: -20vmax; animation-delay: -9s; opacity: .22; }
.ambient i:nth-child(3) { background: #14b8a6; top: 40%; left: 55%; width: 30vmax; height: 30vmax; opacity: .10; animation-delay: -15s; }
[data-theme="light"] .ambient i { opacity: .16; }
@keyframes drift { to { transform: translate(6vmax, 4vmax) scale(1.08); } }

/* ნავიგაცია */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; font: 600 17px var(--display); white-space: nowrap; }
.brand b, .grad { background: linear-gradient(90deg, var(--accent-light), #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--muted); font-weight: 500; transition: color .2s; }
.links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 38px; height: 38px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, transform .2s; }
.icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.sun { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset -5px -3px 0 0 var(--accent-light); transition: box-shadow .4s var(--ease); }
[data-theme="light"] .sun { box-shadow: inset 0 0 0 8px #f59e0b; }

/* ღილაკები -- აპის QSS-ის ანალოგი */
.btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: var(--r-md); font-weight: 600; border: 1px solid transparent; cursor: pointer; font-family: inherit; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; justify-content: center; }
.btn.primary { background: var(--green); color: #fff; box-shadow: 0 10px 30px rgba(22, 163, 74, .3); }
.btn.primary:hover { background: var(--green-hi); }
.btn.accent { background: var(--accent); color: #fff; }
.btn.accent:hover { background: var(--accent-hi); box-shadow: 0 10px 28px var(--glow); }
.btn.upgrade { background: linear-gradient(90deg, #a855f7, #7c3aed); color: #fff; box-shadow: 0 8px 24px var(--glow); }
.btn.ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.outline { background: transparent; border-color: var(--accent); color: var(--accent-light); }
[data-theme="light"] .btn.outline { color: var(--accent); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.ic { width: 18px; height: 18px; display: inline-grid; flex: none; }
.ic svg { width: 100%; height: 100%; }

/* გმირის ბლოკი */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; max-width: 1200px; margin: 0 auto; padding: clamp(40px, 8vw, 110px) clamp(16px, 4vw, 48px) 40px; }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--wash); color: var(--accent-light); font-size: 13px; font-weight: 600; }
[data-theme="light"] .eyebrow { color: var(--accent); }
h1 { font: 700 clamp(40px, 6.4vw, 76px)/1.03 var(--display); letter-spacing: -.03em; margin: 18px 0 16px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.fine { color: var(--muted); font-size: 13px; }
.hero-logo { position: relative; display: grid; place-items: center; }
.hero-logo img { width: min(360px, 70vw); height: auto; filter: drop-shadow(0 20px 50px var(--glow)); animation: float 7s ease-in-out infinite; }
.halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); animation: pulse 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .7; } }

/* სექციები */
.section { max-width: 1200px; margin: 0 auto; padding: 70px clamp(16px, 4vw, 48px); }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { font: 700 clamp(28px, 3.6vw, 42px)/1.15 var(--display); letter-spacing: -.02em; margin: 0 0 10px; }
.sec-head p { color: var(--muted); margin: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--border)); }

/* აპის ფანჯარა */
.window { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .03); background: var(--bg); }
.titlebar { height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: var(--side); color: var(--side-muted); font-size: 12.5px; }
.tl { display: flex; align-items: center; gap: 8px; }
.ctl { display: flex; gap: 18px; }
.ctl i { width: 11px; height: 11px; border: 1.5px solid var(--side-muted); border-radius: 2px; opacity: .7; }
.ctl i:first-child { border-width: 0 0 1.5px; border-radius: 0; height: 6px; }
.win-body { display: grid; grid-template-columns: 232px 1fr; height: 640px; }
.sidebar { background: var(--side); border-right: 1px solid var(--side-border); display: flex; flex-direction: column; padding: 16px 12px; color: var(--side-text); }
.side-logo { display: grid; place-items: center; padding: 6px 0 16px; }
.side-nav { position: relative; flex: 1; display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.nav-item { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border: 0; border-radius: var(--r-md); background: transparent; color: var(--side-muted); font: 500 14px var(--font); cursor: pointer; text-align: left; transition: color .25s, background .25s; }
.nav-item:hover { background: rgba(255, 255, 255, .05); color: var(--side-text); }
.nav-item[aria-selected="true"] { color: #fff; background: linear-gradient(90deg, rgba(124, 58, 237, .28), rgba(124, 58, 237, 0)); }
.nav-item:focus-visible { outline: 2px solid var(--accent-light); outline-offset: -2px; }
.indicator { position: absolute; left: 0; width: 3px; height: 26px; border-radius: 3px; background: #a855f7; box-shadow: 0 0 12px #a855f7, 0 0 24px rgba(168, 85, 247, .6); transition: transform .45s var(--ease); z-index: 2; }
.side-foot { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--side-border); }
.plan-line { font-size: 12px; color: var(--side-muted); text-align: center; }

.pages { position: relative; overflow: hidden; }
.page { position: absolute; inset: 0; padding: 26px 30px; overflow: auto; opacity: 0; transform: translateX(18px); pointer-events: none; transition: opacity .38s var(--ease), transform .45s var(--ease); }
.page.on { opacity: 1; transform: none; pointer-events: auto; }
.page.out { opacity: 0; transform: translateX(-18px); }
.ptitle { font: 700 26px var(--display); margin: 0 0 4px; }
.psub { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; }
.panel h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.field { height: 40px; border-radius: var(--r-md); background: var(--control); border: 1px solid var(--border); display: flex; align-items: center; padding: 0 12px; color: var(--muted); font-size: 13.5px; gap: 8px; }
.field.on { border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 3px var(--wash); }
.label { font-size: 12.5px; color: var(--muted); margin: 10px 0 6px; }
.row { display: flex; gap: 10px; align-items: center; }
.row > .grow { flex: 1; }
.drop { border: 1.5px dashed var(--border-strong); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px; color: var(--muted); font-size: 13.5px; transition: border-color .3s, background .3s; }
.drop:hover { border-color: var(--accent); background: var(--wash); }
.drop .ic { width: 30px; height: 30px; color: var(--accent-light); }
.drop b { color: var(--text); display: block; }
.qcard { display: flex; gap: 12px; align-items: flex-start; padding: 16px; }
.badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--wash); color: var(--accent-light); flex: none; }
.badge .ic { width: 20px; height: 20px; }
.qcard b { display: block; font-size: 14px; }
.qcard span { color: var(--muted); font-size: 12.5px; }
.preview { display: flex; gap: 14px; align-items: center; padding: 12px; }
.thumb { width: 150px; aspect-ratio: 16/9; border-radius: 10px; background: linear-gradient(135deg, #4c1d95, #7c3aed 50%, #14b8a6); position: relative; flex: none; }
.thumb::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; opacity: .9; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--wash); color: var(--accent-light); }
.radio { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; margin-right: 16px; }
.radio i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border-strong); }
.radio.on i { border: 5px solid var(--accent); }
.timeline { height: 6px; border-radius: 6px; background: var(--control); position: relative; margin: 18px 6px 8px; }
.timeline span { position: absolute; left: 22%; right: 38%; top: 0; bottom: 0; border-radius: 6px; background: var(--accent); }
.timeline i { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); transform: translate(-50%, -50%); }
.editor { min-height: 140px; border-radius: var(--r-md); background: var(--control); border: 1px solid var(--border); padding: 14px; font-size: 13.5px; line-height: 1.7; }
.editor .draft { color: var(--muted); }
.caret { display: inline-block; width: 2px; height: 16px; background: var(--accent-light); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #a855f7, #7c3aed); color: #fff; position: relative; flex: none; }
.mic::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--accent-light); animation: ring 1.8s ease-out infinite; }
.mic .ic { width: 26px; height: 26px; }
@keyframes ring { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.notice { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: var(--r-md); background: var(--wash); color: var(--text); font-size: 12.5px; margin-bottom: 14px; }
.slider { height: 4px; background: var(--control); border-radius: 4px; position: relative; margin: 14px 0; }
.slider i { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); }
.bars { display: flex; gap: 3px; align-items: center; height: 28px; }
.bars i { width: 3px; border-radius: 2px; background: var(--accent-light); animation: eq 1.1s ease-in-out infinite; }
@keyframes eq { 50% { transform: scaleY(.3); } }
.progress { height: 6px; border-radius: 6px; background: var(--control); overflow: hidden; margin-top: 14px; }
.progress span { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--accent), #a855f7); animation: load 3.2s var(--ease) infinite; }
@keyframes load { from { width: 8%; } to { width: 92%; } }
.result { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid color-mix(in srgb, var(--green) 50%, var(--border)); background: color-mix(in srgb, var(--green) 10%, var(--surface)); font-size: 13.5px; margin-top: 14px; }
.ok { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.switch { width: 38px; height: 22px; border-radius: 22px; background: var(--accent); position: relative; }
.switch::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.list-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.list-row:last-child { border: 0; }

/* ფუნქციები */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { cursor: pointer; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px var(--glow); }
.feat h3 { margin: 14px 0 6px; font-size: 16px; }
.feat p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ფასები */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 26px; }
.tier.rec { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 60px var(--glow); }
.tier .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #a855f7, #7c3aed); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; letter-spacing: .04em; }
.tier h3 { margin: 0; font: 700 20px var(--display); }
.price { font: 700 44px var(--display); margin: 10px 0 0; letter-spacing: -.02em; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.tier .note { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.tier .trial { color: var(--muted); font-size: 12px; text-align: center; margin: 8px 0 0; }
.lim { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.lim li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.lim li b { font-weight: 600; }
.lim li .no { color: var(--muted); }
.tier.rec .lim li b, .tier.plus .lim li b { color: #22c55e; }
[data-theme="light"] .tier.rec .lim li b, [data-theme="light"] .tier.plus .lim li b { color: #15803d; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step .num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; }
.step h3 { margin: 14px 0 6px; } .step p { margin: 0; color: var(--muted); font-size: 14px; }

.foot { max-width: 1200px; margin: 0 auto; padding: 30px clamp(16px, 4vw, 48px) 46px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; background: var(--surface); border: 1px solid var(--accent); color: var(--text); padding: 12px 18px; border-radius: var(--r-md); box-shadow: var(--shadow); transition: all .4s var(--ease); z-index: 50; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* გამოჩენის ანიმაცია */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ვიწრო ეკრანები */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; text-align: center; } .lead { margin: 0 auto; } .cta { justify-content: center; }
  .hero-logo { order: -1; } .hero-logo img { width: 220px; }
  .feat-grid { grid-template-columns: 1fr 1fr; } .tiers, .steps { grid-template-columns: 1fr; }
  .win-body { grid-template-columns: 70px 1fr; } .nav-item span.t, .side-foot, .side-logo { display: none; }
  .nav-item { justify-content: center; padding: 0; }
  .g3, .g4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .links { display: none; } .nav { gap: 10px; } .brand span { display: none; }
  .feat-grid, .g2, .g3, .g4 { grid-template-columns: 1fr; } .win-body { height: 600px; } .page { padding: 18px; }
  .thumb { width: 96px; } .foot { flex-direction: column; gap: 10px; }
}
.pay-methods { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }

/* იურიდიული გვერდები (terms / privacy / refund) და ფუტერის ბმულები */
.foot-links { display: flex; gap: 18px; } .foot-links a { color: var(--muted); } .foot-links a:hover { color: var(--text); }
.legal { max-width: 820px; line-height: 1.65; }
.legal .back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--text); }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 6px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--muted); } .legal b { color: var(--text); }
.legal ul { padding-left: 20px; } .legal li { margin: 6px 0; }
.legal code { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); }
.legal-links { margin-top: 40px; }
