:root {
  --color-teal: #02929A;
  --color-lightblue: #03BADB;
  --color-dark: #1A1A1A;
  --color-white: #FFFFFF;
  --color-lightgray: #F9FAFB;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-white);
  color: var(--color-dark);
  /* Usamos min-height para que ocupe toda la pantalla pero permita scroll si hace falta */
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(3,186,219,0.08) 0%, rgba(2,146,154,0.02) 50%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.app-container {
  display: flex;
  flex-direction: column;
  flex: 1; /* Permite que el contenedor crezca junto con el body */
  width: 100%;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0; /* Reducido para ahorrar espacio vertical */
  flex-shrink: 0;
}

.logo {
  height: 128px; 
  margin-left: -35px; 
}

/* Trust Badges (Logos institucionales en el navbar) */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.trust-badges img {
  width: auto;
  object-fit: contain;
}

.trust-badges img:nth-child(1) {
  height: 80px; /* PDP original */
}

.trust-badges img:nth-child(2) {
  height: 160px; /* Industria Argentina 100% más grande */
}

/* Hero Section Split */
.hero-section {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  /* Eliminado min-height: 0 para asegurar que los botones nunca queden ocultos */
}

.hero-text {
  flex: 1;
  max-width: 580px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Eliminado el margin-top negativo que lo subía demasiado */
}
.hero-text.visible {
  opacity: 1;
  transform: translateX(0);
}

.hero-text h1 {
  font-size: 3.4rem; /* Reducido para ahorrar espacio vertical */
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--color-dark);
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--color-teal), var(--color-lightblue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap; /* Permite que los botones bajen si no hay espacio horizontal */
}

/* Imagen Hero */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s;
}
.hero-image.visible {
  opacity: 1;
  transform: translateX(0);
}

.hero-image img {
  max-width: 100%;
  max-height: 60vh; /* Ajustado para garantizar que no exceda el alto de pantalla */
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 1; /* Permite a la imagen encogerse si hace falta */
  margin-bottom: -1rem; 
  margin-right: 3.5rem; /* Empuja la imagen hacia la izquierda */
  transform: scaleX(1.15);
  transform-origin: bottom center;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  gap: 0.6rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-teal), var(--color-lightblue));
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(2, 146, 154, 0.3);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 146, 154, 0.4);
}

.btn-outline {
  border: 2px solid #E5E7EB;
  color: var(--color-dark);
  background: var(--color-white);
}
.btn-outline:hover {
  border-color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--color-dark);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.2);
  border: none;
}
.btn-accent:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 26, 26, 0.3);
}

/* Features Row (Abajo) */
.features-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem; /* Reducido para no empujar el footer */
  flex-shrink: 0;
  justify-content: center; 
}

.feature-card {
  flex: 1;
  max-width: 380px; 
  background: var(--color-white);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 1.2rem 1.5rem; /* Más compactas */
  display: flex;
  flex-direction: column; 
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  border-color: rgba(2, 146, 154, 0.2);
}

.feature-icon {
  width: 45px;
  height: 45px;
  background: rgba(2, 146, 154, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--color-dark);
}

.feature-card p {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0; /* Compactado */
  border-top: 1px solid #E5E7EB;
  color: #9ca3af;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Política de Privacidad */
.policy-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 3rem;
  width: 100%;
  max-width: 850px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin: 2rem auto;
}
.policy-card h1 {
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-lightgray);
  padding-bottom: 1rem;
}
.policy-card h2 {
  font-size: 1.3rem;
  color: var(--color-teal);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}
.policy-card p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.policy-card ul {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

/* Responsive Pequeño (Smartphones) */
@media (max-width: 900px) {
  body { 
    overflow-y: auto; 
    height: auto; 
    min-height: 100vh; 
  }
  .app-container {
    padding: 0 5%;
  }
  nav {
    flex-direction: column;
    padding: 1.5rem 0;
    gap: 1.5rem;
  }
  .logo { 
    height: 50px; 
    margin-left: 0;
  }
  .hero-section {
    flex-direction: column-reverse; 
    padding: 1rem 0 2rem 0;
    gap: 1rem;
  }
  .hero-text {
    width: 100%;
    text-align: center;
  }
  .hero-image {
    width: 100%;
    justify-content: center;
    align-items: center; 
  }
  .hero-image img {
    max-height: 40vh;
    margin-bottom: 0;
  }
  .hero-text h1 { 
    font-size: 2.2rem; 
  }
  .hero-buttons { 
    flex-direction: column; 
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .features-row { 
    flex-direction: column; 
    gap: 1.5rem;
  }
  .feature-card {
    max-width: 100%;
  }
}
