body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(20, 20, 20, 0.9);
  border-bottom: 1px solid #222;
}
.logo {
  font-size: 1.4em;
  font-weight: bold;
  color: #ffd700;
}
.logo span { color: #fff; }
nav a {
  margin-left: 20px;
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}
nav a:hover { color: #ffd700; }
.btn {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.login { border: 1px solid #ffd700; color: #ffd700; }
.signup { background: #ffd700; color: #000; margin-left: 10px; }

/* HERO */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 100px;
  gap: 50px;
  height: 90vh;
  background: url('/bg-supermarket.jpg') center/cover no-repeat;
  overflow: hidden;
}

/* CIEMNE PRZYCIEMNIENIE + LEKKI GRADIENT */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%);
  backdrop-filter: blur(1.5px);
}

/* TEKST + OBRAZEK POZYCJE */
.hero-text, .hero-image {
  position: relative;
  z-index: 1;
}

/* ANIMACJE WEJŚCIA */
.hero-text {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

.hero-image {
  opacity: 0;
  transform: translateX(20px);
  animation: fadeInRight 1.3s ease-out forwards;
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* TEKST HERO */
.hero-text h1 {
  font-size: 2.6em;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 20px;
}
.hero-text span { color: #ffd700; }
.hero-text p {
  font-size: 1.1em;
  color: #ccc;
  max-width: 550px;
  line-height: 1.6;
}

/* PRZYCISK CTA */
.cta {
  display: inline-block;
  margin-top: 30px;
  background: #ffd700;
  color: #000;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}
.cta:hover { background: #e6c200; }

/* OBRAZ TABLETU */
.hero-image img {
  width: 420px;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.25);
  animation: tabletGlow 6s ease-in-out infinite alternate;
}

@keyframes tabletGlow {
  from { box-shadow: 0 0 30px rgba(255, 215, 0, 0.25); }
  to { box-shadow: 0 0 60px rgba(255, 215, 0, 0.45); }
}

/* FEATURES */
.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 100px;
  background: #111;
}
.feature {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 300px;
  border: 1px solid #333;
  transition: transform 0.3s;
}
.feature:hover {
  transform: translateY(-5px);
  border-color: #ffd700;
}
.feature h3 {
  color: #ffd700;
  margin-bottom: 10px;
}
.feature p { color: #aaa; }

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #555;
  border-top: 1px solid #222;
}
/* BENEFITS SECTION */
/* BENEFITS SECTION */
.benefits {
  background: linear-gradient(180deg, #111 0%, #181818 100%);
  text-align: center;
  padding: 100px 100px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: radial-gradient(circle at top, rgba(255,215,0,0.12), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.benefits h2 {
  font-size: 2.4em;
  margin-bottom: 60px;
  color: #fff;
  position: relative;
  z-index: 2;
}

.benefits h2 span {
  color: #ffd700;
}

/* 🔸 Siatka benefitów — wszystkie równe */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 2rem;
}

/* 🔸 Każdy kafelek ma jednakową wysokość */
.benefit {
  background: #111;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  color: #ccc;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 230px; /* <-- DODAŁEM STAŁĄ WYSOKOŚĆ, KWADRATOWE KAFELKI */
}

/* 🔸 Efekt hover (złoty połysk) */
.benefit:hover {
  background: linear-gradient(145deg, #1a1a1a, #000);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  transform: translateY(-5px);
}

/* 🔸 Ikony w benefitach */
.benefit img {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  filter: brightness(1.1);
}

/* 🔸 Tytuł kafelka */
.benefit h3 {
  color: #ffcc00;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* 🔸 Tekst kafelka */
.benefit p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.4;
}


/* CTA FINAL SECTION */
/* CTA FINAL SECTION */
/* === CTA FINAL SECTION Z TŁEM WIDEO === */
.cta-section {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.45) contrast(1.1) saturate(1.1);
}

.cta-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 30px;
}

.cta-content h2 {
  font-size: 2.4em;
  color: #fff;
  margin-bottom: 20px;
}

.cta-content h2 span {
  color: #ffd700;
}

.cta-content p {
  color: #ccc;
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-btn {
  background: #ffd700;
  color: #000;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #e6c200;
  transform: scale(1.05);
}

/* Dla telefonów — automatyczne dopasowanie */
@media (max-width: 768px) {
  .cta-section {
    height: auto;
    padding: 80px 20px;
  }
  .cta-content h2 {
    font-size: 1.8em;
  }
  .cta-content p {
    font-size: 1em;
  }
}


/* === ŚWIATŁO I EFEKT PREMIUM === */
/* === ŚWIATŁO PREMIUM W SEKCJI DLACZEGO WARTO === */
.benefits {
  position: relative;
  overflow: hidden;
}

.benefits::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 300%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      70deg,
      rgba(255, 255, 200, 0.06) 0%,
      rgba(255, 255, 255, 0.12) 3%,
      transparent 10%,
      transparent 15%
    );
  animation: lightSweep 25s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.4;
  z-index: 1;
}

@keyframes lightSweep {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Tekst i karty nad światłem */
.benefits h2,
.benefit-grid,
.benefit {
  position: relative;
  z-index: 2;
}

/* === CONTACT SECTION === */
.contact {
  background: #0b0b0b;
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid #222;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,215,0,0.05) 0%, transparent 70%);
  animation: contactGlow 10s ease-in-out infinite alternate;
}

@keyframes contactGlow {
  from { transform: scale(1) rotate(0deg); opacity: 0.4; }
  to { transform: scale(1.1) rotate(10deg); opacity: 0.6; }
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.contact h2 {
  color: #ffd700;
  font-size: 2em;
  margin-bottom: 20px;
}

.contact p {
  color: #ccc;
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contact-link {
  color: #fff;
  font-size: 1.1em;
  text-decoration: none;
  transition: 0.3s;
}

.contact-link:hover {
  color: #ffd700;
  transform: scale(1.05);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 100px;
  height: 90vh;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4) contrast(1.2) saturate(1.1);
}

.hero-text, .hero-image {
  position: relative;
  z-index: 2;
}
/* === DOLNE KAFELKI (Dla kogo / Profesjonalne zastosowania) === */
.benefit:nth-last-of-type(2),
.benefit:last-of-type {
  margin-top: 40px;
  background: #0d0d0d;
  border: 1px solid rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.08);
  padding: 35px 25px;
  min-height: 220px;
  transition: all 0.3s ease;
}

/* Efekt wizualny separacji sekcji */
.benefit:nth-last-of-type(2)::before,
.benefit:last-of-type::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
  border-radius: 50%;
}

/* Efekt hover — lekki złoty połysk */
.benefit:nth-last-of-type(2):hover,
.benefit:last-of-type:hover {
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
  transform: translateY(-6px);
}

/* Na małych ekranach wracają do układu pionowego */
@media (max-width: 768px) {
  .benefit:nth-last-of-type(2),
  .benefit:last-of-type {
    margin-top: 20px;
  }
}
/* === RESPONSYWNOŚĆ — TELEFONY I TABLETY === */

/* Dla ekranów poniżej 1024px (tablety poziome) */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 80px 40px;
  }

  .hero-text p {
    max-width: 90%;
    margin: 0 auto;
  }

  .hero-image img {
    width: 300px;
    margin-top: 30px;
  }

  .benefits {
    padding: 60px 30px;
  }

  .benefit-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .features {
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
  }

  .feature {
    width: 90%;
  }
}

/* Dla ekranów poniżej 768px (telefony w poziomie / małe tablety) */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    padding: 15px 20px;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    display: inline-block;
    margin: 8px;
  }

  .hero {
    padding: 60px 25px;
  }

  .hero-text h1 {
    font-size: 1.8em;
  }

  .cta {
    padding: 12px 22px;
    font-size: 0.95em;
  }

  .benefit {
    height: auto;
    padding: 20px;
  }

  .benefit h3 {
    font-size: 1rem;
  }

  .cta-section {
    height: auto;
    padding: 60px 20px;
  }

  .cta-content h2 {
    font-size: 1.6em;
  }

  .cta-content p {
    font-size: 1em;
  }

  .contact h2 {
    font-size: 1.6em;
  }

  .contact p {
    font-size: 1em;
  }

  .contact-link {
    font-size: 1em;
  }
}

/* Dla ekranów poniżej 480px (telefony pionowo) */
@media (max-width: 480px) {
  .hero {
    padding: 50px 20px;
  }

  .hero-text h1 {
    font-size: 1.5em;
  }

  .hero-text p {
    font-size: 0.95em;
  }

  .hero-image img {
    width: 250px;
  }

  .benefits h2 {
    font-size: 1.6em;
  }

  .cta-content h2 {
    font-size: 1.4em;
  }

  .footer p {
    font-size: 0.9em;
  }
}
/* === NAPIS BRANŻOWY NAD HERO === */
.industry-intro {
  text-align: center;
  background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
  padding: 30px 20px 10px 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  position: relative;
  z-index: 3;
}

.industry-intro h2 {
  color: #ffd700;
  font-size: 1.8em;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.25);
}

#industry-text {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.7s ease-in-out;
}

