:root {
  --navy: #0a1a3f;
  --navy-2: #0d2150;
  --navy-3: #11295f;
  --blue: #2b6fff;
  --green: #4ade80;
  --orange: #ff6b1a;
  --text: #eaf0ff;
  --text-dim: #a9b6d6;
  --line: rgba(120, 150, 220, 0.18);
  --grad: linear-gradient(100deg, #2b6fff 0%, #36b6ff 40%, #4ade80 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fiksuotas fono foto visam puslapiui */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: url("hero-bg.jpg") center/cover no-repeat;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 18, 42, 0.30) 0%, rgba(8, 18, 42, 0.42) 100%);
}

h1, h2, h3 { font-family: 'Archivo', sans-serif; font-weight: 800; line-height: 1.1; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px;
  background: rgba(10, 26, 63, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { height: 38px; display: block; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  border: 1.5px solid var(--green);
  color: var(--green) !important;
  border-radius: 10px; padding: 9px 16px;
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.15);
  font-family: 'Archivo', sans-serif; font-weight: 700;
}
.nav__cta:hover { box-shadow: 0 0 18px rgba(74, 222, 128, 0.35); }
.nav__burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; text-decoration: none;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px;
  border-radius: 10px; padding: 14px 26px; cursor: pointer;
  transition: transform .2s, box-shadow .2s; border: none;
}
.btn--solid { background: var(--grad); color: #04122e; box-shadow: 0 8px 28px rgba(43, 111, 255, 0.35); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(74, 222, 128, 0.4); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 92vh; padding: 60px 22px;
  background: transparent;
  text-align: center;
}
.hero__inner h1, .hero__lead { text-shadow: 0 2px 18px rgba(2, 8, 24, 0.65); }
.hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 120%, rgba(255, 107, 26, 0.10), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 760px; }
.hero__logo { height: 84px; margin-bottom: 30px; filter: drop-shadow(0 8px 30px rgba(43,111,255,.35)); }
.hero__title { font-size: clamp(32px, 6vw, 56px); margin-bottom: 18px; }
.hero__title span {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(18px, 3vw, 22px); font-weight: 600; color: var(--text); margin-bottom: 14px; }
.hero__sub { color: var(--text-dim); font-size: 17px; max-width: 600px; margin: 0 auto 34px; }
.hero__btn { font-size: 17px; }

/* ===== SECTIONS ===== */
.section { padding: 84px 0; background: rgba(8, 20, 48, 0.34); }
.section--alt { background: rgba(6, 15, 38, 0.46); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--form {
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(74, 222, 128, 0.10), transparent 60%),
    rgba(6, 15, 38, 0.55);
}
.section .eyebrow, .section__title, .section__text { text-shadow: 0 2px 14px rgba(2, 8, 24, 0.55); }
.eyebrow {
  display: inline-block; font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}
.section__title { font-size: clamp(26px, 4.5vw, 38px); margin-bottom: 20px; max-width: 760px; }
.section__text { color: var(--text-dim); font-size: 17px; max-width: 680px; margin-bottom: 14px; }

/* ===== CARDS ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 36px; }
.card {
  background: var(--navy-3); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 24px; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(74, 222, 128, 0.4); }
.card__icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 12px; background: rgba(43, 111, 255, 0.14); }
.card__icon svg { width: 26px; height: 26px; stroke: var(--green); }
.card h3 { font-size: 19px; margin-bottom: 8px; font-weight: 700; }
.card p { color: var(--text-dim); font-size: 15px; }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 36px; }
.step { position: relative; background: var(--navy-2); border: 1px solid var(--line); border-radius: 16px; padding: 30px 24px 26px; }
.step__num {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 20px;
  border-radius: 12px; background: var(--grad); color: #04122e; margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 15px; }

/* ===== BENEFITS ===== */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 34px; }
.benefits li {
  position: relative; padding: 16px 18px 16px 52px;
  background: var(--navy-3); border: 1px solid var(--line); border-radius: 12px;
  font-weight: 600; font-size: 16px;
}
.benefits li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  background: var(--grad); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ===== SKAIČIUOKLĖ ===== */
.section--calc { background: rgba(6, 15, 38, 0.5); }
.calc {
  margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  background: var(--navy-2); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px; align-items: center;
}
.calc__control label { display: block; font-weight: 600; color: var(--text-dim); font-size: 15px; margin-bottom: 8px; }
.calc__value { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 30px; margin-bottom: 18px; }
.calc__value span {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.calc__control input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 6px; cursor: pointer;
  background: linear-gradient(90deg, #2b6fff 0%, #4ade80 var(--pct, 30%), rgba(255, 255, 255, 0.12) var(--pct, 30%));
}
.calc__control input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green); cursor: pointer; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}
.calc__control input[type=range]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green); cursor: pointer; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}
.calc__minmax { display: flex; justify-content: space-between; margin-top: 10px; color: var(--text-dim); font-size: 13px; }
.calc__results { display: flex; flex-direction: column; gap: 14px; }
.calc__result {
  background: var(--navy-3); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px; text-align: center;
}
.calc__result--big { border-color: rgba(74, 222, 128, 0.4); }
.calc__num { display: block; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 34px; line-height: 1.1; }
.calc__result--big .calc__num {
  font-size: 42px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.calc__label { display: block; color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.calc__note { color: var(--text-dim); font-size: 13px; margin: 18px 0 22px; max-width: 640px; }

/* ===== GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 30px; }
.gallery__item {
  aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-3); border: 1px dashed var(--line); color: var(--text-dim);
  font-size: 14px;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* ===== ATSILIEPIMAI ===== */
.stars { display: flex; gap: 6px; margin-top: 30px; margin-bottom: 16px; }
.stars svg { width: 30px; height: 30px; fill: var(--orange); stroke: var(--orange); }
.quote { font-size: clamp(20px, 3vw, 26px); font-family: 'Archivo', sans-serif; font-weight: 600; max-width: 720px; color: var(--text); }

/* ===== FORM ===== */
.form { margin-top: 34px; max-width: 640px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; margin-bottom: 16px; font-weight: 600; font-size: 14px; color: var(--text-dim); }
.form input, .form textarea {
  width: 100%; margin-top: 7px; padding: 13px 15px;
  background: var(--navy); border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}
.form textarea { resize: vertical; }
.form__btn { width: 100%; margin-top: 6px; }
.form__status { margin-top: 14px; font-weight: 600; min-height: 22px; }
.form__status.ok { color: var(--green); }
.form__status.err { color: #ff7a7a; }

/* ===== FOOTER ===== */
.footer { background: rgba(5, 12, 32, 0.82); border-top: 1px solid var(--line); padding: 46px 0 38px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer__logo { height: 42px; }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.footer__link { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; }
.footer__link:hover { color: var(--green); }
.footer__link svg { width: 20px; height: 20px; stroke: var(--green); }
.footer__copy { color: var(--text-dim); font-size: 14px; }

/* ===== SKROLINIMO ANIMACIJOS ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ===== MOBILE ===== */
@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 60px 0 auto 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--navy-2); border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s; padding: 8px 0;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 22px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 12px 22px; text-align: center; }
  .nav__burger { display: flex; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .calc { grid-template-columns: 1fr; gap: 26px; padding: 24px; }
  .section { padding: 64px 0; }
}
