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

html, body {
  height: 100%;
  overflow-x: hidden;
  background: #0d0d0d;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0d0d0d;
  color: #fff;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Fullscreen "cover" YouTube background trick */
.video-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;        /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh;    /* 16:9 */
  transform: translate(-50%, -50%);
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
}

.site-header {
  position: relative;
  z-index: 3;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  height: 60px;
  width: auto;
  display: block;
}

.logo-fallback {
  display: none;
}

.site-header:has(.logo-fallback)::before {
  content: "INFINI";
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.site-nav a:hover {
  opacity: 1;
}

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-toggle:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 700px) {
  .site-nav {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 24px 80px;
}

.hero-content h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.25;
  max-width: 900px;
}

.tagline {
  margin-top: 28px;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 300;
  line-height: 1.7;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
}

.tagline a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
}

.tagline-email {
  margin-top: 10px;
  font-size: clamp(15px, 2vw, 19px);
}

.tagline-email a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
}

.cta-btn {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.25s ease, color 0.25s ease;
}

.cta-btn:hover {
  background: #fff;
  color: #111;
}

.arrow {
  transition: transform 0.25s ease;
}

.cta-btn:hover .arrow {
  transform: translateX(4px);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
}

.scroll-cue::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-cue-move 1.8s ease-in-out infinite;
}

@keyframes scroll-cue-move {
  0% { opacity: 1; top: 6px; }
  60% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 18px; }
}

@media (max-width: 700px) {
  .scroll-cue {
    display: none;
  }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.feature-grid.reveal-group li,
.benefit-list.reveal-group li,
.country-grid.reveal-group li {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-grid.reveal-group.in-view li,
.benefit-list.reveal-group.in-view li,
.country-grid.reveal-group.in-view li {
  opacity: 1;
  transform: translateY(0);
}

.feature-grid.reveal-group li:nth-child(1) { transition-delay: 0.05s; }
.feature-grid.reveal-group li:nth-child(2) { transition-delay: 0.15s; }
.feature-grid.reveal-group li:nth-child(3) { transition-delay: 0.25s; }
.feature-grid.reveal-group li:nth-child(4) { transition-delay: 0.35s; }

.benefit-list.reveal-group li:nth-child(1) { transition-delay: 0.05s; }
.benefit-list.reveal-group li:nth-child(2) { transition-delay: 0.15s; }
.benefit-list.reveal-group li:nth-child(3) { transition-delay: 0.25s; }
.benefit-list.reveal-group li:nth-child(4) { transition-delay: 0.35s; }
.benefit-list.reveal-group li:nth-child(5) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .feature-grid.reveal-group li,
  .benefit-list.reveal-group li {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-cue::before {
    animation: none;
  }
}

/* Content sections */
.section {
  background: #141414;
  padding: 100px 24px;
}

.section-alt {
  background: #1c1c1c;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b9a26a;
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
}

.section-text {
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  margin: 0 auto;
}

/* Product feature grid */
.feature-grid {
  list-style: none;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: left;
}

.feature-grid li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.feature-grid strong {
  font-size: 16px;
  font-weight: 600;
}

.feature-grid span {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Country presence grid */
.country-grid {
  list-style: none;
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.country-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-present {
  background: #b9a26a;
}

.dot-target {
  background: rgba(255, 255, 255, 0.3);
}

.country-grid.reveal-group li:nth-child(1) { transition-delay: 0.05s; }
.country-grid.reveal-group li:nth-child(2) { transition-delay: 0.12s; }
.country-grid.reveal-group li:nth-child(3) { transition-delay: 0.19s; }
.country-grid.reveal-group li:nth-child(4) { transition-delay: 0.26s; }
.country-grid.reveal-group li:nth-child(5) { transition-delay: 0.33s; }
.country-grid.reveal-group li:nth-child(6) { transition-delay: 0.40s; }

/* Presence map */
.map-wrap {
  margin: 48px auto 0;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.latam-map {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.map-legend {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.map-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.map-credit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.map-credit a {
  color: rgba(255, 255, 255, 0.6);
}

/* Distributor benefit list */
.benefit-list {
  list-style: none;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: left;
}

.benefit-list li {
  position: relative;
  padding: 16px 20px 16px 44px;
  font-size: 15px;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.benefit-list li::before {
  content: "\2713";
  position: absolute;
  left: 18px;
  color: #b9a26a;
  font-weight: 700;
}

/* Contact form */
.contact-form {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #b9a26a;
}

.cta-btn-dark {
  align-self: center;
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.cta-btn-dark:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: #0d0d0d;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  height: 40px;
  width: auto;
  opacity: 0.9;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.site-footer p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .video-background {
    display: none;
  }
  .hero {
    background: #1c1c1c;
  }
  .site-header {
    padding: 24px;
  }
  .section {
    padding: 70px 20px;
  }
}
