/* =========================================================================
   DIZAINO SISTEMA
   Spalvas, gradientą ir tarpus keisk žemiau esančiuose kintamuosiuose.
   ========================================================================= */

/* Inter (kintamo storio 400–800) iš savo serverio. Lietuviškos raidės – latin-ext. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.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;
}

:root {
  /* --- Fonas ir paviršiai (šaltas, melsvai tamsus) --- */
  --bg:            #060811;
  --bg-soft:       #090d1a;
  --bg-elev:       #0e1426;
  --surface:       rgb(150 185 255 / 0.045);
  --surface-hover: rgb(150 185 255 / 0.075);
  --border:        rgb(150 185 255 / 0.10);
  --border-strong: rgb(150 185 255 / 0.20);

  /* --- Tekstas --- */
  --text:          #e9eefb;
  --text-muted:    #98a3c0;
  --text-dim:      #667192;

  /* --- Akcentas (indigo -> mėlyna -> žydra).
         Keisdamas spalvą pakeisk ir -rgb variantą (tie patys kanalai be #). --- */
  --a1: #6366f1;   --a1-rgb: 99 102 241;    /* indigo   */
  --a2: #3b82f6;   --a2-rgb: 59 130 246;    /* mėlyna   */
  --a3: #38bdf8;   --a3-rgb: 56 189 248;    /* žydra    */
  --ok: #34d399;   --ok-rgb: 52 211 153;    /* žalia – „nemokama" akcentui */
  --grad:      linear-gradient(115deg, var(--a1) 0%, var(--a2) 52%, var(--a3) 100%);
  --grad-soft: linear-gradient(115deg, rgb(var(--a1-rgb) / .18), rgb(var(--a3-rgb) / .12));

  /* --- Tipografija --- */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* --- Formos --- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 40px);

  --shadow-card: 0 1px 0 rgba(255,255,255,.05) inset, 0 20px 50px -24px rgba(0,0,0,.9);
  --shadow-glow: 0 12px 40px -12px rgb(var(--a2-rgb) / .55);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .5s;
}

/* =========================================================================
   BAZĖ
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

ul { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: rgb(var(--a1-rgb) / .45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--a3);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Naršyklės slinkties juosta */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.22); }

/* =========================================================================
   IŠDĖSTYMO PAGALBININKAI
   ========================================================================= */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  padding-block: clamp(72px, 11vw, 140px);
}

.section--tight { padding-block: clamp(56px, 8vw, 100px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--a2);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* Sekcijos antraštė */
.sec-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 68px);
}
.sec-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.sec-head--center .eyebrow::before { display: none; }

.sec-title {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 700;
}

.sec-lead {
  margin-top: 20px;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================================
   FONO EFEKTAI
   Keturi sluoksniai: pašvaistė, šviesos pluoštai, pelės švytėjimas, grūdėtumas.
   Animuojamas tik `transform` – piešia vaizdo plokštė, ne procesorius.
   ========================================================================= */

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint style;
  background:
    radial-gradient(125% 85% at 50% -12%, #0d1732 0%, transparent 62%),
    radial-gradient(90% 55% at 50% 106%, #0a1226 0%, transparent 62%);
}

/* --- 1. Pašvaistė – trys lėtai plaukiantys spalvos sluoksniai --- */
.aurora {
  position: absolute;
  inset: -25%;
  filter: blur(72px) saturate(125%);
  opacity: .9;
  /* --sc (0..1) nustato main.js slenkant – fonas juda lėčiau už turinį */
  transform: translate3d(0, calc(var(--sc, 0) * -9vh), 0);
}

.aurora__band {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  will-change: transform;
}

.aurora__band--1 {
  background:
    radial-gradient(38% 44% at 24% 24%, rgb(var(--a2-rgb) / .50), transparent 70%),
    radial-gradient(28% 32% at 4% 4%,   rgb(var(--a1-rgb) / .38), transparent 72%);
  animation: aurora1 26s var(--ease) infinite alternate;
}

.aurora__band--2 {
  background:
    radial-gradient(34% 40% at 82% 16%, rgb(var(--a3-rgb) / .36), transparent 70%),
    radial-gradient(26% 30% at 97% 44%, rgb(var(--a2-rgb) / .30), transparent 72%);
  animation: aurora2 32s var(--ease) infinite alternate;
}

.aurora__band--3 {
  background:
    radial-gradient(48% 38% at 54% 86%, rgb(var(--a2-rgb) / .30), transparent 72%),
    radial-gradient(28% 26% at 28% 64%, rgb(var(--a1-rgb) / .22), transparent 74%);
  animation: aurora3 38s var(--ease) infinite alternate;
}

@keyframes aurora1 {
  from { transform: translate3d(-4%, -2%, 0) rotate(-4deg) scale(1);    }
  to   { transform: translate3d( 8%,  5%, 0) rotate( 6deg) scale(1.18); }
}
@keyframes aurora2 {
  from { transform: translate3d( 3%, -3%, 0) rotate( 3deg) scale(1.08); }
  to   { transform: translate3d(-7%,  6%, 0) rotate(-7deg) scale(.92);  }
}
@keyframes aurora3 {
  from { transform: translate3d(-2%,  3%, 0) scale(1.06); }
  to   { transform: translate3d( 6%, -6%, 0) scale(.9);   }
}

/* --- 2. Šviesos pluoštai – įstriži ruožai, slenkantys per viršų --- */
.bg-fx__beams {
  position: absolute;
  inset: -40% -60%;
  background: repeating-linear-gradient(
    104deg,
    transparent 0 90px,
    rgb(var(--a3-rgb) / .10) 90px 126px,
    transparent 126px 208px,
    rgb(var(--a2-rgb) / .07) 208px 246px,
    transparent 246px 420px
  );
  filter: blur(26px);
  mask-image: radial-gradient(72% 62% at 55% 10%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(72% 62% at 55% 10%, #000 0%, transparent 78%);
  will-change: transform;
  animation: beams 24s linear infinite alternate;
}

@keyframes beams {
  from { transform: translate3d(-6%, 0, 0); }
  to   { transform: translate3d( 6%, 0, 0); }
}

/* --- 3. Švytėjimas, sekantis pelę (koordinates duoda main.js) --- */
.bg-fx__cursor {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

@media (hover: hover) and (pointer: fine) {
  .bg-fx__cursor {
    background: radial-gradient(360px 360px at var(--mx, 50%) var(--my, 0%),
                rgb(var(--a2-rgb) / .11), transparent 68%);
  }
  body.has-pointer .bg-fx__cursor { opacity: 1; }
}

/* --- 4. Grūdėtumas – panaikina gradientų juostas --- */
.bg-fx__noise {
  position: absolute;
  inset: -200%;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- 5. Vinjetė – kraštai tamsesni, kad ryškiausias liktų tekstas --- */
.bg-fx__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(105% 78% at 50% 28%, transparent 42%, rgb(4 6 14 / .72) 100%),
    linear-gradient(180deg, transparent 58%, var(--bg) 100%);
}

/* Telefonuose lengvesnė versija – mažiau suliejimo, be pluoštų */
@media (max-width: 720px) {
  .aurora { filter: blur(54px) saturate(118%); }
  .bg-fx__beams { display: none; }
}

/* =========================================================================
   SLINKTIES PROGRESO JUOSTA
   ========================================================================= */

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 200;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad);
  will-change: transform;
}

/* =========================================================================
   NAVIGACIJA
   ========================================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 13, .72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 15.5px;
  flex-shrink: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.brand__mark--img {
  display: block;
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
.brand__mark--img img { height: 30px; width: auto; }
.brand__mark img { max-width: 100%; object-fit: contain; }
.brand__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 9px 14px;
  font-size: 14.5px;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.nav__right { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
}
.nav__toggle span {
  display: block;
  position: relative;
  width: 17px; height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), background .2s;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px; height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.nav__toggle span::before { top: -5.5px; }
.nav__toggle span::after  { top:  5.5px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobili meniu panelė */
.nav__mobile {
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 149;
  padding: 14px var(--pad) 26px;
  background: rgba(9, 9, 17, .96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.nav__mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__mobile a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 550;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  transition: color .2s;
}
.nav__mobile a:hover { color: var(--text); }
.nav__mobile .btn { margin-top: 20px; width: 100%; border-bottom: 0; }

/* =========================================================================
   MYGTUKAI
   ========================================================================= */

.btn {
  --btn-bg: var(--surface);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 570;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s var(--ease),
              background .28s var(--ease), box-shadow .28s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--surface-hover); }
.btn:active { transform: translateY(0); }

.btn--primary {
  border-color: transparent;
  background: var(--grad);
  background-size: 180% 180%;
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-glow);
}
/* Nuolatinis gradiento mirgėjimas – tik ten, kur yra pelė.
   Telefonuose išjungtas, kad netaupytų baterijos veltui. */
@media (hover: hover) and (pointer: fine) {
  .btn--primary { animation: gradShift 7s ease-in-out infinite; }
}
.btn--primary:hover {
  box-shadow: 0 16px 46px -10px rgba(110, 110, 250, .7);
  border-color: transparent;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.btn--lg { padding: 16px 30px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =========================================================================
   HERO
   ========================================================================= */

.hero {
  position: relative;
  padding-top: clamp(120px, 17vh, 190px);
  padding-bottom: clamp(70px, 10vw, 120px);
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
}
.hero__inner { width: 100%; }

.hero__title {
  font-size: clamp(2.75rem, 8.2vw, 6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 15ch;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  /* Vietos raidžių uodegėlėms (j, p, ų) ir lietuviškiems diakritikams –
     kitaip overflow:hidden jas nukirstų. */
  padding-block: 0.12em 0.18em;
  margin-block: -0.12em -0.18em;
}
.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  animation: lineUp .95s var(--ease) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: .06s; }
.hero__title .line:nth-child(2) > span { animation-delay: .15s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__title .line:nth-child(4) > span { animation-delay: .33s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__sub {
  margin-top: 30px;
  max-width: 58ch;
  font-size: clamp(1.03rem, 1.75vw, 1.28rem);
  line-height: 1.65;
  color: var(--text-muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}
.pill {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255,255,255,.025);
  font-size: 12.5px;
  color: var(--text-dim);
  transition: color .25s, border-color .25s;
}
.pill:hover { color: var(--text-muted); border-color: var(--border-strong); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 30px);
  margin-top: clamp(52px, 8vw, 84px);
  padding-top: clamp(30px, 4vw, 42px);
  border-top: 1px solid var(--border);
}
.stat__value {
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat__label {
  margin-top: 7px;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.45;
}

/* =========================================================================
   KORTELĖS (glass)
   ========================================================================= */

.card {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
/* Prožektorius, sekantis pelę (--mx / --my nustato main.js) */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgb(var(--a1-rgb) / .16), transparent 62%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-hover); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --- Paslaugų kortelė --- */
.svc__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: var(--a3);
  margin-bottom: 22px;
}
.svc__icon svg { width: 21px; height: 21px; }
.svc__title { font-size: 1.13rem; font-weight: 620; margin-bottom: 11px; letter-spacing: -0.025em; }
.svc__text { font-size: 14.8px; color: var(--text-muted); line-height: 1.68; }

/* =========================================================================
   KAINOS
   ========================================================================= */

.plan { display: flex; flex-direction: column; }

.plan--popular {
  border-color: rgb(var(--a1-rgb) / .42);
  background: linear-gradient(180deg, rgb(var(--a1-rgb) / .09), rgba(255,255,255,.03));
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 70px -30px rgba(120, 90, 250, .6);
}
.plan--popular::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .55;
  pointer-events: none;
}

.plan__badge {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.plan__name {
  font-size: 14px;
  font-weight: 620;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.plan__price {
  font-size: clamp(2rem, 4.2vw, 2.65rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.plan__tagline {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  min-height: 2.6em;
}
.plan__sep {
  height: 1px;
  background: var(--border);
  margin: 26px 0;
}
.plan__features { display: grid; gap: 13px; margin-bottom: 30px; }
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.6px;
  color: var(--text-muted);
  line-height: 1.55;
}
.plan__check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid rgb(var(--a1-rgb) / .32);
  display: grid;
  place-items: center;
}
.plan__check svg { width: 10px; height: 10px; color: var(--a3); }

/* Nemokamo maketo eilutė – žalia, kad iškart kristų į akis */
.plan__free {
  color: var(--ok);
  font-weight: 600;
}
.plan__check--free {
  background: rgb(var(--ok-rgb) / .14);
  border-color: rgb(var(--ok-rgb) / .45);
}
.plan__check--free svg { color: var(--ok); }
.plan__cta { margin-top: auto; }

.pricing__note {
  margin-top: 30px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-dim);
}

/* =========================================================================
   PROCESAS
   ========================================================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 34px;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--a1), var(--a2));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .8s var(--ease);
}
.step.is-visible::before { transform: scaleX(1); }
.step:nth-child(2)::before { transition-delay: .1s; }
.step:nth-child(3)::before { transition-delay: .2s; }
.step:nth-child(4)::before { transition-delay: .3s; }

.step__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.step__n {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .9;
}
.step__time {
  padding: 4px 11px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.step__title { font-size: 1.1rem; font-weight: 620; margin-bottom: 10px; letter-spacing: -0.025em; }
.step__text { font-size: 14.5px; color: var(--text-muted); line-height: 1.66; }

/* =========================================================================
   APIE
   ========================================================================= */

.about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
}
.about__text p { color: var(--text-muted); font-size: clamp(1rem, 1.5vw, 1.075rem); line-height: 1.78; }
.about__text p + p { margin-top: 20px; }

.about__photo {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 26px;
  aspect-ratio: 4 / 3;
  background: var(--grad-soft);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.about__list { display: grid; gap: 12px; }
.hl {
  display: flex;
  gap: 14px;
  padding: 17px 19px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.hl:hover { border-color: var(--border-strong); transform: translateX(4px); background: var(--surface-hover); }
.hl__dot {
  flex-shrink: 0;
  width: 9px; height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--grad);
}
.hl__title { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.hl__text { font-size: 13.8px; color: var(--text-dim); margin-top: 3px; line-height: 1.55; }

/* =========================================================================
   PORTFELIS
   ========================================================================= */

.work { padding: 0; display: flex; flex-direction: column; }

.work__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgb(var(--a1-rgb) / .16), rgb(var(--a3-rgb) / .09)),
    var(--bg-elev);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.work__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.work:hover .work__media img { transform: scale(1.05); }

.work__empty {
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}
.work__empty svg { width: 30px; height: 30px; opacity: .5; }

.work__status {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(7,7,13,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.work__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.work__cat {
  font-size: 11.5px;
  font-weight: 620;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--a3);
  opacity: .85;
  margin-bottom: 9px;
}
.work__title { font-size: 1.06rem; font-weight: 620; letter-spacing: -0.025em; }
.work__result { margin-top: 11px; font-size: 13.8px; color: var(--text-dim); line-height: 1.55; }

/* =========================================================================
   ATSILIEPIMAI
   ========================================================================= */

.quote__mark {
  font-size: 3.4rem;
  line-height: .8;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .55;
  margin-bottom: 12px;
}
.quote__text {
  font-size: 15.4px;
  color: var(--text-muted);
  line-height: 1.72;
  min-height: 5.2em;
}
.quote__foot {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.quote__avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.quote__name { font-size: 14.5px; font-weight: 600; letter-spacing: -0.02em; }
.quote__role { font-size: 12.8px; color: var(--text-dim); margin-top: 2px; }

/* =========================================================================
   KONTAKTAI
   ========================================================================= */

.contact {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact__bullets { display: grid; gap: 12px; margin-top: 30px; }
.contact__bullets li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.8px;
  color: var(--text-muted);
}
.contact__bullets svg { width: 17px; height: 17px; color: var(--a3); flex-shrink: 0; }

.contact__details { display: grid; gap: 2px; margin-top: 38px; }
.detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left .3s var(--ease);
}
a.detail:hover { padding-left: 6px; }
.detail__ico {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  flex-shrink: 0;
}
.detail__ico svg { width: 16px; height: 16px; }
.detail__k { display: block; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--text-dim); line-height: 1.5; }
.detail__v { display: block; font-size: 14.8px; font-weight: 550; word-break: break-word; line-height: 1.45; }

.socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.social {
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color .25s, border-color .25s, transform .25s var(--ease);
}
.social:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-2px); }

/* --- Forma --- */
.form { padding: clamp(24px, 3.4vw, 38px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 13px;
  font-weight: 570;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}
.field label .req { color: var(--a1); margin-left: 2px; }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); opacity: .75; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgb(var(--a1-rgb) / .65);
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 0 4px rgb(var(--a1-rgb) / .12);
}
.field.has-error input,
.field.has-error textarea { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248,113,113,.1); }

.field__err {
  font-size: 12.5px;
  color: #f87171;
  min-height: 0;
  display: none;
}
.field.has-error .field__err { display: block; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; pointer-events: none; }

.form__foot { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.form__privacy { font-size: 12.5px; color: var(--text-dim); line-height: 1.55; }

.form__status {
  display: none;
  padding: 15px 18px;
  border-radius: var(--r-md);
  font-size: 14.2px;
  line-height: 1.55;
}
.form__status.is-shown { display: block; }
.form__status.is-ok {
  background: rgba(52,211,153,.09);
  border: 1px solid rgba(52,211,153,.32);
  color: #6ee7b7;
}
.form__status.is-err {
  background: rgba(248,113,113,.09);
  border: 1px solid rgba(248,113,113,.32);
  color: #fca5a5;
}
.form__status strong { display: block; margin-bottom: 3px; color: inherit; }

.btn[disabled] { opacity: .6; pointer-events: none; }

/* =========================================================================
   CTA JUOSTA
   ========================================================================= */

.cta-band {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(26px, 5vw, 64px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 160% at 0% 0%, rgb(var(--a1-rgb) / .22), transparent 58%),
    radial-gradient(120% 160% at 100% 100%, rgb(var(--a3-rgb) / .16), transparent 58%),
    rgba(255,255,255,.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
  overflow: hidden;
}
.cta-band__title {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  max-width: 20ch;
  margin-inline: auto;
}
.cta-band__sub { margin-top: 16px; color: var(--text-muted); max-width: 52ch; margin-inline: auto; font-size: 1rem; }
.cta-band__btns { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* =========================================================================
   FOOTER
   ========================================================================= */

.footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(46px, 6vw, 68px) 30px;
  background: linear-gradient(180deg, transparent, rgb(var(--a1-rgb) / .045));
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer__tag { margin-top: 18px; font-size: 14.5px; color: var(--text-muted); max-width: 40ch; line-height: 1.65; }
.footer__legal { margin-top: 18px; font-size: 12.8px; color: var(--text-dim); line-height: 1.7; }
.footer__ctitle {
  font-size: 12px;
  font-weight: 640;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer__links { display: grid; gap: 11px; }
.footer__links a, .footer__contact a, .footer__contact span {
  font-size: 14.3px;
  color: var(--text-muted);
  transition: color .22s;
  word-break: break-word;
}
.footer__links a:hover, .footer__contact a:hover { color: var(--text); }
.footer__contact { display: grid; gap: 11px; }

.footer__bottom {
  margin-top: clamp(38px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.8px;
  color: var(--text-dim);
}
.footer__made { display: inline-flex; align-items: center; gap: 7px; }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* =========================================================================
   ADAPTYVUMAS
   ========================================================================= */

@media (max-width: 1000px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__right .btn { display: none; }
  .nav__toggle { display: flex; }
  .hero__title { max-width: 100%; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 80px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: 22px; text-align: left; }
  .hero__cta .btn { width: 100%; }
  .plan__tagline { min-height: 0; }
  .quote__text { min-height: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .brand__name { display: none; }
}

/* =========================================================================
   PRIEINAMUMAS: sumažintas judesys
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .step::before { transform: scaleX(1); }
}

/* =========================================================================
   SPAUSDINIMAS
   ========================================================================= */

@media print {
  .nav, .bg-fx, .progress, .nav__mobile { display: none !important; }
  body { background: #fff; color: #000; }
  .card { border: 1px solid #ccc; background: #fff; box-shadow: none; }
}

/* =========================================================================
   MĖNESINĖ PRIEŽIŪRA (planų kortelės) + ANTRINIS PUSLAPIS
   Kortelės naudoja tas pačias .card / .plan klases kaip vienkartinės kainos –
   čia tik tai, kas jose papildoma: kaina su „/mėn.", tinkamumo eilutė,
   metinės nuolaidos pastaba ir antrinio puslapio antraštė.
   ========================================================================= */

.plan__per {
  margin-left: 4px;
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--text-dim);
}

.care-plan .plan__name { margin-bottom: 14px; }
.care-plan .plan__features { margin-bottom: 22px; }

/* Kam planas tinka – atskirta punktyru, kad neliptų prie sąrašo */
.plan__fit {
  margin-bottom: 26px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-size: 13.4px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* Metinės nuolaidos pastaba + nuoroda į pilną palyginimą */
.care-foot {
  margin-top: clamp(26px, 4vw, 38px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.care-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid rgb(var(--ok-rgb) / .26);
  border-radius: 100px;
  background: rgb(var(--ok-rgb) / .07);
  font-size: 13.8px;
  color: var(--text-muted);
  line-height: 1.5;
}
.care-note__ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: rgb(var(--ok-rgb) / .16);
  border: 1px solid rgb(var(--ok-rgb) / .42);
  color: var(--ok);
}
.care-note__ico svg { width: 12px; height: 12px; }

/* --- Antrinio puslapio antraštė (/planai) --- */
.page-hero {
  position: relative;
  padding-top: clamp(122px, 16vh, 172px);
  padding-bottom: clamp(8px, 2.5vw, 22px);
}
.page-hero__title {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 780;
  letter-spacing: -0.045em;
  max-width: 24ch;
}
.page-hero .sec-lead { max-width: 64ch; }
.page-hero__pills { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 13.8px;
  color: var(--text-dim);
  transition: color .3s var(--ease);
}
.page-back:hover { color: var(--text); }
.page-back__ico {
  display: grid;
  place-items: center;
  width: 27px; height: 27px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.page-back__ico svg { transform: rotate(180deg); }
.page-back:hover .page-back__ico { border-color: var(--border-strong); transform: translateX(-3px); }

/* Aktyvus puslapis mobiliame meniu */
.nav__mobile a.is-active { color: var(--text); }

@media (max-width: 680px) {
  .care-note { border-radius: var(--r-md); align-items: flex-start; }
  .care-foot .btn { width: 100%; justify-content: center; }
  .plan__fit { margin-bottom: 22px; }
}

/* =========================================================================
   PADĖKOS PUSLAPIS (/aciu/) – kylanti augimo linija, dalelės, atgalinis laikmatis
   ========================================================================= */
.thanks {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 48px var(--pad);
  overflow: hidden;
}

/* --- Fonas: augimo grafikas apačioje ir kylančios dalelės --- */
.thanks__fx { position: absolute; inset: 0; pointer-events: none; }
.thanks__growth {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 62%;
}
.thanks__line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 10px rgb(var(--a2-rgb) / .7));
  animation: thDraw 2.4s var(--ease) .3s forwards;
}
.thanks__area { opacity: 0; animation: thFade 1.6s var(--ease) 1.2s forwards; }
/* Taškas linijos viršūnėje (1140/1200, 70/400 grafiko plote) */
.thanks__peak {
  position: absolute;
  left: 95%;
  bottom: calc(62% * (330 / 400));
  width: 14px; height: 14px;
  margin: 0 0 -7px -7px;
  border-radius: 50%;
  background: var(--a3);
  box-shadow: 0 0 0 0 rgb(var(--a3-rgb) / .6), 0 0 24px 4px rgb(var(--a3-rgb) / .55);
  opacity: 0;
  animation: thFade .5s ease 2.5s forwards, thPulse 2.2s ease-out 3s infinite;
}
.thanks__motes span {
  position: absolute;
  left: var(--x);
  bottom: -12px;
  width: var(--s); height: var(--s);
  border-radius: 50%;
  background: rgb(var(--a3-rgb) / .55);
  box-shadow: 0 0 10px rgb(var(--a3-rgb) / .6);
  animation: thRise var(--d) linear var(--dl) infinite;
}

/* --- Kortelė --- */
.thanks__card {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  padding: clamp(30px, 6vw, 54px) clamp(22px, 5vw, 50px);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgb(14 20 38 / .72), rgb(9 13 26 / .62));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card), 0 40px 120px -40px rgb(var(--a2-rgb) / .45);
}
.thanks__card > * { opacity: 0; animation: thUp .8s var(--ease) forwards; }
.thanks__card > :nth-child(1) { animation-delay: .05s; }
.thanks__card > :nth-child(2) { animation-delay: .12s; }
.thanks__card > :nth-child(3) { animation-delay: .5s; }
.thanks__card > :nth-child(4) { animation-delay: .6s; }
.thanks__card > :nth-child(5) { animation-delay: .7s; }
.thanks__card > :nth-child(6) { animation-delay: .8s; }
.thanks__card > :nth-child(7) { animation-delay: .95s; }
.thanks__card > :nth-child(8) { animation-delay: 1.1s; }

.thanks__brand { justify-content: center; margin-bottom: 26px; }

/* Varnelė: žiedas apsibrėžia, tada nupiešiama varnelė */
.thanks__badge {
  position: relative;
  width: 96px; height: 96px;
  margin: 0 auto 22px;
}
.thanks__badge::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--a2-rgb) / .35), transparent 70%);
  filter: blur(8px);
  animation: thGlow 2.6s ease-in-out 1s infinite;
}
.thanks__badge svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.thanks__ring {
  fill: rgb(var(--a2-rgb) / .08);
  stroke: url(#thRing);
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: thDraw .9s var(--ease) .2s forwards;
}
.thanks__check {
  fill: none;
  stroke: var(--text);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: thDraw .5s var(--ease) .95s forwards;
}

.thanks__eyebrow { justify-content: center; }
.thanks__title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 5.4vw, 2.7rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}
.thanks__lead { text-wrap: balance; margin-top: 14px; font-size: 1.06rem; color: var(--text-muted); }
.thanks__extra {
  margin: 18px auto 0;
  max-width: 44ch;
  font-size: 1.12rem;
  font-weight: 560;
  line-height: 1.5;
  color: var(--text);
  text-wrap: balance;
}

/* Kas toliau – trys žingsniai su jungiamąja linija */
.thanks__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.thanks__steps::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 16.6%; right: 16.6%;
  height: 2px;
  background: linear-gradient(90deg, var(--a1), var(--a3));
  opacity: .35;
}
.thanks__steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13.6px;
  line-height: 1.35;
  color: var(--text-muted);
}
.thanks__num {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
}
.thanks__steps li.is-now { color: var(--text); }
.thanks__steps li.is-now .thanks__num {
  background: var(--grad);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  animation: thPulse 2.2s ease-out 1.6s infinite;
}

/* Atgalinis laikmatis + mygtukas */
.thanks__back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.thanks__timer {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
}
.thanks__timer svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.thanks__timer circle {
  fill: none;
  stroke: var(--a2);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: thDrain var(--t) linear forwards;
}
.thanks__timer b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.thanks__note { font-size: 14px; color: var(--text-dim); }

@keyframes thDraw  { to { stroke-dashoffset: 0; } }
@keyframes thFade  { to { opacity: 1; } }
@keyframes thDrain { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 1; } }
@keyframes thUp    { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes thGlow  { 50% { opacity: .45; transform: scale(1.18); } }
@keyframes thPulse {
  0%   { box-shadow: 0 0 0 0 rgb(var(--a3-rgb) / .55), 0 0 24px 4px rgb(var(--a3-rgb) / .4); }
  100% { box-shadow: 0 0 0 16px rgb(var(--a3-rgb) / 0), 0 0 24px 4px rgb(var(--a3-rgb) / .4); }
}
@keyframes thRise {
  0%   { transform: translateY(0);       opacity: 0; }
  12%  { opacity: 1; }
  80%  { opacity: .8; }
  100% { transform: translateY(-105vh); opacity: 0; }
}

@media (max-width: 520px) {
  .thanks__steps { grid-template-columns: 1fr; gap: 12px; text-align: left; }
  .thanks__steps::before { display: none; }
  .thanks__steps li { flex-direction: row; gap: 12px; }
  .thanks__back .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .thanks__card > *, .thanks__area, .thanks__peak { animation: none; opacity: 1; }
  .thanks__line, .thanks__ring, .thanks__check { animation: none; stroke-dashoffset: 0; }
  .thanks__motes { display: none; }
}

/* =========================================================================
   TEISINIAI PUSLAPIAI (/privatumo-politika/, /taisykles/) – ramus skaitomas tekstas
   ========================================================================= */
.legal__updated { margin-top: 14px; font-size: 14px; color: var(--text-dim); }
.legal {
  max-width: 72ch;
  padding: clamp(26px, 4.5vw, 44px) clamp(20px, 4.5vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.legal h2 {
  margin-top: 34px;
  font-size: 1.14rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}
.legal h2:first-child { margin-top: 0; }
.legal p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-muted);
}
.legal a,
.form__privacy a {
  color: var(--a3);
  text-decoration: underline;
  text-decoration-color: rgb(var(--a3-rgb) / .35);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease;
}
.legal a:hover,
.form__privacy a:hover { text-decoration-color: currentColor; }

/* Nuorodos footer'yje po org. nr. */
.footer__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
  font-size: 12.8px;
}
.footer__docs a { color: var(--text-dim); transition: color .2s ease; }
.footer__docs a:hover { color: var(--text); }
