/* ====== PODSTAWY STRONY ====== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: #000000;
  color: #e2e8f0;
  overflow-x: hidden; 
}

.page-bg {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 0.4rem; 
  background: linear-gradient(
    to bottom,
    #0f172a 0%,
    #0b1224 50%,
    #020617 100%
  );
}

.card {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  background-color: #102f46;
  border: 1px solid #1f3b52;
  border-radius: 1.5rem;
  padding: 1.75rem 1rem; 
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75);
  overflow-wrap: break-word;
}

.logo {
  display: flex;
  align-items: center;
  height: 2.5rem;
  width: 100%;
  padding-bottom: 0.25rem;
  color: #e2e8f0;
  font-family: "Parisienne", "Great Vibes", "Dancing Script", cursive;
  font-size: 1.7rem;
  line-height: 1;
  gap: 0.5rem;
}

.logo .bar {
  font-size: 2rem;
  opacity: 0.8;
  font-weight: 300;
}

.separator {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.intro p {
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #f1f5f9;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  padding-top: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 0.75rem;
  background-image: linear-gradient(to right, #6ee7b7, #7dd3fc);
  color: #020617;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.section {
  margin-top: 1.5rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title .icon {
  font-size: 1.25rem;
  color: #34d399;
  position: relative;
  top: 1px;
  flex-shrink: 0;
}

.section h3 {
  margin: 1.2rem 0 1.0rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  position: relative;
  padding-left: 0.65rem; 
  letter-spacing: 0.015em;
}

.section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 4px;
  height: 1.2rem;
  border-radius: 3px;
  background: #34d399;
  opacity: 0.9;
}

.section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #f1f5f9;
}

.section ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.section ul li {
  margin-bottom: 0.3rem;
  color: #f1f5f9;
  font-size: 0.95rem;
  line-height: 1.6;
}

.note {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.note,
.note p,
.note li,
.note * {
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
  color: rgba(226, 232, 240, 0.9) !important;
}

.note a,
.section a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.8rem;
  background-image: linear-gradient(to right, #34d399, #38bdf8);
  color: #020617 !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  text-align: center;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.contact-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.80rem;
  color: rgba(226, 232, 240, 0.75);
  text-align: center;
  line-height: 2.2;
  font-weight: 400;
}

/* ====== INDYWIDUALNE POPRAWKI IKON – BAZA (MOBILE) ====== */

.icon-czym {
  font-size: 1.35rem !important;
  top: -2px !important;
}

.icon-wiedza {
  font-size: 1.07rem !important;
  top: 0px !important;
}

.icon-inne {
  font-size: 1.8rem !important; 
  top: 3px !important; 
  line-height: 0;
}

.icon-kontakt {
  top: 0.5px !important; 
}

@media (min-width: 768px) {
  .page-bg {
    padding: 2.5rem 1.5rem;
  }
  
  .card {
    padding: 2.75rem 2.5rem;
  }

  .intro p,
  .section p,
  .section ul li {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1rem;
  }

  .icon-inne {
    font-size: 1.25rem !important; 
    top: -2px !important;
  }
}

@media (min-width: 1024px) {
  .card {
    padding: 3rem 3rem;
  }
}

p sup,
li sup,
.footnote sup {
  color: #7dd3fc !important;
  font-weight: 700;
  font-size: 0.9em;
  vertical-align: super;
  margin-left: -2px;
  margin-right: -2px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
