/* VARIABLES */
:root {
  --vino: #002e69;
  --vino-oscuro: #223C6D;
  --negro: #001336;
  --gris-oscuro: #0073a5;
  --blanco: #ffffff;
  --gris-claro: #e5e5e5;
  --negro: #0a0a0a;

}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* GLOBAL */
body {
  background-color: var(--negro);
  color: var(--blanco);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* HEADER */
.header {
  background: var(--gris-claro);
  padding: 1rem 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--vino);
}

.nav a {
  color: var(--negro);
  margin-left: 20px;
  text-decoration: none;
}

.nav a:hover {
  color: var(--vino);
}

/* HERO */
/* HERO CON IMAGEN DE FONDO */
.hero {
  position: relative;
  height: 90vh;
  background-image: url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

/* Overlay oscuro */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 18, 18, 0.85),
    rgba(18, 18, 18, 0.9)
  );
  z-index: 1;
}

/* Contenido */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--blanco);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--gris-claro);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 2.2rem;
  }
}


/* BOTONES */
.btn-primary {
  background: var(--vino);
  color: var(--blanco);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--vino-oscuro);
}

.btn-secondary {
  border: 1px solid var(--vino);
  color: var(--vino);
  padding: 10px 20px;
  text-decoration: none;
}

/* FEATURES */
.features {
  background: var(--vino);
  padding: 3rem 0;
}

.features h3 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.feature-card {
  background: var(--negro);
  padding: 1.5rem;
  border-radius: 8px;
}

/* ABOUT & CONTACT */
.about, .contact {
  padding: 4rem 0;
  text-align: center;
}

/* FOOTER */
.footer {
  background: var(--vino);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* APP PREVIEW */
.app-preview {
  background: var(--negro);
  padding: 4rem 0;
}

.preview-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.preview-image img {
  max-width: 320px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.preview-text {
  flex: 1;
}

.preview-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.preview-text p {
  color: var(--gris-claro);
}

/* ANIMACIONES */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* PRIVACY MODERNA */
.privacy {
  padding: 5rem 0;
  background: linear-gradient(
    rgba(18,18,18,0.95),
    rgba(18,18,18,1)
  );
}

.privacy-wrapper {
  max-width: 900px;
}

.privacy-card::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--vino);
  margin-bottom: 1rem;
}


/* Header */
.privacy-header {
  text-align: center;
  margin-bottom: 3rem;
}

.privacy-header h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.privacy-header p {
  color: var(--gris-claro);
  max-width: 600px;
  margin: 0 auto;
}

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

/* Cards */
.privacy-card {
  background: var(--gris-oscuro);
  padding: 2rem;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.privacy-card h4 {
  color: var(--vino);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.privacy-card p {
  color: var(--gris-claro);
  line-height: 1.6;
}

.privacy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 600px) {
  .privacy-header h2 {
    font-size: 2.1rem;
  }
}

/* LOGO */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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



/* DOWNLOAD SECTION */
.download {
  background: linear-gradient(
    rgba(18, 18, 18, 0.9),
    rgba(18, 18, 18, 0.95)
  );
  padding: 4rem 0;
  text-align: center;
}

.download h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.download p {
  color: var(--gris-claro);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* BOTONES STORE */
.store-buttons {
  display: flex;
  justify-content: center;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--negro);
  border: 1px solid var(--gris-oscuro);
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--blanco);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-btn img {
  width: 28px;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* DESHABILITADO */
.store-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.download h3 span {
  color: var(--vino);
}

/*TERMINOS Y CONDICIONES */

.legal h4 {
    margin-top: 2.5rem;
    font-weight: 600;
}

.legal p {
    line-height: 1.8;
    opacity: 0.9;
}

.legal-date {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 2rem;
}

.legal-accept {
    margin-top: 3rem;
    font-weight: 500;
}

/*Descargas*/
.descargas-container { 
    background: var(--vino);
    color: var(--blanco);
    padding: 20px; 
    border-radius: 12px; 
    text-align: center; 
    font-family: sans-serif; 
    max-width: 250px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin: 20px auto;}

#descargas { 
    font-size: 36px; 
    font-weight: bold; 
    margin-top: 10px; }
