/* Efecto Beauty 360 — Landing directa */

:root {
  --bg: #121212;
  --bg-card: #1a1a1a;
  --text: #ffffff;
  --text-muted: #b5b5b5;
  --turquoise: #00e5cc;
  --fuchsia: #ff4da6;
  --gradient: linear-gradient(135deg, var(--turquoise), #7b61ff, var(--fuchsia));
  --font: "Outfit", system-ui, sans-serif;
  --radius: 20px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body.page-landing {
  font-family: var(--font);
  background: #0a0a0a;
  color: var(--text-muted);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Fondo 3D ambient */
.landing-hero {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  perspective: 1200px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 229, 204, 0.14), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 77, 166, 0.1), transparent),
    #0a0a0a;
}

.landing-hero__scene {
  width: 100%;
  max-width: 520px;
  transform-style: preserve-3d;
}

.card-3d {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 229, 204, 0.08) inset,
    0 40px 80px rgba(0, 229, 204, 0.06);
  transform: rotateX(4deg) rotateY(-2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-3d:hover {
  transform: rotateX(0deg) rotateY(0deg) translateZ(12px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 229, 204, 0.12),
    0 0 60px rgba(255, 77, 166, 0.08);
}

.landing-hero__card {
  text-align: center;
  padding: clamp(2rem, 6vw, 2.75rem);
  position: relative;
  overflow: hidden;
}

.landing-hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.06;
  pointer-events: none;
}

.landing-hero__card > * {
  position: relative;
  z-index: 1;
}

.landing-hero__logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.25rem;
  padding: 3px;
  border-radius: 50%;
  background: var(--gradient);
}

.landing-hero__logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg);
}

h1 {
  font-size: clamp(1.65rem, 5vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.landing-hero__lead {
  font-size: clamp(0.95rem, 2.6vw, 1.1rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.75rem;
  max-width: 38ch;
  margin-inline: auto;
}

.landing-hero__lead strong {
  color: var(--turquoise);
  font-weight: 600;
}

/* FAQ SEO — manicurista profesional */
.landing-faq {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

.landing-faq h2 {
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.landing-faq__item {
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.85);
  overflow: hidden;
}

.landing-faq__item summary {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.landing-faq__item summary::-webkit-details-marker {
  display: none;
}

.landing-faq__item p {
  padding: 0 1rem 0.85rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* CTA */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #121212 !important;
  background: var(--gradient);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 229, 204, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: pulse 2.5s ease-in-out infinite;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 77, 166, 0.35);
}

.cta-button--full {
  width: 100%;
  animation: none;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(0, 229, 204, 0.25); }
  50% { box-shadow: 0 12px 40px rgba(255, 77, 166, 0.3); }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 2rem 1.5rem;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.35s ease;
  transform-style: preserve-3d;
}

.modal.is-open .modal__dialog {
  transform: scale(1) translateY(0) rotateX(0);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.modal__dialog h2 {
  color: var(--text);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.modal__sub {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

#lead-form label {
  display: block;
  margin-bottom: 1rem;
  text-align: left;
}

#lead-form label span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

#lead-form input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#lead-form input:focus {
  outline: none;
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.15);
}

.form-error {
  color: var(--fuchsia);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .card-3d,
  .cta-button { animation: none; transition: none; }
  .modal__dialog { transition: none; }
}
