/* ============================================
   Candarra — landing
   ciemne tło, jeden mocny akcent, mobile-first
   ============================================ */

:root {
  --bg: #0d0d10;
  --bg-2: #14141a;
  --panel: #1a1a22;
  --panel-2: #20202a;
  --ink: #f4f1ea;
  --muted: #a6a2b4;
  --line: #2a2a35;
  --accent: #ff3b6b;      /* gorący róż, jedyny akcent */
  --accent-2: #ff5c80;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.wrap--narrow { max-width: 760px; }

a { color: var(--accent-2); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 96px 0 72px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; }

/* ---------- przełącznik języka ---------- */
.hero-lang {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 2;
}
#lang-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.2;
  padding: 8px 32px 8px 14px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a6a2b4' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
#lang-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
#lang-select option {
  background-color: var(--panel);
  color: var(--ink);
}

.badge {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 28px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 10vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 800;
}
.hero-title::after {
  content: "٭";
  color: var(--accent);
  font-size: .8em;
  margin-left: 6px;
}

.hero-tagline {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  color: var(--muted);
}

.hero-note {
  margin-top: 22px;
  font-size: .85rem;
  color: var(--muted);
}

.hero-glow {
  position: absolute;
  top: -140px; left: 50%;
  width: 600px; height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(255,59,107,.22) 0%,
    rgba(255,59,107,0) 65%);
  z-index: 0;
  pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 34px;
  border-radius: 999px;
  min-height: 56px;
}
.btn--hot {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255,59,107,.35);
  transition: transform .15s ease, background .15s ease;
}
.btn--hot:hover { background: var(--accent-2); transform: translateY(-2px); }

/* ---------- sections ---------- */
.section {
  padding: 72px 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-title {
  margin: 0 0 40px;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px; height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- features ---------- */
.feature-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.feature-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}
.feature-title::before {
  content: "»";
  color: var(--accent);
  margin-right: 8px;
}
.feature p { margin: 0; color: var(--muted); }

/* ---------- steps ---------- */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 24px 84px;
  margin-bottom: 14px;
}
.step:last-child { margin-bottom: 0; }
.step-num {
  position: absolute;
  left: 24px; top: 24px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.qa {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1.02rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
}
.qa[open] summary::after { content: "–"; }
.qa p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.cta-title {
  margin: 0 0 28px;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
}
.cta .btn { background: var(--accent); }

/* ---------- footer ---------- */
.footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
.footer-law { margin: 12px 0 0; font-size: .82rem; }

/* ---------- consent banner (cookie) ---------- */
.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--panel);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(0,0,0,.4);
}
.consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-top: 16px; padding-bottom: 16px;
}
.consent-text { margin: 0; flex: 1 1 340px; font-size: .95rem; }
.consent-actions { display: flex; align-items: center; gap: 10px; }
.consent-link { font-size: .9rem; white-space: nowrap; }
.consent .btn { min-height: 40px; padding: 9px 18px; font-size: .92rem; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--muted); }

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn--hot { transition: none; }
  .btn--hot:hover { transform: none; }
}

/* ---------- tablet & up ---------- */
@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .section { padding: 88px 0; }
  .hero { padding: 120px 0 88px; }
}