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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #E8E4F0;
  background: #0D0B12;
}

img { max-width: 100%; height: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 11, 18, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2A2438;
  padding: 18px 0;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.brand-lof { color: #ffffff; }
.brand-ring, .brand-guards { color: #A78BFA; }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: #C4B5FD; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-cta {
  background: #7C3AED;
  color: white;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav-cta:hover { background: #6D28D9; }

.lang-switch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #7C3AED;
  background: transparent;
  color: #A78BFA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  flex-shrink: 0;
  cursor: pointer;
}
.lang-switch:hover { background: rgba(124, 58, 237, 0.15); }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #C4B5FD;
  outline-offset: 2px;
}

/* ---------- Layout ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

.hero {
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.08;
  margin: 8px 0 24px;
  color: #fff;
  letter-spacing: -0.5px;
}

.eyebrow {
  color: #A78BFA;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-lead {
  font-size: 1.2rem;
  color: #C4B5FD;
  margin-bottom: 32px;
  max-width: 460px;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  background: #7C3AED;
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.btn:hover { background: #6D28D9; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
  font-size: 0.9rem;
  color: #C4B5FD;
}

.hero-img { width: 100%; max-width: 480px; margin: 0 auto; display: block; border-radius: 16px; }

section { padding: 64px 0; scroll-margin-top: 60px; }
section h2 { font-size: 2.2rem; font-weight: 700; color: #fff; margin-bottom: 16px; }

.section-lead { color: #C4B5FD; font-size: 1.1rem; max-width: 560px; margin-bottom: 40px; }
.app-section .section-lead { margin-bottom: 24px; }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.product-img { width: 100%; border-radius: 16px; }

.feature-list { display: grid; gap: 20px; margin-top: 24px; }
.feature-item h3 { font-size: 1.05rem; color: #fff; margin-bottom: 4px; }
.feature-item p { color: #C4B5FD; font-size: 0.95rem; }

.app-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.app-img { max-width: 280px; width: 100%; margin: 0 auto; display: block; border-radius: 24px; }

.app-points { display: flex; flex-direction: column; gap: 16px; margin: 20px 0 28px; }
.app-point { background: #161320; border: 1px solid #2A2438; border-radius: 12px; padding: 16px 20px; }
.app-point h3 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.app-point p { color: #C4B5FD; font-size: 0.95rem; line-height: 1.45; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: #161320; padding: 28px; border-radius: 16px; border: 1px solid #2A2438; }
.step-number {
  background: #7C3AED;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 16px;
}
.step h3 { color: #fff; margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: #C4B5FD; font-size: 0.95rem; }

.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: center; align-items: start; }
.benefit { padding: 12px 8px; }
.benefit-icon { width: 36px; height: 36px; margin: 0 auto 10px; color: #A78BFA; }
.benefit h3 { color: #fff; font-size: 1rem; margin-top: 6px; }
.benefit p { color: #C4B5FD; font-size: 0.9rem; margin-top: 6px; line-height: 1.45; }

/* ---------- Newsletter CTA ---------- */
.cta {
  background: linear-gradient(135deg, #1A1028 0%, #0D0B12 100%);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta img { width: 100%; border-radius: 16px; }

.form { margin-top: 20px; }
.form-row { display: flex; gap: 12px; }

.form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid #3A3048;
  background: #161320;
  color: white;
  font: inherit;
  font-size: 1rem;
}
.form input[type="email"]::placeholder { color: #7C6A9A; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 0.85rem;
  color: #A99BC4;
  line-height: 1.45;
  text-align: left;
}
.consent input { margin-top: 3px; accent-color: #7C3AED; flex-shrink: 0; width: 16px; height: 16px; }
.consent a, .footer-links a { color: #C4B5FD; }

/* Honeypot: hidden from people, visible to naive bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.5em; margin-top: 12px; font-size: 0.95rem; text-align: left; }
.form-status.ok { color: #86EFAC; }
.form-status.err { color: #FCA5A5; }

footer { text-align: center; padding: 40px 0 60px; color: #7C6A9A; font-size: 0.9rem; }
.footer-links { margin-top: 8px; font-size: 0.85rem; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  section { padding: 56px 0; }

  .nav-links { display: none; }
  .nav-inner { padding: 0 16px; }
  .nav-cta { padding: 8px 14px; font-size: 0.85rem; }
  .lang-switch { width: 36px; height: 36px; font-size: 0.78rem; }

  .hero { padding: 56px 0 36px; }
  .hero-content h1 { font-size: 2.1rem; line-height: 1.15; }

  .hero, .app-section, .cta { text-align: center; }
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .product-grid, .app-section, .cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .hero-content, .product-grid > div, .app-section > div, .cta > div {
    text-align: left;
    max-width: 100%;
  }

  .product-img { display: none; }
  .hero-img, .app-img, .cta img { width: 100%; margin: 0 auto 24px; display: block; }
  .hero-img { max-width: 320px; }
  .app-img { max-width: 340px; }
  .cta img { max-width: 100%; }
  .cta { padding: 36px 20px; }

  .hero-lead, .section-lead, .benefit p, .step p, .app-point p { text-align: left; line-height: 1.55; }
  #aplikacja h2, #jak h2, #dlaczego h2 { text-align: center; }

  .btn { margin-top: 8px; }
  .app-section > div .btn { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

  .steps { grid-template-columns: 1fr; gap: 16px; }
  .benefits { grid-template-columns: 1fr; gap: 24px; }
  .app-points { gap: 12px; }
}

@media (max-width: 480px) {
  .form-row { flex-direction: column; }
  .form-row .btn { width: 100%; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Privacy page ---------- */
.legal { max-width: 760px; padding: 48px 0; }
.legal h1 { color: #fff; font-size: 2rem; margin-bottom: 16px; }
.legal h2 { color: #fff; font-size: 1.2rem; margin: 28px 0 8px; }
.legal p, .legal li { color: #C4B5FD; margin-bottom: 8px; }
.legal ul { padding-left: 20px; }
.legal a { color: #A78BFA; }
.legal .todo { background: #3B2A10; color: #FCD34D; padding: 2px 6px; border-radius: 4px; }
