/* Savio LSO — strona informacyjna. Paleta i typografia 1:1 z aplikacją (theme.js) i broszurą,
   żeby przejście "strona -> Zaloguj -> appka" nie miało wizualnego szwu. */

:root {
  --bg: #121110;
  --bg-soft: #171512;
  --card: #1C1A17;
  --card-alt: #221F1B;
  --text: #EDE6D9;
  --text-muted: #8A8175;
  --text-faint: #635C51;
  --primary: #8C3A3A;
  --primary-bright: #A6474A;
  --gold: #C7A257;
  --gold-soft: #C7A25733;
  --blue: #5F8BB3;
  --green: #3D6B54;
  --border: #2E2A24;
  --serif: 'Caladea', 'Cambria', 'Georgia', 'DejaVu Serif', serif;
  --sans: 'Carlito', 'Calibri', 'Segoe UI', 'DejaVu Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; letter-spacing: -0.3px; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(18,17,16,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--text); }
.brand small { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 400; letter-spacing: 0.5px; color: var(--text-muted); }
nav.site-nav { display: flex; align-items: center; gap: 28px; }
nav.site-nav a.nav-link {
  font-size: 14.5px; color: var(--text-muted); text-decoration: none; transition: color .15s;
}
nav.site-nav a.nav-link:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  padding: 11px 22px; border-radius: 9px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #FBF3EC;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 8px 20px -8px rgba(140,58,58,0.55);
}
.btn-primary:hover { background: var(--primary-bright); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background: radial-gradient(ellipse 60% 55% at 68% 30%, var(--gold-soft), transparent 70%);
  pointer-events: none; z-index: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-glow { animation: flicker 7s ease-in-out infinite; }
}
@keyframes flicker {
  0%, 100% { opacity: 0.9; }
  35% { opacity: 1; }
  50% { opacity: 0.82; }
  72% { opacity: 1; }
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.kicker {
  font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase; font-weight: 700;
  color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 9px;
}
.kicker .flame { width: 13px; height: 13px; flex-shrink: 0; }
.hero h1 { font-size: 46px; line-height: 1.12; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: 16.5px; line-height: 1.7; color: var(--text-muted); max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-faint); }

.phone-frame {
  position: relative; border: 1.5px solid #3A342C; border-radius: 26px; overflow: hidden;
  background: #050505; box-shadow: 0 24px 60px -20px rgba(0,0,0,0.65), 0 0 0 1px rgba(199,162,87,0.06);
  max-width: 300px; margin: 0 auto;
}
.phone-frame img { width: 100%; }
.phone-stack { position: relative; }
.phone-stack .phone-frame:first-child { position: relative; z-index: 2; }
.phone-stack .phone-frame.behind {
  position: absolute; z-index: 1; max-width: 250px; opacity: 0.5; filter: saturate(0.7);
}
.phone-stack .behind.left { left: -58px; top: 60px; transform: rotate(-9deg); }
.phone-stack .behind.right { right: -58px; top: 40px; transform: rotate(8deg); }

/* ---------- Sekcje funkcji ---------- */
.section { padding: 84px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { font-size: 30px; line-height: 1.2; margin-bottom: 14px; }
.section-lead { font-size: 15.5px; line-height: 1.7; color: var(--text-muted); }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }
.feature-shots { display: flex; gap: 20px; justify-content: center; }
.feature-shots .phone-frame { max-width: 190px; }
.feature-shots .phone-frame:nth-child(2) { margin-top: 34px; }
.feature-copy .eyebrow {
  font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700;
  color: var(--gold); margin-bottom: 10px;
}
.feature-copy h3 { font-size: 23px; margin-bottom: 12px; font-family: var(--serif); }
.feature-copy p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
ul.pts { list-style: none; margin: 0; padding: 0; }
ul.pts li {
  position: relative; padding-left: 18px; margin-bottom: 9px;
  font-size: 14.5px; line-height: 1.55; color: var(--text-muted);
}
ul.pts li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
ul.pts li b { color: var(--text); font-weight: 600; }

/* ---------- Jak to działa (kroki) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; }
.step-num { font-family: var(--serif); font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ---------- Konta ---------- */
.accounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.account-card { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 12px; padding: 22px; }
.account-card:nth-child(2) { border-left-color: var(--blue); }
.account-card:nth-child(3) { border-left-color: var(--green); }
.account-card h3 { font-size: 16px; margin-bottom: 8px; font-family: var(--serif); }
.account-card p { font-size: 13.8px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Callout / CTA final ---------- */
.callout {
  background: var(--card-alt); border: 1px solid var(--border); border-radius: 16px;
  padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.callout h3 { font-size: 21px; margin-bottom: 8px; font-family: var(--serif); }
.callout p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

.cta-final { text-align: center; padding: 90px 0; }
.cta-final h2 { font-size: 32px; margin-bottom: 16px; }
.cta-final .hero-lead { margin-inline: auto; text-align: center; }
.cta-final .hero-actions { justify-content: center; margin-top: 30px; }

/* ---------- Ozdobnik / divider ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto; padding: 6px 0; }
.divider .line { height: 1px; width: 60px; background: var(--border); }
.divider .flame { width: 15px; height: 15px; color: var(--gold); }

/* ---------- Stopka ---------- */
footer.site-footer { border-top: 1px solid var(--border); padding: 48px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--text-faint); font-size: 13px; line-height: 1.6; max-width: 260px; }
.footer-col h4 {
  font-family: var(--sans); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 12px; font-weight: 700;
}
.footer-col a, .footer-col span { display: block; font-size: 14px; color: var(--text-muted); text-decoration: none; margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-faint); flex-wrap: wrap; gap: 8px;
}

/* ---------- O aplikacji: pasek faktów (zamiast stosu identycznych kart Q&A) ---------- */
.facts-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: var(--card); margin-bottom: 48px;
}
.fact { padding: 26px 24px; border-left: 1px solid var(--border); }
.fact:first-child { border-left: none; }
.fact-label {
  font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700;
  color: var(--gold); margin-bottom: 8px;
}
.fact-value { font-family: var(--serif); font-size: 18px; color: var(--text); line-height: 1.35; }
.fact-value small { display: block; font-family: var(--sans); font-size: 13px; color: var(--text-muted); font-weight: 400; margin-top: 4px; }

.prose { font-size: 15.5px; line-height: 1.8; color: var(--text-muted); max-width: 640px; margin-bottom: 48px; }
.prose strong { color: var(--text); font-weight: 600; }

.about-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--border); padding-top: 40px; margin-top: 48px; flex-wrap: wrap;
}
.about-cta .contact-lines a { display: block; color: var(--gold); font-size: 15px; text-decoration: none; margin-top: 4px; }
.about-cta .contact-lines a:hover { text-decoration: underline; }

/* ---------- O aplikacji: dodatkowe bloki ---------- */
.info-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px 28px; margin-bottom: 16px; }
.info-card h3 { font-size: 16.5px; margin-bottom: 8px; font-family: var(--serif); }
.info-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }
.info-card .value { color: var(--text); font-weight: 600; }
.page-hero { padding: 56px 0 20px; }
.page-hero h1 { font-size: 36px; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 15.5px; max-width: 560px; line-height: 1.7; }

/* ---------- Mobile nav ---------- */
.nav-toggle { display: none; background: none; border: none; color: var(--text); padding: 6px; cursor: pointer; }

/* ---------- Responsywność ---------- */
@media (max-width: 900px) {
  .facts-strip { grid-template-columns: 1fr; }
  .fact { border-left: none; border-top: 1px solid var(--border); }
  .fact:first-child { border-top: none; }
  .about-cta { flex-direction: column; align-items: flex-start; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-phone {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
    max-width: none; margin: 0; display: flex; justify-content: center; align-items: flex-start;
    opacity: 0.28; pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 55%, transparent 88%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 55%, transparent 88%);
  }
  .hero-phone .phone-frame {
    max-width: 360px; margin-top: 30px; border: none; border-radius: 0; box-shadow: none; background: none;
  }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media { order: 1; }
  .feature-row.reverse .feature-copy { order: 2; }
  .steps { grid-template-columns: 1fr; }
  .accounts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .callout { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 640px) {
  nav.site-nav .nav-link { display: none; }
  .hero h1 { font-size: 34px; }
  .section h2 { font-size: 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .phone-stack .behind { display: none; }
}
