/* 0. Global box-sizing - bardzo ważne */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 1. Podstawowe style */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Satoshi', sans-serif;
  background: radial-gradient(circle at center, #334155 0%, #0f172a 80%);
  color: #e2e8f0;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 80vh;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem 5rem;
}

.brand {
  font-weight: 600;
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.2rem;
  text-shadow: 0 0 4px rgba(56, 189, 248, 0.3), 0 0 8px rgba(15, 241, 206, 0.2);
}

.brand span.buy {
  color: #0FF1CE;
  text-shadow: 0 0 5px #0FF1CE, 0 0 10px #0FF1CE;
}

.brand span.visor {
  color: #38bdf8;
}

h1 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.cta-button {
  margin-top: 1rem;
  padding: 0.75rem 1.8rem;
  background: #38BDF8;
  color: #0A1A2F;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #38bdf8aa;
}

.cta-button:hover:enabled {
  background: #0FF1CE;
  box-shadow: 0 0 15px #0FF1CE;
}

.cta-button:disabled {
  background: #334155;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

.cta-button-store {
  margin-top: 1rem;
  padding: 0.75rem 1.8rem;
  background: #38BDF8;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #38bdf8aa;
}

.cta-button-store:hover:enabled {
  background: #0FF1CE;
  box-shadow: 0 0 15px #0FF1CE;
}

.cta-button-store:disabled {
  background: #334155;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

/* 2. Sekcja .features z gridem i responsywnością */
.features {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  width: 100%;
  max-width: 960px;
  padding: 0 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.card,
.store-card {
  background-color: rgba(15, 23, 42, 0.6);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
  backdrop-filter: blur(6px);
  margin: 0;
}

.card i {
  font-size: 1.8rem;
  color: #0FF1CE;
  margin-bottom: 0.8rem;
}

.card h3 {
  color: #38BDF8;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.store-card i {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.store-card h3 {
  color: #38BDF8;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.store-card p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.more-soon {
  margin-top: 2rem;
  font-size: 1rem;
  color: #94a3b8;
  font-style: italic;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.05);
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.6);
  position: sticky;
  bottom: 0;
  z-index: 5;
}

a.brand-link {
  color: #94a3b8;
  text-decoration: none;
}

a.brand-link:hover {
  text-decoration: underline;
}

/* 3. Responsywność */

@media (max-width: 1024px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1rem;
  }

  .brand {
    font-size: 4.6rem;
    margin-bottom: 1rem;
  }

  h1 {
    font-size: 2.8rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    font-size: 2.2rem;
    padding: 1.2rem 2.5rem;
    margin-bottom: 2rem;
  }

  .cta-button-store {
    font-size: 1.2rem;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .card {
    padding: 2rem 1.2rem;
  }

  .card i {
    font-size: 1.2rem;
  }

  .card h3 {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 1.05rem;
  }

  .more-soon {
    font-size: 2.1rem;
  }

  footer {
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.6);
    position: sticky;
    z-index: 5;
  }
}

@media (max-width: 768px) {
  .features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
}

/* 4. Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #334155;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-brand {
  font-weight: 600;
  font-size: 1.4rem;
  color: #38BDF8;
  display: flex;
  gap: 0.2rem;
}

.nav-brand .buy {
  color: #0FF1CE;
  text-shadow: 0 0 5px #0FF1CE, 0 0 10px #0FF1CE;
  font-weight: 600;
}

.nav-brand .visor {
  color: #38bdf8;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #0FF1CE;
}

.nav-toggle {
  display: none;
  font-size: 1.6rem;
  color: #e2e8f0;
  cursor: pointer;
}

/* Responsive mobile menu */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0f172a;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1.5rem;
    display: none;
    margin-top: -1px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    padding: 0.5rem 0;
  }

  .nav-links li a {
    width: 100%;
    display: block;
  }
}


@keyframes bigPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.build-icon {
  font-size: 8rem;
  color: #0FF1CE;
  animation: bigPulse 1.5s infinite ease-in-out;
}

.build-wrapper {
  border: 4px solid rgba(15, 241, 206, 0.5); /* półprzezroczona ramka */
  border-radius: 1rem;
  padding: 2.5rem;
  background-color: #0f172a;
  box-shadow: 0 10px 15px rgba(15, 241, 206, 0.2);
  max-width: 600px;
  margin: 2.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;

  backdrop-filter: blur(8px);  /* efekt rozmycia tła za ramką */
  -webkit-backdrop-filter: blur(8px); /* dla Safari */
}