/* Animación flotante para luces hero */
.float-animation {
  animation: float 3s ease-in-out infinite;
  opacity: 1 !important;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}
/* Home Hub Styles */
:root {
  --primary-purple: #8b5cf6;
  --primary-purple-dark: #7c3aed;
  --primary-purple-light: #a78bfa;
  --secondary-blue: #3b82f6;
  --warm-orange: #f59e0b;
  --bg-light: #f9fafb;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #fff;
}

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

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
  padding: 1.5rem 0;
  box-shadow: 0 2px 8px rgb(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.9;
}

.language-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* App Download Banner */
.app-download-banner {
  background: linear-gradient(135deg, #1DE9B6 0%, #00B8D4 100%);
  color: #111;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 32px 0 rgba(44, 18, 80, 0.25);
}

.app-download-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235f259f' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  animation: slide 20s linear infinite;
}

@keyframes slide {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

.download-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.download-banner-icon {
  font-size: 4rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.download-banner-text {
  flex: 1;
  min-width: 280px;
}

.download-banner-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #111;
  text-shadow: 0 3px 8px rgba(44,18,80,0.25), 0 1px 0 #0002;
}

.download-banner-subtitle {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: #111;
  text-shadow: 0 2px 6px rgba(44,18,80,0.18);
  opacity: 1;
}

.download-banner-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.download-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.13);
  color: #111;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 1px 4px 0 rgba(44,18,80,0.10);
  transition: all 0.3s ease;
}

.download-feature:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

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

.download-banner-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}


.download-banner-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: #fff;
  color: #5f259f;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 3rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(44,18,80,0.18);
  transition: all 0.3s ease;
  animation: pulse-button 2s ease-in-out infinite;
  border: 3px solid #fff;
  position: relative;
  overflow: hidden;
}

.shiny-effect {
  box-shadow: 0 0 24px 6px #fff7, 0 0 40px 10px #a78bfa88;
}

.shiny-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  border-radius: 3rem;
  background: linear-gradient(120deg, #fff6 0%, #a78bfa88 100%);
  opacity: 0.5;
  filter: blur(8px);
  animation: shiny-move 2.5s linear infinite;
}

@keyframes shiny-move {
  0% { opacity: 0.5; transform: translateX(-60%) scale(1); }
  50% { opacity: 0.8; transform: translateX(60%) scale(1.1); }
  100% { opacity: 0.5; transform: translateX(-60%) scale(1); }
}

@keyframes pulse-button {
  0%, 100% {
    box-shadow: 0 8px 20px rgb(0, 0, 0, 0.2), 0 0 0 0 rgb(255, 255, 255, 0.7);
  }

  50% {
    box-shadow: 0 8px 20px rgb(0, 0, 0, 0.2), 0 0 0 10px rgb(255, 255, 255, 0);
  }
}

.download-banner-button:hover {
  transform: translateY(-3px) scale(1.07);
  background: #f3e8ff;
  color: #3b1c5c;
  box-shadow: 0 12px 30px rgba(44,18,80,0.28);
}

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

.download-banner-note {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-blue) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgb(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 20s linear infinite;
  opacity: 0.3;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgb(0, 0, 0, 0.2);
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  opacity: 0.95;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Projects Section */
.projects-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #ffe0ec 0%, #f8bbd0 100%);
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: #111;
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

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

.project-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgb(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgb(0, 0, 0, 0.15);
}

.project-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.project-card:nth-child(1) .project-icon {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
  color: var(--white);
}

.project-card:nth-child(2) .project-icon {
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-purple) 100%);
  color: var(--white);
}

.project-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.project-card p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.project-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
  font-size: 0.9rem;
}

.project-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-purple);
  font-weight: 700;
}

.project-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  align-self: flex-start;
}

.project-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgb(139, 92, 246, 0.3);
}

/* Mission Section */
.mission-section {
  background: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.mission-content {
  max-width: 800px;
  margin: 0 auto;
}

.mission-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.mission-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 2rem 0;
  margin-top: auto;
}

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

.footer-content p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.footer-link {
  color: var(--primary-purple-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--white);
}

/* Responsive Design */
@media (width <= 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.25rem;
  }

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

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

  /* Download Banner Mobile */
  .download-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .download-banner-icon {
    font-size: 3rem;
  }

  .download-banner-title {
    font-size: 1.5rem;
  }

  .download-banner-subtitle {
    font-size: 1rem;
  }

  .download-banner-features {
    justify-content: center;
  }

  .download-feature {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .download-banner-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (width <= 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .project-card {
    padding: 1.5rem;
  }

  /* Download Banner Extra Small */
  .app-download-banner {
    padding: 2rem 0;
  }

  .download-banner-icon {
    font-size: 2.5rem;
  }

  .download-banner-title {
    font-size: 1.25rem;
  }

  .download-feature {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }

  .download-banner-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}
