:root {
  --blue: #1976D2;
  --orange: #FF9800;
  --white: #FFFFFF;
  --black: #0D0D0D;
  --dark: #111318;
  --dark-soft: #1A1D24;
  --gray: #B0B0B0;
  --border: rgba(255, 255, 255, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.section-padding {
  padding: 110px 0;
}

/* NAVBAR */

.glass-navbar {
  background: rgba(13, 13, 13, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: 0.3s ease;
  padding: 18px 0;
}

.navbar-brand {
  letter-spacing: -0.5px;
  font-size: 1.4rem;
}

.navbar-brand img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  font-weight: 500;
  transition: 0.25s ease;
}

.nav-link:hover {
  color: var(--orange) !important;
}

/* BOTONES */

.btn-primary-custom {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(25, 118, 210, 0.35);
  transition: 0.25s ease;
}

.btn-primary-custom:hover {
  background: #2384e8;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--orange);
  color: var(--black);
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(255, 152, 0, 0.34);
  transition: 0.25s ease;
}

.btn-orange:hover {
  background: #ffad2f;
  color: var(--black);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.35);
}

/* HERO */

.hero-section {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(25, 118, 210, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 152, 0, 0.18), transparent 32%),
    linear-gradient(135deg, #0D0D0D 0%, #111827 55%, #0D0D0D 100%);
  overflow: hidden;
}

.hero-row {
  padding-top: 130px;
  padding-bottom: 70px;
}

.hero-glow {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.38;
  pointer-events: none;
}

.hero-glow-blue {
  background: var(--blue);
  top: 18%;
  right: 10%;
}

.hero-glow-orange {
  background: var(--orange);
  bottom: 12%;
  left: 8%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  background: rgba(255, 152, 0, 0.10);
  border: 1px solid rgba(255, 152, 0, 0.22);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-content h1 span {
  color: var(--orange);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.4px;
}

.hero-text {
  color: var(--gray);
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-stats div {
  min-width: 135px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
}

.hero-stats strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
}

.hero-stats span {
  display: block;
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 3px;
}

.phone-showcase {
  position: relative;
  display: inline-block;
  margin-top: 55px;
}

.phone-main {
  max-height: 680px;
  animation: floatPhone 4s ease-in-out infinite;
  filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.55));
}

@keyframes floatPhone {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

/* SECCIONES GENERALES */

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

.section-heading {
  max-width: 750px;
  margin: 0 auto;
}

.section-heading h2,
.solution-section h2,
.cta-box h2 {
  margin-top: 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
}

.section-heading p,
.solution-section p,
.cta-box p {
  color: var(--gray);
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* CARDS */

.problem-card,
.feature-card,
.step-card,
.screenshot-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  transition: 0.28s ease;
}

.problem-card {
  text-align: center;
}

.problem-card:hover,
.feature-card:hover,
.step-card:hover,
.screenshot-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 152, 0, 0.45);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.28);
}

.problem-card i,
.feature-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.20), rgba(255, 152, 0, 0.18));
  color: var(--orange);
  font-size: 1.7rem;
  margin-bottom: 24px;
}

/* ÍCONOS PNG EN CARDS DEL PROBLEMA */

.problem-icon-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.20), rgba(255, 152, 0, 0.18));
  margin: 0 auto 24px auto;
  overflow: hidden;
}

.problem-icon-img img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.problem-card h3,
.feature-card h3,
.step-card h3,
.screenshot-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.problem-card p,
.feature-card p,
.step-card p {
  color: var(--gray);
  margin-bottom: 0;
  line-height: 1.7;
}

/* SOLUCIÓN */

.solution-section {
  background:
    radial-gradient(circle at left, rgba(25, 118, 210, 0.13), transparent 30%),
    var(--black);
}

.step-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.step-card span {
  display: inline-block;
  color: var(--orange);
  font-weight: 900;
  font-size: 2.1rem;
  margin-bottom: 18px;
}

/* TIMELINE */

.timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.timeline-item {
  text-align: center;
  padding: 28px 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: 28px;
  min-width: 210px;
}

.timeline-item span {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 16px;
}

.timeline-item h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0;
}

.timeline-line {
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

/* ÍCONOS PNG EN TIMELINE */

.timeline-icon-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue);
  margin: 0 auto 16px auto;
  overflow: hidden;
}

.timeline-icon-img img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

/* CAPTURAS */

.screenshots-section {
  background: #F6F8FB;
  color: #111318;
}

.screenshots-section .section-heading p {
  color: #606875;
}

.screenshot-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.075);
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.screenshot-card img {
  width: 100%;
  max-height: 365px;
  object-fit: contain;
  margin-bottom: 18px;
}

.screenshot-card h3 {
  color: #111318;
}

/* EMOCIONAL */

.emotional-section {
  position: relative;
  padding: 130px 0;
  background:
    linear-gradient(rgba(13, 13, 13, 0.80), rgba(13, 13, 13, 0.86)),
    radial-gradient(circle at center, rgba(25, 118, 210, 0.35), transparent 35%),
    linear-gradient(135deg, #111318, #0D0D0D);
  overflow: hidden;
}

.emotional-section h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -1.4px;
}

.emotional-section p {
  color: var(--gray);
  max-width: 760px;
  margin: 22px auto 0;
  font-size: 1.15rem;
  line-height: 1.8;
}

/* CTA */

.cta-section {
  background:
    radial-gradient(circle at center, rgba(255, 152, 0, 0.15), transparent 35%),
    var(--black);
}

.cta-box {
  padding: 70px 30px;
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(25, 118, 210, 0.20), rgba(255, 152, 0, 0.11)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28);
}

/* CTA REDES SOCIALES */

.social-cta {
  position: relative;
  overflow: hidden;
}

.social-cta::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(25, 118, 210, 0.22);
  filter: blur(80px);
  top: -120px;
  left: -80px;
}

.social-cta::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 152, 0, 0.22);
  filter: blur(80px);
  bottom: -120px;
  right: -80px;
}

.social-cta > * {
  position: relative;
  z-index: 2;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 180px;
  padding: 16px 28px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  border: 1px solid var(--border);
  transition: 0.25s ease;
}

.social-btn i {
  font-size: 1.35rem;
}

.social-btn.facebook {
  background: linear-gradient(135deg, #1877F2, #0D47A1);
  box-shadow: 0 16px 32px rgba(24, 119, 242, 0.28);
}

.social-btn.instagram {
  background: linear-gradient(135deg, #833AB4, #E1306C, #FCAF45);
  box-shadow: 0 16px 32px rgba(225, 48, 108, 0.28);
}

.social-btn:hover {
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}

/* FOOTER */

.footer {
  padding: 28px 0;
  background: #080808;
  border-top: 1px solid var(--border);
  color: var(--gray);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--gray);
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

/* ANIMACIONES */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .hero-section {
    text-align: center;
  }

  .hero-row {
    padding-top: 120px;
    padding-bottom: 70px;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .phone-showcase {
    margin-top: 35px;
  }

  .timeline {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  }

  .timeline-line {
    width: 48px;
    height: 3px;
    margin: 0;
  }
}

@media (max-width: 575px) {
  .section-padding {
    padding: 80px 0;
  }

  .glass-navbar {
    padding: 14px 0;
  }

  .navbar-brand {
    font-size: 1.15rem;
  }

  .hero-row {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-stats div {
    width: 100%;
  }

  .problem-card,
  .feature-card,
  .step-card,
  .screenshot-card {
    padding: 24px;
  }

  .phone-main {
    max-height: 560px;
  }

  .timeline {
    overflow-x: auto;
  }

  .social-btn {
    width: 100%;
  }

  .app-availability {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}

.app-availability span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 14px;
}

.app-availability .available {
  color: #3DDC84;
  background: rgba(61, 220, 132, 0.10);
}

.app-availability .upcoming {
  color: var(--white);
}

.app-availability .upcoming i {
  color: #ffffff;
}

.app-availability .available i {
  color: #3DDC84;
}

/* PRELOADER SOLO MÓVIL */

.mobile-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(25, 118, 210, 0.16), transparent 32%),
    linear-gradient(135deg, #0D0D0D, #111318);
  overflow: hidden;
}

@media (max-width: 768px) {
  .mobile-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(circle at center, rgba(25, 118, 210, 0.16), transparent 32%),
      linear-gradient(135deg, #0D0D0D, #111318);
    overflow: hidden;
  }

  .preloader-logo-wrap {
    position: relative;
    width: 210px;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .preloader-logo {
    width: 190px;
    max-width: 70vw;
    opacity: 0;
    filter: blur(18px);
    transform: scale(0.86);
    animation: logoRevealMobile 2.4s ease forwards;
  }

  .preloader-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background:
      radial-gradient(circle, rgba(255, 152, 0, 0.25), transparent 58%),
      radial-gradient(circle, rgba(25, 118, 210, 0.22), transparent 70%);
    filter: blur(18px);
    opacity: 0;
    animation: glowRevealMobile 2.4s ease forwards;
    z-index: -1;
  }

  .mobile-preloader.hide-preloader {
    animation: preloaderExitMobile 0.7s ease forwards;
  }
}

@keyframes logoRevealMobile {
  0% {
    opacity: 0;
    filter: blur(22px);
    transform: scale(0.82);
  }

  45% {
    opacity: 0.55;
    filter: blur(10px);
    transform: scale(0.95);
  }

  80% {
    opacity: 1;
    filter: blur(1.5px);
    transform: scale(1);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes glowRevealMobile {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }

  60% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0.75;
    transform: scale(1.08);
  }
}

@keyframes preloaderExitMobile {
  from {
    opacity: 1;
    visibility: visible;
  }

  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
/* Ajuste del CTA final en móvil */
@media (max-width: 575px) {
  .cta-section {
    padding: 70px 0;
  }

  .cta-section .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cta-box {
    width: 100%;
    max-width: 100%;
    padding: 42px 20px;
    border-radius: 28px;
    overflow: hidden;
  }

  .cta-box h2 {
    font-size: 2rem;
    line-height: 1.1;
  }

  .cta-box p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .app-availability {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
    margin-bottom: 22px;
  }

  .app-availability span {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
  }

  .social-buttons {
    width: 100%;
    flex-direction: column;
    gap: 14px;
  }

  .social-btn {
    width: 100%;
    min-width: 0;
  }
}
/* Timeline en móvil como lista vertical */
@media (max-width: 575px) {
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-x: hidden;
    padding-bottom: 0;
  }

  .timeline-item {
    width: 100%;
    min-width: 0;
    padding: 26px 18px;
  }

  .timeline-line {
    width: 3px;
    height: 28px;
    margin: 0 auto;
  }

  .timeline-icon-img {
    width: 58px;
    height: 58px;
  }

  .timeline-icon-img img {
    width: 38px;
    height: 38px;
  }
}

}