@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --landing-brand: #ff0474;
  --landing-brand-soft: #c9567d;
  --landing-brand-light: #ff4d9a;
  --landing-dark: #1e293b;
  --landing-gray: #64748b;
  --landing-bg: #f8fafc;
  --landing-surface: #ffffff;
  --landing-border: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body.landing-page {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--landing-dark);
  background: var(--landing-surface);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Navbar ── */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.landing-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.08);
  padding: 10px 0;
}

.landing-nav .navbar-brand img {
  height: 44px;
}

.landing-nav .nav-link {
  color: var(--landing-dark) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px !important;
  transition: color 0.2s;
}

.landing-nav .nav-link:hover {
  color: var(--landing-brand-soft) !important;
}

.landing-nav .btn-ingresar {
  background: linear-gradient(135deg, var(--landing-brand-soft) 0%, var(--landing-brand-light) 100%);
  color: #fff !important;
  border-radius: 10px;
  padding: 8px 20px !important;
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(201, 86, 125, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.landing-nav .btn-ingresar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201, 86, 125, 0.35);
  color: #fff !important;
}

.landing-nav .navbar-toggler {
  border-color: var(--landing-border);
  font-size: 0.85rem;
}

/* ── Hero ── */

.landing-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 40%, #fdf2f8 100%);
  overflow: hidden;
  position: relative;
}

.landing-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(255, 4, 116, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.landing-hero-content {
  position: relative;
  z-index: 2;
}

.landing-hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--landing-brand-soft);
  margin-bottom: 16px;
}

.landing-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--landing-dark);
  margin-bottom: 20px;
}

.landing-hero h1 span {
  color: var(--landing-brand-soft);
}

.landing-hero .lead {
  font-size: 1.1rem;
  color: var(--landing-gray);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-landing-primary {
  background: linear-gradient(135deg, var(--landing-brand-soft) 0%, var(--landing-brand-light) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(201, 86, 125, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-landing-primary:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 86, 125, 0.35);
}

.btn-landing-outline {
  background: transparent;
  color: var(--landing-dark);
  border: 2px solid var(--landing-border);
  border-radius: 12px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-landing-outline:hover {
  border-color: var(--landing-brand-soft);
  color: var(--landing-brand-soft);
  text-decoration: none;
}

.landing-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 520px;
}

.landing-hero-visual .dancer-img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.15));
}

.landing-hero-visual .phone-mockup {
  position: absolute;
  bottom: 8%;
  left: -5%;
  width: 160px;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
  border: 3px solid #fff;
  z-index: 3;
}

/* ── Download ── */

.landing-download {
  padding: 80px 0;
  background: var(--landing-dark);
  color: #fff;
  text-align: center;
}

.landing-download h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.landing-download p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.landing-download .badge-link img {
  height: 56px;
  transition: transform 0.2s;
}

.landing-download .badge-link:hover img {
  transform: scale(1.05);
}

.landing-download .btn-landing-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.landing-download .btn-landing-outline:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.landing-download .webapp-link-wrap {
  margin-top: 12px;
  margin-bottom: 0;
}

/* ── Features ── */

.landing-features {
  padding: 90px 0;
  background: var(--landing-bg);
}

.landing-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.landing-section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.landing-section-header p {
  color: var(--landing-gray);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.landing-feature-card {
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.landing-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.landing-feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 86, 125, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--landing-brand-soft);
}

.landing-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.landing-feature-card p {
  color: var(--landing-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.landing-features-showcase {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.landing-features-showcase .showcase-img {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.landing-features-showcase .showcase-img img {
  max-height: 480px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 12px 32px rgba(15, 23, 42, 0.12));
}

.landing-features-showcase .showcase-phone {
  flex: 0 0 220px;
  text-align: center;
}

.landing-features-showcase .showcase-phone img {
  max-width: 220px;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
  border: 3px solid #fff;
}

/* ── CTA ── */

.landing-cta {
  position: relative;
  padding: 100px 0;
  background: url("../img/bailarina-split.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.landing-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.88) 0%, rgba(30, 41, 59, 0.75) 50%, rgba(201, 86, 125, 0.5) 100%);
}

.landing-cta .container {
  position: relative;
  z-index: 2;
}

.landing-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  line-height: 1.2;
}

.landing-cta .btn-landing-primary {
  font-size: 1.1rem;
  padding: 16px 36px;
}

/* ── Contact ── */

.landing-contact {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--landing-brand-soft) 0%, var(--landing-brand-light) 100%);
  color: #fff;
  text-align: center;
}

.landing-contact h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 32px;
}

.landing-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.2rem;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.landing-social a:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  color: #fff;
  text-decoration: none;
}

/* ── Footer ── */

.landing-footer {
  padding: 28px 0;
  background: var(--landing-dark);
  color: #94a3b8;
  text-align: center;
  font-size: 0.875rem;
}

.landing-footer p {
  margin: 0;
}

/* ── Responsive ── */

@media (max-width: 991px) {
  .landing-nav .navbar-collapse {
    margin-top: 12px;
    padding: 12px 0 8px;
    border-top: 1px solid var(--landing-border);
  }

  .landing-nav.scrolled .navbar-collapse {
    border-top-color: rgba(226, 232, 240, 0.6);
  }

  .landing-nav .navbar-nav {
    align-items: stretch !important;
  }

  .landing-nav .nav-link {
    padding: 12px 8px !important;
    text-align: center;
  }

  .landing-nav .btn-ingresar {
    margin: 8px 0 0;
    text-align: center;
    display: block;
  }

  .landing-hero {
    min-height: auto;
    padding: 88px 0 48px;
    text-align: center;
  }

  .landing-hero .lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .landing-hero-actions {
    justify-content: center;
  }

  .landing-hero-visual {
    min-height: 320px;
    margin-top: 32px;
  }

  .landing-hero-visual .phone-mockup {
    left: 8%;
    width: 120px;
  }

  .landing-download,
  .landing-features,
  .landing-contact {
    padding: 64px 0;
  }

  .landing-cta {
    padding: 72px 0;
  }

  .landing-features-showcase {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .landing-features-showcase .showcase-phone {
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .landing-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .landing-feature-card {
    padding: 22px 20px;
  }

  .landing-section-header {
    margin-bottom: 40px;
  }

  .landing-features-showcase {
    margin-top: 48px;
  }

  .landing-features-showcase .showcase-img img {
    max-height: 360px;
  }
}

@media (max-width: 576px) {
  .landing-nav {
    padding: 12px 0;
  }

  .landing-nav .navbar-brand img {
    height: 36px;
  }

  .landing-hero {
    padding: 76px 0 40px;
  }

  .landing-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .landing-hero .lead {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .landing-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .landing-hero-actions .btn-landing-primary,
  .landing-hero-actions .btn-landing-outline {
    width: 100%;
    text-align: center;
  }

  .landing-hero-visual {
    min-height: 260px;
    margin-top: 24px;
  }

  .landing-hero-visual .dancer-img {
    max-height: 50vh;
  }

  .landing-hero-visual .phone-mockup {
    display: none;
  }

  .landing-download,
  .landing-features,
  .landing-contact {
    padding: 48px 0;
  }

  .landing-download p,
  .landing-section-header p {
    font-size: 0.95rem;
    padding: 0 8px;
  }

  .landing-download .badge-link img {
    height: 48px;
  }

  .landing-cta {
    padding: 56px 16px;
    background-position: 65% center;
  }

  .landing-cta .btn-landing-primary {
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
    padding: 14px 20px;
  }

  .landing-footer {
    padding: 20px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .landing-hero h1 br {
    display: none;
  }

  .landing-cta h2 br {
    display: none;
  }
}
