/* =====================================================================================
   Netsheipas v2 – „Factory Night“: tamsi pramoninė scena + šviesus skaitomas turinys.
   Vienas akcentas (signalinė oranžinė), tikslios linijos, gylis per šviesą, judesys su prasme.
   ===================================================================================== */

:root {
	--night: #0A0B0D;
	--night-2: #111317;
	--night-3: #181B20;
	--night-line: rgba(255, 255, 255, .08);
	--night-line-2: rgba(255, 255, 255, .14);
	--on-night: #F2F1ED;
	--on-night-2: #A8ACB4;
	--on-night-3: #6E737C;
	--glow: radial-gradient(60% 60% at 50% 50%, rgba(255, 79, 0, .28) 0%, rgba(255, 79, 0, .08) 40%, transparent 70%);
	--hdr: 72px;
}

/* ---------- Bendri patobulinimai ---------- */
body { background: #F4F3EF; }
.btn { border-radius: 999px; padding: 0 22px; transition: transform .2s var(--ease), background .2s, box-shadow .25s, border-color .2s; }
.btn--lg { padding: 0 30px; min-height: 58px; font-size: 16.5px; }
.btn--sm { border-radius: 999px; }
.btn--accent, .btn--glow { --b: var(--accent); --c: #fff; box-shadow: 0 10px 30px -10px rgba(255, 79, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--accent:hover, .btn--glow:hover { background: #FF6420; border-color: #FF6420; transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(255, 79, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--glass { --b: rgba(255, 255, 255, .08); --c: #fff; border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); }
.card { border-radius: 18px; }
h1, h2 { letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1.04; }
.eyebrow { color: var(--accent-ink); }
.eyebrow::before { width: 18px; height: 2px; border-radius: 2px; }
.sec { position: relative; }
.grad-text { background: linear-gradient(92deg, #fff 0%, #FFD7C2 45%, #FF7A3D 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Atsiradimas slenkant */
[data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-rv].is-in { opacity: 1; transform: none; }
html:not(.js) [data-rv] { opacity: 1; transform: none; }

/* ---------- Naktinis paviršius ---------- */
.night { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; isolation: isolate; }
.night .eyebrow { color: #FF8A52; }
.night p, .night .lead { color: var(--on-night-2); }
.night h1, .night h2, .night h3, .night h4 { color: #fff; }
.night .card { background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); border: 1px solid var(--night-line); color: var(--on-night); }
.night .card p { color: var(--on-night-2); }
.night .chip { background: rgba(255, 255, 255, .05); border-color: var(--night-line-2); color: var(--on-night); }
.night .chip:hover { border-color: rgba(255, 255, 255, .4); }
.night .chip[aria-pressed="true"] { background: #fff; color: var(--night); border-color: #fff; }
.night .muted { color: var(--on-night-3); }
.night .sec__head p { color: var(--on-night-2); }
.night-grid::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 25%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 25%, transparent 80%); }

/* ---------- Antraštė ---------- */
.topbar { background: var(--night); color: var(--on-night-3); font-size: 12.5px; border-bottom: 1px solid var(--night-line); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 16px; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: #FF8A52; }
.topbar a { color: var(--on-night-2); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__l { display: flex; gap: 22px; }
@media (max-width: 1040px) { .topbar { display: none; } }
.hdr { background: rgba(10, 11, 13, .78); border-bottom: 1px solid var(--night-line); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); }
.hdr.is-scrolled { background: rgba(10, 11, 13, .92); border-bottom-color: var(--night-line); }
.logo img { height: 36px; }
.nav__a { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.nav__a:hover, .nav > li:focus-within > .nav__a, .nav > li.is-open > .nav__a { background: rgba(255, 255, 255, .07); color: #fff; }
.nav__a[aria-current="page"] { color: #fff; }
.hdr .iconbtn { color: rgba(255, 255, 255, .8); }
.hdr .iconbtn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hdr__cta { --b: var(--accent); }
.hdr__cta:hover { background: #FF6420; border-color: #FF6420; }
.mega { background: rgba(17, 19, 23, .97); border: 1px solid var(--night-line-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); backdrop-filter: blur(20px); color: var(--on-night); }
.mega a:hover { background: rgba(255, 255, 255, .06); }
.mega small { color: var(--on-night-3); }
.mega .tag { background: rgba(255, 79, 0, .14); color: #FF8A52; }
.mega__foot { border-top-color: var(--night-line); }
.mega__foot .arrow, .mega__foot .link { color: #fff; }
.mega__group h6 { color: var(--on-night-3); }
.mega--tech { width: min(880px, 86vw); grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px; }
.mega--tech a.mt { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--night-line); background: rgba(255, 255, 255, .02); }
.mega--tech a.mt:hover { border-color: rgba(255, 79, 0, .5); background: rgba(255, 79, 0, .06); }
.mega--tech .mt__img { aspect-ratio: 4 / 3; border-radius: 10px; background: radial-gradient(70% 70% at 50% 60%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .72)); display: grid; place-items: center; overflow: hidden; }
.mega--tech .mt__img img { width: 80%; height: 80%; object-fit: contain; }
.mega--tech b { font-size: 14px; }
.mega--tech small { font-size: 12.5px; }

/* Mobilus meniu ir juosta */
.mnav { background: var(--night); color: var(--on-night); }
.mnav__top { border-bottom-color: var(--night-line); }
.mnav__top .iconbtn { color: #fff; }
.mnav__body a { border-bottom-color: var(--night-line); color: #fff; }
.mnav__body a small { color: var(--on-night-3); }
.mnav__body h6 { color: #FF8A52; }
@media (max-width: 1040px) {
	:root { --hdr: 60px; }
	.tabbar { background: rgba(10, 11, 13, .92); border-top-color: var(--night-line); }
	.tabbar a, .tabbar button { color: rgba(255, 255, 255, .55); }
	.tabbar [aria-current="page"] { color: #fff; }
	.tabbar .tab-up { color: #fff; }
	.tabbar .tab-up span.ic { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -6px rgba(255, 79, 0, .8); }
	.tabbar .tab-up span.ic svg { color: #fff; }
}

/* ---------- Herojus v2 ---------- */
.hx { min-height: calc(100vh - var(--hdr) - 34px); min-height: calc(100svh - var(--hdr) - 34px); display: flex; align-items: center; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 7vw, 100px); }
.hx .wrap { width: 100%; }
.hx__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hx__glow { position: absolute; z-index: -1; width: 1100px; height: 1100px; right: -280px; top: 50%; transform: translateY(-50%); background: var(--glow); filter: blur(10px); pointer-events: none; animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .7; transform: translateY(-50%) scale(.94); } }
.hx h1 { font-size: clamp(42px, 6.4vw, 94px); line-height: .98; letter-spacing: -.05em; font-weight: 650; margin: 0 0 24px; }
.hx h1 .l2 { display: block; }
.hx__sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--on-night-2); max-width: 540px; margin: 0 0 30px; }
.hx__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.hx__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--on-night-3); }
.hx__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hx__trust svg { width: 16px; height: 16px; color: #4ADE80; }
.hx__formats { display: inline-flex; gap: 6px; margin-bottom: 22px; }
.hx__formats span { font: 600 11.5px/1 var(--mono); letter-spacing: .06em; padding: 7px 9px; border-radius: 7px; border: 1px solid var(--night-line-2); color: var(--on-night-2); }

/* 3D scena su kainos demonstracija */
.stage { position: relative; aspect-ratio: 1 / .92; border-radius: 28px; border: 1px solid var(--night-line); background: radial-gradient(80% 70% at 50% 42%, #1E2228 0%, #121418 55%, #0C0D10 100%); overflow: hidden; box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; }
.stage canvas:active { cursor: grabbing; }
.stage__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 34px 34px; transform: perspective(500px) rotateX(62deg); transform-origin: bottom; mask-image: linear-gradient(to top, #000 10%, transparent 90%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); pointer-events: none; }
.stage__poster { position: absolute; inset: 10% 10% 26%; display: grid; place-items: center; transition: opacity .6s; }
.stage__poster img { width: 80%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.stage.is-3d .stage__poster { opacity: 0; }
.stage__hud { position: absolute; left: 18px; top: 18px; display: grid; gap: 4px; font: 500 11.5px/1.5 var(--mono); color: var(--on-night-2); letter-spacing: .04em; }
.stage__hud b { color: #fff; font-weight: 600; }
.stage__live { position: absolute; right: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--night-line-2); font-size: 12px; font-weight: 600; color: #fff; }
.stage__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); animation: pulse 1.6s infinite; }
.dim { position: absolute; pointer-events: none; font: 600 11px/1 var(--mono); color: #FFB089; letter-spacing: .05em; }
.dim--x { left: 22%; right: 22%; bottom: 31%; border-bottom: 1px dashed rgba(255, 138, 82, .55); text-align: center; padding-bottom: 6px; }
.dim--y { right: 15%; top: 26%; bottom: 36%; border-right: 1px dashed rgba(255, 138, 82, .55); writing-mode: vertical-rl; display: flex; align-items: center; padding-right: 6px; }
.quote { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(14, 15, 18, .78); border: 1px solid var(--night-line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; }
.quote__mats { display: flex; gap: 6px; flex-wrap: wrap; }
.quote__mats button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 7px; border-radius: 999px; border: 1px solid var(--night-line-2); background: rgba(255, 255, 255, .04); color: var(--on-night-2); font-size: 12.5px; font-weight: 600; }
.quote__mats button i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.quote__mats button[aria-pressed="true"] { color: #fff; border-color: var(--accent); background: rgba(255, 79, 0, .14); }
.quote__qty { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--on-night-2); }
.quote__qty input[type=range] { width: 140px; accent-color: var(--accent); }
.quote__qty b { color: #fff; font-variant-numeric: tabular-nums; min-width: 44px; }
.quote__price { text-align: right; grid-row: span 2; }
.quote__price b { display: block; font-size: 30px; font-weight: 650; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.quote__price small { font-size: 11.5px; color: var(--on-night-3); }
.quote__price em { display: block; font-style: normal; font-size: 12px; color: #4ADE80; margin-top: 5px; }
@media (max-width: 1100px) { .hx__grid { grid-template-columns: minmax(0, 1fr); } .stage { max-width: 680px; } }
@media (max-width: 640px) {
	.hx { min-height: 0; padding: 26px 0 44px; }
	.hx h1 { font-size: 42px; }
	.stage { aspect-ratio: 1 / 1.05; border-radius: 22px; }
	.quote { grid-template-columns: 1fr; }
	.quote__price { text-align: left; grid-row: auto; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
	.dim { display: none; }
}

/* Faktų juosta */
.ticker { border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); background: var(--night); }
.ticker__in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ticker__in > div { padding: 26px 22px; border-right: 1px solid var(--night-line); }
.ticker__in > div:last-child { border-right: 0; }
.ticker b { display: block; font-size: clamp(26px, 2.6vw, 38px); font-weight: 650; letter-spacing: -.04em; color: #fff; }
.ticker span { font-size: 13px; color: var(--on-night-3); }
@media (max-width: 900px) { .ticker__in { grid-template-columns: 1fr 1fr; } .ticker__in > div { border-bottom: 1px solid var(--night-line); } .ticker__in > div:last-child { grid-column: 1 / -1; } }

/* Eiga (pipeline) */
.pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.pipe::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; background: linear-gradient(90deg, var(--line), var(--line)); }
.pipe::after { content: ""; position: absolute; left: 6%; top: 34px; height: 2px; width: calc(88% * var(--p, 0)); background: linear-gradient(90deg, var(--accent), #FFB089); transition: width 1.6s var(--ease); }
.pipe.is-in { --p: 1; }
.pipe__s { position: relative; z-index: 1; }
.pipe__n { width: 68px; height: 68px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 20px; box-shadow: var(--sh2); }
.pipe__n svg { width: 28px; height: 28px; }
.pipe__s:first-child .pipe__n { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 14px 30px -12px rgba(255, 79, 0, .7); }
.pipe__s small { font: 600 11.5px/1 var(--mono); color: var(--accent-ink); letter-spacing: .08em; }
.pipe__s h3 { font-size: 21px; margin: 8px 0 8px; }
.pipe__s p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .pipe { grid-template-columns: 1fr 1fr; } .pipe::before, .pipe::after { display: none; } }

/* Technologijų „bento“ */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.bento > * { grid-column: span 3; }
.tb2 { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: 22px; border-radius: 22px; text-decoration: none; overflow: hidden; background: linear-gradient(180deg, #16181C, #0E0F12); border: 1px solid var(--night-line); color: #fff; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.tb2:hover { transform: translateY(-4px); border-color: rgba(255, 79, 0, .5); box-shadow: 0 30px 70px -30px rgba(255, 79, 0, .45); }
.tb2__img { position: absolute; inset: 70px 12px 150px; display: grid; place-items: center; }
.tb2__img::before { content: ""; position: absolute; inset: 10%; background: radial-gradient(closest-side, rgba(255, 255, 255, .12), transparent); }
.tb2__img img { position: relative; width: 82%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6)); transition: transform .6s var(--ease); }
.tb2:hover .tb2__img img { transform: scale(1.06) rotate(-2deg); }
.tb2__top { display: flex; justify-content: space-between; align-items: center; }
.tb2__abbr { font: 700 13px/1 var(--mono); letter-spacing: .1em; color: #FF8A52; }
.tb2__lead { font: 500 11.5px/1 var(--mono); color: var(--on-night-3); }
.tb2__b { margin-top: auto; }
.tb2 h3 { font-size: 22px; margin-bottom: 6px; color: #fff; }
.tb2 p { font-size: 14px; color: var(--on-night-2); margin: 0 0 14px; }
.tb2__m { display: flex; gap: 6px; flex-wrap: wrap; }
.tb2__m span { font: 600 11px/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--on-night-2); }
@media (max-width: 1100px) { .bento > * { grid-column: span 6; } }
@media (max-width: 640px) { .bento > * { grid-column: span 12; } .tb2 { min-height: 380px; } }

/* Medžiagų karuselė */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 20px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail .mcard { height: 100%; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.rail-nav button:hover { border-color: var(--ink); }

/* DI asistento demonstracija */
.ai-demo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.chatbox { border-radius: 24px; background: #121418; border: 1px solid var(--night-line-2); padding: 18px; display: grid; gap: 12px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8); }
.chatbox .msg--me { background: var(--accent); }
.chatbox .msg--bot { background: rgba(255, 255, 255, .06); color: var(--on-night); }
.chatbox .msg--bot .links a { background: rgba(255, 255, 255, .06); border-color: var(--night-line-2); color: #fff; }
.chatbox__in { display: flex; gap: 8px; margin-top: 6px; }
.chatbox__in input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 1px solid var(--night-line-2); background: rgba(255, 255, 255, .04); color: #fff; padding: 0 18px; }
.chatbox__in input::placeholder { color: var(--on-night-3); }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--night-line-2); font-size: 12.5px; font-weight: 600; color: #fff; margin-bottom: 18px; }
.ai-badge i { width: 24px; height: 24px; border-radius: 50%; background: conic-gradient(from 200deg, #FF4F00, #FFB089, #FF4F00); display: grid; place-items: center; font-style: normal; }
@media (max-width: 900px) { .ai-demo { grid-template-columns: minmax(0, 1fr); } }

/* Galerija (tamsi) */
.night .gallery figure { background: radial-gradient(70% 70% at 50% 55%, #F5F4F0, #E6E4DE); border-color: transparent; }

/* Galutinis kvietimas + poraštė */
.fcta { position: relative; padding: clamp(70px, 10vw, 140px) 0; text-align: center; }
.fcta h2 { font-size: clamp(36px, 6vw, 84px); margin: 0 auto 18px; max-width: 900px; }
.fcta p { max-width: 560px; margin: 0 auto 32px; font-size: 18px; }
.fcta .hx__glow { right: 50%; transform: translate(50%, -50%); width: 900px; height: 900px; }
.fcta .drop { max-width: 640px; margin: 0 auto; }
.ftr { background: var(--night); color: var(--on-night-2); border-top: 1px solid var(--night-line); padding-top: 72px; }
.ftr h6 { color: var(--on-night-3); }
.ftr a { color: var(--on-night-2); }
.ftr a:hover { color: #fff; }
.ftr__brand p { color: var(--on-night-3); }
.ftr__legal { border-top-color: var(--night-line); color: var(--on-night-3); }
.ftr__legal a { color: var(--on-night-3); }
.ftr__word { margin-top: 56px; font-weight: 800; font-size: clamp(56px, 15vw, 230px); line-height: .8; letter-spacing: -.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); user-select: none; white-space: nowrap; overflow: hidden; }
.ftr__contact { display: grid; gap: 8px; }
.ftr__contact a.big { font-size: 22px; font-weight: 600; color: #fff; letter-spacing: -.02em; }

/* ---------- Vidinių puslapių antraštė – tamsi ---------- */
.phead { background: var(--night); color: var(--on-night); border-bottom: 0; position: relative; overflow: hidden; isolation: isolate; padding: clamp(36px, 5vw, 76px) 0 clamp(40px, 5vw, 76px); }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 20%, transparent 75%); }
.phead::after { content: ""; position: absolute; z-index: -1; width: 800px; height: 800px; right: -200px; top: -200px; background: var(--glow); opacity: .7; }
.phead h1 { color: #fff; }
.phead .lead { color: var(--on-night-2); }
.phead .answer { color: var(--on-night-2); border-left-color: var(--accent); }
.phead .answer b { color: #fff; }
.phead .crumbs, .phead .crumbs a { color: var(--on-night-3); }
.phead .crumbs a:hover { color: #fff; }
.phead .eyebrow { color: #FF8A52; }
.phead__media { background: radial-gradient(75% 75% at 50% 50%, #F7F6F2, #DEDBD3); border: 0; border-radius: 26px; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8); }
.phead .btn--ghost { --c: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); }
.phead .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.phead .btn:not(.btn--ghost) { --b: var(--accent); }
.phead .muted, .phead p.muted { color: var(--on-night-3); }
.phead .flow span { background: rgba(255, 255, 255, .05); border-color: var(--night-line-2); color: var(--on-night-2); }
.phead .flow span.is-on { border-color: var(--accent); color: #fff; }
.phead .priv { color: var(--on-night-3); }
.phead .drop { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .2); color: #fff; }
.phead .drop__f, .phead .drop__or, .phead .drop__fine { color: var(--on-night-3); }
.phead .drop__ic { background: var(--accent); color: #fff; }

/* Įkėlimo zona tamsiame fone */
.night .drop { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .18); color: #fff; }
.night .drop:hover { border-color: rgba(255, 255, 255, .4); }
.night .drop.is-over { background: rgba(255, 79, 0, .08); border-color: var(--accent); }
.night .drop__ic { background: var(--accent); color: #fff; }
.night .drop__f, .night .drop__or, .night .drop__fine { color: var(--on-night-3); }
.night .drop .btn { --b: #fff; --c: var(--night); }

/* ---------- DI asistento mygtukas ir langas ---------- */
.aifab { position: fixed; z-index: 80; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(14, 15, 18, .92); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .6); backdrop-filter: blur(14px); transition: transform .25s var(--ease); }
.aifab:hover { transform: translateY(-2px); }
.aifab i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 200deg, #FF4F00, #FFB089, #FF4F00); font-style: normal; }
.aifab i svg { width: 20px; height: 20px; color: #fff; }
@media (max-width: 1040px) { .aifab { bottom: calc(86px + env(safe-area-inset-bottom)); right: 14px; height: 48px; padding: 0 6px; } .aifab span { display: none; } }
html.app-open .aifab { display: none; }
.drawer--ai { width: min(480px, 100%); background: #0F1114; color: var(--on-night); border-left: 1px solid var(--night-line); }
.drawer--ai .drawer__head { border-bottom-color: var(--night-line); }
.drawer--ai .drawer__head h3 { color: #fff; display: flex; align-items: center; gap: 10px; }
.drawer--ai .drawer__head small { display: block; font-size: 12px; font-weight: 500; color: var(--on-night-3); }
.drawer--ai .iconbtn { color: #fff; }
.drawer--ai .msg--bot { background: rgba(255, 255, 255, .06); color: var(--on-night); }
.drawer--ai .msg--bot p { margin: 0 0 .6em; }
.drawer--ai .msg--bot p:last-child { margin: 0; }
.drawer--ai .msg--bot ul { margin: .3em 0 .6em; padding-left: 1.1em; }
.drawer--ai .msg--bot a { color: #FFB089; }
.drawer--ai .msg--bot .links a { background: rgba(255, 255, 255, .06); border-color: var(--night-line-2); color: #fff; }
.drawer--ai .msg--me { background: var(--accent); }
.drawer--ai .drawer__foot { border-top-color: var(--night-line); }
.drawer--ai .input { background: rgba(255, 255, 255, .05); border-color: var(--night-line-2); color: #fff; border-radius: 999px; }
.drawer--ai .btn { --b: var(--accent); }
.msg--typing { display: inline-flex; gap: 4px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-night-2); animation: pulse 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
.ai-ctx { font-size: 12px; color: var(--on-night-3); padding: 0 2px; }
.mrec { display: grid; gap: 6px; margin-top: 10px; }
.mrec a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--night-line); text-decoration: none; color: #fff; font-size: 13.5px; }
.mrec a small { color: var(--on-night-3); }

/* ---------- Konfigūratorius: tamsi juosta ---------- */
.app__bar { background: var(--night); border-bottom-color: var(--night-line); color: #fff; }
.app__brand img { content: url(../img/logo-white.png); }
.app__name { border-left-color: var(--night-line); }
.app__name input { color: #fff; }
.app__name input:hover { border-color: var(--night-line-2); }
.app__name input:focus { background: rgba(255, 255, 255, .06); border-color: var(--accent); }
.app__ref, .app__save { color: var(--on-night-3); }
.app__bar .iconbtn { color: rgba(255, 255, 255, .85); }
.app__bar .iconbtn:hover { background: rgba(255, 255, 255, .08); }
.app__bar .btn--ghost { --c: #fff; background: rgba(255, 255, 255, .06); border-color: var(--night-line-2); }
.vw { background: radial-gradient(110% 90% at 50% 30%, #FFFFFF 0%, #EEECE7 55%, #E2DFD8 100%); }
.pb .btn--lg:not(.btn--ghost) { --b: var(--accent); }
.pb .btn--lg:not(.btn--ghost):hover { background: #FF6420; border-color: #FF6420; }

/* Turinio lentelių ir kortelių smulkūs patobulinimai */
.tcard, .mcard { border-radius: 18px; }
.sec--white { background: #fff; }
.mega--tech .tag { width: auto; height: auto; padding: 4px 7px; border-radius: 6px; justify-self: start; align-self: flex-start; font-size: 11px; }
.ftr { padding-bottom: 0; }
.ftr__brand .priv { color: var(--on-night-3); }
.night .eyebrow { display: inline-flex; }
.fcta .eyebrow { display: flex; }
.fcta .drop { text-align: center; }
.night .sec__head .arrow, .night .arrow { color: #fff; }
.night .btn--ghost { --c: #fff; background: transparent; border-color: rgba(255, 255, 255, .2); }
.ticker .night { color: inherit; }
.fcta .priv { display: flex; }
html.app-open .overlay { z-index: 125; } html.app-open .drawer { z-index: 126; }

/* Konfigūratorius: gamybos parametrai, ataskaita */
.seg--wrap { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
.seg--wrap button { min-height: 48px; padding: 6px 8px; display: grid; gap: 1px; place-content: center; line-height: 1.2; font-weight: 600; color: var(--ink-2); }
.seg--wrap button small { font-size: 11px; font-weight: 500; color: var(--muted); }
.seg--wrap button[aria-pressed="true"] small { color: var(--accent-ink); }
.ptable { border-collapse: collapse; font-size: 13.5px; }
.ptable td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable td:first-child { width: 22px; text-align: center; font-weight: 700; }
.ptable td:last-child { text-align: right; }
.vw__tb .tb button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.drop--compact .drop__fine { grid-column: 1 / -1; }
.btn--accent .ic-up, .hdr__cta .ic-up, .phead .btn:not(.btn--ghost) .ic-up, .pb .btn--lg:not(.btn--ghost) .ic-up, .tabbar .ic-up { color: #fff; }
.hx .drop--compact { padding: 18px 20px; }
.hx .drop--compact .drop__t { font-size: 17px; }
@media (max-width: 1100px) {
	.tb2 { min-height: 0; }
	.tb2__img { position: relative; inset: auto; height: 220px; margin: 10px 0 14px; }
}
@media (max-width: 640px) {
	.hx .drop--compact .drop__f { display: block; }
	.hx h1 { font-size: 40px; }
	.ticker__in > div { padding: 20px 16px; }
}
