/*
  Scent4You — Coming Soon
  Identidad de marca: teal #00BFA5 sobre fondo oscuro #070A0F.
  Por qué: página temporal de alta gama mientras BEC construye la web definitiva;
  debe transmitir "sofisticado, limpio, fresco" sin depender de nada externo.
*/

:root {
  --teal: #00BFA5;
  --teal-soft: #2BE0C4;
  --teal-glow: rgba(0, 191, 165, 0.35);
  --bg: #070A0F;
  --bg-2: #0B0F16;
  --white: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.74);
  --text-faint: rgba(255, 255, 255, 0.5);
  --font: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
  /* contraste AA: blanco puro sobre #070A0F supera 15:1 */
}

/* ---------- Fondo decorativo: gradiente + partículas + onda ---------- */

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 191, 165, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(0, 191, 165, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 10% 85%, rgba(0, 191, 165, 0.07) 0%, transparent 40%),
    var(--bg);
}

.bg-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  opacity: 0.35;
  filter: blur(1px);
  animation: floatParticle 14s ease-in-out infinite;
}
.p1 { width: 10px; height: 10px; top: 20%; left: 12%; animation-duration: 12s; }
.p2 { width: 6px;  height: 6px;  top: 65%; left: 22%; animation-duration: 16s; animation-delay: -3s; }
.p3 { width: 14px; height: 14px; top: 30%; left: 82%; animation-duration: 18s; animation-delay: -6s; }
.p4 { width: 7px;  height: 7px;  top: 75%; left: 78%; animation-duration: 13s; animation-delay: -1s; }
.p5 { width: 9px;  height: 9px;  top: 48%; left: 50%; animation-duration: 20s; animation-delay: -9s; }

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.25; }
  50% { transform: translateY(-24px) translateX(10px); opacity: 0.5; }
}

.bg-wave {
  position: absolute;
  left: -10%;
  bottom: -2%;
  width: 120%;
  height: auto;
  animation: waveDrift 40s linear infinite;
}

@keyframes waveDrift {
  0% { transform: translateX(0); }
  50% { transform: translateX(-2%); }
  100% { transform: translateX(0); }
}

/* ---------- Contenido principal ---------- */

.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
  max-width: 640px;
  margin: 0 auto;
}

.logo-wrap {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 191, 165, 0.25), 0 0 45px var(--teal-glow), 0 0 90px rgba(0, 191, 165, 0.12);
  animation: pulseGlow 5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0, 191, 165, 0.25), 0 0 45px var(--teal-glow), 0 0 90px rgba(0, 191, 165, 0.12); }
  50% { box-shadow: 0 0 0 1px rgba(0, 191, 165, 0.35), 0 0 60px var(--teal-glow), 0 0 110px rgba(0, 191, 165, 0.18); }
}

.logo {
  width: 92px;
  height: 92px;
  display: block;
}

.wordmark {
  margin: 1.5rem 0 0.4rem;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
}

.tagline {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--teal-soft);
}

.divider {
  width: 48px;
  height: 2px;
  margin: 2rem 0;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  border-radius: 2px;
}

.heading {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

.subtitle {
  margin: 0 auto;
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.services {
  margin: 1.75rem 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--text-faint);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.75rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.contact-link svg { color: var(--teal); flex-shrink: 0; }

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--teal);
  color: var(--teal-soft);
  background-color: rgba(0, 191, 165, 0.06);
}

.contact-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.footer {
  margin-top: 3.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Toggle de idioma ---------- */

.lang-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-color: var(--teal);
  background-color: rgba(0, 191, 165, 0.08);
}

.lang-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- Animación de entrada (fade + rise en secuencia) ---------- */

.fade-item {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeRise 0.7s ease forwards;
  animation-delay: calc(var(--d, 0) * 0.09s + 0.1s);
}

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

/* Respeta preferencia de movimiento reducido: contenido siempre visible, sin animación */
@media (prefers-reduced-motion: reduce) {
  .fade-item {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .bg-particle,
  .bg-wave,
  .logo-wrap {
    animation: none;
  }
}

/* ---------- Responsive (celular primero, ya cubierto por clamp/flex arriba) ---------- */

@media (max-width: 420px) {
  .container { padding: 5rem 1.25rem 2.5rem; }
  .contact { gap: 1rem; }
  .contact-link { font-size: 0.82rem; padding: 0.45rem 0.75rem; }
}
