/* LocoGuide — strona informacyjna. Kolory jak w aplikacji (lib/theme.dart); bez zewnętrznych
   czcionek i skryptów, żeby strona nie wysyłała danych odwiedzających do nikogo innego. */
:root {
  --bg: #111110;
  --surface: #1c1b19;
  --raised: #282622;
  --outline: #3a3731;
  --accent: #e8a23d;
  --on-accent: #1f1405;
  --text: #f5f0e6;
  --muted: #b8af9f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: #f3bd6b; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Nagłówek */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(17, 17, 16, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 55, 49, .6);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 20px var(--serif); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.lang { border: 1px solid var(--outline); border-radius: 999px; padding: 4px 12px; color: var(--text) !important; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* Nagłówek główny */
.hero {
  padding: 72px 0 40px;
  background: radial-gradient(60% 70% at 25% 30%, rgba(232, 162, 61, .14), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); letter-spacing: .22em; text-transform: uppercase; font-size: 13px; font-weight: 600; margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 64px); }
h1 .hl { color: var(--accent); }
.lead { color: var(--muted); font-size: 19px; margin: 18px 0 28px; max-width: 34em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--outline);
  color: var(--text); text-decoration: none; font-weight: 600;
}
.store small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; line-height: 1.2; }
.store svg { width: 22px; height: 22px; flex: none; }
.store.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.store.primary small { color: rgba(31, 20, 5, .75); }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.phone {
  justify-self: center;
  width: min(300px, 80vw);
  border-radius: 38px;
  padding: 10px;
  background: #050505;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px var(--outline);
}
.phone img { border-radius: 30px; }

@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
}

/* Sekcje */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { color: var(--muted); margin: 12px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius);
  padding: 26px;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid transparent; }
.feature svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 14px; }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
.feature.wide { grid-column: span 2; background: linear-gradient(135deg, rgba(232, 162, 61, .16), var(--surface) 60%); border-color: rgba(232, 162, 61, .3); }

@media (max-width: 860px) {
  .steps, .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; }
}

/* Zrzuty ekranu */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shots figure { margin: 0; }
.shots img { border-radius: 24px; border: 1px solid var(--outline); }
.shots figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 10px; }
@media (max-width: 860px) {
  .shots { grid-template-columns: repeat(4, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shots figure { scroll-snap-align: start; }
}

/* Ceny */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan .tag { align-self: flex-start; background: var(--raised); color: var(--accent); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.plan h3 { font-size: 22px; }
.price { font: 700 36px var(--serif); margin: 10px 0 4px; }
.price small { font: 400 15px var(--sans); color: var(--muted); }
.plan ul { padding: 0; margin: 14px 0 0; list-style: none; color: var(--muted); font-size: 16px; }
.plan li { padding-left: 24px; position: relative; margin: 8px 0; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Pytania */
details { background: var(--surface); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Stopka */
footer { border-top: 1px solid var(--outline); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 36px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* Liczniki */
.stats { padding: 8px 0 24px; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 22px 20px; text-align: center; }
.stat b { display: block; font: 700 clamp(28px, 4vw, 40px) var(--serif); color: var(--accent); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } }

/* Dostępność: widoczne zaznaczenie z klawiatury, większe pola do stuknięcia, przejście do treści */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 20;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
.lang { min-height: 40px; display: inline-flex; align-items: center; }
.nav a { padding: 10px 2px; }
details { padding: 0; }
summary { padding: 18px 22px; min-height: 48px; }
details p { padding: 0 22px 18px; margin-top: 0; }
footer a { display: inline-block; padding: 10px 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Odznaki sklepów „wkrótce” nie są przyciskami — nie mogą udawać klikalnych */
.store { cursor: default; }
.store.primary { background: rgba(232, 162, 61, .14); border: 1px dashed var(--accent); color: var(--text); }
.store.primary small { color: var(--muted); }
.store.primary svg { color: var(--accent); }
.store { border-style: dashed; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  padding: 12px 22px; border-radius: 16px; background: var(--accent); color: var(--on-accent);
  font-weight: 700; text-decoration: none;
}
.cta:hover { background: #f3bd6b; color: var(--on-accent); }
.stats-note { color: var(--muted); font-size: 14px; text-align: center; margin: 14px 0 0; grid-column: 1 / -1; }
