/* ══════════════════════════════════════════════════════
   DESARROLOLANDING — Styles
   Diseño: Tech Oscuro
   Paleta: Violeta #7c3aed + Cyan #06b6d4 sobre #0d0d1a
   Fuentes: Space Grotesk / Inter
   ══════════════════════════════════════════════════════ */

/* ── 1. Variables ─────────────────────────────────── */
:root {
  --color-primary:      #7c3aed;
  --color-primary-dark: #6025cc;
  --color-secondary:    #06b6d4;
  --color-accent:       #a855f7;
  --color-dark:         #080808;
  --color-dark-2:       #111111;
  --color-dark-3:       #1a1a1a;
  --color-text:         #e2e8f0;
  --color-text-muted:   #94a3b8;
  --color-white:        #ffffff;
  --color-whatsapp:     #25d366;
  --color-border:       rgba(124,58,237,.25);

  --gradient-main: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --gradient-text: linear-gradient(90deg, #a855f7, #06b6d4);

  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,.3);
  --shadow-lg: 0 12px 48px rgba(124,58,237,.25);
  --shadow-glow: 0 0 40px rgba(124,58,237,.2);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-dark);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ── Utilidad: texto con gradiente ────────────────── */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 3. Utilidades generales ──────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; }

.section--alt { background: var(--color-dark-2); }

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.25);
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
}

.section__desc {
  color: var(--color-text-muted);
  margin-top: .75rem;
  font-size: 1.05rem;
}

/* ── 4. Botones ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-main);
  color: var(--color-white);
}
.btn--primary:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-white);
  background: rgba(124,58,237,.1);
}

.btn--outline {
  background: transparent;
  color: var(--color-secondary);
  border-color: rgba(6,182,212,.4);
}
.btn--outline:hover {
  background: rgba(6,182,212,.1);
  border-color: var(--color-secondary);
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
}
.btn--whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,.35);
}

.btn--lg { font-size: 1.05rem; padding: 1rem 2.2rem; }
.btn--sm { font-size: .85rem; padding: .6rem 1.2rem; }
.btn--small { font-size: .85rem; padding: .55rem 1.1rem; }

/* ── 5. Fade-in ───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 6. Header ────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}

.header.scrolled {
  background: rgba(13,13,26,.95);
  border-color: var(--color-border);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
}

.logo__icon { font-size: 1.1rem; }

.logo__img {
  height: 96px;
  width: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.header__nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color .2s;
}
.header__nav a:hover { color: var(--color-white); }

/* ── 7. Hamburguesa ───────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 8. Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}

.hero__bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow--1 {
  width: 600px;
  height: 600px;
  background: rgba(124,58,237,.18);
  top: -100px;
  right: -150px;
}

.glow--2 {
  width: 400px;
  height: 400px;
  background: rgba(6,182,212,.12);
  bottom: -80px;
  left: -100px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--color-secondary);
  background: rgba(6,182,212,.08);
  border: 1px solid rgba(6,182,212,.3);
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.stat { text-align: center; }

.stat__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: .8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* ── 9. Pasos / Cómo funciona ─────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step {
  flex: 1;
  background: var(--color-dark-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: border-color .25s, box-shadow .25s;
}

.step:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.step__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: .5rem;
}

.step__text {
  font-size: .9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.step__arrow {
  font-size: 1.5rem;
  color: var(--color-primary);
  padding-top: 2.5rem;
  flex-shrink: 0;
}

/* ── 10. Features ─────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  background: var(--color-dark-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color .25s, transform .25s;
}

.feature:hover {
  border-color: var(--color-secondary);
  transform: translateY(-4px);
}

.feature__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: .5rem;
}

.feature__text {
  font-size: .88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── 11. Cases / Ejemplos ─────────────────────────── */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case {
  background: var(--color-dark-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}

.case:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.case__preview { padding: 1.25rem 1.25rem 0; }

.case__browser {
  background: #1e1e3a;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}

.case__browser-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  background: #16162e;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.case__browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.case__browser-bar span:nth-child(1) { background: #ff5f57; }
.case__browser-bar span:nth-child(2) { background: #febc2e; }
.case__browser-bar span:nth-child(3) { background: #28c840; }

.case__url {
  font-size: .72rem;
  color: var(--color-text-muted);
  background: rgba(255,255,255,.05);
  padding: .2rem .75rem;
  border-radius: 999px;
  margin-left: .5rem;
  flex: 1;
  text-align: center;
}

.case__screen {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.case__screen--salon {
  background: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 100%);
  border-top: 3px solid #c9a84c;
}

.case__screen--demo {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
  border-top: 3px solid #e85d04;
}

.case__screen-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.case__screen-emoji { font-size: 2.5rem; }

.case__screen-name {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}

.case__info {
  padding: 1.5rem;
}

.case__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: .6rem;
}

.case__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: .5rem;
}

.case__desc {
  font-size: .88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ── 12. Precio ───────────────────────────────────── */
.price-card {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: var(--color-dark-3);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-glow);
  max-width: 860px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.price-card__left { text-align: center; flex-shrink: 0; }

.price-card__amount {
  display: flex;
  align-items: flex-start;
  gap: .25rem;
  line-height: 1;
  margin-bottom: .5rem;
}

.price-card__currency {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-muted);
  margin-top: .5rem;
}

.price-card__num {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-card__label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.price-card__divider {
  width: 1px;
  height: 120px;
  background: var(--color-border);
  flex-shrink: 0;
}

.price-card__includes {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.price-card__includes li {
  font-size: .95rem;
  color: var(--color-text);
  font-weight: 500;
}

.price-card__btn { flex-shrink: 0; }

/* ── 13. Sección CTA ──────────────────────────────── */
.cta-section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  background: var(--color-dark-2);
}

.cta-section__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(124,58,237,.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin: .75rem 0 1rem;
}

.cta-section__sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.cta-section__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2rem;
}

.cta-section__list li {
  font-size: .95rem;
  color: var(--color-text);
  font-weight: 500;
}

/* ── 13. Footer ───────────────────────────────────── */
.footer {
  background: #030303;
  padding-top: 2.5rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-white);
  display: block;
  margin-bottom: .4rem;
}

.footer__brand p {
  font-size: .85rem;
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  font-size: .9rem;
  color: var(--color-text-muted);
  transition: color .2s;
}
.footer__links a:hover { color: var(--color-white); }

.footer__bottom {
  text-align: center;
  padding: 1.25rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ── 14. Botón flotante WhatsApp ──────────────────── */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.wa-float__bubble {
  background: var(--color-dark-3);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: .85rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}

.wa-float:hover .wa-float__bubble {
  opacity: 1;
  transform: translateX(0);
}

.wa-float__btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  animation: wa-pulse 2.5s infinite;
  flex-shrink: 0;
}

.wa-float__btn:hover { animation: none; transform: scale(1.08); }

@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0);   }
  100% { box-shadow: 0 0 0 0   rgba(37,211,102,0);    }
}

/* ── 15. Media queries ────────────────────────────── */
@media (max-width: 900px) {
  .steps {
    flex-direction: column;
    align-items: stretch;
  }
  .step__arrow {
    transform: rotate(90deg);
    text-align: center;
    padding-top: 0;
  }

  .features { grid-template-columns: repeat(2, 1fr); }

  .cases { grid-template-columns: 1fr; }

  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(13,13,26,.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    margin-left: 0;
  }
  .header__nav.open { display: flex; }
  .header .btn--small { display: none; }
  .hamburger { display: flex; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__links { flex-wrap: wrap; }

  .price-card { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .price-card__divider { width: 100%; height: 1px; }
  .price-card__includes { align-items: center; }
  .price-card__btn { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .features { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__stats { gap: 1.25rem; }
  .wa-float__bubble { display: none; }
}
