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

:root {
  --peibo-black: #000000;
  --peibo-navy: #05070f;
  --peibo-charcoal: #2e364a;
  --peibo-cyan: #00dcda;
  --peibo-cyan-btn: #64d9d8;
  --peibo-cyan-btn-hover: #5ac7c6;
  --peibo-white: #ffffff;
  --peibo-card: #ffffff;
  --peibo-muted: #6f777e;
  --peibo-footer: #d6d8ef;
  --peibo-footer-bottom: #b0b2cd;
  --peibo-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --peibo-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--peibo-white);
  background-color: var(--peibo-black);
  font-weight: 400;
  line-height: 1.2;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 16px;
}

/* =========================
   HERO
   ========================= */
.hero {
  min-height: calc(100vh - 90px);
  position: relative;
  overflow: hidden;
  background: var(--peibo-black);
}

.hero .container {
  position: relative;
  z-index: 3;
  padding-top: 28px;
  padding-bottom: 28px;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: start;
  gap: 48px;
  position: relative;
  z-index: 3;
  margin-top: 0;
}

.hero-left,
.hero-right {
  min-width: 0;
}

.hero-left {
  position: relative;
  z-index: 4;
  padding-top: 24px;
}

.hero-title {
  margin: 0 0 30px 0;
  color: var(--peibo-white);
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 11.2ch;
}

.hero-subtitle {
  margin: 0 0 24px 0;
  color: var(--peibo-white);
  font-size: 1.38rem;
  line-height: 1.28;
  max-width: 88%;
}

.hero-cta {
  margin: 0;
  color: var(--peibo-white);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.3;
}

/* =========================
   HEADER / LOGO
   ========================= */
.sticky-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 4;
}

.logo {
  width: auto;
  height: 48px;
  margin: 0;
  flex-shrink: 0;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 18px rgba(0, 220, 218, 0.18));
}

.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #081225;
  background: var(--peibo-cyan-btn);
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  line-height: 1;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.login-button:hover {
  background: var(--peibo-cyan-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(101, 217, 216, 0.22);
}

/* =========================
   PROOF BAR BELOW HERO
   ========================= */
.proof-bar-section {
  background: var(--peibo-black);
  padding: 36px 0 46px;
}

.proof-bar-section .container {
  padding-top: 0;
  padding-bottom: 0;
}

.proof-bar-bottom {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(0, 220, 218, 0.45);
  background: linear-gradient(
    90deg,
    rgba(0, 220, 218, 0.10) 0%,
    rgba(101, 217, 216, 0.05) 55%,
    rgba(255, 255, 255, 0.02) 100%
  );
  text-align: left;
}

.proof-bar-bottom-text {
  margin: 0;
  color: var(--peibo-white);
  font-size: 0.88rem;
  line-height: 1.15;
  font-weight: 500;
  white-space: nowrap;
  flex: 1 1 auto;
}

.proof-bar-bottom-text strong {
  font-weight: 700;
}

.proof-bar-bottom-source {
  font-size: 0.64rem;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 400;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* =========================
   BULLETS
   ========================= */
.features-list {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.features-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  column-gap: 10px;
  color: var(--peibo-white);
  font-size: 1.22rem;
  line-height: 1.28;
  transition: transform 0.25s ease;
}

.features-list li:hover {
  transform: translateX(6px);
}

.diamond {
  color: var(--peibo-cyan);
  margin: 0;
  font-size: 1rem;
  line-height: 1;
  transform: translateY(0.22em);
  transition: transform 0.25s ease, color 0.25s ease;
}

.features-list li:hover .diamond {
  transform: translateY(0.22em) scale(1.12);
  color: #5ff3f1;
}

.hero-title strong,
.features-list strong {
  position: relative;
  display: inline-block;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease,
    transform 0.25s ease;
}

.hero-title strong:hover,
.features-list strong:hover {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(0, 220, 218, 0.35);
  transform: translateY(-1px);
}

.hero-title strong::after,
.features-list strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(0, 220, 218, 0),
    rgba(0, 220, 218, 0.95),
    rgba(0, 220, 218, 0)
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.hero-title strong:hover::after,
.features-list strong:hover::after {
  transform: scaleX(1);
}

.hero-subtitle strong {
  position: relative;
  display: inline-block;
  color: #ffffff;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease,
    transform 0.25s ease;
}

.hero-subtitle strong:hover {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(0, 220, 218, 0.34);
  transform: translateY(-1px);
}

.hero-subtitle strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.02em;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 220, 218, 0) 0%,
    rgba(0, 220, 218, 0.98) 50%,
    rgba(0, 220, 218, 0) 100%
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.hero-subtitle strong:hover::after {
  transform: scaleX(1);
  box-shadow: 0 0 10px rgba(0, 220, 218, 0.28);
}

/* =========================
   HERO BACKGROUND / WAVE
   ========================= */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.wave-bg {
  position: absolute;
  left: 0;
  bottom: -195px;
  width: 100%;
  height: auto;
  object-fit: cover;
  transform-origin: center bottom;
  will-change: transform;
  animation: waveFloatLower 4.2s ease-in-out infinite alternate;
}

@keyframes waveFloatLower {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.015);
  }
  100% {
    transform: translateY(-24px) scale(1.03);
  }
}

/* =========================
   FORM
   ========================= */
.hero-right {
  position: relative;
  z-index: 4;
  min-width: 0;
}

.contact-form {
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  padding: 28px;
  border-radius: 24px;
  background: var(--peibo-card);
  color: #000000;
  box-shadow: var(--peibo-shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    transform 0.4s var(--peibo-ease),
    box-shadow 0.4s var(--peibo-ease);
}

.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.form-glow {
  position: relative;
}

.form-glow::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 36px;
  background: radial-gradient(circle at 50% 20%, rgba(0, 220, 218, 0.16), transparent 60%);
  z-index: -1;
  filter: blur(18px);
  opacity: 0.75;
  animation: formGlowPulse 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes formGlowPulse {
  0% { opacity: 0.45; transform: scale(0.98); }
  50% { opacity: 0.85; transform: scale(1); }
  100% { opacity: 0.45; transform: scale(0.98); }
}

.form-header {
  text-align: center;
  margin-bottom: 28px;
}

.form-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px auto;
  transition: transform 0.35s ease;
}

.contact-form:hover .form-icon {
  transform: translateY(-2px) scale(1.03);
}

.form-title {
  margin: 0 0 10px 0;
  color: #000000;
  font-size: 1.8rem;
  line-height: 1.15;
  font-weight: 500;
}

.form-subtitle {
  margin: 0;
  color: var(--peibo-charcoal);
  font-size: 0.95rem;
  line-height: 1.45;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form-group label {
  color: #000000;
  font-size: 0.9rem;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
}

.form-group input,
.form-group select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dde5;
  border-radius: 10px;
  background: #ffffff;
  color: #333333;
  font-size: 0.94rem;
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.form-group input:hover,
.form-group select:hover {
  border-color: rgba(0, 220, 218, 0.45);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--peibo-cyan);
  box-shadow: 0 0 0 4px rgba(0, 220, 218, 0.12);
  transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group select option {
  color: #aaa;
  font-weight: 300;
}

.form-step-intro {
  margin: 4px 0 2px;
  padding-top: 12px;
  border-top: 1px solid #d9d9d9;
}

.form-step-title {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: #000000;
}

.form-step-text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #333333;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.8rem;
  margin-bottom: 0;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
}

.submit-btn {
  width: 100%;
  background: var(--peibo-cyan-btn);
  border: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
  color: #081225;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(100, 217, 216, 0.18);
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.submit-btn:hover {
  background: var(--peibo-cyan-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(100, 217, 216, 0.24);
}

.submit-btn:active {
  transform: translateY(0);
}

/* =========================
   VIDEO
   ========================= */
.video-section {
  padding: 24px 0 64px;
}

.video-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 40px;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.video-container iframe {
  display: block;
  width: 75%;
  max-width: 1100px;
  height: 600px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--peibo-cyan);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.video-container iframe:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background-color: var(--peibo-footer);
  color: #363940;
}

.footer-main {
  padding: 16px 0;
  display: flex;
  gap: 80px;
  align-items: center;
}

.regulatory-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  color: #363940;
}

.regulatory-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.regulatory-text h3 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.regulatory-text p {
  font-size: 1.2rem;
  font-weight: 300;
}

.regulatory-logos {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
}

.logo-item {
  height: 96px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-item:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

.footer-bottom {
  background-color: var(--peibo-footer-bottom);
  padding: 16px 0;
}

.disclaimer {
  font-size: 0.9rem;
  font-weight: 300;
  color: #000000;
  line-height: 1.6;
  text-align: justify;
}

/* =========================
   ANIMACIONES
   ========================= */
.js-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--peibo-ease),
    transform 0.8s var(--peibo-ease);
  will-change: opacity, transform;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FORM STEP / NOTES
   ========================= */
.form-step {
  display: none;
  width: 100%;
}

.form-step.active {
  display: block;
  animation: fadeStep 0.25s ease;
}

@keyframes fadeStep {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-step-note {
  margin: 4px 0 14px 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #333333;
}

.form-step:last-of-type .form-step-intro {
  margin-bottom: 16px;
}

.form-step:last-of-type .form-group {
  gap: 8px;
  margin-bottom: 14px;
}

.form-step:last-of-type .form-group label {
  line-height: 1.45;
}

.form-step:last-of-type .submit-btn {
  margin-top: 18px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (min-width: 769px) {
  .sticky-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
  }

  .login-button {
    width: 66px;
    height: 32px;
    font-size: 13px;
    padding: 0 12px;
    border-radius: 16px;
  }

  .hero-title {
    margin-top: 0;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 36px;
    margin-top: 0;
  }

  .hero-title {
    font-size: 3.9rem;
    line-height: 1.14;
    margin-bottom: 24px;
    max-width: 11.8ch;
  }

  .hero-subtitle {
    font-size: 1.18rem;
    line-height: 1.3;
    max-width: 100%;
  }

  .features-list li {
    font-size: 1.08rem;
    line-height: 1.3;
  }

  .video-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }

  .video-container iframe {
    width: 90%;
    height: 480px;
  }

  .footer-main {
    justify-content: center;
  }

  .regulatory-text h3 {
    font-size: 1.4rem;
  }

  .regulatory-text p {
    font-size: 1rem;
  }

  .regulatory-icon {
    width: 56px;
    height: 56px;
  }

  .logo-item {
    height: 64px;
  }

  .disclaimer {
    font-size: 0.8rem;
  }

  .wave-bg {
    bottom: -48px;
  }

  .proof-bar-bottom {
    max-width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    text-align: left;
  }

  .proof-bar-bottom-text {
    font-size: 0.74rem;
    line-height: 1.25;
    white-space: normal;
  }

  .proof-bar-bottom-source {
    font-size: 0.58rem;
    line-height: 1.1;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: hidden;
  }

  .sticky-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    row-gap: 6px;
    margin-bottom: 6px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 0;
  }

  .hero-left {
    padding-top: 0;
  }

  .hero-title {
    font-size: 3rem;
    line-height: 1.12;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-subtitle,
  .hero-cta {
    font-size: 1rem;
    line-height: 1.28;
    max-width: 100%;
  }

  .features-list {
    gap: 12px;
    margin-bottom: 24px;
  }

  .features-list li {
    grid-template-columns: 16px 1fr;
    column-gap: 8px;
    font-size: 0.98rem;
    line-height: 1.28;
  }

  .diamond {
    font-size: 0.92rem;
    transform: translateY(0.2em);
  }

  .hero-right,
  .contact-form,
  .video-section,
  .video-container,
  .footer-main,
  .footer-bottom,
  .regulatory-info,
  .regulatory-logos,
  .proof-bar-section,
  .proof-bar-bottom {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .contact-form {
    margin: 0 auto;
  }

  .form-group,
  .form-group input,
  .form-group select,
  .submit-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .form-step-title {
    font-size: 0.95rem;
  }

  .form-step-text {
    font-size: 0.85rem;
  }

  .wave-bg {
    width: 140%;
    left: -20%;
    bottom: -10px;
  }

  .video-title {
    font-size: 2rem;
    margin-bottom: 24px;
  }

  .video-container iframe,
  iframe {
    width: 100%;
    max-width: 100%;
    height: 360px;
    display: block;
  }

  .footer-main {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .regulatory-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .regulatory-logos {
    flex-wrap: wrap;
    gap: 24px;
  }
}

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

  .sticky-header {
    margin-bottom: 4px;
  }

  .hero-title {
    font-size: 2.35rem;
    line-height: 1.1;
    margin-bottom: 18px;
  }

  .hero-subtitle,
  .hero-cta {
    font-size: 1rem;
  }

  .features-list li {
    font-size: 1rem;
  }

  .contact-form {
    padding: 18px;
  }

  .form-step-intro {
    padding-top: 10px;
  }

  .form-step-title {
    font-size: 0.92rem;
  }

  .form-step-text {
    font-size: 0.82rem;
  }

  .checkbox-group {
    align-items: flex-start;
  }

  .login-button {
    width: 70px;
    height: 32px;
    font-size: 12px;
  }

  .video-title {
    font-size: 1.8rem;
  }

  .video-container iframe {
    height: 280px;
  }

  .regulatory-text h3 {
    font-size: 1rem;
  }

  .regulatory-text p {
    font-size: 0.9rem;
  }

  .wave-bg {
    bottom: 0;
  }

  .proof-bar-bottom {
    padding: 9px 10px;
  }

  .proof-bar-bottom-text {
    font-size: 0.64rem;
    line-height: 1.18;
    white-space: normal;
  }

  .proof-bar-bottom-source {
    font-size: 0.46rem;
    line-height: 1.1;
    white-space: normal;
  }
}

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

  .js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .wave-bg {
    animation: none !important;
  }
}