/* landing.css — style landing page Groundhopper
   Używa tych samych tokenów co app (base.css),
   ale nadpisuje html/body overflow i dodaje sekcje landingu */

html, body { height: auto; overflow: auto; }

/* ── CONTAINER ── */
.l-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAVBAR ── */
.l-nav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(248,250,252,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.l-nav-inner {
  display: flex; align-items: center;
  height: 130px; gap: 0;
}
.l-logo {
  display: flex; align-items: center;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}
.l-logo-img {
  height: 126px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  object-position: left center;
  display: block;
  mix-blend-mode: multiply;
}
.l-nav-links { display: flex; gap: 4px; margin-right: 20px; }
.l-nav-links a {
  font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 7px 12px; border-radius: var(--r-xs);
  text-decoration: none; transition: all .15s;
}
.l-nav-links a:hover { color: var(--text); background: var(--bg2); }
.l-nav-cta { display: flex; gap: 8px; flex-shrink: 0; }

/* ── SECTION BASE ── */
.l-section { padding: 96px 0; }
.l-section-alt { background: var(--bg2); }
.l-section-dark {
  background: var(--text);
  color: #F8FAFC;
}
.l-section-header { text-align: center; margin-bottom: 60px; }
.l-section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green-d);
  background: var(--green-l); padding: 5px 12px;
  border-radius: 99px; margin-bottom: 16px;
}
.l-section-title {
  font-family: var(--font-h);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; letter-spacing: -.03em;
  line-height: 1.1; color: var(--text); margin-bottom: 14px;
}
.l-section-sub {
  font-size: 18px; color: var(--muted);
  max-width: 520px; margin: 0 auto; line-height: 1.65;
}

/* ── HERO ── */
.l-hero {
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
}
.l-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}
.l-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green-d);
  margin-bottom: 20px;
}
.l-hero-eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--green-d); border-radius: 1px;
}
.l-hero-title {
  font-family: var(--font-h);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800; letter-spacing: -.04em;
  line-height: 1.05; color: var(--text); margin-bottom: 20px;
}
.l-hero-title .hl { color: var(--green-d); position: relative; }
.l-hero-title .hl::after {
  content: '';
  position: absolute; bottom: 2px; left: 0; right: 0;
  height: 3px; background: var(--green-l); border-radius: 2px;
  z-index: -1;
}
.l-hero-desc {
  font-size: 18px; color: var(--muted);
  line-height: 1.7; margin-bottom: 36px; max-width: 460px;
}
.l-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-hero-primary {
  padding: 14px 28px; font-size: 15px;
  border-radius: var(--r-sm);
  background: var(--green-d); color: #fff;
  box-shadow: 0 4px 16px rgba(16,185,129,.35);
  font-family: var(--font); font-weight: 700;
  cursor: pointer; border: none; transition: all .18s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover { background: var(--green-dd); box-shadow: 0 6px 20px rgba(16,185,129,.42); transform: translateY(-1px); }
.btn-hero-primary svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; }
.btn-hero-ghost {
  padding: 14px 28px; font-size: 15px;
  border-radius: var(--r-sm);
  background: var(--white); color: var(--text2);
  border: 1px solid var(--border);
  box-shadow: var(--sh);
  font-family: var(--font); font-weight: 700;
  cursor: pointer; transition: all .18s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-hero-ghost:hover { border-color: var(--border2); box-shadow: var(--sh-md); transform: translateY(-1px); }
.btn-hero-ghost svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.l-hero-stats { display: flex; gap: 32px; }
.l-hstat { display: flex; flex-direction: column; gap: 2px; }
.l-hstat-num { font-family: var(--font-h); font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.l-hstat-lbl { font-size: 12px; color: var(--muted); font-weight: 500; }
.l-hstat-div { width: 1px; background: var(--border); align-self: stretch; }

/* Hero visual */
.l-hero-visual { position: relative; z-index: 0; }
.l-hero-map-card {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(15,23,42,.12), 0 8px 24px rgba(15,23,42,.08);
  position: relative; z-index: 1;
}
.l-hero-map-head {
  background: var(--white); padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.l-hero-map-dot { width: 9px; height: 9px; border-radius: 50%; }
.l-hero-map-title { font-family: var(--font-h); font-size: 13px; font-weight: 800; flex: 1; }
.l-hero-map-city {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted);
}
.amber-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 2px rgba(245,158,11,.2); flex-shrink: 0; }
#hero-map { height: 340px; }

/* Floating stats on hero map */
.l-hero-float {
  position: absolute;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 14px;
  box-shadow: var(--sh-lg);
  font-family: var(--font-h);
  animation: heroFloat 3s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
}
.l-hero-float-1 { bottom: -16px; left: -20px; animation-delay: 0s; }
.l-hero-float-2 { top: 60px; right: -24px; animation-delay: 1.5s; }
.l-hero-float-num { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1; }
.l-hero-float-lbl { font-size: 10px; color: var(--muted); font-weight: 600; margin-top: 1px; }
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── HOW IT WORKS ── */
.l-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; position: relative; }
.l-steps::before {
  content: '';
  position: absolute; top: 28px; left: calc(16.666% + 16px); right: calc(16.666% + 16px);
  height: 1px; background: linear-gradient(90deg, var(--green-m), var(--blue-l));
  z-index: 0;
}
.l-step { position: relative; z-index: 1; }
.l-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--green-m);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 20px; font-weight: 800;
  color: var(--green-d); margin-bottom: 20px;
  box-shadow: var(--sh);
}
.l-step-title { font-family: var(--font-h); font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.l-step-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── FEATURES ── */
.l-features { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.l-feat {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px;
  transition: all .2s var(--ease);
}
.l-feat:hover { box-shadow: var(--sh-md); transform: translateY(-2px); border-color: var(--border2); }
.l-feat-large { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; }
.l-feat-ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.l-feat-ico svg { width: 22px; height: 22px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.l-feat-ico-g { background: var(--green-l); } .l-feat-ico-g svg { stroke: var(--green-d); }
.l-feat-ico-b { background: var(--blue-l);  } .l-feat-ico-b svg { stroke: var(--blue); }
.l-feat-ico-a { background: var(--amber-l); } .l-feat-ico-a svg { stroke: var(--amber); }
.l-feat-ico-r { background: var(--rose-l);  } .l-feat-ico-r svg { stroke: var(--rose); }
.l-feat-title { font-family: var(--font-h); font-size: 18px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.l-feat-desc  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Feature map preview */
.l-feat-map-wrap { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); height: 260px; }
#feat-map { height: 100%; }

/* ── SCREENSHOTS ── */
.l-screenshots {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.l-shot {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--sh);
  transition: all .2s var(--ease);
}
.l-shot:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.l-shot-large { grid-row: span 2; }
.l-shot-head {
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px;
  background: var(--white);
}
.l-shot-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg2); }
.l-shot-dot:first-child { background: #FCA5A5; }
.l-shot-dot:nth-child(2) { background: #FDE68A; }
.l-shot-dot:nth-child(3) { background: #BBF7D0; }
.l-shot-label { font-family: var(--font-h); font-size: 11px; font-weight: 800; color: var(--muted); margin-left: 4px; }
.l-shot-body { padding: 14px; }

/* Stats mockup */
.l-shot-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.l-shot-stat { background: var(--bg2); border-radius: 10px; padding: 12px; }
.l-shot-stat-num { font-family: var(--font-h); font-size: 22px; font-weight: 800; color: var(--text); line-height: 1; }
.l-shot-stat-lbl { font-size: 10px; color: var(--muted); margin-top: 2px; }
.l-shot-stat.green .l-shot-stat-num { color: var(--green-d); }
.l-shot-stat.blue  .l-shot-stat-num { color: var(--blue); }

/* Match list mockup */
.l-shot-match { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.l-shot-match:last-child { border-bottom: none; }
.l-shot-badge { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; flex-shrink: 0; }
.l-shot-match-info { flex: 1; min-width: 0; }
.l-shot-match-teams { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-shot-match-meta  { font-size: 10px; color: var(--muted); }
.l-shot-result { font-family: var(--font-h); font-size: 12px; font-weight: 800; background: var(--bg2); padding: 2px 7px; border-radius: 5px; }

/* Map screenshot */
.l-shot-map-wrap { border-radius: 8px; overflow: hidden; height: 180px; }
#shot-map { height: 100%; }

/* ── CTA ── */
.l-cta-inner {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, #ECFDF5, #EFF6FF);
  border: 1px solid #BBF7D0;
  border-radius: 28px;
  position: relative; overflow: hidden;
}
.l-cta-inner::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52,211,153,.12), transparent 70%);
}
.l-cta-inner::after {
  content: '';
  position: absolute; bottom: -40px; left: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.08), transparent 70%);
}
.l-cta-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-d); background: var(--green-l);
  padding: 5px 12px; border-radius: 99px; margin-bottom: 20px;
}
.l-cta-title {
  font-family: var(--font-h);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -.03em;
  color: var(--text); margin-bottom: 14px; line-height: 1.1;
}
.l-cta-sub { font-size: 17px; color: var(--muted); margin-bottom: 36px; max-width: 440px; margin-left: auto; margin-right: auto; }
.l-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.l-cta-note { font-size: 12px; color: var(--muted); margin-top: 16px; }

/* ── FOOTER ── */
.l-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.l-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.l-footer-links { display: flex; gap: 20px; }
.l-footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color .15s; }
.l-footer-links a:hover { color: var(--text); }
.l-footer-copy { font-size: 12px; color: var(--muted2); }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .l-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .l-hero-visual { order: -1; }
  .l-hero-float-1, .l-hero-float-2 { display: none; }
  .l-feat-large { grid-column: span 1; grid-template-columns: 1fr; }
  .l-feat-map-wrap { height: 200px; }
  .l-screenshots { grid-template-columns: 1fr 1fr; }
  .l-shot-large { grid-row: span 1; }
}
@media(max-width:768px) {
  .l-section { padding: 64px 0; }
  .l-nav-links { display: none; }
  .l-steps { grid-template-columns: 1fr; }
  .l-steps::before { display: none; }
  .l-features { grid-template-columns: 1fr; }
  .l-feat-large { grid-column: span 1; }
  .l-screenshots { grid-template-columns: 1fr; }
  .l-hero-stats { gap: 20px; flex-wrap: wrap; }
  .l-footer-inner { flex-direction: column; text-align: center; }
  .l-cta-inner { padding: 48px 24px; border-radius: 20px; }
}
@media(max-width:480px) {
  .l-container { padding: 0 16px; }
  .l-hero-title { font-size: 36px; }
  .l-hero-actions { flex-direction: column; }
  .btn-hero-primary, .btn-hero-ghost { justify-content: center; }
}

/* ── HERO HOME BLOCK ── */
.l-hero-home-block {
  display: inline-block;
  width: 100%;
  margin-top: 4px;
}
.l-hero-home-row {
  display: flex; align-items: center; gap: 0;
}
.l-hero-home-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 0 28px; flex: 1;
}
.l-hero-home-item:first-child { padding-left: 0; }
.l-hero-home-sep {
  width: 1px; height: 40px; background: var(--border); flex-shrink: 0;
}
.l-hero-home-icon { display: none; }
.l-hero-home-label {
  font-size: 11px; color: var(--muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
}
.l-hero-home-val {
  font-family: var(--font-h); font-size: 22px; font-weight: 800;
  color: var(--text); letter-spacing: -.02em; line-height: 1.1;
  white-space: nowrap;
}

@media(max-width:600px) {
  .l-hero-home-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .l-hero-home-sep { display: none; }
  .l-hero-home-item { padding: 0; }
}
