/* =========================================================
   Webtech.lt – svetainės stiliai
   ========================================================= */

/* ---------- Šriftas (Manrope, SIL OFL 1.1) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Kintamieji ---------- */
:root {
  --ink: #080d1c;
  --ink-2: #0d1430;
  --ink-3: #141c3d;
  --text: #0c1430;
  --text-2: #424d6e;
  --muted: #687391;
  --bg: #ffffff;
  --tint: #f3f6fc;
  --line: #e2e7f2;
  --line-2: #d3dbeb;
  --primary: #2f6bff;
  --primary-2: #1d4fe0;
  --primary-soft: #edf2ff;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --green: #22c55e;
  --on-dark: #e8edff;
  --on-dark-2: #a6b1d4;
  --line-dark: rgba(160, 180, 255, 0.14);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(12, 20, 48, 0.05), 0 2px 10px rgba(12, 20, 48, 0.05);
  --shadow: 0 2px 4px rgba(12, 20, 48, 0.04), 0 14px 34px rgba(12, 20, 48, 0.08);
  --shadow-lg: 0 30px 80px rgba(12, 20, 48, 0.16);
  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- Pagrindai ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: -9999px; top: 10px; z-index: 100;
  background: #fff; color: var(--text); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { left: 10px; }

/* ---------- Mygtukai ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.98rem; line-height: 1.2; letter-spacing: -0.005em;
  cursor: pointer; text-decoration: none !important; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 0.92rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #3b77ff, #2a5ff5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 22px rgba(47, 107, 255, 0.32);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #4783ff, #2f66ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 30px rgba(47, 107, 255, 0.45);
  transform: translateY(-1px);
}
.btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.32); }
.btn-outline { color: var(--text); background: #fff; border-color: var(--line-2); }
.btn-outline:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- Bendri elementai ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow-light { color: #c4b5fd; }
.tag-new {
  display: inline-block;
  padding: 3px 8px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.3;
  color: #0b1020; background: linear-gradient(90deg, #c4b5fd, #67e8f9);
}
.section { padding: 112px 0; position: relative; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: var(--on-dark); isolation: isolate; overflow: hidden; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
.section-head > p:not(.eyebrow) { margin-top: 16px; color: var(--text-2); font-size: 1.1rem; }

/* ---------- Antraštė ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 13, 28, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { width: 34px; height: 34px; }
.brand-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.035em; color: #fff; }
.brand-name span { color: var(--cyan); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 9px;
  font-size: 0.95rem; font-weight: 600; color: var(--on-dark-2);
  text-decoration: none !important;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  color: #fff; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 11px; cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(64px + var(--header-h)) 0 96px;
  background: var(--ink); color: var(--on-dark);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 560px at 78% 42%, rgba(47, 107, 255, 0.34), transparent 62%),
    radial-gradient(640px 420px at 6% 0%, rgba(34, 211, 238, 0.13), transparent 62%),
    radial-gradient(700px 420px at 45% 115%, rgba(139, 92, 246, 0.2), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(160, 180, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 180, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 60% 40%, #000 25%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; color: #dbe4ff;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.13);
  text-decoration: none !important; transition: background 0.2s, border-color 0.2s;
}
.pill:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); }
.pill .ic { width: 16px; height: 16px; transition: transform 0.2s; }
.pill:hover .ic { transform: translateX(3px); }
.pill-tag {
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: #0b1020; background: linear-gradient(90deg, #c4b5fd, #67e8f9);
}
.hero h1 {
  margin: 24px 0 22px;
  font-size: clamp(2.6rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.04em; color: #fff;
}
.grad {
  background: linear-gradient(92deg, #7ea6ff 0%, #22d3ee 52%, #b79bff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { max-width: 560px; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--on-dark-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0;
  max-width: 600px; margin-top: 46px; padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.hero-facts li { padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line-dark); }
.hero-facts li:last-child { border: 0; margin: 0; padding: 0; }
.hero-facts strong { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.hero-facts span { font-size: 0.86rem; color: var(--on-dark-2); }

.hero-visual { position: relative; width: 100%; max-width: 640px; justify-self: end; }
.hero-visual > img { width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.35)); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(15, 22, 48, 0.74);
  border: 1px solid rgba(160, 180, 255, 0.2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
  color: #fff;
  animation: floaty 7s ease-in-out infinite;
}
.fc-text { display: flex; flex-direction: column; line-height: 1.25; }
.fc-text b { font-size: 0.98rem; font-weight: 700; }
.fc-text small { font-size: 0.78rem; color: var(--on-dark-2); font-weight: 600; }
.fc-uptime { top: 2%; right: 0; }
.fc-uptime .fc-text b { font-size: 1.15rem; }
.fc-chat { left: 0; bottom: 9%; max-width: 300px; animation-delay: -3.5s; }
.fc-chat .fc-text small { color: #c4b5fd; }
.fc-icon {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 11px;
  color: #93c5fd; background: rgba(59, 130, 246, 0.16); border: 1px solid rgba(96, 165, 250, 0.25);
}
.fc-icon-green { color: #4ade80; background: rgba(34, 197, 94, 0.14); border-color: rgba(74, 222, 128, 0.28); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-left: 6px; }
.bars i { width: 4px; border-radius: 2px; background: linear-gradient(180deg, #4ade80, #16a34a); opacity: 0.9; }
.bars i:nth-child(1) { height: 60%; } .bars i:nth-child(2) { height: 75%; } .bars i:nth-child(3) { height: 68%; }
.bars i:nth-child(4) { height: 90%; } .bars i:nth-child(5) { height: 80%; } .bars i:nth-child(6) { height: 95%; }
.bars i:nth-child(7) { height: 85%; } .bars i:nth-child(8) { height: 100%; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.ai-avatar {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #2f6bff 60%, #22d3ee);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.45);
}
.ai-avatar-sm { width: 38px; height: 38px; border-radius: 11px; }

/* ---------- Paslaugos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.plan-media {
  aspect-ratio: 480 / 300;
  background:
    radial-gradient(circle at 2px 2px, rgba(138, 166, 255, 0.15) 1px, transparent 1.6px) 0 0 / 16px 16px,
    radial-gradient(ellipse 72% 78% at 50% 56%, #1d3275 0%, #0f1a40 56%, #0a1129 100%);
}
.plan-media img { width: 100%; height: 100%; object-fit: cover; }
.plan-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.plan-tag {
  align-self: flex-start; margin-bottom: 14px; padding: 5px 11px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; color: var(--primary-2); background: var(--primary-soft);
}
.plan h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.plan-desc { margin-top: 10px; color: var(--text-2); font-size: 0.98rem; }
@media (min-width: 1001px) { .plan-desc { min-height: calc(3 * 1.65em); } }
.price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
  margin: 22px 0 20px; padding-top: 20px; border-top: 1px dashed var(--line-2);
}
.price .from { font-size: 0.95rem; font-weight: 700; color: var(--muted); }
.price .amount { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--text); }
.price .per { font-weight: 600; color: var(--muted); }
.specs { display: grid; gap: 10px; margin-bottom: 26px; }
.specs li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.spec-ic {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 9px;
  color: var(--primary); background: var(--primary-soft);
}
.spec-ic .ic { width: 17px; height: 17px; }
.plan .btn { margin-top: auto; }
.custom-note {
  display: flex; align-items: center; gap: 18px;
  margin-top: 28px; padding: 22px 26px; border-radius: var(--r);
  background: var(--tint); border: 1px solid var(--line);
}
.custom-ic {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px; color: var(--primary); background: #fff; border: 1px solid var(--line);
}
.custom-text { display: flex; flex-direction: column; margin-right: auto; }
.custom-text strong { font-size: 1.05rem; }
.custom-text span { color: var(--text-2); font-size: 0.96rem; }

/* ---------- AI asistentas ---------- */
.ai::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 520px at 88% 18%, rgba(139, 92, 246, 0.3), transparent 62%),
    radial-gradient(820px 520px at -5% 70%, rgba(47, 107, 255, 0.22), transparent 62%),
    radial-gradient(600px 400px at 50% 105%, rgba(34, 211, 238, 0.12), transparent 62%);
}
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ai h2 { color: #fff; }
.lt-word { position: relative; white-space: nowrap; }
.lt-word::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: -0.1em; height: 0.13em; border-radius: 4px;
  background: linear-gradient(90deg, #fdb913 0 33.33%, #00a35c 33.33% 66.66%, #e8303b 66.66% 100%);
}
.ai .lead { margin-top: 20px; font-size: 1.12rem; color: var(--on-dark-2); }
.ai-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; margin-top: 36px; }
.ai-features li { display: flex; gap: 14px; }
.ai-features li > span:last-child { display: flex; flex-direction: column; }
.ai-features b { color: #fff; font-weight: 700; line-height: 1.35; }
.ai-features b + span { margin-top: 3px; font-size: 0.92rem; line-height: 1.5; color: var(--on-dark-2); }
.feat-ic {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px; color: #d4c8ff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(167, 139, 250, 0.32);
}

.chat {
  position: relative; overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(24, 33, 70, 0.92), rgba(13, 19, 44, 0.95));
  border: 1px solid rgba(160, 180, 255, 0.18);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-dark); }
.chat-title { display: flex; flex-direction: column; line-height: 1.3; }
.chat-title b { color: #fff; font-size: 1rem; }
.chat-title small { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: #86efac; }
.chat-title small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22); }
.lt-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-left: auto;
  padding: 5px 10px 5px 6px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; color: #fff;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
}
.lt-badge i {
  width: 20px; height: 14px; border-radius: 3px;
  background: linear-gradient(180deg, #fdb913 0 33.33%, #006a44 33.33% 66.66%, #c1272d 66.66% 100%);
}
.chat-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 18px 18px; min-height: 380px; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 16px; font-size: 0.95rem; line-height: 1.5; }
.msg-me { align-self: flex-end; color: #fff; background: linear-gradient(180deg, #3b77ff, #2a5ff5); border-bottom-right-radius: 6px; }
.msg-ai { align-self: flex-start; color: #e6ebff; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(160, 180, 255, 0.14); border-bottom-left-radius: 6px; }
.letter {
  margin-top: 9px; padding: 11px 13px; border-radius: 10px;
  font-size: 0.9rem; color: #cdd6f6; background: rgba(0, 0, 0, 0.22); border-left: 3px solid #a78bfa;
}
.typing {
  align-self: flex-start; display: inline-flex; gap: 5px;
  padding: 14px 16px; border-radius: 16px; border-bottom-left-radius: 6px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(160, 180, 255, 0.14);
}
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #a6b1d4; animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-input {
  display: flex; align-items: center; gap: 10px;
  margin: 0 14px 14px; padding: 8px 8px 8px 16px; border-radius: 14px;
  font-size: 0.92rem; color: #7d89ae;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark);
}
.chat-input .send { display: grid; place-items: center; margin-left: auto; width: 38px; height: 38px; border-radius: 10px; color: #fff; background: var(--primary); }
.chat-input .send .ic { width: 17px; height: 17px; }
.chat-caption { margin: -4px 0 0; padding: 0 18px 14px; text-align: center; font-size: 0.78rem; font-weight: 600; color: #7d89ae; }

/* pokalbio animacija */
.js .chat.play .chat-body > * { opacity: 0; transform: translateY(10px); animation: msgIn 0.5s ease forwards; }
.js .chat.play .chat-body > :nth-child(1) { animation-delay: 0.15s; }
.js .chat.play .chat-body > :nth-child(2) { animation-delay: 1s; }
.js .chat.play .chat-body > :nth-child(3) { animation-delay: 2.1s; }
.js .chat.play .chat-body > :nth-child(4) { animation-delay: 2.8s; }
.js .chat:not(.play) .chat-body > * { opacity: 0; }
@keyframes msgIn { to { opacity: 1; transform: none; } }

.subs-wrap { margin-top: 96px; }
.subs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.subs-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: #fff; letter-spacing: -0.03em; }
.subs-head p { max-width: 640px; margin-top: 10px; color: var(--on-dark-2); }
.subs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sub {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 26px 26px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(160, 180, 255, 0.15);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.sub:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.065); border-color: rgba(160, 180, 255, 0.3); }
.sub h4 { font-size: 1.05rem; font-weight: 700; color: #cad3f5; letter-spacing: -0.01em; }
.sub-price { margin: 14px 0 6px; font-size: 3rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: #fff; }
.sub-month { font-size: 0.95rem; font-weight: 600; color: var(--on-dark-2); }
.sub-save {
  align-self: flex-start; margin: 18px 0 24px; padding: 5px 11px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700;
  color: #86efac; background: rgba(34, 197, 94, 0.13); border: 1px solid rgba(74, 222, 128, 0.28);
}
.sub-save.neutral { color: var(--on-dark-2); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.sub .btn { margin-top: auto; }
.sub-best {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.22), rgba(47, 107, 255, 0.1));
  border-color: rgba(183, 155, 255, 0.6);
  box-shadow: 0 24px 60px rgba(139, 92, 246, 0.25);
}
.sub-best:hover { background: linear-gradient(180deg, rgba(139, 92, 246, 0.28), rgba(47, 107, 255, 0.14)); border-color: rgba(196, 181, 253, 0.8); }
.ribbon {
  position: absolute; top: -13px; left: 24px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
  color: #0b1020; background: linear-gradient(90deg, #c4b5fd, #67e8f9);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}
.subs-note { margin-top: 22px; text-align: center; font-size: 0.88rem; color: var(--on-dark-2); }

/* ---------- Kodėl mes ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.why-media {
  position: relative; overflow: hidden; aspect-ratio: 1200 / 720;
  border-radius: var(--r-lg); background: #0b1229; box-shadow: var(--shadow-lg);
}
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-badge {
  position: absolute; left: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px; color: #fff;
  background: rgba(13, 20, 46, 0.72); border: 1px solid rgba(160, 180, 255, 0.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.why-badge b { display: block; font-size: 1.2rem; line-height: 1.2; }
.why-badge small { font-size: 0.8rem; font-weight: 600; color: var(--on-dark-2); }
.why-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--text-2); font-size: 1.1rem; }
.why-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.why-stats b { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; color: var(--text); }
.why-stats span { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 72px; }
.feature {
  padding: 26px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.f-ic {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px;
  color: var(--primary); background: var(--primary-soft);
}
.f-ic .ic { width: 22px; height: 22px; }
.feature h3 { font-size: 1.12rem; letter-spacing: -0.015em; }
.feature p { margin-top: 6px; color: var(--text-2); font-size: 0.96rem; }

/* ---------- Kaip užsakyti ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step {
  position: relative; z-index: 1; text-align: center;
  padding: 30px 28px 32px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid; place-items: center;
  width: 50px; height: 50px; margin: 0 auto 20px; border-radius: 15px;
  font-size: 1.25rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #3b77ff, #22d3ee);
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.32), 0 0 0 8px #fff;
}
.step h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--text-2); }

/* ---------- Užsakymo forma ---------- */
.order-card {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  overflow: hidden; border-radius: 28px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transition: box-shadow 0.4s ease;
}
.order-card.flash { box-shadow: var(--shadow-lg), 0 0 0 4px rgba(47, 107, 255, 0.35); }
.order-main { padding: 48px 52px 52px; }
.order-main h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.order-lead { margin-top: 14px; color: var(--text-2); font-size: 1.03rem; }
.order-form { display: grid; gap: 22px; margin-top: 34px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-size: 0.93rem; font-weight: 700; color: var(--text); }
.req { color: #e5484d; }
.optional { font-weight: 500; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 13px 15px;
  font: inherit; font-size: 1rem; font-weight: 500; color: var(--text);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; min-height: 116px; line-height: 1.55; }
select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687391' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
input::placeholder, textarea::placeholder { color: #9aa3bd; }
input:hover, select:hover, textarea:hover { border-color: #b9c4dc; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.14); }
input[aria-invalid="true"] { border-color: #e5484d; }
input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.14); }
.field-error { margin-top: 7px; font-size: 0.86rem; font-weight: 600; color: #d12f35; }

.service-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  height: 100%; min-height: 88px; padding: 14px 8px; border-radius: 14px;
  font-size: 0.88rem; font-weight: 700; line-height: 1.25; text-align: center; color: var(--text-2);
  background: #fff; border: 1.5px solid var(--line-2); cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}
.opt span .ic { width: 22px; height: 22px; color: var(--muted); transition: color 0.15s; }
.opt:hover span { border-color: #b9c4dc; }
.opt input:checked + span { color: var(--primary-2); background: var(--primary-soft); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12); }
.opt input:checked + span .ic { color: var(--primary); }
.opt input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form-note { font-size: 0.88rem; color: var(--muted); }

.order-done { margin-top: 4px; }
.order-done:focus { outline: none; }
.done-icon {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 17px;
  color: #15803d; background: #dcfce7;
}
.done-icon .ic { width: 28px; height: 28px; stroke-width: 2.5; }
.done-box { margin-top: 28px; padding: 22px; border-radius: 18px; background: var(--tint); border: 1px solid var(--line); }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.copy-hint { margin-top: 12px; font-size: 0.92rem; font-weight: 600; color: #15803d; }
.done-details { margin-top: 16px; }
.done-details summary { cursor: pointer; font-weight: 700; color: var(--primary); }
.done-details pre {
  margin: 12px 0 0; padding: 16px; border-radius: 12px; overflow-x: auto; white-space: pre-wrap; word-break: break-word;
  font-family: var(--mono); font-size: 0.84rem; line-height: 1.55; color: var(--text);
  background: #fff; border: 1px solid var(--line);
}
.link-btn { margin-top: 22px; padding: 0; border: 0; background: none; font-weight: 700; color: var(--primary); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.noscript { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #fff7ed; color: #9a3412; }

.order-aside {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 48px 40px; color: var(--on-dark); background: var(--ink);
}
.order-aside::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(139, 92, 246, 0.3), transparent 65%),
    radial-gradient(420px 320px at 0% 100%, rgba(47, 107, 255, 0.28), transparent 65%);
}
.order-aside h3 { font-size: 1.25rem; color: #fff; }
.summary { margin: 20px 0 32px; padding: 6px 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px dashed rgba(160, 180, 255, 0.2); }
.summary div:last-child { border-bottom: 0; }
.summary dt { flex: none; font-size: 0.9rem; color: var(--on-dark-2); }
.summary dd { margin: 0; text-align: right; font-weight: 700; color: #fff; }
#sum-price { color: #7dd3fc; }
.order-aside h4 { font-size: 1rem; color: #fff; }
.next-steps { counter-reset: n; display: grid; gap: 12px; margin: 14px 0 34px; }
.next-steps li { counter-increment: n; display: flex; gap: 12px; font-size: 0.95rem; color: var(--on-dark-2); }
.next-steps li::before {
  content: counter(n); display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 8px;
  font-size: 0.8rem; font-weight: 800; color: #fff; background: rgba(47, 107, 255, 0.55);
}
.aside-contact {
  display: flex; align-items: center; gap: 14px;
  margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line-dark);
  font-size: 0.95rem; line-height: 1.45; color: var(--on-dark-2);
}
.aside-contact a { font-weight: 700; color: #fff; }

/* ---------- Poraštė ---------- */
.site-footer { padding: 76px 0 30px; color: var(--on-dark-2); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 56px; }
.footer-brand p { max-width: 420px; margin-top: 18px; font-size: 0.96rem; }
.site-footer h3 { margin-bottom: 18px; font-size: 1rem; letter-spacing: 0; color: #fff; }
.footer-links { display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; line-height: 1.5; }
.contact-list .ic { margin-top: 2px; color: var(--cyan); }
.footer-bottom {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 26px; font-size: 0.9rem;
}
.footer-bottom::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid var(--line-dark);
}

/* ---------- Atsiradimo animacija ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.plans .reveal:nth-child(2), .features .reveal:nth-child(3n + 2), .steps .reveal:nth-child(2), .subs .reveal:nth-child(2) { transition-delay: 0.08s; }
.plans .reveal:nth-child(3), .features .reveal:nth-child(3n + 3), .steps .reveal:nth-child(3), .subs .reveal:nth-child(3) { transition-delay: 0.16s; }
.subs .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Prisitaikymas prie ekrano ---------- */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { justify-self: center; max-width: 600px; }
  .subs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .ai-grid { gap: 48px; }
}
@media (max-width: 1000px) {
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 16px 22px;
    background: #0a1022; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .plans { grid-template-columns: 1fr; max-width: 580px; margin: 0 auto; }
  .ai-grid, .why-grid { grid-template-columns: 1fr; }
  .chat { max-width: 560px; width: 100%; justify-self: center; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .feature .f-ic { grid-row: span 2; margin: 0; }
  .feature p { margin-top: 2px; }
  .steps { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; gap: 14px; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; text-align: left; padding: 24px; }
  .step-num { grid-row: span 2; margin: 0; box-shadow: 0 8px 18px rgba(47, 107, 255, 0.28); }
  .step p { margin-top: 4px; }
  .custom-note .btn { flex: none; white-space: nowrap; }
  .order-card { grid-template-columns: 1fr; }
  .order-main { padding: 40px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 700px) and (max-width: 1000px) {
  .plans { max-width: none; }
  .plan { flex-direction: row; }
  .plan-media { flex: 0 0 44%; aspect-ratio: auto; display: flex; align-items: center; }
  .plan-media img { height: auto; object-fit: contain; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; --gutter: 16px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .brand-name { font-size: 1.15rem; }
  .brand img { width: 30px; height: 30px; }
  .nav-wrap { gap: 12px; }
  .hero { padding: calc(32px + var(--header-h)) 0 60px; }
  .hero h1 { margin: 20px 0 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
  .hero-facts li { padding: 0; margin: 0; border: 0; }
  .float-card { padding: 9px 12px 9px 9px; gap: 10px; border-radius: 13px; }
  .fc-icon, .ai-avatar-sm { width: 32px; height: 32px; border-radius: 9px; }
  .fc-icon .ic, .ai-avatar-sm .ic { width: 17px; height: 17px; }
  .fc-text b { font-size: 0.86rem; }
  .fc-uptime .fc-text b { font-size: 1rem; }
  .fc-text small { font-size: 0.72rem; }
  .bars { display: none; }
  .fc-chat { max-width: 230px; bottom: 4%; }
  .plan-body { padding: 22px 22px 24px; }
  .custom-note { flex-direction: column; align-items: flex-start; }
  .custom-note .btn { width: 100%; }
  .ai-features { grid-template-columns: 1fr; }
  .chat-body { min-height: 0; }
  .subs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .sub { padding: 24px 16px 16px; border-radius: 18px; }
  .sub h4 { font-size: 0.95rem; }
  .sub-price { font-size: 2.2rem; margin-top: 10px; }
  .sub-month { font-size: 0.86rem; }
  .sub-save { margin: 12px 0 16px; padding: 4px 9px; font-size: 0.74rem; }
  .sub .btn { --h: 44px; padding: 0 12px; }
  .ribbon { left: 14px; font-size: 0.66rem; padding: 4px 9px; }
  .subs-wrap { margin-top: 72px; }
  .features { grid-template-columns: 1fr; gap: 14px; margin-top: 48px; }
  .feature { padding: 20px; }
  .step { column-gap: 16px; padding: 22px 20px; }
  .step-num { width: 44px; height: 44px; border-radius: 13px; font-size: 1.1rem; }
  .step p { font-size: 0.95rem; }
  .why-stats { gap: 22px; }
  .why-stats b { font-size: 1.5rem; }
  .why-badge { left: 12px; bottom: 12px; padding: 9px 14px 9px 9px; }
  .order-card { border-radius: 22px; }
  .order-main { padding: 30px 20px 32px; }
  .order-aside { padding: 32px 20px; }
  .service-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-options .opt:last-child { grid-column: 1 / -1; }
  .opt span { min-height: 76px; }
  .field-row { grid-template-columns: 1fr; }
  .form-submit .btn { width: 100%; }
  .done-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 359px) {
  .subs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
