/* TNAVI – wspólny styl strony (kolory z logo: niebieski gradient, pomarańczowa ciężarówka). */
:root {
  --bg: #071a3d;          /* granat tła */
  --bg2: #0a2a63;
  --card: #0f2f6b;        /* karty i panele */
  --card2: #13397f;
  --line: #1d4690;
  --fg: #f4f8ff;
  --muted: #b3c7ea;
  --blue: #1f6fe0;        /* niebieski z logo */
  --sky: #67a9f1;
  --accent: #f86208;      /* pomarańcz ciężarówki */
  --accent2: #ff8a3d;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); }
a:hover { color: #9cc8f7; }

/* Nagłówek */
header {
  position: sticky; top: 0; z-index: 20;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(7, 26, 61, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(103, 169, 241, .15);
}
header .logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 22px; letter-spacing: 1.5px;
  color: var(--fg); text-decoration: none;
}
header .logo img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
header .logo span { color: var(--accent); }
header nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; align-items: center; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover { color: var(--fg); }
header nav a.cta { color: #fff; background: var(--accent); padding: 8px 16px; border-radius: 999px; font-weight: 700; }
header nav a.cta:hover { background: var(--accent2); }
@media (max-width: 760px) { header nav a.hide-sm { display: none; } header nav { gap: 14px; } }

main { max-width: 1120px; margin: 0 auto; padding: 32px 24px 64px; }

/* Hero */
.hero-wrap {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(103,169,241,.5), transparent 60%),
    linear-gradient(180deg, #0b3a8f 0%, #0a2a63 60%, var(--bg) 100%);
}
.hero {
  max-width: 1120px; margin: 0 auto; padding: 72px 24px 96px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { color: #d6e4fb; font-size: 19px; max-width: 560px; margin: 0 0 26px; }
.hero .truck { width: 118%; max-width: none; margin-left: -2%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--sky); margin-bottom: 14px;
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 8px 16px; min-width: 172px;
}
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 11px; color: #c9d3e6; line-height: 1.1; }
.store b { display: block; font-size: 17px; line-height: 1.2; }
.badge {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
  border-radius: 999px; padding: 6px 14px; font-size: 14px;
}
.soon { color: var(--muted); font-size: 14px; margin-top: 12px; }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding: 20px 20px 72px; gap: 8px; }
  .hero .truck { width: 100%; margin: 0; order: -1; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 17px; }
}

/* Pasek z liczbami */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: -48px auto 0; max-width: 1072px; position: relative; z-index: 2;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}
.stats div { text-align: center; }
.stats b { display: block; font-size: 26px; color: #fff; }
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); margin: -36px 16px 0; } }

/* Sekcje */
section { padding: 64px 0 8px; scroll-margin-top: 70px; }
section > h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 10px; }
p.sub { color: var(--muted); font-size: 18px; max-width: 700px; margin: 0 0 28px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(248, 98, 8, .16); color: var(--accent2);
}
.ico svg { width: 24px; height: 24px; }
.ico.blue { background: rgba(103, 169, 241, .16); color: var(--sky); }

/* Zrzuty aplikacji */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.showcase h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 10px; }
.phones { display: flex; gap: 18px; justify-content: center; padding-bottom: 36px; }
.phone {
  width: 46%; max-width: 260px; border-radius: 28px; padding: 8px; background: #0b0f17;
  box-shadow: 0 24px 50px rgba(0,0,0,.45), inset 0 0 0 2px #2a3550;
}
.phone img { border-radius: 21px; }
.phone:nth-child(2) { transform: translateY(36px); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { padding: 7px 0 7px 34px; position: relative; color: #dbe7fb; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
@media (max-width: 880px) { .showcase { grid-template-columns: 1fr; } .phone:nth-child(2) { transform: none; } .phones { padding-bottom: 0; } }
.showcase.rev > :first-child { order: 2; }
@media (max-width: 880px) { .showcase.rev > :first-child { order: 0; } }

.auto { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.35); }

/* Kraje */
.countries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.countries span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; }

/* Pas dla firm */
.band {
  margin-top: 72px; border-radius: 24px; padding: 40px;
  background: linear-gradient(120deg, #1f6fe0, #0a347d);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center;
}
.band h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.band p { margin: 0; color: #dbe7fb; }
.band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
  padding: 12px 22px; border-radius: 999px;
}
.btn:hover { background: var(--accent2); color: #fff; }
.btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.6); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 28px; } .band .actions { justify-content: flex-start; } }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Dokumenty (polityka, regulamin, usuwanie konta) */
.doc { max-width: 820px; }
.doc h1 { font-size: 34px; line-height: 1.2; }
.doc h2 { font-size: 20px; margin-top: 32px; }
.doc li { margin: 4px 0; }
.doc p, .doc li { color: #dbe7fb; }
.todo { background: rgba(248, 98, 8, .12); border-left: 4px solid var(--accent); padding: 8px 12px; border-radius: 6px; }

/* Stopka */
footer {
  color: var(--muted); font-size: 14px; padding: 32px 24px; border-top: 1px solid rgba(103,169,241,.15);
  text-align: center; background: #051430;
}
footer .foot-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; text-decoration: none; }
footer .foot-logo img { width: 28px; height: 28px; border-radius: 8px; }
footer nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 6px 0 10px; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--fg); }

.center { text-align: center; padding-top: 10vh; }
