/* Strona główna (dla niezalogowanych) */
body { background: #fff; }
:root {
  --lp-navy: #0b1530;
  --lp-navy-2: #12224a;
  --lp-blue: #2563eb;
  --lp-blue-dark: #1d4ed8;
  --lp-teal: #14b8a6;
  --lp-text: #172036;
  --lp-muted: #5b6478;
  --lp-line: #e5e8ef;
  --lp-soft: #f5f7fb;
}
html { scroll-behavior: smooth; }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.lp-sec { padding: 96px 0; scroll-margin-top: 68px; }
.lp-sec-alt { background: var(--lp-soft); }
.lp-center { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.lp-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-blue); margin-bottom: 10px; }
.lp-sec h2, .lp-final h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 16px; color: var(--lp-text); }
.lp-sec p { color: var(--lp-muted); font-size: 17px; line-height: 1.65; margin: 0 0 20px; }

/* Przyciski */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 10px; font-weight: 650; font-size: 16px;
  background: var(--lp-blue); color: #fff; border: 1px solid var(--lp-blue); transition: background .15s, transform .15s; white-space: nowrap; }
.lp-btn:hover { background: var(--lp-blue-dark); text-decoration: none; transform: translateY(-1px); }
.lp-btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); color: #fff; }
.lp-btn-ghost:hover { background: rgba(255,255,255,.14); }
.lp-btn-sm { padding: 9px 16px; font-size: 14px; }
.lp-btn-light { background: #fff; color: var(--lp-navy); border-color: #fff; }
.lp-btn-light:hover { background: #e9eefc; }
.lp-btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.lp-btn-outline:hover { background: rgba(255,255,255,.1); }

/* Nawigacja */
.lp-nav { position: sticky; top: 0; z-index: 20; background: rgba(11,21,48,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.lp-nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.lp-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; letter-spacing: -.01em; }
.lp-logo:hover { text-decoration: none; }
.lp-logo b { color: #7fb0ff; }
.lp-logo-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 17px;
  background: linear-gradient(135deg, var(--lp-blue), var(--lp-teal)); color: #fff; }
.lp-links { display: flex; gap: 26px; margin-left: auto; }
.lp-links a { color: #c3cbe0; font-size: 15px; }
.lp-links a:hover { color: #fff; text-decoration: none; }

/* Hero */
.lp-hero { background: radial-gradient(1200px 600px at 85% -10%, #1e3a8a 0%, transparent 60%),
  radial-gradient(800px 500px at -10% 110%, #0f766e 0%, transparent 55%), var(--lp-navy); color: #fff; padding: 88px 0 104px; overflow: hidden; }
.lp-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.lp-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: rgba(20,184,166,.14); color: #5eead4; border: 1px solid rgba(94,234,212,.3); margin-bottom: 22px; }
.lp-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 22px; }
.lp-hero h1 span { background: linear-gradient(90deg, #7fb0ff, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 18.5px; line-height: 1.65; color: #c3cbe0; margin: 0 0 30px; max-width: 590px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; color: #c3cbe0; }
.lp-hero-points li { display: flex; gap: 10px; align-items: center; }
.lp-hero-points svg, .lp-list svg { width: 20px; height: 20px; flex: none; color: var(--lp-teal); }

/* Makieta aplikacji */
.lp-mock { background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  color: var(--lp-text); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--lp-line); }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e6ee; }
.lp-mock-bar span { margin-left: 12px; font-size: 12px; color: var(--lp-muted); background: var(--lp-soft); padding: 3px 12px; border-radius: 6px; }
.lp-mock-body { padding: 20px; }
.lp-mock-title { font-weight: 700; margin-bottom: 10px; }
.lp-mock-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--lp-line); }
.lp-mock-row b { display: block; font-size: 15px; }
.lp-mock-row small, .lp-mock-stats small { color: var(--lp-muted); font-size: 13px; }
.lp-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.lp-mock-stats div { background: var(--lp-soft); border-radius: 10px; padding: 10px 12px; }
.lp-mock-stats b { display: block; font-size: 22px; }

.lp-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.lp-tag-ok { background: #e3f7ec; color: #11683a; }
.lp-tag-warn { background: #fff2d6; color: #8a5800; }
.lp-tag-danger { background: #fde6e5; color: #b42318; }

/* Pasek źródeł */
.lp-sources { border-bottom: 1px solid var(--lp-line); background: #fff; }
.lp-sources-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-top: 22px; padding-bottom: 22px; color: var(--lp-muted); font-size: 15px; justify-content: center; }
.lp-sources b { color: var(--lp-text); }
.lp-sources em { font-style: normal; font-size: 13px; margin-right: 18px; }

/* Sekcje dwukolumnowe */
.lp-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.lp-split-rev > :first-child { order: 2; }
.lp-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; }
.lp-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--lp-muted); font-size: 16px; line-height: 1.5; }
.lp-list li b { color: var(--lp-text); }
.lp-list svg { margin-top: 2px; }
.lp-card { background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(16,24,40,.18); }
.lp-demo { padding: 26px; }
.lp-demo-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 18px; }
.lp-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-demo-grid div { background: var(--lp-soft); border-radius: 12px; padding: 14px; }
.lp-demo-grid small { display: block; color: var(--lp-muted); font-size: 13px; }
.lp-demo-grid b { display: block; font-size: 17px; margin: 2px 0 6px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-chips span { border: 1px solid var(--lp-line); border-radius: 8px; padding: 6px 12px; font-weight: 650; font-size: 14px; }
.lp-demo-foot { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--lp-line); color: var(--lp-muted); font-size: 14px; }

/* Funkcje */
.lp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-feat { position: relative; background: #fff; border: 1px solid var(--lp-line); border-radius: 14px; padding: 22px; transition: box-shadow .15s, transform .15s; }
.lp-feat:hover { box-shadow: 0 16px 32px -18px rgba(16,24,40,.25); transform: translateY(-2px); }
.lp-feat h3 { font-size: 16.5px; margin: 12px 0 6px; color: var(--lp-text); }
.lp-feat p { font-size: 14.5px; line-height: 1.55; margin: 0; }
.lp-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: #eaf1ff; }
.lp-soon { background: #fbfcfe; }
.lp-soon .lp-ico { background: #f0f2f6; }
.lp-soon > span { position: absolute; top: 18px; right: 18px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--lp-muted); background: #eef0f4; padding: 3px 8px; border-radius: 6px; }

/* Kroki */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.lp-steps li { background: #fff; border: 1px solid var(--lp-line); border-radius: 16px; padding: 28px; }
.lp-steps li > b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px;
  background: linear-gradient(135deg, var(--lp-blue), var(--lp-teal)); }
.lp-steps h3 { font-size: 19px; margin: 18px 0 8px; color: var(--lp-text); }
.lp-steps p { font-size: 15.5px; margin: 0; }

/* Bezpieczeństwo */
.lp-security { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.lp-list-2 { grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0; }

/* FAQ */
.lp-faq { max-width: 820px; }
.lp-faq details { background: #fff; border: 1px solid var(--lp-line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; }
.lp-faq summary { cursor: pointer; padding: 18px 0; font-weight: 650; font-size: 16.5px; color: var(--lp-text); list-style: none; position: relative; padding-right: 30px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--lp-blue); font-weight: 400; }
.lp-faq details[open] summary::after { content: '–'; }
.lp-faq details p { font-size: 15.5px; margin: 0 0 18px; }

/* Wezwanie końcowe */
.lp-final { background: linear-gradient(120deg, var(--lp-blue-dark), #0f766e); color: #fff; padding: 72px 0; }
.lp-final-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.lp-final h2 { color: #fff; margin-bottom: 8px; }
.lp-final p { color: #dbe6ff; margin: 0; font-size: 17px; }

/* Stopka */
.lp-footer { background: var(--lp-navy); color: #9aa5c0; padding: 34px 0; font-size: 14px; }
.lp-footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.lp-footer b { color: #fff; }
.lp-footer a { color: #c3cbe0; }
.lp-footer small { flex-basis: 100%; color: #6f7a96; }

@media (max-width: 1000px) {
  .lp-features { grid-template-columns: repeat(2, 1fr); }
  .lp-hero-in, .lp-split, .lp-security { grid-template-columns: 1fr; gap: 44px; }
  .lp-split-rev > :first-child { order: 0; }
  .lp-mock { transform: none; max-width: 520px; }
  .lp-links { display: none; }
  .lp-nav-in { justify-content: space-between; }
}
@media (max-width: 640px) {
  .lp-wrap { padding: 0 16px; }
  .lp-sec { padding: 64px 0; }
  .lp-hero { padding: 56px 0 72px; }
  .lp-features, .lp-steps, .lp-list-2, .lp-demo-grid { grid-template-columns: 1fr; }
  .lp-cta .lp-btn { width: 100%; }
  .lp-lead { font-size: 17px; }
}

/* Ekran logowania */
.auth-split { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(360px, 1fr); min-height: 100vh; }
.auth-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px 48px; color: #fff;
  background: radial-gradient(900px 500px at 100% 0%, #1e3a8a 0%, transparent 60%),
  radial-gradient(700px 400px at 0% 100%, #0f766e 0%, transparent 55%), var(--lp-navy); }
.auth-brand-copy { max-width: 440px; }
.auth-brand h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; }
.auth-brand p { color: #c3cbe0; font-size: 17px; line-height: 1.6; margin: 0 0 22px; }
.auth-brand ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #dbe3f5; }
.auth-brand li::before { content: '✓'; color: #5eead4; font-weight: 700; margin-right: 10px; }
.auth-back { color: #9aa5c0; font-size: 14px; }
.auth-back:hover { color: #fff; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; background: #fff; }
.auth-box { width: 100%; max-width: 380px; }
.auth-box h1 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 6px; }
.auth-box > .muted { margin: 0 0 24px; }
.auth-box form.stack { max-width: none; }
.auth-box input { padding: 12px 14px; font-size: 16px; }
.auth-submit { width: 100%; justify-content: center; padding: 13px; font-size: 16px; }
.auth-help { margin-top: 22px; }
.auth-mobile-logo { display: none; color: var(--lp-text); margin-bottom: 28px; }
.auth-mobile-logo b { color: var(--lp-blue); }

@media (max-width: 820px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-mobile-logo { display: flex; }
  .auth-main { place-items: start center; padding-top: 48px; }
}
