/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --white: #ffffff;
  --off-white: #fafafa;
  --black: #0a0a0a;
  --dark-blue: #1a1f36;
  --purple-primary: #5b21b6;
  --purple-hover: #4c1d95;
  --purple-light: #f5f0ff;
  --purple-accent: #c4b5fd;
  --gray-100: #f5f5f5;
  --gray-300: #e5e5e5;
  --gray-500: #737373;
  --gray-700: #404040;
  --border: #ececec;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 24px;
  --transition: all 0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul { list-style: none; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

blockquote, cite { font-style: normal; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.text-purple { color: var(--purple-primary); }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-primary);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section-title { font-size: 28px; }
  .section-header { margin-bottom: 40px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--purple-primary);
  color: var(--white);
  border-color: var(--purple-primary);
}

.btn--primary:hover {
  background: var(--purple-hover);
  border-color: var(--purple-hover);
}

.btn--outline {
  background: transparent;
  color: var(--purple-primary);
  border-color: var(--purple-primary);
}

.btn--outline:hover {
  background: var(--purple-light);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--dark:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
}

.btn--lg {
  font-size: 16px;
  padding: 14px 32px;
}

.btn--full {
  width: 100%;
  display: flex;
}

/* ============================================================
   URGENCY BAR
   ============================================================ */
.urgency-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 10px 0;
}

.urgency-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.urgency-bar__label {
  color: var(--purple-accent);
  font-weight: 700;
}

.urgency-bar__countdown {
  color: var(--purple-accent);
  font-weight: 600;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 37px;
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-lockup-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: 20px;
  letter-spacing: -1.1px;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1;
}

.logo-text em {
  color: var(--purple-primary);
  font-style: normal;
}

.logo-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 12px;
  color: var(--purple-primary);
  letter-spacing: 0.2px;
  margin-top: 3px;
}

.logo-text.on-dark {
  color: var(--white);
}

.logo-text.on-dark em {
  color: var(--purple-accent);
}

.logo-tagline.on-dark {
  color: var(--purple-accent);
}

@media (max-width: 480px) {
  .logo-tagline { display: none; }
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.header__nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
}

.header__nav-link:hover {
  color: var(--purple-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__menu-toggle {
  display: none;
  color: var(--black);
  padding: 4px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--white);
  gap: 4px;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu__link {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu__link:last-of-type { border-bottom: none; }

.mobile-menu__link:hover { color: var(--purple-primary); }

.mobile-menu__cta {
  margin-top: 12px;
  width: 100%;
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__actions .btn { display: none; }
  .header__menu-toggle { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 80px 0 60px;
  background: var(--white);
}

.hero__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-primary);
  flex-shrink: 0;
}

.hero__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero__title {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .hero__subtitle { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.trust-strip__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-strip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-strip__text {
  font-size: 14px;
  color: var(--gray-700);
  white-space: nowrap;
}

.trust-strip__text strong {
  font-weight: 700;
  color: var(--black);
}

@media (max-width: 640px) {
  .trust-strip__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    justify-items: start;
  }
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section {
  padding: 80px 0;
  background: var(--off-white);
}

.video-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.video-placeholder {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  background: var(--dark-blue);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-play-btn {
  width: 64px;
  height: 64px;
  background: var(--purple-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding-left: 4px;
}

.video-play-btn:hover {
  background: var(--purple-hover);
  transform: scale(1.08);
}

.video-section__caption {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
  text-align: center;
}

@media (max-width: 640px) {
  .video-section { padding: 48px 0; }
}

/* ============================================================
   STEPS / CÓMO FUNCIONA
   ============================================================ */
.steps {
  padding: 80px 0;
  background: var(--white);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.step-card:hover {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border-color: var(--purple-accent);
}

.step-card__number {
  display: block;
  font-size: 56px;
  font-weight: 900;
  color: var(--purple-light);
  line-height: 1;
  margin-bottom: 16px;
  color: var(--purple-primary);
  opacity: 0.15;
  letter-spacing: -2px;
}

.step-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.2;
}

.step-card__desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps { padding: 48px 0; }
  .steps__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 80px 0;
  background: var(--off-white);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.plan {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}

.plan:hover {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.plan-featured {
  border: 2px solid var(--purple-primary);
  background: var(--purple-light);
  padding-top: 48px;
}

.plan-flag {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
  white-space: nowrap;
}

.plan-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.plan-featured .plan-badge {
  color: var(--purple-primary);
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.2;
}

.plan-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 20px;
}

.plan-price {
  margin: 20px 0 24px;
}

.price-old {
  display: block;
  font-size: 15px;
  color: var(--gray-500);
  text-decoration: line-through;
  margin-bottom: 4px;
  font-weight: 500;
}

.price-current {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-amount {
  font-size: 34px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -1.5px;
  line-height: 1;
}

.plan-featured .price-amount {
  color: var(--purple-primary);
}

.price-off {
  background: #dc2626;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
}

.plan-cta-primary {
  background: var(--purple-primary);
  color: var(--white);
  border-color: var(--purple-primary);
}

.plan-cta-primary:hover {
  background: var(--purple-hover);
  border-color: var(--purple-hover);
}

.plan-cta-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.plan-cta-dark:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
}

.plan-features {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.plan-features li {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}

.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.5 3.5L5.5 9.5L2.5 6.5' stroke='%235b21b6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
}

.pricing-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.pricing-disclaimer strong {
  color: var(--black);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: 1fr 1fr;
  }
  .plan-featured {
    grid-column: span 2;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .pricing { padding: 48px 0; }
  .pricing__grid {
    grid-template-columns: 1fr;
  }
  .plan-featured {
    grid-column: span 1;
    max-width: 100%;
  }
}

/* ============================================================
   GUARANTEE
   ============================================================ */
.guarantee {
  padding: 64px 0;
  background: var(--white);
}

.guarantee__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--purple-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.guarantee__icon {
  flex-shrink: 0;
}

.guarantee__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.2;
}

.guarantee__desc {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .guarantee { padding: 48px 0; }
  .guarantee__inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 20px;
  }
}

/* ============================================================
   POR QUÉ ELEGIRNOS
   ============================================================ */
.por-que {
  background: var(--off-white);
  padding: 80px 0;
}

.por-que-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.por-que-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.por-que-icon {
  width: 56px;
  height: 56px;
  background: var(--purple-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.por-que-item h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.por-que-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .por-que { padding: 48px 0; }
  .por-que-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits {
  padding: 80px 0;
  background: var(--off-white);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.benefit-card:hover {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border-color: var(--purple-accent);
}

.benefit-card__icon {
  margin-bottom: 16px;
}

.benefit-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.3;
}

.benefit-card__desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .benefits { padding: 48px 0; }
  .benefits__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 80px 0;
  background: var(--white);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item__question::-webkit-details-marker { display: none; }

.faq-item__question:hover { color: var(--purple-primary); }

.faq-item__chevron {
  flex-shrink: 0;
  color: var(--gray-500);
  transition: transform 0.2s ease;
}

details[open] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .faq { padding: 48px 0; }
  .faq-item__question { font-size: 15px; }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: 80px 0;
  background: var(--black);
}

.cta-final__inner {
  text-align: center;
  max-width: 600px;
}

.cta-final__title {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-final__subtitle {
  font-size: 17px;
  color: var(--gray-500);
  margin-bottom: 36px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .cta-final { padding: 48px 0; }
  .cta-final__title { font-size: 28px; }
  .cta-final__inner .btn { width: 100%; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__logo-text {
  font-size: 16px;
  font-weight: 800;
  color: var(--black);
}

.footer__tagline {
  font-size: 14px;
  color: var(--gray-500);
}

.footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
}

.footer__link:hover { color: var(--purple-primary); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.footer__copy {
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

/* ============================================================
   FOCUS / ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--purple-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
