:root {
  --bg-light: #ffffff;
  --text-primary: #0f0f13;
  --text-secondary: #555566;
  --accent: #0066cc;
  --accent-light: #0088ff;
  --card-bg: #f8f9fa;
  --transition: all 0.3s ease;
}

/* === Base === */
body {
  background-color: var(--bg-light);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

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

/* === Header === */
.header {
  padding: 1.2rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 80px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header__tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

/* === Hero Section === */
.hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__video-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero__video {
  width: 100%;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
}

.hero__text-content {
  text-align: left;
}

.hero__badge {
  display: inline-block;
  background: rgba(0, 102, 204, 0.1);
  color: var(--accent);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hero__subtitle,
.hero__text {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.hero__subtitle {
  font-size: 1.25rem;
  font-weight: 600;
}

.hero__text {
  font-size: 1.05rem;
  line-height: 1.7;
}

.highlight {
  color: var(--accent);
}

.hero__cta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* === Buttons === */
.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn--outline {
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn--outline:hover {
  background: rgba(0, 102, 204, 0.05);
  transform: translateY(-2px);
}

/* === Sections === */
.section {
  padding: 5rem 0;
}

.section__title {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.section__intro,
.section__text {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
}

.support-logo {
  margin-bottom: 1.2rem;
}

.support__list {
  max-width: 650px;
  margin: 2rem auto;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.support__list li {
  margin-bottom: 0.7rem;
}

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

.support-card {
  background: var(--card-bg);
  padding: 1.8rem;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 200px;
  align-items: center; /* ✅ Asegura que logos/botones se centren */
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.support-card h3 {
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.support-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.support-card .btn {
  margin-top: auto;
}

/* === Download Section === */
.download-section {
  padding: 4rem 0 3rem;
  background-color: var(--bg-light);
}

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

.download-card {
  background: var(--card-bg);
  padding: 2.2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 340px;
  justify-content: center;
}

.download-card:hover:not(.ios-card) {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.download-icon img {
  width: 96px;
  height: 96px;
  display: block;
  object-fit: contain;
}

.download-card h3 {
  font-size: 1.4rem;
  margin: 0 0 0.8rem;
  color: var(--text-primary);
}

.download-card p {
  color: var(--text-secondary);
  margin: 0 0 1.4rem;
  font-size: 1rem;
  line-height: 1.5;
}

.ios-card {
  opacity: 0.85;
  cursor: not-allowed;
}

.btn--disabled {
  background: #e0e0e0;
  color: #888;
  cursor: not-allowed;
  pointer-events: none;
}

/* === About Section === */
.about-section {
  background-color: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-image img {
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: block;
  margin: 0 auto;
}

/* === Lang Toggle === */
.lang-toggle {
  display: flex;
  gap: 0.4rem;
}

.lang-btn {
  background: none;
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* === Footer === */
.footer {
  padding: 2rem 0 1.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer a {
  color: var(--accent);
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

/* === Responsive Breakpoints === */

/* Hasta tablet */
@media (max-width: 900px) {
  .hero__grid,
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero__cta {
    justify-content: center;
  }

  .about-image img {
    max-width: 220px;
  }

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

/* Móviles (hasta 768px) */
@media (max-width: 768px) {
  .header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header__tagline {
    text-align: center;
    flex-basis: 100%;
    margin-top: 0.5rem;
    white-space: normal;
  }

  .hero {
    padding-top: 10.5rem;
  }

  .hero__text-content,
  .hero__video-wrapper {
    margin-top: 1.5rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
  .logo {
    width: 70px;
    height: 70px;
  }

  .hero__title {
    font-size: clamp(1.75rem, 6vw, 2.3rem);
  }

  .hero__subtitle {
    font-size: 1.15rem;
  }

  .btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
  }

  .hero__badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.9rem;
  }

  .download-card {
    min-height: 320px;
    padding: 2rem 1.25rem;
  }
}

/* === Ajuste específico para escritorio (PC) === */
@media (min-width: 901px) {
  .hero {
    padding-top: 9rem;
  }

  .hero__text-content {
    margin-top: 1.5rem;
  }
}