/* SoftiMap Family — marketingo svetainė */
:root {
  /* Ta pati paletė kaip apps/mobile/src/theme/colors.ts (brand navy/blue/aqua/mint) */
  --navy: #061B46;
  --navy-soft: #1c3a5e;
  --ink: #16233a;
  --muted: #5c6c82;
  --line: #e4eaf1;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-mint: #eefaf6;
  --blue: #168EFA;
  --teal: #00BEDC;
  --mint: #00E3AA;
  --amber: #f4a63a;
  --grad: linear-gradient(120deg, #168EFA 0%, #00BEDC 100%);
  --grad-soft: linear-gradient(120deg, #eaf4fd 0%, #e6faf4 100%);
  --shadow-sm: 0 2px 10px rgba(15, 44, 80, .06);
  --shadow-md: 0 18px 44px rgba(15, 44, 80, .12);
  --shadow-lg: 0 40px 90px rgba(15, 44, 80, .20);
  --radius: 22px;
  --wrap: 1140px;
  --font: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, select, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #087fca; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .4em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(35, 160, 200, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(35, 160, 200, .4); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 116px; gap: 20px; }
.logo img { height: 84px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-mobile-actions { display: none; }
.nav-links a { font-weight: 600; color: var(--navy-soft); font-size: .97rem; }
.nav-links a:hover { color: var(--teal); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lang-select { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-soft); }
.lang-select svg { width: 17px; height: 17px; flex: none; }
.lang-select select {
  appearance: none; -webkit-appearance: none; border: 1.5px solid var(--line); background: #fff;
  color: var(--navy); font: inherit; font-size: .9rem; font-weight: 600; border-radius: 999px;
  padding: 7px 26px 7px 12px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235c6c82' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center; background-size: 11px;
}
.lang-select select:hover { border-color: var(--teal); }
.footer-lang { margin-top: 16px; }
.footer-lang svg { color: #9fb4c9; }
.footer-lang select { background-color: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.footer-lang select option { color: #16233a; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 58px 0 48px; background: var(--grad-soft); }
.hero-actions { align-items: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, rgba(35, 201, 176, .16) 1.4px, transparent 1.6px);
  background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: center; }
.hero-grid > div:first-child { min-width: 0; }
.hero h1 { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.hero .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.16rem; color: var(--navy-soft); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff; border-radius: 14px; padding: 9px 16px; font-weight: 600;
}
.store-badge small { display: block; font-size: .66rem; opacity: .75; font-weight: 500; letter-spacing: .04em; }
.store-badge strong { font-size: .98rem; }
.store-badge svg { width: 22px; height: 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--navy-soft); }
.trust-row svg { width: 18px; height: 18px; color: var(--teal); }

/* Phone frame */
.phone {
  position: relative; width: 240px; max-width: 72vw; margin-inline: auto;
  border-radius: 38px; background: #0d1526; padding: 10px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1);
}
.phone::after {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 94px; height: 22px; background: #0d1526; border-radius: 0 0 16px 16px; z-index: 2;
}
.phone img { border-radius: 28px; width: 100%; display: block; }
.phone-stack { position: relative; display: flex; justify-content: center; }
.phone-stack .phone { position: relative; z-index: 2; rotate: 2.5deg; width: 250px; }
.phone-stack .phone.back {
  position: absolute; top: 14%; right: 4%; width: 176px; rotate: -7deg; z-index: 1; opacity: .97;
}
@media (max-width: 960px) {
  .phone-stack { margin-top: 14px; }
  .phone-stack .phone { rotate: 0deg; }
  .phone-stack .phone.back { display: none; }
}

/* Sections */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.soft { background: var(--bg-soft); }

/* Video presentation — tik LT ir EN versijose (kitur rodoma kaip ir anksčiau, be video) */
.video-section { display: none; }
html[lang="lt"] .video-section, html[lang="en"] .video-section { display: block; }
.video-frame video { display: none; }
html[lang="lt"] .video-frame .video-lt { display: block; }
html[lang="en"] .video-frame .video-en { display: block; }
.video-frame {
  max-width: 920px; margin: 0 auto; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #000; line-height: 0;
}
.video-frame video { width: 100%; height: auto; max-height: 80vh; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--teal); margin-bottom: 16px;
}
.feature-ico svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { margin: 0; font-size: .96rem; color: var(--muted); }

/* Showcase (alternating) */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.showcase + .showcase { margin-top: 72px; }
.showcase.flip .showcase-media { order: 2; }
.showcase-media { display: flex; justify-content: center; }
.showcase-media .phone { width: 248px; }
.showcase-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.showcase-copy ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.showcase-copy li { display: flex; gap: 11px; align-items: flex-start; font-size: 1rem; color: var(--navy-soft); }
.showcase-copy li svg { flex: none; width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: #eaf4fd; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Privacy (dark) */
.privacy { background: var(--navy); color: #dce7f2; position: relative; overflow: hidden; }
.privacy::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(35, 201, 176, .18), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(58, 165, 232, .16), transparent 45%);
}
.privacy .wrap { position: relative; }
.privacy h2 { color: #fff; }
.privacy .section-head p { color: #9fb4c9; }
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.privacy-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 22px; }
.privacy-card svg { width: 26px; height: 26px; color: var(--mint); margin-bottom: 12px; }
.privacy-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 5px; }
.privacy-card p { margin: 0; font-size: .9rem; color: #a9bccf; }
.privacy-note {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 22px 26px; text-align: center;
}
.privacy-note strong { color: #fff; }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; margin-bottom: 12px;
  background: #fff; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* CTA */
.cta-band { background: var(--grad); color: #fff; border-radius: 30px; padding: 54px 40px; text-align: center; box-shadow: var(--shadow-md); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 44ch; margin-inline: auto; }
.cta-band .store-badges { justify-content: center; margin-top: 24px; }
.cta-band .store-badge { background: rgba(255, 255, 255, .16); backdrop-filter: blur(4px); }

/* Footer */
.site-footer { background: var(--navy); color: #9fb4c9; padding: 54px 0 30px; }
.footer-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.site-footer img { height: 26px; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 12px; }
.footer-tagline { max-width: 30ch; font-size: .92rem; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.footer-links a { display: block; padding: 4px 0; font-size: .92rem; }
.footer-links a:hover { color: var(--mint); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Legal pages */
.legal { max-width: 760px; margin-inline: auto; }
.legal h1 { margin-bottom: .3em; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.callout { background: var(--bg-mint); border: 1px solid #c7ebe0; border-radius: 14px; padding: 16px 20px; font-size: .95rem; }

/* Reveal animation */
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 960px) {
  .feature-grid, .privacy-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { max-width: none; }
  .hero-actions, .store-badges, .trust-row { justify-content: center; }
  .hero .phone { rotate: 0deg; margin-top: 20px; }
  .showcase { grid-template-columns: 1fr; gap: 30px; }
  .showcase.flip .showcase-media { order: 0; }
  .showcase-copy { text-align: center; }
  .showcase-copy ul { text-align: left; max-width: 420px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .header-cta .lang-select svg { display: none; }
  .header-cta .lang-select select { padding: 6px 24px 6px 10px; font-size: .82rem; }
}
@media (max-width: 720px) {
  .nav-links, .header-cta .btn-ghost { display: none; }
  .header-row { gap: 10px; height: 88px; }
  .logo img { height: 64px; }
  .header-cta { gap: 8px; }
  .header-cta .btn-primary { padding: 10px 16px; font-size: .9rem; }
  .menu-toggle { display: block; }
  .site-header.menu-open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 20px;
  }
  .site-header.menu-open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .site-header.menu-open .nav-mobile-actions { display: flex; width: 100%; gap: 10px; padding-top: 14px; align-items: center; }
  .site-header.menu-open .nav-mobile-actions .btn { flex: 1; }
  section { padding: 56px 0; }
  .feature-grid, .privacy-grid, .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
}

@media (max-width: 480px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .header-cta > .lang-select, .header-cta > .btn-primary { display: none; }
  .logo img { height: 56px; }
  .hero { padding-top: 42px; }
  .hero-actions .btn { width: 100%; }
  .trust-row { display: grid; justify-content: center; }
}

/* Interactive product preview and mobile conversion helpers */
.nav-links a.active { color: var(--teal); }
.app-preview { display: grid; justify-items: center; gap: 18px; }
.screen-switcher { display: flex; padding: 5px; gap: 4px; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); z-index: 3; }
.screen-switcher button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; padding: 9px 13px; border-radius: 999px; cursor: pointer; }
.screen-switcher button.active { background: var(--navy); color: #fff; }
.screen-switcher button:focus-visible { outline: 3px solid rgba(18,200,178,.3); outline-offset: 2px; }
.site-status { position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 30; max-width: min(90vw, 520px); padding: 14px 18px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); text-align: center; }
.mobile-sticky-cta { display: none; }
.apk-note { max-width: 620px; margin: 16px auto 0; color: rgba(255,255,255,.78); font-size: .88rem; line-height: 1.5; text-align: center; }
@media (max-width: 600px) {
  body { padding-bottom: 68px; }
  .mobile-sticky-cta { display: block; position: fixed; z-index: 20; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); padding: 14px 18px; border-radius: 14px; color: #fff; background: linear-gradient(90deg, #24aeea, #18d9a6); box-shadow: 0 10px 30px rgba(6,35,66,.28); text-align: center; font-weight: 800; }
  .site-status { bottom: 82px; }
  .screen-switcher button { padding: 8px 10px; font-size: .82rem; }
}
