/* ========================================
   ESTILOS PARA PÁGINA APPS MÓVILES
   ======================================== */

/* Hero Section */
.apps-hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  background: linear-gradient(135deg, #002141 0%, #003366 50%, #004080 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding-top: 100px; /* Aumentado para navbar + margen extra */
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 33, 65, 0.95) 0%, rgba(0, 51, 102, 0.9) 50%, rgba(0, 64, 128, 0.85) 100%);
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  background-size: 200px 200px, 300px 300px;
  animation: float 20s ease-in-out infinite;
}

/* Overlay adicional para mejor contraste */
.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
  padding: 2rem 0;
  min-height: calc(100vh - 140px);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  background: linear-gradient(135deg, #0077CC, #3399DD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
}

/* Phone Mockups */
.phones-showcase {
  position: relative;
  animation: fadeInUp 0.8s ease-out 1s both;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.phone-mockup {
  position: relative;
  margin: 0.5rem;
}

.phone-mockup.phone-1 {
  transform: rotate(-5deg);
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-mockup.phone-2 {
  transform: rotate(5deg);
  animation: phoneFloat 6s ease-in-out infinite 2s;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(-5deg); }
}

.phone-frame {
  width: 180px;
  height: 360px;
  background: #1a1a1a;
  border-radius: 25px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid #333;
}

.screen {
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.app-interface {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
}

.app-header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.5rem;
}

.status-bar {
  height: 20px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.5rem;
  font-size: 0.75rem;
  color: white;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

.app-content {
  flex: 1;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.card-text h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.card-text p {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

.floating-card.card-3 {
  top: 50%;
  right: -30px;
  animation-delay: 4s;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #002141;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: #6C757D;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #E9ECEF;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #002141, #003366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #002141;
  margin-bottom: 1rem;
}

.feature-description {
  color: #6C757D;
  line-height: 1.6;
}

/* Sectors Section */
.sectors-section {
  padding: 5rem 0;
  background: #F8F9FA;
}

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

.sector-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #E9ECEF;
  transition: all 0.3s ease;
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.sector-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #002141, #003366);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.sector-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #002141;
  margin-bottom: 1rem;
}

.sector-description {
  color: #6C757D;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.sector-features {
  list-style: none;
  padding: 0;
}

.sector-features li {
  color: #002141;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.sector-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28A745;
  font-weight: bold;
}

/* Process Section */
.process-section {
  padding: 5rem 0;
  background: white;
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #002141, #003366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #002141;
  margin-bottom: 1rem;
}

.step-description {
  color: #6C757D;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.step-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.step-feature {
  background: rgba(0, 33, 65, 0.1);
  color: #002141;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Technologies Section */
.technologies-section {
  padding: 5rem 0;
  background: #F8F9FA;
}

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

.tech-category {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #E9ECEF;
}

.tech-category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #002141;
  margin-bottom: 1.5rem;
  text-align: center;
}

.tech-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: #F8F9FA;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: #E9ECEF;
  transform: translateY(-2px);
}

.tech-item i {
  font-size: 2rem;
  color: #002141;
}

.tech-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #002141;
  text-align: center;
}

/* Use Cases Section */
.use-cases-section {
  padding: 5rem 0;
  background: white;
}

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

.use-case-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #E9ECEF;
  transition: all 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.use-case-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #002141, #003366);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.use-case-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #002141;
  margin-bottom: 1rem;
}

.use-case-description {
  color: #6C757D;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.use-case-features {
  list-style: none;
  padding: 0;
}

.use-case-features li {
  color: #002141;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.use-case-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28A745;
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #002141 0%, #003366 100%);
  color: white;
}

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

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.cta-feature i {
  color: #28A745;
}

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Estilos específicos para botones en hero */
.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  transition: all 0.3s ease;
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
  .apps-hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 100px; /* Aumentado para navbar tablet + margen extra */
    align-items: flex-start;
  }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 130px);
    gap: 2rem;
    padding: 1rem 0;
    align-items: flex-start;
  }
  
  .hero-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-features {
    margin-bottom: 2rem;
  }
  
  .phones-showcase {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .phone-frame {
    width: 160px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .apps-hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 100px; /* Aumentado para navbar móvil + margen extra */
    align-items: flex-start;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    min-height: calc(100vh - 120px);
    padding: 1rem 0;
    align-items: flex-start;
  }
  
  .hero-text {
    align-items: center;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-features {
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .sectors-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .technologies-grid {
    grid-template-columns: 1fr;
  }
  
  .use-cases-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-features {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .floating-card {
    display: none;
  }
  
  .phones-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .phone-mockup {
    margin: 0.25rem;
  }
  
  .phone-frame {
    width: 140px;
    height: 280px;
  }
}

@media (max-width: 480px) {
  .apps-hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 100px; /* Aumentado para navbar móvil pequeño + margen extra */
    align-items: flex-start;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 110px);
    gap: 1.5rem;
    padding: 0.5rem 0;
    align-items: flex-start;
  }
  
  .hero-text {
    align-items: center;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-description {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  
  .hero-features {
    margin-bottom: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .feature-card,
  .sector-card,
  .use-case-card {
    padding: 1.5rem;
  }
  
  .tech-category {
    padding: 1.5rem;
  }
  
  .phone-frame {
    width: 110px;
    height: 220px;
  }
} 