/* === Zmienne === */
:root {
  --primary-color: #cc0000;
  --primary-dark: #990000;
  --bg-color: #111;
  --card-bg: #1c1c1c;
  --text-color: #f0f0f0;
  --text-secondary: #aaa;
}

/* === Reset === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === Nagłówek === */
header {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('Images/d79aeced-35df-453b-bc75-746e2f7a21a7.jpg') no-repeat center center/cover;
  filter: brightness(40%) contrast(110%);
  z-index: -1;
  animation: fadeInBackground 1.5s ease-out forwards;
}

.header-content {
  max-width: 800px;
  padding: 0 2rem;
  animation: slideUp 1s ease-out 0.3s both;
}

/* === Przyciski === */
.btn {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.6);
}

.btn:active {
  transform: translateY(1px);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn:hover::after {
  left: 100%;
}

.btn-large {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  padding: 1.2rem 3.5rem;
  border-radius: 12px;
}

.btn-medium {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.btn-block {
  display: block;
  width: 100%;
  padding: 1rem !important;
  font-size: 1.1rem !important;
  margin-top: auto;
}

/* Instagram Popup */
.ig-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.ig-popup.active {
  opacity: 1;
  visibility: visible;
}

.ig-popup-content {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  max-width: 400px;
  text-align: center;
  position: relative;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 30px rgba(204, 0, 0, 0.6);
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
}

.ig-popup-btn {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
  border: none !important;
  margin-top: 1.5rem;
  display: inline-block;
  text-decoration: none !important;
}

.ig-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 39, 67, 0.6) !important;
}

.ig-popup {
  display: none;
}
.ig-popup.active {
  display: flex;
}

/* === Nawigacja === */
nav {
  background-color: rgba(28, 28, 28, 0.9);
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  padding: 0.5rem 0;
  backdrop-filter: blur(5px);
}

.nav-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: clamp(0.8rem, 3vw, 1rem);
  position: relative;
}

nav a:hover {
  color: var(--primary-color);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

nav a:hover::after {
  width: calc(100% - 2rem);
  left: 1rem;
}

/* === Sekcje === */
.section {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: auto;
}

.section-title {
  color: var(--primary-color);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  margin: 1rem auto 0;
}

/* === Sekcja Przemiany === */
.transformation-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 3rem 0;
}

.transformation-pair {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.transformation-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.transformation-image {
  width: 100%;
  height: 400px; /* Stała wysokość */
  object-fit: cover; /* Zapewnia odpowiednie przycięcie zdjęcia */
  border-radius: 15px;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 25px rgba(204, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.transformation-image:hover {
  transform: scale(1.03);
}

.transformation-caption {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 1rem;
  color: var(--text-secondary);
}

.transformation-images.side-by-side {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.transformation-images.side-by-side .photo-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 1rem;
  max-width: 380px;
  flex: 1;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

.transformation-images.side-by-side .photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(204, 0, 0, 0.4);
}

.transformation-images.side-by-side img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(204, 0, 0, 0.3);
}

.transformation-images.side-by-side p {
  margin-top: 0.8rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.transformation-section {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.transformation-pair:not(:last-child) {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .transformation-pair {
    flex-direction: row;
    align-items: center;
  }
  
  .transformation-images {
    flex-wrap: nowrap;
  }
  
  .transformation-image {
    width: 100%;
    height: 350px; /* Mniejsza wysokość na desktopach */
  }
}

/* === Intro === */
.intro-container {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 0 30px rgba(0,0,0,0.7);
  margin: 3rem auto;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.intro-image {
  border-radius: 15px;
  border: 4px solid var(--primary-color);
  box-shadow: 0 0 30px rgba(204, 0, 0, 0.6);
}

.highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.intro-text {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Dodatkowe style dla sekcji historii */
.my-story {
  margin: 1.5rem 0;
  line-height: 1.7;
}

.my-story p {
  margin-bottom: 1rem;
}

.experience-list {
  list-style-type: none;
  margin: 1.5rem 0;
  padding-left: 0;
}

.experience-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
}

.experience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.2em;
  height: 1.2em;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23cc0000"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>');
  background-repeat: no-repeat;
}

.highlight {
  color: var(--primary-color);
  font-weight: 700;
}

/* === Plany treningowe === */
.plans-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.plan {
  background: rgba(28, 28, 28, 0.8);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(204, 0, 0, 0.3);
}

.plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.4);
  z-index: -1;
  opacity: 0.7;
}

.plan:nth-child(1)::before {
  background-image: url('Images/plan1-bg.png');
}

.plan:nth-child(2)::before {
  background-image: url('Images/plan2-bg.png');
}

.plan:nth-child(3)::before {
  background-image: url('Images/plan3-bg.png');
}

.plan:nth-child(4)::before {
  background-image: url('Images/plan4-bg.jpg');
}

.plan:nth-child(5)::before {
  background-image: url('Images/plan5-bg.png');
}

.plan-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text-color);
}

.plan-features {
  list-style-type: none;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
  position: relative;
}

.plan-features li::before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.price {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  margin: 1.5rem 0;
  display: block;
  color: white;
}

.price::before {
  content: "Tylko";
  display: block;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* === FAQ === */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(204, 0, 0, 0.2);
  padding-bottom: 1rem;
}

.faq-question {
  background: none;
  border: none;
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.faq-answer {
  color: var(--text-secondary);
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1rem;
}

.faq-item.active .faq-question .faq-arrow {
  transform: rotate(180deg);
}

.faq-icon {
  color: var(--primary-color);
  margin-right: 10px;
}

.faq-arrow {
  margin-left: auto;
  transition: transform 0.3s;
}

.faq-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.faq-ordered-list {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

/* === Opinie === */
.opinions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.opinion-img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.opinion-img:hover {
  transform: scale(1.02);
}

/* === Listy === */
.feature-list {
  list-style-type: none;
  margin: 1.5rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
}

.feature-list li::before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* === Obrazy === */
.section-image {
  width: 100%;
  border-radius: 15px;
  margin: 1.5rem 0;
}

/* === Kontakt === */
.contact-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s; 
}

.contact-link:hover {
  opacity: 0.8;
}

/* === Stopka === */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #222;
  margin-top: 3rem;
}

/* === Animacje === */
@keyframes fadeInBackground {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsywność === */
@media (min-width: 768px) {
  .intro-content {
    flex-direction: row;
  }
  
  header {
    height: 80vh;
  }
}

/* === Sekcja Statystyki === */
.stats-section {
  background-color: var(--card-bg);
  border-radius: 15px;
  margin-bottom: 3rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 2rem;
}

.stat-item {
  padding: 1.5rem;
  background: rgba(28, 28, 28, 0.8);
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(204, 0, 0, 0.3);
}

.stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-color);
}

/* Responsywność dla mniejszych ekranów */
@media (max-width: 600px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
}

/* Style dla karuzeli opinii */
.testimonial-section {
  background-color: var(--card-bg);
  border-radius: 15px;
  margin: 3rem auto;
  padding: 3rem 1rem;
  max-width: 1000px;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.testimonial-image-container {
  width: 220px; /* Zwiększony rozmiar */
  height: 330px; /* Zwiększony rozmiar */
  border-radius: 15px; /* Mniejsza wartość niż 50% dla kwadratowego kształtu */
  overflow: hidden;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.5);
  position: relative;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  font-style: italic;
  position: relative;
  padding: 0 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.testimonial-text::before {
  top: -1rem;
  left: 0;
}

.testimonial-text::after {
  bottom: -2rem;
  right: 0;
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-top: 2rem;
  text-align: center;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--primary-dark);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 768px) {
  .testimonial-content {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  
  .testimonial-text-container {
    flex: 1;
  }
}

.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000; /* Zwiększ z-index powyżej nawigacji (999) */
  animation: pulse 2s infinite;
}


.floating-cta button {
  border-radius: 50px;
  padding: 15px 25px;
  box-shadow: 0 5px 15px rgba(204, 0, 0, 0.4);
}

.floating-cta i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  nav {
    margin-bottom: 80px; /* Zapobiega nakładaniu się na zawartość */
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Aktywny link w nawigacji */
.nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link.active::after {
  width: calc(100% - 2rem) !important;
  left: 1rem !important;
}

/* CTA Box */
.cta-box {
  background: var(--primary-color);
  padding: 2rem;
  border-radius: 15px;
  margin: 3rem 0;
  text-align: center;
  color: white;
}

.cta-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Formularz kontaktowy */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info, .contact-form {
  flex: 1;
  min-width: 300px;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.ig-link {
  display: inline-block;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white !important;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin: 15px 0;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4);
}

.ig-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 39, 67, 0.6);
}

.ig-link i {
  margin-right: 8px;
  font-size: 1.2em;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #333;
  border-radius: 8px;
  background: #222;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.form-group textarea {
  min-height: 150px;
}

.form-message {
  display: none;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
}

.form-message.success {
  background: rgba(0, 200, 0, 0.2);
  border: 1px solid #0a0;
}

/* Responsywność */
@media (max-width: 768px) {
  .testimonial-content {
    flex-direction: column !important;
    text-align: center !important;
  }
  
  .testimonial-image-container {
    margin-bottom: 1.5rem;
  }
  
  .floating-cta {
    bottom: 15px;
    right: 15px;
  }
  
  .floating-cta button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .plan {
    margin-bottom: 2rem;
  }
  
  .transformation-image {
    height: 300px !important;
  }
}

/* Animacje dla przycisków */
.btn-secondary {
  background: #333 !important;
}

.btn-secondary:hover {
  background: #444 !important;
}
.newsletter-section {
  background-color: var(--card-bg);
  border-radius: 15px;
  margin: 3rem auto;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

.newsletter-form {
  margin-top: 1.5rem;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 2px solid #333;
  border-radius: 8px;
  background: #222;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.newsletter-form input[type="checkbox"] {
  margin-right: 10px;
}

.newsletter-form label {
  font-size: 0.9rem;
}

.newsletter-section small {
  display: block;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Efekt przed/po */
.before-after {
  position: relative;
  width: 100%;
  max-width: 350px;
}
.before-after img {
  display: block;
  width: 100%;
  border-radius: 15px;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 25px rgba(204, 0, 0, 0.4);
}
.before-after .after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}
.before-after:hover .after {
  opacity: 1;
}

.free-plan {
  border: 2px dashed var(--primary-color) !important;
  background: rgba(28, 28, 28, 0.6) !important;
}

.free-plan::before {
  display: none !important;
}

.free-plan .price::before {
  content: "Całkowicie za darmo!" !important;
}

.free-plan {
  border: 2px dashed var(--primary-color) !important;
  background: rgba(28, 28, 28, 0.6) !important;
}

.free-plan::before {
  display: none !important;
}

.free-plan .price::before {
  content: "Całkowicie za darmo!" !important;
}

/* Popup do pobierania */
.download-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.download-popup.active {
  opacity: 1;
  visibility: visible;
}

.download-popup-content {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  max-width: 400px;
  text-align: center;
  position: relative;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 30px rgba(204, 0, 0, 0.6);
}

.download-form {
  margin-top: 1.5rem;
}

.download-form input[type="text"],
.download-form input[type="email"] {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 2px solid #333;
  border-radius: 8px;
  background: #222;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.download-form input[type="checkbox"] {
  margin-right: 10px;
}

.download-form label {
  font-size: 0.9rem;
}