/* ==========================================================================
   NEARBYLIST — MODUŁY ROZSZERZAJĄCE (PLUG & PLAY)
   Każdy moduł jest w 100% niezależny i można go usunąć usuwając dany blok.
   ========================================================================== */

/* === [START] MODUŁ: 3 KROKI (JAK TO DZIAŁA) === */
.steps-section {
  padding: 90px 5% 80px;
  background: #081014;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.steps-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.steps-header {
  text-align: center;
  margin-bottom: 50px;
}
.steps-header .eyebrow {
  justify-content: center;
}
.steps-header h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(30px, 3.5vw, 48px);
  letter-spacing: -2px;
  font-weight: 500;
  line-height: 1.15;
  margin: 14px 0 10px;
  color: #ffffff;
}
.steps-header p {
  font-family: 'DM Sans', sans-serif;
  color: #98a5ab;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  position: relative;
  background: rgba(16, 26, 33, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 38px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(130, 206, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(130, 206, 255, 0.12);
  border: 1px solid rgba(130, 206, 255, 0.25);
  color: #82ceff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
}
.step-card h3 {
  font-family: Manrope, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.6px;
}
.step-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: #98a5ab;
  margin: 0;
}
/* Ujednolicenie linków w górnym menu */
nav a {
  color: #eef1ef !important;
  transition: color 0.2s ease;
}
nav a:hover {
  color: #9cf4ce !important;
}
@media (max-width: 860px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
/* === [KONIEC] MODUŁ: 3 KROKI === */


/* === [START] MODUŁ 1: KINETYCZNA TYPOGRAFIA === */
.kinetic-text-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.kinetic-phrase {
  position: absolute;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(26px, 3.8vw, 54px);
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.88), 0 0 40px rgba(130, 206, 255, 0.45);
  opacity: 0;
  transform: translateY(40px) scale(0.88);
  filter: blur(8px);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  will-change: transform, opacity, filter;
  text-align: center;
  padding: 0 20px;
}
.kinetic-phrase.phrase-active {
  opacity: 0.98;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.kinetic-phrase.phrase-exit-curve {
  opacity: 0;
  transform: translate(-180px, -60px) rotate(-5deg) scale(0.9);
  filter: blur(10px);
}
#k-phrase-3 {
  max-width: 70%;
}
#k-phrase-3.phrase-exit-curve {
  opacity: 0;
  transform: translate(-240px, -40px) rotate(-6deg) scale(0.85);
  filter: blur(12px);
}
/* === [KONIEC] MODUŁ 1: KINETYCZNA TYPOGRAFIA === */


/* === [START] MODUŁ 2: SZKLANA KARTA POWIADOMIENIA (HUD) === */
.glass-notification-hud {
  position: absolute;
  top: 18%;
  right: 4%;
  z-index: 6;
  width: clamp(290px, 32%, 390px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(22px) scale(0.92);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-notification-hud.hud-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hud-glow {
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle at 30% 30%, rgba(46, 204, 113, 0.35), transparent 70%);
  filter: blur(16px);
  opacity: 0.8;
  z-index: 0;
  animation: hudPulse 3s ease-in-out infinite alternate;
}
@keyframes hudPulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.05); opacity: 0.9; }
}
.hud-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(13, 23, 30, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 24px rgba(46, 204, 113, 0.2);
}
.hud-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.hud-app-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hud-body {
  flex: 1;
  min-width: 0;
}
.hud-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}
.hud-brand {
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #82ceff;
}
.hud-time {
  color: #7d9ba6;
}
.hud-status {
  margin-left: auto;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
  background: rgba(46, 204, 113, 0.2);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 2px 7px;
  border-radius: 10px;
}
.hud-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
.hud-desc {
  font-size: 12px;
  color: #a0becd;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 800px) {
  .glass-notification-hud {
    top: auto;
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}
/* === [KONIEC] MODUŁ 2: SZKLANA KARTA POWIADOMIENIA (HUD) === */


/* === [START] MODUŁ 5: SIATKA BENTO GRID === */
.bento-section {
  padding: 100px 5% 90px;
  background: #081116;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bento-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.bento-header {
  margin-bottom: 45px;
}
.bento-header h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(30px, 3.5vw, 48px);
  letter-spacing: -2px;
  font-weight: 500;
  line-height: 1.15;
  margin: 14px 0 10px;
  color: #ffffff;
}
.bento-header p {
  color: #8da4b0;
  font-size: clamp(14px, 1.2vw, 17px);
  max-width: 620px;
  margin: 0;
  line-height: 1.55;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  position: relative;
  background: rgba(16, 27, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(130, 206, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(130, 206, 255, 0.08);
}
.bento-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #82ceff;
  margin-bottom: 14px;
  display: inline-block;
}
.bento-card h3 {
  font-family: Manrope, sans-serif;
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.bento-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #8ca3b0;
  margin: 0;
}
@media (max-width: 960px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}
/* === [KONIEC] MODUŁ 5: SIATKA BENTO GRID === */


/* === [START] MODUŁ: O PROJEKCIE === */
.about-section {
  padding: 110px 5% 90px;
  background: radial-gradient(ellipse at 50% 100%, #11282b55, #081014 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.about-inner {
  max-width: 900px;
  margin: 0 auto;
}
.about-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(130, 206, 255, 0.12);
  border: 1px solid rgba(130, 206, 255, 0.25);
  color: #82ceff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 26px;
}
.about-lead {
  font-size: clamp(20px, 2.3vw, 32px);
  line-height: 1.6;
  color: #d6e5eb;
  letter-spacing: -0.5px;
  margin: 0 0 24px;
}
.about-lead strong {
  color: #ffffff;
  font-weight: 600;
}
.about-tagline {
  font-size: 14px;
  color: #7b96a4;
  letter-spacing: 0.5px;
}
/* === [KONIEC] MODUŁ: O PROJEKCIE === */


/* === [START] MODUŁ: WYŚRODKOWANA STOPKA Z LINKAMI PRAWNYMI === */
.site-footer {
  padding: 50px 5% 100px; /* 100px na dole zapobiega zasłanianiu przez Floating CTA */
  background: #060c10;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.site-footer .brand {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-links a {
  color: #8ca3b0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-sep {
  color: #3b505a;
}
.footer-copy {
  font-size: 12px;
  color: #637b87;
  margin-top: 6px;
}
/* === [KONIEC] MODUŁ: WYŚRODKOWANA STOPKA === */


/* === [START] MODUŁ 6: PŁYWAJĄCY PASEK POBIERANIA (CTA) === */
.floating-cta-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.floating-cta-bar.cta-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-cta-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(14, 24, 31, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 16px 10px 12px;
  border-radius: 40px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(130, 206, 255, 0.15);
}
.floating-cta-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.floating-cta-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.floating-cta-text {
  display: flex;
  flex-direction: column;
}
.floating-cta-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.floating-cta-desc {
  font-size: 11px;
  color: #8da4b0;
  line-height: 1.2;
}
.floating-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  transition: transform 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}
.floating-cta-btn:hover {
  transform: scale(1.04);
  filter: brightness(1.1);
}
@media (max-width: 600px) {
  .floating-cta-bar {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .floating-cta-pill {
    width: 100%;
    justify-content: space-between;
  }
}
/* === [KONIEC] MODUŁ 6: PŁYWAJĄCY PASEK POBIERANIA (CTA) === */

/* Dyskretna notka AI w prawym górnym rogu sekcji hero */
.hero-ai-top {
  position: absolute;
  top: 24px;
  right: 8%;
  z-index: 4;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  pointer-events: none;
}
@media (max-width: 800px) {
  .hero-ai-top {
    top: 14px;
    right: 6%;
  }
}

/* === [START] PRZEŁĄCZNIK JĘZYKÓW (PL | EN) === */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 3px 6px;
  backdrop-filter: blur(12px);
  user-select: none;
  margin-left: 10px;
}
.lang-btn {
  background: none;
  border: none;
  color: #8da4b0;
  padding: 5px 9px;
  border-radius: 14px;
  cursor: pointer;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.6px;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-btn:hover {
  color: #ffffff;
}
.lang-btn.active {
  background: var(--accent, #9cf4ce);
  color: #081014;
  box-shadow: 0 2px 10px rgba(156, 244, 206, 0.35);
}
.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
}
@media (max-width: 800px) {
  header {
    height: auto;
    padding: 12px 5%;
    flex-wrap: wrap;
    gap: 12px;
  }
  nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  .lang-switcher {
    padding: 2px 4px;
    margin-left: 0;
  }
  .lang-btn {
    padding: 4px 7px;
    font-size: 10px;
  }
}
/* === [KONIEC] PRZEŁĄCZNIK JĘZYKÓW === */
