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

body {
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fade-in Apple Style */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* NAV */
.nav {
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav .logo {
  font-size: 20px;
  font-weight: 600;
}

.nav-links a {
  margin-left: 25px;
  text-decoration: none;
  color: #555;
  font-weight: 500;
}

/* HERO (versión antigua centrada, por si algún selector lo usa) */
.hero {
  text-align: center;
  padding: 160px 20px 120px 20px;
  max-width: 900px;
  margin: auto;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: 20px;
  color: #444;
  margin-bottom: 40px;
}

.hero-buttons {
  margin-bottom: 50px;
}

.btn-primary,
.btn-secondary {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin: 0 8px;
}

.btn-primary {
  background: #000;
  color: #fff;
  letter-spacing: -0.2px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.btn-secondary {
  background: #eee;
  color: #000;
}

.hero-mockup {
  width: 100%;
  max-width: 100%;
  margin-top: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: transform 0.45s ease;
}

.hero-mockup:hover {
  transform: translateY(-10px);
}

.hero-visual img {
  max-height: 540px;
  object-fit: contain;
}

/* ABOUT SECTION */
.about {
  max-width: 900px;
  margin: 100px auto;
  text-align: center;
  padding: 0 20px;
}

.about-text {
  font-size: 20px;
  color: #444;
  line-height: 1.7;
  margin-top: 20px;
}

/* FEATURES */
.features {
  padding: 100px 20px;
  max-width: 1100px;
  margin: auto;
}

section {
  scroll-margin-top: 80px;
}

.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: -0.3px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 40px;
}

.feature-card {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #eee;
  background: #fcfcfc;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

/* INCLUDED SECTION – Apple Premium Grid */
.included {
  padding: 120px 20px;
  background: #ffffff;
  max-width: 1200px;
  margin: auto;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.included-item {
  padding: 28px;
  border-radius: 18px;
  background: #fcfcfc;
  border: 1px solid #eee;
  box-shadow: 0 6px 30px rgba(0,0,0,0.04);
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}

.included-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.included-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #111;
}

.included-item p {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
}

/* MOCKUPS ANTIGUOS (por si algo lo usa, no molestan) */
.mockups {
  padding: 140px 20px;
  max-width: 1250px;
  margin: auto;
  text-align: center;
}

.mockup-block {
  margin: 140px auto;
  text-align: center;
  max-width: 1050px;
  padding: 20px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  transition: transform .45s ease, box-shadow .45s ease;
}

.mockup-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 120px rgba(0,0,0,0.15);
}

.mockup-title {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.mockup-desc {
  font-size: 20px;
  color: #444;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.mockup-img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 45px 120px rgba(0,0,0,0.25);
  transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .5s ease;
  cursor: zoom-in;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.mockup-img:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 65px 180px rgba(0,0,0,0.32);
}

/* PRICING */
.pricing {
  text-align: center;
  padding: 150px 20px;
  background: #fafafa;
}

.price-box {
  margin: auto;
  padding: 40px;
  max-width: 420px;
  border-radius: 18px;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 6px 30px rgba(0,0,0,0.06);
}

.price {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.price-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.btn-full {
  display: block;
  text-align: center;
  margin-top: 20px;
}

/* LIGHTBOX STYLE */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: lightboxFade .35s ease;
}

@keyframes lightboxFade {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* FOOTER (básico, luego footer-premium) */
.footer {
  text-align: center;
  padding: 40px 0;
  color: #777;
  font-size: 14px;
  border-top: 1px solid #eee;
}

.copy {
  margin-top: 8px;
}

/* Ensure mockups section is always visible, even if fade-in fails */
.mockups.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.mockups .section-title {
  margin-bottom: 80px;
}

.mockup-block:first-of-type {
  margin-top: 100px;
}

/* PREMIUM MODAL – Apple Glass Style */
.included-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 10000;
}

.included-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.included-modal-content {
  width: 90%;
  max-width: 820px;
  background: rgba(255,255,255,0.75);
  border-radius: 28px;
  padding: 40px 50px;
  box-shadow: 0 40px 140px rgba(0,0,0,0.20);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  animation: modalPop .35s ease;
}

@keyframes modalPop {
  from { transform: scale(0.94); opacity: .4; }
  to { transform: scale(1); opacity: 1; }
}

.included-modal-content h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: -0.4px;
}

.included-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.included-modal-card {
  padding: 22px;
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.included-modal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.included-modal-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.included-modal-card p {
  font-size: 16px;
  color: #444;
  line-height: 1.55;
}

/* PRICING EXTRA – Center the button perfectly under the price card */
.pricing-extra {
  text-align: center;
  margin-top: 35px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.pricing-extra .btn-secondary {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-weight: 600;
  background: #fff;
  transition: all .25s ease;
}

.pricing-extra .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* HERO PREMIUM – Estilo Apple Vision Pro */
.hero-premium {
  max-width: 1200px;
  margin: 140px auto 120px auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-copy {
  flex: 1;
  text-align: left;
}

.hero-title {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 19px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-main-btn {
  padding: 14px 30px;
}

.hero-secondary-btn {
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid #ddd;
}

/* Contenedor visual del mockup */
.hero-visual-premium {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-mockup-stage {
  position: relative;
  max-width: 560px;
  width: 100%;
  border-radius: 32px;
  padding: 18px;
  background: radial-gradient(circle at top, rgba(0,0,0,0.07), transparent 60%);
  box-shadow: 0 40px 120px rgba(0,0,0,0.25);
  overflow: hidden;
}

.hero-mockup-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(255,255,255,0.55), transparent 55%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-mockup-premium {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.35);
  transform: translateY(0);
  transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .6s ease;
}

.hero-mockup-stage:hover .hero-mockup-premium {
  transform: translateY(-10px);
  box-shadow: 0 40px 140px rgba(0,0,0,0.45);
}

/* Responsive hero */
@media (max-width: 900px) {
  .hero-premium {
    flex-direction: column;
    margin-top: 120px;
    gap: 40px;
  }

  .hero-copy {
    text-align: center;
  }

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

/* ----------------------------- */
/*   MOCKUP SLIDER — VISION PRO  */
/* ----------------------------- */

.mockups-section {
  padding: 140px 20px 180px;
  text-align: center;
}

.mockups-section .section-title {
  margin-bottom: 14px;
}

.mockups-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

/* CONTENEDOR PRINCIPAL – NO CORTA NADA */
.mockup-viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 0 160px;
  overflow: visible !important;
}

/* SLIDER: centra usando translateX, sin ajustes laterales rotos */
.mockup-slider {
  display: flex;
  align-items: center;
  gap: 120px;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* SLIDE INDIVIDUAL */
.mockup-slide {
  flex: 0 0 auto;
  width: min(900px, 80vw);
  text-align: center;
  position: relative;
  transition: opacity .4s ease, transform .4s ease, filter .4s ease;
  padding-bottom: 40px;
}

/* SOMBRA COMPLETA – sin cortes */
.mockup-slide img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  display: block;
  filter:
    drop-shadow(0px 20px 55px rgba(0,0,0,0.25))
    drop-shadow(0px 10px 25px rgba(0,0,0,0.15));
}

/* GLOW Apple */
.mockup-slide::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.05) 70%, transparent 100%);
  filter: blur(90px);
  z-index: -1;
}

/* SLIDE ACTIVO */
.mockup-slide.active {
  opacity: 1;
  transform: scale(1.04);
  filter: none;
}

/* SLIDES LATERALES */
.mockup-slide:not(.active) {
  opacity: 0.35;
  transform: scale(0.90);
  filter: blur(1px) brightness(0.93);
}

/* TEXTO DEBAJO */
.mockup-slide h3 {
  margin-top: 26px;
  font-size: 24px;
  font-weight: 600;
}

.mockup-slide p {
  margin-top: 8px;
  color: #666;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.6;
}

/* FLECHAS – sticky con espacio correcto */
.mockup-controls {
  position: sticky;
  bottom: 44px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 40px;
}

.mockup-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.mockup-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform .25s ease, box-shadow .25s ease;
}

.mockup-arrow:hover {
  transform: scale(1.15);
  box-shadow: 0 16px 36px rgba(0,0,0,0.25);
}

/* DOTS – separados correctamente */
.mockup-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.mockup-dots span {
  width: 11px;
  height: 11px;
  background: #bbb;
  border-radius: 50%;
  transition: background .25s ease, transform .25s ease;
}

.mockup-dots span.active {
  background: #000;
  transform: scale(1.35);
}

/* Responsivo */
@media(max-width: 900px) {
  .mockup-slide {
    width: 88vw;
  }
}

/* ============================= */
/* FOOTER PREMIUM · macOS style */
/* ============================= */

.footer-premium {
  padding: 50px 0 40px;
  background: #fafafa;
  text-align: center;
  margin-top: 80px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
}

.footer-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.footer-divider {
  width: 70px;
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin: 0 auto 18px;
}

.footer-copy {
  font-size: 12px;
  color: #999;
}

/* ============================= */
/* HOW IT WORKS – Apple Vision Style */
/* ============================= */

.how-works {
  padding: 140px 20px 100px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.how-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
}

.how-item {
  padding: 20px;
  text-align: center;
  transition: transform .35s ease, opacity .35s ease;
}

.how-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  background: rgba(0,0,0,0.85);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow:
    0 15px 35px rgba(0,0,0,0.25),
    inset 0 0 8px rgba(255,255,255,0.25);
}

.how-item h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.how-item p {
  font-size: 17px;
  color: #555;
  line-height: 1.65;
  max-width: 90%;
  margin: auto;
}

/* Hover efecto premium */
.how-item:hover {
  transform: translateY(-6px);
}