* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

.hero-wrapper {
  background-image: url('../images/backgrounds/Banner.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* ✅ añadido */
}

.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  /* ✅ alinear abajo */
  padding: 60px 40px;
  flex: 1;
  /* ✅ ocupa el espacio restante del wrapper */
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px 20px 40px;
  background-color: rgba(12, 23, 54, 0.8);
  /* fondo azul oscuro semi-transparente */
  backdrop-filter: blur(4px);
  /* opcional para efecto glassmorphism */
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
}

header>.menu-wrapper>nav {
  display: flex;
  gap: 20px;
}

.hero-wrapper>header .hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.hero-wrapper>header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-wrapper>header .logo img {
  height: 30px;
}

header>.menu-wrapper>nav a {
  color: #ccc;
  margin: 0 15px;
  text-decoration: none;
}

header>.menu-wrapper>nav a.contact {
  color: #b4ff45;
}

nav a {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

nav a::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  /* efecto blanco translúcido */
  border-radius: 50%;
  transform: scale(0);
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s ease, opacity 0.6s ease;
  top: 0;
  left: 0;
  z-index: 0;
}

nav a:active::after {
  transform: scale(2.5);
  opacity: 1;
  transition: 0s;
}

header>.menu-wrapper>.social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 20px;
  margin-left: 20px;
}

.menu-wrapper {
  display: flex;
  align-items: center;
}

header>.menu-wrapper>.social-icons img {
  transition: opacity 0.2s ease;
}

header>.menu-wrapper>.social-icons img:hover {
  opacity: 1;
}

.hero>.hero-text>.store-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero>.hero-text>.store-buttons img {
  max-width: 150px;
  height: auto;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 60px 40px;
}

.hero>.hero-text {
  max-width: 510px;
}

.hero>.hero-text h1 {
  font-size: 60px;
  margin-top: 46px;
  margin-bottom: 46px;
  font-weight: 700;
}

.hero>.hero-text h1 span {
  color: #b4ff45;
}

.hero>.hero-text>.btn-group>.btn {
  display: inline-block;
  padding: 26px 48px;
  border-radius: 11px;
  margin-right: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 25px;
}

.hero>.hero-text>.btn-group>.btn-primary {
  background-color: #BAF15B;
  border: 2px solid #BAF15B;
  color: #0a0e23;
}

.hero>.hero-text>.btn-group>.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
  background-color: transparent;
}

.hero>.hero-text>.btn-group>.btn:hover {
  transform: scale(1.05);
}

.hero-image {
  display: none;
}

/* ------------------------------
  Benefits Section
------------------------------ */
.benefits {
  background-color: #e6e6e6;
  padding: 60px 40px;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  color: #1a1a1a;
  gap: 40px;
}

.benefit {
  display: flex;
  align-items: center;
  max-width: 360px;
  gap: 65px;
  text-align: left;
}

.benefit img {
  width: 102px;
  height: auto;
  flex-shrink: 0;
}

.benefit p {
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

/*---------------------------
    about
    -----------------------------*/

.about-racketpulse {
  background-color: #f5f7fa;
  padding: 80px 40px;
  text-align: center;
  color: #1a1a1a;
}

.about-racketpulse h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.about-racketpulse .intro-text {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 17.5px;
  line-height: 1.6;
  color: #666;
}

.about-racketpulse .features-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.about-racketpulse .features-container .features-column {
  display: flex;
  flex-direction: column;
  gap: 130px;
  flex: 1 1 300px;
  max-width: 320px;
}

.about-racketpulse .features-container .features-column .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  text-align: left;
}

.about-racketpulse .features-container .features-column .feature-item img {
  height: auto;
}

.about-racketpulse .features-container .features-column .feature-item h4 {
  font-size: 16px;
  margin: 0 0 5px;
}

.about-racketpulse .features-container .features-column .feature-item p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.about-racketpulse .features-container .mobile-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.about-racketpulse .features-container .mobile-image img {
  height: auto;
  border-right: solid;
  border-right-width: 1px;
}

/*-----------------------
    Feature
    -----------------------*/

.feature-section {
  padding: 250px 0;
}

.features-section {
  background-image: url('../images/features/Features.webp');
  /* ajusta la ruta */
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  z-index: 1;
}

.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.85);
  /* opcional para mayor legibilidad */
  z-index: -1;
}

.feature-divider {
  width: 150px;
  height: 1px;
  background-color: #787878;
  margin: 0 auto 2rem auto;
  border: none;
}

.feature-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.feature-container .feature-text {
  flex: 0 1 500px;
  padding: 20px;
}

.feature-container .feature-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1E1E1E;
  text-align: center;
}

.club-divider {
  width: 150px;
  height: 1px;
  background-color: #787878;
  margin: 0 0 2.6rem 0;
  border: none;
}

.feature-container .feature-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #6A6A6A;
  text-align: center;
  max-width: 340px;
  margin: 3.5rem auto 3.5rem auto;
}

.feature-container .feature-text .btn-demo {
  display: block;
  padding: 12px 24px;
  border: 2px solid #787878;
  color: #6A6A6A;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.3s;
  margin: 0 auto;
  width: max-content;
}

.feature-container .feature-text .btn-demo:hover {
  background: #000;
  color: #fff;
}

.feature-container .feature-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.feature-container .feature-images .mockup {
  width: auto;
}

.feature-container .feature-images .mockup-side {}

/*----------------
    
    club feature
    -----------------*/

.club-features-section,
.pricing-section {
  padding: 0px 0px 250px 0px;
}

.club-features-section .club-features-container {
  max-width: 1240px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.club-features-section .club-features-container .club-images {
  /* flex: 1; */
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}



.club-features-section .club-features-container .club-text {
  flex: 1;
  max-width: 500px;
}

.club-features-section .club-features-container .club-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2.2rem;
  color: #1e1e1e;
}

.club-features-section .club-features-container .club-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.club-features-section .club-features-container .club-text li {
  display: flex;
  align-items: center;
  font-size: 22px;
  margin-bottom: 40px;
  color: #1e1e1e;
  font-weight: bold;
}

.club-features-section .club-features-container .club-text li:last-child {
  margin-bottom: 0px;
}

.club-features-section .club-features-container .club-text li img {
  margin-right: 12px;
}

/*--------------------
      Pricing plans
    -----------------*/

.pricing-header {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #1e1e1e;
}

.pricing-header p {
  font-size: 1rem;
  color: #666;
}

/* Toggle */
.toggle-container {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin: 25px 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #4caf50;
}

input:checked+.slider:before {
  transform: translateX(24px);
}

/* Pricing Cards */


.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.pricing-cards .pricing-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 450px;
  flex: 1 1 450px;
  transition: transform 0.3s;
  position: relative;
  height: fit-content;
}

.pricing-cards .pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-cards .pricing-card h3 {
  background: #BAF15B;
  padding: 23px 0;
  border-radius: 22px 22px 0 0;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #1E1E1E;
}

.pricing-cards .pricing-card .price {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 60px;
  color: #1e1e1e;
}

.pricing-cards .pricing-card .price p {
  font-family: 'Inter', sans-serif;
  font-weight: 100;
  font-style: italic;
  font-size: 1.5rem;
  color: #777;
  margin-top: 15px;
}

.pricing-cards .pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.pricing-cards .pricing-card ul li {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 50px;
  padding-right: 50px;
  margin-bottom: 30px;
  font-size: 1.5rem;
  color: #333;
}

.pricing-cards .pricing-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background-size: contain;
}

.pricing-cards .pricing-card ul li img {
  margin-right: 20px;
}

.pricing-cards .pricing-card .discount {
  font-family: 'Inter', sans-serif;
  font-weight: 100;
  font-style: italic;
  font-size: 1.5rem;
  color: #777;
  max-width: 300px;
  margin: 53px auto;
}

.pricing-cards .pricing-card .btn-green {
  font-size: 23px;
  display: inline-block;
  background: #BAF15B;
  color: #000;
  padding: 25px 40px;
  font-weight: bold;
  border-radius: 13px;
  text-decoration: none;
  transition: background 0.3s;
  margin-bottom: 50px;
  letter-spacing: 0px;
}

.pricing-cards .pricing-card .btn-green:hover {
  background: #000;
  color: #fff;
}

.pricing-section .pricing-header .toggle-container .toggle-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e1e1e;
  min-width: 60px;
  text-align: center;
}

.pricing-section .pricing-header hr {
  width: 155px;
  margin: 25px auto;
  border: 1px solid #787878;
}

/*----------------
    App section
    -------------*/

.app-section {
  color: #1e1e1e;
  font-family: 'Inter', sans-serif;
}

.app-section .app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.app-section .app-content .text-column {
  flex: 1 1 450px;
  text-align: center;
  margin-bottom: 40px;
}

.app-section .app-content .text-column h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.app-section .app-content .text-column hr {
  width: 210px;
  margin: 45px auto;
  border: 1px solid #787878;
}

.app-section .app-content .text-column p {
  font-size: 1.25rem;
  font-weight: 300;
  color: #6A6A6A;
  max-width: 500px;
  margin: auto auto 30px auto;
}

.app-section .app-content .text-column .btn-outline {
  display: inline-block;
  padding: 12px 40px;
  border: 3px solid #787878;
  border-radius: 8px;
  color: #787878;
  font-weight: bolder;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 20px;
}

.app-section .app-content .text-column .btn-outline:hover {
  background: #1e1e1e;
  color: white;
}

.app-section .app-content .mockup-column {
  flex: 1 1 400px;
  text-align: center;
  display: inherit;
}

.app-section .app-content .mockup-column img {
  max-width: 100%;
  height: auto;
}

/*------------------------
      CTA
    --------------------------*/

.cta-section {
  position: relative;
  background: url('../images/backgrounds/background-cta.webp') center/cover no-repeat;
  padding: 60px 20px;
  color: white;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cta-left {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.cta-left img {
  max-width: 100%;
  height: auto;
  margin-right: -80px;
  /* invadir la derecha */
  margin-top: -40px;
  /* opcional si quieres que suba un poco */
}

.cta-right {
  max-width: 500px;
  text-align: center;
}

.cta-right h2 {
  font-family: 'Inter', sans-serif;
  font-size: 47px;
  font-weight: 300;
  margin: 80px 0;
}

.cta-right .highlight {
  color: #A2E12F;
  /* color verde flúor o similar */
  font-weight: 500;
}

.cta-logo {
  max-width: 360px;
  width: 100%;
  height: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

.store-button img {
  transition: transform 0.3s ease;
}

.store-button img:hover {
  transform: scale(1.05);
}

.footer-contact {
  background-color: #0C1736;
  padding: 80px 20px;
  color: #CFCDCD;
  font-family: 'Inter', sans-serif;
}

.footer-contact .footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 55px;
}

.footer-contact .footer-container .footer-left {
  flex: 1 1 35%;
}

.footer-contact .footer-container .footer-left img.footer-logo {
  margin-bottom: 20px;
}

.footer-contact .footer-container .footer-left p {
  font-size: 16px;
  color: #CFCDCD;
  line-height: 1.6;
}

.footer-contact .footer-container .footer-right {
  flex: 1 1 55%;
}

.footer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-header h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-contact .footer-container .footer-right h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 100;
}

.footer-contact .footer-container .footer-right .contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact .footer-container .footer-right .contact-form .input-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-contact .footer-container .footer-right .contact-form .input-group input,
.footer-contact .footer-container .footer-right .contact-form .input-group textarea,
.footer-contact .footer-container .footer-right .contact-form .email-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #787878;
  background-color: transparent;
  color: #CFCDCD;
  font-family: 'Inter', sans-serif;
}

.footer-contact .footer-container .footer-right .contact-form .input-group input::placeholder,
.footer-contact .footer-container .footer-right .contact-form .input-group textarea::placeholder,
.footer-contact .footer-container .footer-right .contact-form .email-input::placeholder {
  color: #787878;
}

.footer-contact .footer-container .footer-right .contact-form .submit-btn {
  align-self: flex-end;
  background-color: #A2E12F;
  color: #0C1736;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 20px 70px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.3s ease;
  font-size: 20px;
}

.footer-contact .footer-container .footer-right .contact-form .submit-btn:hover {
  background-color: #B8F243;
}

.footer-contact .footer-container .footer-right .footer-header .social-icons {
  display: flex;
  gap: 15px;
  color: #CFCDCD;
}

.footer-contact .footer-container .footer-right .contact-form .form-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-contact .footer-container .footer-right .contact-form .form-grid .left-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact .footer-container .footer-right .contact-form .form-grid textarea {
  flex: 1;
  resize: none;
}

.footer-contact .footer-container .footer-right .contact-form .form-grid input,
.footer-contact .footer-container .footer-right .contact-form .form-grid textarea {
  background: transparent;
  border: 1px solid #787878;
  border-radius: 8px;
  padding: 12px 16px;
  color: #CFCDCD;
  font-size: 15px;
}

.footer-contact .footer-container .footer-right .contact-form .form-grid input::placeholder,
.footer-contact .footer-container .footer-right .contact-form .form-grid textarea::placeholder {
  color: #787878;
}

.footer-contact .footer-container .footer-right .contact-form .submit-btn {
  align-self: flex-end;
  background-color: #A2E12F;
  color: #0C1736;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 14px 30px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.3s ease;
}

.footer-contact .footer-container .footer-right .contact-form .submit-btn:hover {
  background-color: #B8F243;
}

@media (max-width: 1200px) {
  header {
    background: transparent;

  }

  .benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 60px 40px;
    flex-wrap: wrap;
    text-align: center;
  }

  .benefit {
    flex: 1 1 280px;
    max-width: 300px;
    padding: 20px;
    gap: 20px;
  }

  .feature-container,
  .club-features-container {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    gap: 30px;
  }

  .feature-container .feature-text,
  .club-text {
    flex: 1 1 auto;
    padding: 0 20px;
    max-width: 100%;
  }

  .feature-container .feature-images,
  .club-images {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .feature-container .feature-images img,
  .club-images img {
    max-width: 300px;
    height: auto;
  }

  .feature-container .feature-text h2,
  .club-text h2 {
    font-size: 2rem;
  }

  .feature-container .feature-text p,
  .club-text ul {
    font-size: 16px;
  }

  .footer-contact .footer-container {
    flex-direction: column;
    gap: 60px;
  }

  .footer-contact .footer-container .footer-left,
  .footer-contact .footer-container .footer-right {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer-contact .footer-container .footer-right .footer-header {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-contact .footer-container .footer-right .contact-form .submit-btn {
    align-self: center;
  }

  .cta-container {
    padding: 0 40px;
  }

  .cta-left img {
    margin-right: -40px;
    max-width: 90%;
  }

  .cta-right h2 {
    font-size: 42px;
    margin: 60px 0;
  }
}


@media (max-width: 1024px) {

  .hero-wrapper {
    position: relative;
  }

  .hero-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    /* oscuro translúcido */
    z-index: 1;
  }

  .hero {
    position: relative;
    z-index: 2;
    /* para que el texto esté por encima del overlay */
  }

  .benefits {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
  }

  .benefit {
    max-width: 100%;
    text-align: center;
    flex: 1 1 120px;
  }

  .benefit img {
    max-width: 80px;
  }

  .benefit p {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 10px;
  }


  .hero-wrapper>header .hamburger {
    display: block;
  }

  .hero>.hero-text h1 {
    font-size: 28px;
  }

  .feature-container,
  .club-features-container,
  .app-content,
  .cta-container,
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .feature-container .feature-text,
  .club-text,
  .app-section .text-column,
  .cta-right,
  .footer-left,
  .footer-right {
    max-width: 100%;
    padding: 0 20px;
  }

  .about-racketpulse .features-container .mobile-image img {
    width: 100%;
  }

  .feature-container .feature-images .mockup {
    width: 100%;
  }

  .club-features-section .club-features-container .club-images img {
    width: 100%;
  }

  .feature-images,
  .club-images {
    flex-direction: column;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }


  header>.menu-wrapper {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: rgba(12, 23, 54, 0.95);
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px;
  }

  .menu-wrapper.open {
    display: flex;
  }

  header>.menu-wrapper>nav {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    text-align: center;
  }

  header>.menu-wrapper>nav a:hover {
    color: #A3FF12;
    /* Verde lima como acento */
  }

  header>.menu-wrapper>.social-icons {
    display: flex;
    justify-content: center;
    margin: 20px auto 0px auto;
    border: 0px;
    padding: 0px;
  }

  .benefits {}

  .cta-left {
    justify-content: center;
    margin-bottom: 30px;
  }

  .cta-left img {
    margin: 0 auto;
    max-width: 80%;
  }

  .btn-group .btn {
    margin: 10px 0;
  }

  .footer-header {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-contact .form-grid {
    flex-direction: column;
  }

  .footer-contact .left-fields {
    width: 100%;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1100;
  }

  .feature-container,
  .club-features-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: 50px 25px;
  }

  .feature-container .feature-text,
  .club-text {
    max-width: 100%;
    padding: 0 20px;
  }

  .feature-container .feature-text h2,
  .club-text h2 {
    font-size: 2rem;
  }

  .feature-container .feature-text p,
  .club-text ul {
    font-size: 15px;
    line-height: 1.6;
  }

  .feature-container .feature-images,
  .club-images {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .feature-container .feature-images img,
  .club-images img {
    max-width: 280px;
    height: auto;
  }

  .club-text ul li {
    margin-bottom: 10px;
    text-align: left;
    padding-left: 30px;
    position: relative;
  }


  .feature-container .feature-text .btn-demo {
    padding: 12px 22px;
    font-size: 16px;
  }

  .feature-section {
    padding: 100px 0 10px 0;
  }

  .club-features-section,
  .pricing-section {
    padding: 0px 0px 100px 0px;
  }

  .club-divider {
    width: auto;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .pricing-cards .pricing-card {
    max-width: 90%;
    flex: 1 1 auto;
  }

  .pricing-cards .pricing-card h3 {
    font-size: 1.8rem;
  }

  .pricing-cards .pricing-card .price {
    font-size: 4rem;
    margin-bottom: 40px;
  }

  .pricing-cards .pricing-card .price p {
    font-size: 1.2rem;
  }

  .pricing-cards .pricing-card ul li {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .pricing-cards .pricing-card .discount {
    font-size: 1.2rem;
    margin: 40px auto;
  }

  .pricing-cards .pricing-card .btn-green {
    font-size: 18px;
    padding: 18px 32px;
    margin-bottom: 40px;
  }

  .pricing-header h2 {
    font-size: 2rem;
  }

  .pricing-header p {
    font-size: 0.95rem;
  }

  .pricing-section .pricing-header hr {
    margin: 20px auto;
  }

  .footer-contact {
    padding: 60px 20px;
  }

  .footer-contact .footer-container .footer-left p {
    font-size: 15px;
  }

  .footer-contact .footer-container .footer-right h3 {
    font-size: 18px;
  }

  .footer-contact .footer-container .footer-right .contact-form .form-grid {
    flex-direction: column;
  }

  .footer-contact .footer-container .footer-right .contact-form .form-grid .left-fields {
    width: 100%;
  }

  .footer-contact .footer-container .footer-right .contact-form .submit-btn {
    padding: 14px 50px;
    font-size: 18px;
  }

  .cta-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 30px;
  }

  .cta-left {
    justify-content: center;
    margin-bottom: 30px;
  }

  .cta-left img {
    margin: 0 auto;
    max-width: 80%;
  }

  .cta-right h2 {
    font-size: 36px;
    margin: 40px 0;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .cta-right {
    max-width: 100%;
  }

}

@media (max-width: 768px) {


  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero>.hero-text {
    max-width: 100%;
  }

  .hero>.hero-text>.store-buttons {
    justify-content: center;
  }

  /* Estilo general de botones */
  .hero>.hero-text>.btn-group>.btn {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 10px;
    margin: 10px 5px;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    width: 100%;
    max-width: 280px;
    transition: all 0.3s ease;
  }

  /* Botón primario */
  .hero>.hero-text>.btn-group>.btn-primary {
    background-color: #BAF15B;
    border: 2px solid #BAF15B;
    color: #0a0e23;
  }

  /* Botón secundario */
  .hero>.hero-text>.btn-group>.btn-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
  }

  /* Hover */
  .hero>.hero-text>.btn-group>.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
  }

  .hero-wrapper>.hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-wrapper>header {
    flex-direction: column;
  }

  .about-racketpulse .features-container .features-column .feature-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .about-racketpulse .features-container .features-column {
    gap: 100px;
  }

  .feature-container,
  .club-features-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 15px;
    gap: 20px;
  }

  .feature-container .feature-text h2,
  .club-text h2 {
    font-size: 1.8rem;
  }

  .feature-container .feature-text p,
  .club-text ul {
    font-size: 15px;
  }

  .feature-container .feature-images img,
  .club-images img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .club-text ul li {
    margin-bottom: 12px;
  }

  .feature-container .feature-text .btn-demo {
    padding: 10px 20px;
    font-size: 14px;
  }

  .feature-section {
    padding: 80px 0 10px 0;
  }

  .footer-contact .footer-container .footer-left p {
    font-size: 14px;
  }

  .footer-contact .footer-container .footer-right h3 {
    font-size: 16px;
  }

  .footer-contact .footer-container .footer-right .contact-form input,
  .footer-contact .footer-container .footer-right .contact-form textarea {
    font-size: 14px;
    padding: 10px 14px;
  }

  .footer-contact .footer-container .footer-right .contact-form .submit-btn {
    font-size: 16px;
    padding: 12px 40px;
  }

  .footer-contact .footer-container .footer-right .footer-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .cta-right h2 {
    font-size: 30px;
    margin: 30px 0;
  }

  .cta-left img {
    max-width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .cta-right .cta-logo {
    max-width: 240px;
    /* más pequeño en móviles */
  }
}

/* ------------------------------
  Alerts section
------------------------------ */


.form-message {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  max-width: 420px !important;
  z-index: 99999 !important;
  opacity: 0 !important;
  transform: translateX(100%) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  font-family: 'Inter', sans-serif !important;
  display: block !important;
  pointer-events: auto !important;
}

.form-message.show {
  transform: translateX(0) !important;
  opacity: 1 !important;
}

.form-message.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: white !important;
}

.form-message.error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: white !important;
}

.message-content {
  display: flex !important;
  align-items: flex-start !important;
  padding: 20px !important;
  gap: 15px !important;
}

.message-icon {
  flex-shrink: 0 !important;
  width: 24px !important;
  height: 24px !important;
  margin-top: 2px !important;
}

.message-text {
  flex: 1 !important;
  min-width: 0 !important;
}

.message-title {
  font-weight: 700 !important;
  font-size: 16px !important;
  margin-bottom: 4px !important;
  line-height: 1.2 !important;
}

.message-description {
  font-size: 14px !important;
  line-height: 1.4 !important;
  opacity: 0.95 !important;
}

.message-close {
  flex-shrink: 0 !important;
  background: none !important;
  border: none !important;
  color: currentColor !important;
  cursor: pointer !important;
  padding: 4px !important;
  border-radius: 4px !important;
  transition: background-color 0.2s ease !important;
  margin-top: -2px !important;
}

.message-close:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

.message-progress {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 3px !important;
  background-color: rgba(255, 255, 255, 0.3) !important;
  transform-origin: left !important;
  animation: progress 5s linear forwards !important;
}

@keyframes progress {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@media (max-width: 768px) {
  .form-message {
    top: 10px !important;
    right: 10px !important;
    left: 10px !important;
    max-width: none !important;
    transform: translateY(-100%) !important;
  }

  .form-message.show {
    transform: translateY(0) !important;
  }

  .message-content {
    padding: 16px !important;
    gap: 12px !important;
  }

  .message-title {
    font-size: 15px !important;
  }

  .message-description {
    font-size: 13px !important;
  }
}

/* Loading state para el formulario */
.contact-form.loading .submit-btn {
  background-color: #cccccc !important;
  cursor: not-allowed !important;
  position: relative !important;
}

.contact-form.loading .submit-btn:after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 16px !important;
  height: 16px !important;
  margin: -8px 0 0 -8px !important;
  border: 2px solid #ffffff !important;
  border-radius: 50% !important;
  border-top-color: transparent !important;
  animation: spin 1s linear infinite !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-form.loading .submit-btn span {
  opacity: 0 !important;
}


/* ------------------------------
  FIN Alerts section
------------------------------ */