/* Wspólny styl podstron Google Pilot (regulamin, polityka, kontakt, funkcje) */
* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0; background: #ffffff; color: #0a0a0a;
  font-family: 'Sarabun', sans-serif; font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 60rem; margin: 0 auto; padding: 0 1.5rem; }

/* Nagłówek */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem; background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; }
.brand .dot { width: 1.5rem; height: 1.5rem; border-radius: 0; background: url(/landing/pilot.svg) center/contain no-repeat; }
.top nav { display: flex; gap: 1.5rem; font-size: 0.95rem; }
.top nav a { text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.top nav a:hover { opacity: 1; }
.top .cta { padding: 0.5rem 1.25rem; border: 1px solid #000; border-radius: 2rem; opacity: 1; }

/* Hero podstrony */
.page-hero { padding: 4rem 0 2rem; }
.page-hero .kicker { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.5; margin-bottom: 0.75rem; }
.page-hero h1 { font-weight: 200; font-size: clamp(2.2rem, 6vw, 3.5rem); letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 1rem; }
.page-hero p.lead { font-size: 1.15rem; opacity: 0.75; max-width: 40rem; margin: 0; }
.accent-line { height: 3px; width: 100%; margin: 2rem 0; border-radius: 3px;
  background: linear-gradient(to right,#0091ff,#00aaff,#8000ff,#ff0099,#ff0000); }

/* Treść */
.content { padding-bottom: 5rem; }
.content h2 { font-weight: 500; font-size: 1.4rem; margin: 2.5rem 0 0.75rem; letter-spacing: -0.01em; }
.content h3 { font-weight: 500; font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.content p, .content li { font-size: 1.02rem; opacity: 0.85; }
.content ul { padding-left: 1.25rem; }
.content li { margin-bottom: 0.4rem; }
.muted { opacity: 0.55; font-size: 0.9rem; }

/* Grid funkcji */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.feature-card {
  padding: 1.5rem; border: 1px solid rgba(0,0,0,0.1); border-radius: 1.1rem; background: #fbfcfe;
}
.feature-card .ico { width: 2.5rem; height: 2.5rem; border-radius: 0.7rem; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  background: linear-gradient(135deg,#0091ff22,#ff009922); }
.feature-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; font-weight: 500; }
.feature-card p { margin: 0; font-size: 0.95rem; opacity: 0.75; }

/* CTA blok */
.cta-block { text-align: center; padding: 3rem 1.5rem; margin: 2rem 0 4rem; border-radius: 1.5rem;
  background: linear-gradient(135deg,#0091ff10,#8000ff10,#ff009910); border: 1px solid rgba(0,0,0,0.06); }
.cta-block h2 { margin: 0 0 1.5rem; font-weight: 200; font-size: clamp(1.6rem,4vw,2.4rem); }
.btn { display: inline-block; text-decoration: none; padding: 0.85rem 2.5rem; border-radius: 2rem; font-weight: 500; font-size: 1rem; }
.btn-dark { background: #000; color: #fff; }
.btn-ghost { border: 1px solid #000; color: #000; margin-left: 0.75rem; }
.btn:hover { transform: translateY(-2px); }
.btn { transition: transform 0.2s; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(14rem,1fr)); gap: 1.5rem; margin-top: 2rem; }
.contact-card { padding: 1.5rem; border: 1px solid rgba(0,0,0,0.1); border-radius: 1.1rem; }
.contact-card .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.5; margin-bottom: 0.5rem; }
.contact-card a, .contact-card .val { font-size: 1.1rem; font-weight: 500; text-decoration: none; }

/* Stopka */
.foot { border-top: 1px solid rgba(0,0,0,0.08); padding: 2rem 0; font-size: 0.85rem; opacity: 0.6; }
.foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.foot a { text-decoration: none; opacity: 0.8; }

/* ============ MOBILE / RESPONSYWNOŚĆ ============ */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .wrap { padding: 0 1.25rem; max-width: 100%; }

  /* Header: logo z lewej, nav mniejszy i zawijany */
  .top { padding: 0.9rem 1.25rem; flex-wrap: wrap; gap: 0.5rem 1rem; }
  .top nav { gap: 1rem; font-size: 0.9rem; flex-wrap: wrap; justify-content: flex-end; }
  .top .cta { padding: 0.45rem 1rem; }

  /* Hero podstrony */
  .page-hero { padding: 3rem 0 1.5rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .page-hero p.lead { font-size: 1.05rem; }
  .accent-line { margin: 1.5rem 0; }

  /* Gridy: jedna kolumna */
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  /* CTA: przyciski w pionie, pełna szerokość */
  .cta-block { padding: 2.25rem 1.25rem; }
  .btn { display: block; width: 100%; text-align: center; padding: 0.85rem 1.5rem; }
  .btn-ghost { margin-left: 0; margin-top: 0.75rem; }

  /* Stopka: stack w pionie, wyśrodkowanie */
  .foot .wrap { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .wrap { padding: 0 1rem; }

  /* Header: brand wyśrodkowany, nav pełna szerokość w drugim rzędzie */
  .top { justify-content: center; padding: 0.85rem 1rem; }
  .brand { font-size: 1.05rem; }
  .top nav { width: 100%; justify-content: space-between; gap: 0.4rem 0.6rem; font-size: 0.82rem; }

  .page-hero h1 { font-size: clamp(1.6rem, 9vw, 2.2rem); }
  .content h2 { font-size: 1.25rem; }
  .content h3 { font-size: 1.05rem; }
  .cta-block h2 { font-size: 1.5rem; }
  .feature-card, .contact-card { padding: 1.25rem; }
}

/* ============ FORMULARZE AUTH (rejestracja / reset) ============ */
.auth-wrap { max-width: 28rem; margin: 0 auto; }
.auth-card {
  padding: 2.25rem; border: 1px solid rgba(0,0,0,0.1); border-radius: 1.25rem;
  background: #fbfcfe; margin-top: 1.5rem;
}
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field label { font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; opacity: 0.8; }
.field input {
  font-family: 'Sarabun', sans-serif; font-size: 1rem; padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.15); border-radius: 0.7rem; outline: none; background: #fff;
  transition: border-color 0.2s;
}
.field input:focus { border-color: #0091ff; }
.field .hint { font-size: 0.75rem; opacity: 0.55; margin-top: 0.35rem; }
.btn-full { display: block; width: 100%; text-align: center; padding: 0.85rem; border-radius: 0.7rem;
  background: #000; color: #fff; border: none; font-family: 'Sarabun', sans-serif; font-size: 1rem;
  font-weight: 500; cursor: pointer; transition: transform 0.2s, opacity 0.2s; text-decoration: none; }
.btn-full:hover { transform: translateY(-2px); }
.btn-full:disabled { opacity: 0.5; cursor: default; transform: none; }
.auth-msg { padding: 0.85rem 1rem; border-radius: 0.7rem; font-size: 0.9rem; margin-bottom: 1.1rem; display: none; }
.auth-msg.show { display: block; }
.auth-msg.ok { background: #e8f7ee; color: #0a7d34; }
.auth-msg.err { background: #fdecec; color: #c0261f; }
.auth-alt { text-align: center; margin-top: 1.25rem; font-size: 0.9rem; opacity: 0.75; }
.auth-alt a { font-weight: 500; }

/* --- rozbudowana stopka (dodane 2026-07-17) --- */
.foot-cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2.5rem; align-items: flex-start; }
.foot-brand { max-width: 300px; }
.foot-brand .brand { font-weight: 500; }
.foot-brand p { margin-top: 0.75rem; font-size: 0.85rem; opacity: 0.7; line-height: 1.55; }
.foot-col { display: flex; flex-direction: column; gap: 0.55rem; }
.foot-h { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.5; margin-bottom: 0.35rem; }
.foot-col a { font-size: 0.9rem; opacity: 0.85; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.08); font-size: 0.8rem; opacity: 0.65; }
@media (max-width: 640px) {
  .foot-cols { flex-direction: column; gap: 1.75rem; }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; }
}
