/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #153243;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Color Variables */
:root {
  --cerulean: #01a3d4;
  --white: #ffffff;
  --prussian: #153243;
  --sunray: #edae49;
  --green: #00a878;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}

.nav-logo img:hover {
  transform: scale(1.05);
}

/* Logo responsive - desktop muestra largo, móvil muestra corto */
.nav-logo-desktop {
  display: block;
}

.nav-logo-mobile {
  display: none;
}

@media (max-width: 768px) {
  .nav-logo-desktop {
    display: none;
  }
  
  .nav-logo-mobile {
    display: block;
  }
  
  .nav-logo img {
    height: 35px;
  }
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--prussian);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cerulean);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cerulean);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--prussian);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Sections */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
}

.parallax-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 50, 67, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Icono de flecha encima del título */
.hero-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.hero-icon img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap; /* Mantener en una línea */
}

/* Logo en lugar de texto para Sport y Pro */
.hero-title-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-title-logo img {
  height: 80px;
  width: auto;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    white-space: normal; /* Permitir salto de línea en móvil */
  }
  
  .hero-title-logo img {
    height: 60px;
  }
  
  .hero-icon img {
    height: 30px;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas exactas */
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .hero-features {
    grid-template-columns: 1fr; /* 1 columna en móvil */
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.feature-icon {
  font-size: 1.5rem;
}

.hero-service {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 2rem;
}

/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 50, 67, 0.6);
}

/* Sport and Pro Hero Variations */
.sport-hero .parallax-bg::after {
  background: rgba(237, 174, 73, 0.7);
}

.pro-hero .parallax-bg::after {
  background: rgba(1, 163, 212, 0.7);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Transición más suave */
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

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

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

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: var(--cerulean);
  color: white;
}

.btn-primary:hover {
  background: #0192c4;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--cerulean);
  border: 2px solid var(--cerulean);
}

.btn-secondary:hover {
  background: var(--cerulean);
  color: white;
}

.btn-sport {
  background: var(--sunray);
  color: var(--prussian);
}

.btn-sport:hover {
  background: #dda042;
  transform: translateY(-2px);
}

.btn-pro {
  background: var(--prussian);
  color: white;
}

.btn-pro:hover {
  background: #0f2530;
  transform: translateY(-2px);
}

/* SVG Icons */
.icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

.icon-large {
  width: 48px;
  height: 48px;
}

.icon-xl {
  width: 64px;
  height: 64px;
}

.feature-icon-large .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.benefit-icon .icon,
.ais-icon .icon,
.user-icon .icon,
.requirement-icon .icon,
.contact-icon .icon {
  width: 40px;
  height: 40px;
}

/* Sections */
.section-title {
  text-align: center !important;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--prussian);
  width: 100%;
  display: block;
}

/* Versions Section */
.versions-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.versions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.version-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.version-card:hover {
  transform: translateY(-10px);
}

.sport-card {
  border-top: 5px solid var(--sunray);
}

.pro-card {
  border-top: 5px solid var(--cerulean);
}

.version-header {
  margin-bottom: 1rem;
}

/* Logos en lugar de texto para las versiones */
.version-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.version-logo img {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

.version-card:hover .version-logo img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .version-logo img {
    height: 50px;
  }
}

.version-image {
  margin: 2rem 0;
}

.version-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.version-features ul {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
}

.version-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.version-features li:before {
  content: "✓";
  color: var(--green);
  font-weight: bold;
  margin-right: 10px;
}

/* Charts Section */
.charts-section {
  padding: 100px 0;
  color: white;
  text-align: center;
}

.charts-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.charts-content h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--sunray);
}

.charts-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: #f8f9fa;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon-large {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--prussian);
}

/* Sport Features Section */
.sport-features-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.sport-features-grid {
  display: grid;
  gap: 3rem;
}

.sport-feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sport-feature-card:nth-child(even) {
  direction: rtl;
}

.sport-feature-card:nth-child(even) .feature-content {
  direction: ltr;
}

.feature-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.feature-content h3 {
  color: var(--sunray);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-section {
  padding: 100px 0;
  color: white;
  text-align: center;
}

.benefits-content h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* AIS Section */
.ais-section {
  padding: 100px 0;
  background: white;
}

.ais-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.ais-content h2 {
  color: var(--cerulean);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ais-content h3 {
  color: var(--prussian);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.ais-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.ais-feature {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
}

.ais-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ais-feature h4 {
  color: var(--cerulean);
  margin-bottom: 1rem;
}

/* Pro Features Section */
.pro-features-section {
  padding: 100px 0;
  color: white;
  text-align: center;
}

.pro-features-content h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.pro-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas exactas */
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .pro-features-grid {
    grid-template-columns: 1fr; /* 1 columna en móvil */
  }
}

.pro-feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.pro-feature-card h3 {
  color: var(--sunray);
  margin-bottom: 1rem;
}

/* Specs Section */
.specs-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.spec-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.spec-card h3 {
  color: var(--cerulean);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.spec-card ul {
  list-style: none;
}

.spec-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.spec-card li:before {
  content: "•";
  color: var(--cerulean);
  font-weight: bold;
  margin-right: 10px;
}

/* Users Section */
.users-section {
  padding: 100px 0;
  background: white;
}

.users-content {
  text-align: center;
}

.users-content h2 {
  text-align: center !important;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--prussian);
}

.users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.user-card {
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  text-align: center;
}

.user-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.user-card h3 {
  color: var(--prussian);
  margin-bottom: 1rem;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background: #f8f9fa;
  text-align: center;
}

.pricing-content h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--prussian);
}

.pricing-card {
  max-width: 400px;
  margin: 0 auto;
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sport-pricing {
  border-top: 5px solid var(--sunray);
}

.pro-pricing {
  border-top: 5px solid var(--cerulean);
}

.pricing-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.sport-pricing h3 {
  color: var(--sunray);
}

.pro-pricing h3 {
  color: var(--cerulean);
}

.price {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--prussian);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--prussian);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ Styles */
.faq-hero {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, var(--cerulean), var(--prussian));
  color: white;
  text-align: center;
}

.faq-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.videos-section {
  padding: 100px 0;
  background: #f8f9fa;
  text-align: center;
}

.video-placeholder {
  position: relative;
  max-width: 600px;
  margin: 2rem auto;
  border-radius: 15px;
  overflow: hidden;
}

.video-placeholder img {
  width: 100%;
  height: auto;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  width: 80px;
  height: 80px;
  background: var(--cerulean);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
}

.faq-section {
  padding: 100px 0;
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: #f8f9fa;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #e9ecef;
}

.faq-question h3 {
  font-size: 1.1rem;
  color: var(--prussian);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--cerulean);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  text-align:center;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height:fit-content;
}

/* Contact Styles */
.contact-hero {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, var(--cerulean), var(--prussian));
  color: white;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.subscription-section {
  padding: 100px 0;
  background: white;
  text-align: center;
}

.subscription-content {
  max-width: 600px;
  margin: 0 auto;
}

.subscription-content h2 {
  color: var(--prussian);
  margin-bottom: 2rem;
}

.subscription-form,
.contact-form {
  margin-top: 2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--prussian);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cerulean);
}

.contact-form-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.contact-form-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  color: var(--prussian);
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-item h4 {
  color: var(--cerulean);
  margin-bottom: 0.5rem;
}

.requirements-section {
  padding: 100px 0;
  background: white;
}

.requirements-content {
  text-align: center;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.requirement-card {
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  text-align: center;
}

.requirement-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.requirement-card h3 {
  color: var(--prussian);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: var(--prussian);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--cerulean);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--cerulean);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.8s ease;
}

.reveal-up {
  transform: translateY(57px);
}

.reveal-left {
  transform: translateX(-57px);
}

.reveal-right {
  transform: translateX(57px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .versions-grid {
    grid-template-columns: 1fr;
  }

  .sport-feature-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sport-feature-card:nth-child(even) {
    direction: ltr;
  }

  .contact-form-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .parallax-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }
}

/* =================================
   SOLUCIÓN MEJORADA PARA PARALLAX
   ================================= */

/* Cartas Náuticas Section - Index */
.charts-section.parallax-container {
  background-image: url("img/imagen-6.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.charts-section.parallax-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 50, 67, 0.6);
  z-index: 1;
}

.charts-section .container {
  position: relative;
  z-index: 2;
}

.charts-content {
  color: white;
  text-align: center;
  padding: 60px 0;
}

.charts-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.charts-content h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--sunray);
}

.charts-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Benefits Section - Sport */
.benefits-section.parallax-container {
  background-image: url("img/imagen-12.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.benefits-section.parallax-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 50, 67, 0.6);
  z-index: 1;
}

.benefits-section .container {
  position: relative;
  z-index: 2;
}

.benefits-content {
  color: white;
  text-align: center;
  padding: 60px 0;
}

.benefits-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-item {
  text-align: center;
}

.benefit-item h3 {
  color: white;
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem 0;
}

.benefit-item p {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.5;
}

.benefit-item .icon {
  fill: white;
  margin-bottom: 1rem;
}

/* Pro Features Section - Pro */
.pro-features-section.parallax-container {
  background-image: url("img/imagen-14.webp") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.pro-features-section .parallax-bg {
  display: none !important;
}

.pro-features-section.parallax-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 50, 67, 0.6);
  z-index: 1;
}

.pro-features-section .container {
  position: relative;
  z-index: 2;
}

.pro-features-content {
  color: white;
  text-align: center;
  padding: 60px 0;
}

.pro-features-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: white;
}

.pro-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas exactas */
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .pro-features-grid {
    grid-template-columns: 1fr; /* 1 columna en móvil */
  }
}

.pro-feature-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.pro-feature-card h3 {
  color: var(--sunray);
  font-size: 1.3rem;
  margin: 0 0 1rem 0;
}

.pro-feature-card p {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .charts-section.parallax-container,
  .benefits-section.parallax-container,
  .pro-features-section.parallax-container {
    background-attachment: scroll !important;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .pro-features-grid {
    grid-template-columns: 1fr;
  }
}

/* Efectos sutiles para botones */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Transición más suave */
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

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

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

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Efectos para cards */
.version-card,
.feature-card,
.spec-card,
.user-card,
.requirement-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.version-card::before,
.feature-card::before,
.spec-card::before,
.user-card::before,
.requirement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 163, 212, 0.05), rgba(237, 174, 73, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.version-card:hover::before,
.feature-card:hover::before,
.spec-card:hover::before,
.user-card:hover::before,
.requirement-card:hover::before {
  opacity: 1;
}

.version-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover,
.spec-card:hover,
.user-card:hover,
.requirement-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Efectos para iconos */
.icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .icon,
.user-card:hover .icon,
.requirement-card:hover .icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(1, 163, 212, 0.3));
}

/* Glassmorphism para elementos flotantes */
.feature-item,
.benefit-item,
.pro-feature-card {
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover,
.benefit-item:hover,
.pro-feature-card:hover {
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Efectos para navegación */
.nav-link {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cerulean), var(--sunray));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-link:hover::before {
  width: 100%;
}

/* Efectos para formularios */
.form-group input,
.form-group select,
.form-group textarea {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cerulean);
  box-shadow: 0 0 0 3px rgba(1, 163, 212, 0.1);
  transform: translateY(-2px);
}

/* Efectos para FAQ */
.faq-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: -5px 0 15px rgba(1, 163, 212, 0.1);
}

.faq-question {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Efectos para imágenes */
.version-image img,
.feature-image img,
.video-placeholder img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1) saturate(1);
}

.version-card:hover .version-image img,
.sport-feature-card:hover .feature-image img {
  transform: scale(1.05);
  filter: brightness(1.1) saturate(1.1);
}

/* Efectos para el navbar al hacer scroll */
.navbar {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efectos para texto */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--cerulean), var(--sunray));
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Efectos para pricing cards */
.pricing-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(1, 163, 212, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Efectos para el footer */
.footer-section ul li a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.footer-section ul li a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cerulean);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section ul li a:hover::before {
  width: 100%;
}

/* Efectos para video placeholder */
.play-button {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-button:hover::before {
  transform: translate(-50%, -50%) scale(1.3);
  opacity: 0;
}

.play-button:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 30px rgba(1, 163, 212, 0.4);
}
