/* =========================================================
   RESET & GLOBAL
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #f5f5f5;
  background: #1e1e1e;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* =========================================================
   NAWIGACJA
========================================================= */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(47, 49, 54, 0.98);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  border-bottom: 1px solid #111;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 60px;
  transition: max-height 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #f39c12;
  background: rgba(243, 156, 18, 0.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: 1.8rem;
  cursor: pointer;
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero {
  background: linear-gradient(135deg, #111 0%, #222 100%);
  color: #f5f5f5;
  padding: 8rem 2rem 4rem;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #f39c12;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

#cu {
  display: flex;
  align-items: center;
  justify-content: center;
}

#cu img {
  margin-right: 0.5rem;
}

/* Buttons */
.btn-primary {
  background: #f39c12;
  color: #1e1e1e;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #d48806;
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #f5f5f5;
  padding: 1rem 2rem;
  border: 2px solid #f39c12;
  border-radius: 25px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #f39c12;
  color: #1e1e1e;
}

/* =========================================================
   SEKCJE
========================================================= */
section {
  scroll-margin-top: 200px;
}

.features,
.commands,
.stats,
.cta-section {
  padding: 5rem 2rem;
}

.features-grid,
.commands-grid,
.stats-grid {
  display: grid;
  gap: 2rem;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.commands-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
}

/* Cards */
.feature-card,
.command-card,
.stat-item {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #111;
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #f39c12;
}

.feature-icon {
  font-size: 2.5rem;
  color: #f39c12;
  margin-bottom: 1rem;
}

.command-card {
  background: #1e1e1e;
  padding: 1.5rem;
  border-left: 4px solid #f39c12;
  border-radius: 10px;
}

.stat-item h3 {
  font-size: 2rem;
  color: #f39c12;
}

/* CTA & Contact */
.cta-section {
  text-align: center;
}

.contact-form {
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #444;
  background: #2a2a2a;
  color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f39c12;
  outline: none;
}

/* =========================================================
   FOOTER
========================================================= */
footer {
  background: #111;
  color: #f5f5f5;
  padding: 3rem 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
  flex-direction: column;
}

.footer-section h3 {
  color: #f39c12;
  margin-bottom: 1rem;
}

.footer-section a {
  color: #b9bbbe;
  text-decoration: none;
}

.footer-section a:hover {
  color: #f39c12;
}

.social-links a {
  color: #b9bbbe;
  font-size: 1.5rem;
  margin: 0 0.5rem;
}

.social-links a:hover {
  color: #f39c12;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #2f3136;
  padding-top: 1rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
    background: rgba(47, 49, 54, 0.98);
    padding: 1rem;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .features-grid,
  .commands-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    max-height: 45px;
    width: auto;
  }
}

@media (max-width: 425px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
  }
}


@keyframes floatUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-120vh);
  }
}
