/* RESET BÁSICO */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #020617; /* más oscuro que el hero */
  color: #e5e7eb;
}

/* HEADER */
.site-header {
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;          /* controla el tamaño real */
  width: auto;           /* mantiene proporción 256x65 */
  max-width: 180px;      /* evita que se haga gigante */
  object-fit: contain;
}

.logo span {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* NAV */
.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: #cbd5f5;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s ease;
  font-weight: bold;
}

.main-nav a:hover {
  color: white;
}

/* línea animada */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #6366f1;
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* CTA */
.header-actions .btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.header-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}
/* HERO */
.hero {
  padding: 100px 24px;
  background: linear-gradient(
    135deg,
    #0f172a,
    #020617
  );
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #f8fafc;
}

.hero-content p {
  font-size: 1.1rem;
  color: #cbd5f5;
  max-width: 520px;
  margin-bottom: 32px;
}

/* BOTONES */
.hero-actions {
  display: flex;
  gap: 16px;
}

.btn-secondary {
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #cbd5f5;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  color: white;
}

/* IMAGEN */
.hero-visual img {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}

.hero-product {
  display: flex;
  justify-content: flex-end;
}

.product-card {
  display: block;
  max-width: 360px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.product-card img {
  width: 100%;
  display: block;
}

.product-info {
  padding: 16px 18px;
}

.product-info h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #f8fafc;
}

.product-info p {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.playstore-btn {
  display: inline-block;
}

/* Badge oficial Google Play */
.playstore-badge {
  height: 40px;     /* tamaño profesional */
  width: auto;
  display: block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* efecto hover sutil */
.product-card:hover .playstore-badge {
  transform: translateY(-2px);
  opacity: 0.95;
}
/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual img {
    margin: 0 auto;
  }
}
