/* ==========================================================================
   Strona główna
   Odwzorowanie makiety _docs/strona główna.html
   ========================================================================== */

/* --- SEKCJA POWITALNA ----------------------------------------------------- */

.hero { padding: 80px 0 60px; position: relative; overflow: hidden; }

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 168, 119, .07), transparent 70%);
  pointer-events: none;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 { font-size: 68px; max-width: 16ch; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--mint-d); }
.hero .lead { font-size: 19px; color: var(--ink-soft); max-width: 58ch; margin-bottom: 36px; line-height: 1.65; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-stats .s { display: flex; flex-direction: column; }
.hero-stats .s b { font-family: 'Fraunces', serif; font-size: 34px; font-weight: 600; line-height: 1; color: var(--ink); }
.hero-stats .s span { font-size: 13px; color: var(--grey); margin-top: 6px; }

@media (max-width: 720px) {
  .hero { padding: 52px 0 40px; }
  .hero h1 { font-size: 42px; }
}

/* --- PASEK ZAUFANIA ------------------------------------------------------- */

.trust-strip { background: var(--ink); color: var(--paper); padding: 20px 0; }
.trust-in { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; justify-content: center; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
}

.trust-item .rp-icon { width: 20px; height: 20px; }

/* --- KAFELKI KATEGORII ---------------------------------------------------- */

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

a.cat-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.cat-card.featured { border-color: var(--mint); border-width: 2px; }

.cat-card-top { display: flex; justify-content: space-between; align-items: flex-start; }

.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink);
}

.cat-icon .rp-icon { width: 22px; height: 22px; }

.cat-card h3 { font-size: 20px; margin: 0; }
.cat-card p { font-size: 14.5px; color: var(--ink-soft); flex: 1; line-height: 1.55; }

.cat-card .cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mint-d);
  margin-top: 4px;
}

.cat-card.coming .cat-link { color: var(--grey); }

.cat-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.cat-badge.live { background: var(--mint-bg); color: var(--mint-d); }
.cat-badge.soon { background: var(--paper-2); color: var(--grey); }

.cat-icon.green  { background: var(--mint-bg); }
.cat-icon.amber  { background: var(--amber-bg); }
.cat-icon.blue   { background: var(--blue-bg); }
.cat-icon.purple { background: var(--purple-bg); }
.cat-icon.red    { background: var(--red-bg); }
.cat-icon.teal   { background: var(--teal-bg); }

/* --- JAK DZIAŁAMY --------------------------------------------------------- */

.section-alt { background: var(--paper-2); }

.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

@media (max-width: 800px) { .how-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .how-grid { grid-template-columns: 1fr; } }

.how-step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }

.how-step .n {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--mint-d);
  border: 1.5px solid var(--mint);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.how-step h3 { font-size: 17px; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--ink-soft); }

/* --- WYRÓŻNIONY RANKING --------------------------------------------------- */

.featured-band {
  background: var(--paper-2);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 760px) { .featured-band { grid-template-columns: 1fr; padding: 30px; } }

.featured-band h2 { font-size: 34px; margin: 12px 0 16px; }
.featured-band p { color: var(--ink-soft); font-size: 16px; margin-bottom: 24px; }

.mini-rank { display: flex; flex-direction: column; gap: 12px; }

.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
}

.mini-card.top { border-color: var(--amber); border-width: 2px; }

.mini-pos {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--grey);
  width: 28px;
  flex: none;
  text-align: center;
}

.mini-card.top .mini-pos { color: var(--amber); }
.mini-name { font-weight: 600; font-size: 15px; flex: 1; }
.mini-value { min-width: 46px; }
.mini-score { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; color: var(--ink); }
.mini-bar { height: 4px; background: var(--line); border-radius: 2px; margin-top: 4px; }
.mini-bar-fill { height: 4px; background: var(--mint); border-radius: 2px; }

/* --- KAFELKI ARTYKUŁÓW ---------------------------------------------------- */

.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 800px) { .art-grid { grid-template-columns: 1fr; } }

.art-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s, transform .2s;
}

.art-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }

.art-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-d); }
.art-card h3 { font-size: 18px; line-height: 1.25; }
.art-card p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.art-card .read-more { font-size: 13.5px; font-weight: 600; color: var(--mint-d); margin-top: 6px; }

.section-actions { margin-top: 28px; text-align: center; }

/* --- PASEK NARZĘDZI ------------------------------------------------------- */

.tools-band {
  background: var(--ink);
  border-radius: 28px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.tools-band::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 168, 119, .35), transparent 70%);
  top: -80px;
  right: -40px;
}

.tools-copy { position: relative; }
.eyebrow-on-dark { color: rgba(15, 168, 119, .9); }
.tools-band h2 { font-size: 34px; color: var(--paper); margin: 12px 0 16px; }
.tools-band p { color: #CDDAD3; font-size: 16px; margin-bottom: 28px; }

.calc-preview {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 24px;
  position: relative;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 14px;
}

.calc-row:last-child { border-bottom: none; font-weight: 600; font-size: 16px; }
.calc-row span { color: #CDDAD3; }
.calc-row strong { color: #fff; }
.calc-row strong.accent { color: var(--mint); }

@media (max-width: 760px) { .tools-band { grid-template-columns: 1fr; padding: 32px; } }
