/* ── Reset & base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --night-blue:       #0B1F3A;
  --ocean-dark:       #123C66;
  --ocean:            #1F5A8A;
  --water-blue:       #2F78A8;
  --light-blue:       #4FA3C8;
  --soft-sky:         #7FC6D9;
  --soft-glow:        #A9DCE8;
  --foam-white:       #F2F4F3;
  --mist-gray:        #DCE6E8;
}

html, body {
  height: 100%;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  background-color: var(--night-blue);
  color: var(--foam-white);
  overflow-x: hidden;
}

/* ── Background layers ─────────────────────────────────────────────────────── */
.bg-layer {
  position: fixed;
  inset: 0;
  background: url('fondo.png') center center / cover no-repeat;
  z-index: 0;
}

.bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.55);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.bg-glow--1 {
  width: 600px;
  height: 600px;
  background: var(--light-blue);
  top: -150px;
  right: -150px;
}

.bg-glow--2 {
  width: 500px;
  height: 500px;
  background: var(--soft-glow);
  bottom: -100px;
  left: -100px;
}

/* ── Layout ────────────────────────────────────────────────────────────────── */
.main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 40px;
  gap: 40px;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Header ────────────────────────────────────────────────────────────────── */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.logo-wrap {
  width: 100px;
  height: 100px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 0 0 1.5px rgba(242, 244, 243, 0.15),
    0 0 0 4px rgba(79, 163, 200, 0.18),
    0 0 0 5.5px rgba(242, 244, 243, 0.08),
    0 12px 40px rgba(11, 31, 58, 0.6),
    0 4px 12px rgba(11, 31, 58, 0.4);
}

.logo-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-name {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--foam-white);
}

.tagline {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--foam-white);
  letter-spacing: 0.5px;
}

/* ── Glass card ────────────────────────────────────────────────────────────── */
.glass-card {
  width: 100%;
  background: rgba(242, 244, 243, 0.06);
  border: 1.5px solid rgba(242, 244, 243, 0.18);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 36px 32px;
  box-shadow:
    0 4px 6px rgba(11, 31, 58, 0.2),
    0 16px 48px rgba(11, 31, 58, 0.35),
    inset 0 1px 0 rgba(242, 244, 243, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ── Description ───────────────────────────────────────────────────────────── */
.description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(242, 244, 243, 0.82);
  text-align: center;
  max-width: 480px;
}

/* ── Features ──────────────────────────────────────────────────────────────── */
.features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 163, 200, 0.1);
  border: 1px solid rgba(127, 198, 217, 0.2);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.92rem;
  color: var(--soft-glow);
}

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

/* ── Store buttons ─────────────────────────────────────────────────────────── */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-width: 180px;
  flex: 1;
  max-width: 240px;
}

.store-btn--apple {
  background: rgba(242, 244, 243, 0.92);
  color: var(--night-blue);
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.3);
}

.store-btn--google {
  background: rgba(79, 163, 200, 0.15);
  border: 1.5px solid rgba(127, 198, 217, 0.35);
  color: var(--foam-white);
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.2);
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(11, 31, 58, 0.4);
}

.store-btn--apple:hover {
  background: var(--foam-white);
}

.store-btn--google:hover {
  background: rgba(79, 163, 200, 0.25);
}

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-text--small {
  font-size: 0.72rem;
  opacity: 0.7;
  font-style: normal;
  letter-spacing: 0.3px;
}

.store-text--big {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  text-align: center;
  width: 100%;
}

.footer a {
  color: var(--soft-glow);
  text-decoration: none;
  font-size: 0.88rem;
  opacity: 0.75;
  transition: opacity 0.15s;
}

.footer a:hover { opacity: 1; }

.footer-sep {
  color: rgba(242, 244, 243, 0.3);
  font-size: 0.88rem;
}

.footer-copy {
  width: 100%;
  font-size: 0.8rem;
  color: rgba(242, 244, 243, 0.35);
  margin-top: 4px;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .glass-card { padding: 28px 20px; }
  .store-btn { max-width: 100%; }
  .store-buttons { flex-direction: column; align-items: center; }
  .store-btn { justify-content: center; }
}
