:root {
  --black: #030303;
  --gold: #cda43f;
  --gold-2: #8a6a1f;
  --gold-light: #f0dfa0;
  --gold-rgb: 205, 164, 63;
  --white: #ffffff;
  --gray: #ffffff;
  --card: rgba(255, 255, 255, 0.09);
  --card-border: rgba(205, 164, 63, 0.3);
  --radius: 16px;
  --max-w: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* Starfield background */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 600px at 15% 0%, rgba(var(--gold-rgb), 0.06), transparent 60%),
    radial-gradient(ellipse 800px 700px at 100% 100%, rgba(var(--gold-rgb), 0.05), transparent 62%),
    var(--black);
}
.bg-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stars-layer {
  position: absolute;
  inset: -10% -10% -10% -10%;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: star-twinkle 4s ease-in-out infinite;
}
.star.star-gold {
  background: var(--gold-light);
  box-shadow: 0 0 6px 1px rgba(var(--gold-rgb), 0.7);
}

/* Stardust trails */
.stardust-trail {
  position: absolute;
  pointer-events: none;
}
.stardust-trail svg { display: block; width: 100%; height: 100%; }
.stardust-trail--top {
  top: -6%;
  right: -10%;
  width: 640px;
  height: 520px;
  opacity: 0.7;
}
.stardust-trail--bottom {
  bottom: -8%;
  left: -12%;
  width: 560px;
  height: 460px;
  opacity: 0.5;
  animation-direction: alternate-reverse;
}
.dust-particle { animation: star-twinkle 5s ease-in-out infinite; }
.sparkle-star {
  transform-origin: center;
  animation: sparkle-pulse 3.5s ease-in-out infinite;
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 1; }
}
@keyframes stars-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-18px, -14px, 0); }
}
@keyframes trail-drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-14px, 10px, 0) rotate(2deg); }
}
@keyframes sparkle-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .stars-layer { animation: none; }
  .star { animation: none; opacity: 0.6; }
  .stardust-trail { animation: none; }
  .dust-particle, .sparkle-star { animation: none; opacity: 0.5; }
}

@media (max-width: 700px) {
  .stardust-trail--top { width: 420px; height: 360px; }
  .stardust-trail--bottom { display: none; }
}

.gold { color: var(--gold); }
.underline { text-decoration: none; }

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin: 0;
  text-shadow:
    0 0 18px rgba(0,0,0,0.95),
    0 0 40px rgba(0,0,0,0.85),
    0 2px 8px rgba(0,0,0,1);
}
h1 { letter-spacing: -0.5px; }

/* Header */
.site-header {
  display: flex;
  justify-content: center;
  padding: 32px 20px 8px;
}
.logo-img {
  height: 64px;
  width: auto;
}

/* Hero */
.hero {
  padding: 40px 20px 0;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.hero-copy {
  text-align: center;
}
.hero-copy h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.18;
}
.subhead {
  margin: 20px auto 0;
  font-size: 18px;
  color: var(--gray);
  max-width: 46ch;
}

/* Form card */
.hero-form-wrap {
  position: sticky;
  top: 30px;
}
.registro-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.07));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(var(--gold-rgb), 0.08) inset;
}
.field { margin-bottom: 14px; }
.field input, .field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, background .2s;
}
.field input::placeholder { color: #ffffff; }
.field input:focus, .field select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.07);
}
.phone-field {
  display: flex;
  gap: 8px;
}
.phone-field select {
  flex: 0 0 108px;
  padding: 14px 8px;
}
.phone-field input { flex: 1; }

.cta-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 16px 20px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1a1400;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-2));
  box-shadow: 0 10px 30px rgba(var(--gold-rgb), 0.3);
  transition: transform .15s ease, box-shadow .15s ease;
  margin-top: 6px;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(var(--gold-rgb), 0.4); }
.cta-btn:active { transform: translateY(0); }

.form-disclaimer {
  text-align: center;
  font-size: 12px;
  color: #ffffff;
  margin: 14px 0 0;
}

/* Sections shared */
main section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 20px;
}
.learn + section,
.problem + section,
.results + section,
.foryou + section {
  border-top: 1px solid rgba(205, 164, 63, 0.18);
  padding-top: 28px;
}
main section h2 {
  font-size: clamp(24px, 3vw, 34px);
  text-align: center;
  color: var(--white);
  margin-bottom: 36px;
}

/* Learn / checklist */
.check-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--gray);
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 16px 18px;
  border-radius: 12px;
}
.check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.18);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.cta-link {
  display: block;
  width: fit-content;
  margin: 36px auto 0;
  color: #1a1400;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-2));
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

/* Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.problem-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(220,80,80,0.12);
  color: #e07a7a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.problem-card h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 10px;
}
.problem-card p {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
}

/* Results slider */
.results { text-align: center; }
.results-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x mandatory;
}
.result-card {
  flex: 0 0 180px;
  height: 280px;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 12px;
}
@media (max-width: 600px) {
  .result-card { flex: 0 0 140px; height: 220px; }
}
.result-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.result-ph {
  aspect-ratio: 4/5;
  border-radius: 12px;
  border: 1px dashed var(--card-border);
  background: var(--card);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding: 12px;
  text-align: center;
}
.results-note {
  margin-top: 18px;
  color: #ffffff;
  font-size: 12px;
}

/* For you if */
.foryou-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.foryou-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.foryou-card h3 {
  font-size: 17px;
  color: var(--gold-light);
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.foryou-card p {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 90px;
}
.final-cta p {
  color: var(--gray);
  margin: 0 0 30px;
  font-size: 16px;
}
.cta-btn-lg {
  display: inline-block;
  width: auto;
  text-decoration: none;
  padding: 18px 40px;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 40px 20px 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.legal-line {
  font-size: 12px;
  color: #ffffff;
  max-width: 560px;
  margin: 0 auto 6px;
}
.footer-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
}
.footer-links a { color: var(--gray); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-links span { color: #444; }
.copyright {
  margin-top: 16px;
  font-size: 12px;
  color: #ffffff;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 0 60px rgba(205,164,63,0.2);
}
.lb-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  color: #fff; font-size: 28px;
  cursor: pointer; line-height: 1;
  opacity: 0.8;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(205,164,63,0.15);
  border: 1px solid rgba(205,164,63,0.3);
  color: #fff; font-size: 40px;
  cursor: pointer; line-height: 1;
  padding: 8px 16px;
  border-radius: 8px;
  opacity: 0.8;
  transition: opacity .15s, background .15s;
}
.lb-prev:hover, .lb-next:hover { opacity: 1; background: rgba(205,164,63,0.3); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.result-card { cursor: pointer; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: linear-gradient(180deg, var(--gold-light), var(--gold-2));
  color: #1a1400;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 50;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-form-wrap { position: static; }
  .problem-grid, .foryou-grid { grid-template-columns: 1fr; }
}
