/* ========================================
   ESTILOS PARA PÁGINA SOFTWARE A MEDIDA
   ======================================== */

/* Hero Section */
.software-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: 140px; /* 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.2);
  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;
  gap: 3rem;
  align-items: flex-start;
  padding: 2rem 0;
  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;
}

/* Code Visualization */
.code-visualization {
  position: relative;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.code-window {
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.window-header {
  background: #2d2d2d;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
  display: flex;
  gap: 0.5rem;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.file-name {
  color: #d4d4d4;
  font-size: 0.875rem;
  font-family: 'Monaco', 'Menlo', monospace;
}

.code-content {
  padding: 1.5rem;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

.code-line {
  color: #d4d4d4;
  margin-bottom: 0.25rem;
}

.code-line .keyword { color: #569cd6; }
.code-line .class-name { color: #4ec9b0; }
.code-line .method { color: #dcdcaa; }
.code-line .property { color: #9cdcfe; }
.code-line .boolean { color: #569cd6; }

.indent-1 { padding-left: 1.5rem; }
.indent-2 { padding-left: 3rem; }

.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;
}

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

.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: white;
}

.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: #F8F9FA;
}

.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;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
  .software-hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 100px; /* Aumentado significativamente para navbar tablet */
    align-items: flex-start;
  }
  
  .hero-content {
    align-items: flex-start;
    padding: 1rem 0;
  }
}

@media (max-width: 768px) {
  .software-hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 100px; /* Aumentado significativamente para navbar móvil */
    align-items: flex-start;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    align-items: flex-start;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features-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;
  }
}

@media (max-width: 480px) {
  .software-hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 100px; /* Aumentado significativamente para navbar móvil pequeño */
    align-items: flex-start;
  }
  
  .hero-content {
    align-items: flex-start;
    padding: 0.5rem 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .feature-card,
  .use-case-card {
    padding: 1.5rem;
  }
  
  .tech-category {
    padding: 1.5rem;
  }
} 