/* ==========================================================
   01. RESET GENERAL
========================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #050505;
  color: #f6efe2;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}


/* ==========================================================
   02. PÁGINA PRINCIPAL
========================================================== */

.register-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at top left,
      rgba(0, 234, 246, 0.09),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(129, 234, 0, 0.08),
      transparent 32%
    ),
    radial-gradient(
      circle at 50% 52%,
      rgba(255, 138, 0, 0.035),
      transparent 36%
    ),
    #050505;

  padding: 44px;
}

.register-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
}

.glow-one {
  width: 360px;
  height: 360px;
  background: #00eaf6;
  top: -120px;
  left: -120px;
}

.glow-two {
  width: 420px;
  height: 420px;
  background: #ee5d03;
  right: -160px;
  bottom: 10%;
}

.register-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}


/* ==========================================================
   03. SELECTOR DE IDIOMA
========================================================== */

.language-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  width: fit-content;
  margin: 0 auto 34px;
  padding: 7px;

  background: rgba(16, 16, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;

  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(0, 234, 246, 0.07);

  backdrop-filter: blur(18px);
}

.language-switcher button {
  min-width: 68px;
  border: 0;
  cursor: pointer;

  padding: 11px 20px;
  border-radius: 999px;

  background: transparent;
  color: #8f887d;

  font-size: 13px;
  font-weight: 950;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.language-switcher button:hover {
  color: #f6efe2;
  transform: translateY(-1px);
}

.language-switcher .lang-active {
  background: #81ea00;
  color: #050505;

  box-shadow:
    0 0 22px rgba(129, 234, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}


/* ==========================================================
   04. HERO PRINCIPAL
========================================================== */

.register-hero {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0 54px;
}

.register-badge {
  color: #00eaf6;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 950;
  margin-bottom: 20px;
}

.register-hero h1 {
  max-width: 1000px;
  margin: 0 auto 26px;

  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: -3.5px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f6efe2 55%,
      #aca497 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-wrap: balance;
}

.register-description,
.form-description {
  max-width: 820px;
  margin: 0 auto 32px;

  color: #aaa295;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 600;

  text-wrap: balance;
}


/* ==========================================================
   05. PRECIO DEL HERO
========================================================== */

.hero-price {
  width: fit-content;
  margin: 0 auto 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  padding: 18px 30px;

  background:
    linear-gradient(
      135deg,
      rgba(129, 234, 0, 0.11),
      rgba(0, 234, 246, 0.035)
    ),
    rgba(13, 13, 13, 0.88);

  border: 1px solid rgba(129, 234, 0, 0.25);
  border-radius: 22px;

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.34),
    0 0 35px rgba(129, 234, 0, 0.1);

  backdrop-filter: blur(18px);
}

.hero-price strong {
  color: #81ea00;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -1.5px;
}

.hero-price span {
  color: #a59d91;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* ==========================================================
   06. BOTÓN PRINCIPAL
========================================================== */

.register-main-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  min-height: 58px;
  border: 0;

  background:
    linear-gradient(
      180deg,
      #9df52f 0%,
      #81ea00 100%
    );

  color: #050505;

  padding: 18px 42px;
  border-radius: 999px;

  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0.25px;

  cursor: pointer;
  text-decoration: none;

  box-shadow:
    0 0 28px rgba(129, 234, 0, 0.24),
    0 14px 36px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.register-main-button:hover {
  transform: translateY(-3px) scale(1.025);

  box-shadow:
    0 0 42px rgba(129, 234, 0, 0.38),
    0 20px 46px rgba(0, 0, 0, 0.42);

  filter: brightness(1.04);
}


/* ==========================================================
   07. BANNER DE CORI
========================================================== */

.register-cori-banner {
  width: 100%;
  max-width: 1120px;
  margin: 16px auto 64px;

  border-radius: 30px;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.09);

  background:
    radial-gradient(
      circle at center,
      rgba(129, 234, 0, 0.055),
      transparent 60%
    ),
    #080808;

  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(129, 234, 0, 0.075);
}

.register-cori-banner img {
  width: 100%;
  height: auto;
  display: block;
}


/* ==========================================================
   08. SECCIONES
========================================================== */

.register-section {
  margin-top: 42px;
}

.section-title {
  display: grid;
  grid-template-columns: auto 1fr minmax(300px, 460px);
  align-items: end;
  gap: 18px;

  margin-bottom: 22px;
}

.section-title > span {
  color: #ee5d03;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 2px;
  padding-bottom: 4px;
}

.section-title h2 {
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -1px;
  line-height: 1;
}

.section-title p {
  color: #928b80;
  font-size: 14px;
  line-height: 1.6;
  max-width: 460px;
  text-align: right;
  font-weight: 650;
}


/* ==========================================================
   09. GRIDS
========================================================== */

.register-grid {
  display: grid;
  gap: 18px;
}

.register-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.register-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.register-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}


/* ==========================================================
   10. TARJETAS GENERALES
========================================================== */

.feature-card,
.cori-card,
.support-card,
.form-card {
  position: relative;
  overflow: hidden;

  background: rgba(16, 16, 16, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 28px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 46px rgba(0, 0, 0, 0.24);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card,
.cori-card,
.support-card {
  padding: 28px;
  text-align: left;
}

.feature-card::after,
.cori-card::after,
.support-card::after,
.form-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  top: -75px;
  right: -75px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(18px);

  pointer-events: none;
}

.feature-card:hover,
.cori-card:hover,
.support-card:hover,
.form-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.16);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 26px 60px rgba(0, 0, 0, 0.34);
}


/* ==========================================================
   11. TARJETAS DE MEDICIONES
========================================================== */

.feature-card {
  min-height: 250px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-card > span {
  display: inline-block;

  font-size: 46px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -2px;

  margin-bottom: auto;
  padding-bottom: 28px;
}

.feature-card h3,
.cori-card strong,
.support-card h3 {
  display: block;

  color: #f6efe2;
  margin-bottom: 13px;

  font-size: 19px;
  font-weight: 950;
  line-height: 1.15;
}

.feature-card p,
.cori-card p,
.support-card p {
  color: #989084;
  line-height: 1.65;
  font-size: 14px;
  font-weight: 700;
}


/* ==========================================================
   12. COLORES DE TARJETAS
========================================================== */

.green-card {
  background:
    linear-gradient(
      135deg,
      rgba(129, 234, 0, 0.12),
      transparent 58%
    ),
    rgba(16, 16, 16, 0.94);

  border-color: rgba(129, 234, 0, 0.25);
}

.blue-card {
  background:
    linear-gradient(
      135deg,
      rgba(0, 234, 246, 0.12),
      transparent 58%
    ),
    rgba(16, 16, 16, 0.94);

  border-color: rgba(0, 234, 246, 0.25);
}

.orange-card {
  background:
    linear-gradient(
      135deg,
      rgba(255, 138, 0, 0.14),
      transparent 58%
    ),
    rgba(16, 16, 16, 0.94);

  border-color: rgba(255, 138, 0, 0.29);
}

.purple-card {
  background:
    linear-gradient(
      135deg,
      rgba(181, 108, 255, 0.14),
      transparent 58%
    ),
    rgba(16, 16, 16, 0.94);

  border-color: rgba(181, 108, 255, 0.29);
}

.red-card {
  background:
    linear-gradient(
      135deg,
      rgba(255, 59, 31, 0.12),
      transparent 58%
    ),
    rgba(16, 16, 16, 0.94);

  border-color: rgba(255, 59, 31, 0.25);
}

.brown-card {
  background:
    linear-gradient(
      135deg,
      rgba(150, 82, 34, 0.28),
      transparent 58%
    ),
    rgba(16, 16, 16, 0.94);

  border-color: rgba(180, 105, 45, 0.32);
}

.green-card span,
.green-card strong {
  color: #81ea00;
}

.blue-card span,
.blue-card strong {
  color: #00eaf6;
}

.orange-card span,
.orange-card strong {
  color: #ff8a00;
}

.purple-card span,
.purple-card strong {
  color: #b56cff;
}

.red-card span,
.red-card strong {
  color: #ff3b1f;
}

.brown-card span,
.brown-card strong {
  color: #c98244;
}


/* ==========================================================
   13. TARJETAS CORI
========================================================== */

.cori-section {
  margin-top: 62px;
}

.cori-card {
  min-height: 230px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cori-card strong {
  font-size: clamp(25px, 3vw, 31px);
  margin-bottom: 9px;
  letter-spacing: -1px;
}

.cori-card span {
  color: #f6efe2;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.4;
  margin-bottom: 14px;
}


/* ==========================================================
   14. SECCIÓN DE LICENCIA
========================================================== */

.support-section {
  margin-top: 68px;
  scroll-margin-top: 40px;
}

.license-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px;

  text-align: center;

  background:
    radial-gradient(
      circle at top center,
      rgba(129, 234, 0, 0.12),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      rgba(0, 234, 246, 0.055),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      rgba(129, 234, 0, 0.055),
      transparent 70%
    ),
    #101010;

  border-color: rgba(129, 234, 0, 0.22);

  box-shadow:
    0 32px 85px rgba(0, 0, 0, 0.42),
    0 0 52px rgba(129, 234, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.form-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 44px;
  text-align: center;

  background:
    linear-gradient(
      135deg,
      rgba(0, 234, 246, 0.065),
      transparent 40%
    ),
    linear-gradient(
      135deg,
      rgba(129, 234, 0, 0.075),
      transparent 70%
    ),
    #101010;
}

.form-card h2 {
  max-width: 720px;
  margin: 0 auto 20px;

  color: #f6efe2;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -2.4px;

  text-wrap: balance;
}


/* ==========================================================
   15. PRECIO DE LICENCIA
========================================================== */

.license-price {
  width: fit-content;
  margin: 26px auto 28px;
  padding: 20px 32px;

  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;

  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      rgba(129, 234, 0, 0.13),
      rgba(0, 234, 246, 0.035)
    ),
    rgba(8, 8, 8, 0.86);

  border: 1px solid rgba(129, 234, 0, 0.26);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 50px rgba(0, 0, 0, 0.3),
    0 0 35px rgba(129, 234, 0, 0.1);
}

.license-price strong {
  color: #81ea00;
  font-size: clamp(54px, 8vw, 78px);
  line-height: 0.9;
  letter-spacing: -4px;
}

.license-price > span {
  color: #f6efe2;
  font-size: 17px;
  font-weight: 950;
}

.license-price small {
  flex-basis: 100%;
  display: block;

  color: #928b80;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;

  margin-top: 3px;
}


/* ==========================================================
   16. BENEFICIOS DE LICENCIA
========================================================== */

.license-features {
  width: 100%;
  max-width: 670px;
  margin: 30px auto 34px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;

  text-align: left;
}

.license-features p {
  position: relative;

  min-height: 64px;
  display: flex;
  align-items: center;

  padding: 15px 16px 15px 44px;

  color: #d8d1c7;
  background: rgba(255, 255, 255, 0.035);

  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 17px;

  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}

.license-features p::before {
  content: "✓";

  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);

  width: 19px;
  height: 19px;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 999px;

  background: rgba(129, 234, 0, 0.14);
  color: #81ea00;

  font-size: 12px;
  font-weight: 950;

  box-shadow: 0 0 14px rgba(129, 234, 0, 0.12);
}


/* ==========================================================
   17. BOTÓN DE STRIPE
========================================================== */

.stripe-checkout-button {
  width: 100%;
  max-width: 560px;
  min-height: 62px;

  margin: 4px auto 0;

  display: inline-flex;
  justify-content: center;
  align-items: center;

  padding: 19px 32px;

  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      #9df52f 0%,
      #81ea00 100%
    );

  color: #050505;
  text-decoration: none;

  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0.25px;

  box-shadow:
    0 0 34px rgba(129, 234, 0, 0.28),
    0 17px 40px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.stripe-checkout-button:hover {
  transform: translateY(-3px) scale(1.015);

  box-shadow:
    0 0 50px rgba(129, 234, 0, 0.42),
    0 24px 52px rgba(0, 0, 0, 0.4);

  filter: brightness(1.04);
}

.stripe-checkout-button:active {
  transform: translateY(-1px) scale(0.995);
}


/* ==========================================================
   18. SECCIÓN FINAL
========================================================== */

.form-section {
  margin-top: 68px;
  margin-bottom: 22px;
}

.form-section .form-card {
  border-color: rgba(0, 234, 246, 0.17);

  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.36),
    0 0 40px rgba(0, 234, 246, 0.055);
}

.note {
  margin-top: 24px;
  color: #777168;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}


/* ==========================================================
   19. FORMULARIO ANTERIOR
   Se mantiene por compatibilidad, aunque ya no se use.
========================================================== */

.early-form {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.early-form input {
  width: 100%;
  padding: 20px 22px;

  border-radius: 18px;
  border: 1px solid #282828;

  background: #080808;
  color: #f6efe2;

  font-size: 16px;
  font-weight: 800;
}

.early-form input::placeholder {
  color: #777;
}

.early-form input:focus {
  outline: none;

  border-color: #81ea00;

  box-shadow:
    0 0 25px rgba(129, 234, 0, 0.22);
}

.early-form button {
  margin-top: 8px;
  padding: 20px 42px;

  border: none;
  border-radius: 999px;

  background: #81ea00;
  color: #050505;

  font-size: 17px;
  font-weight: 950;

  cursor: pointer;

  box-shadow:
    0 0 35px rgba(129, 234, 0, 0.32);

  transition: 0.25s ease;
}

.early-form button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 0 45px rgba(129, 234, 0, 0.42);
}


/* ==========================================================
   20. FOOTER
========================================================== */

.footer {
  margin-top: 90px;
  padding: 55px 24px 90px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  text-align: center;

  background:
    radial-gradient(
      circle at center top,
      rgba(117, 255, 0, 0.1),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.01)
    );
}

.footer-author {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
}

.footer-copy {
  color: #8f8a82;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 26px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 12px 18px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);

  color: #b9b1a6;
  text-decoration: none;

  font-size: 13px;
  font-weight: 900;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.footer-links a:hover {
  color: #050505;
  background: #75ff00;
  border-color: #75ff00;

  transform: translateY(-2px);

  box-shadow:
    0 0 25px rgba(117, 255, 0, 0.35);
}


/* ==========================================================
   21. TABLET GRANDE
========================================================== */

@media (max-width: 1200px) {

  .register-grid.five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .register-grid.five .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .register-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==========================================================
   22. TABLET
========================================================== */

@media (max-width: 900px) {

  .register-page {
    padding: 34px 24px;
  }

  .register-grid.five,
  .register-grid.three,
  .register-grid.four {
    grid-template-columns: 1fr;
  }

  .register-grid.five .feature-card:last-child {
    grid-column: auto;
  }

  .section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section-title p {
    text-align: left;
  }

  .license-card,
  .form-card {
    padding: 36px;
  }
}


/* ==========================================================
   23. MÓVIL
========================================================== */

@media (max-width: 700px) {

  .register-page {
    padding: 24px 16px;
  }

  .register-hero {
    padding-top: 12px;
  }

  .register-hero h1 {
    letter-spacing: -2px;
    font-size: clamp(42px, 13vw, 62px);
  }

  .register-description,
  .form-description {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-price {
    width: 100%;
    max-width: 330px;
  }

  .register-cori-banner {
    margin-top: 8px;
    border-radius: 22px;
  }

  .feature-card,
  .cori-card,
  .support-card,
  .form-card,
  .license-card {
    border-radius: 22px;
    padding: 24px;
  }

  .feature-card {
    min-height: 220px;
  }

  .register-main-button,
  .stripe-checkout-button,
  .early-form button {
    width: 100%;
  }

  .license-features {
    grid-template-columns: 1fr;
  }

  .license-price {
    width: 100%;
    max-width: 330px;
  }

  .license-price strong {
    font-size: 62px;
  }

  .language-switcher {
    width: 100%;
  }

  .language-switcher button {
    flex: 1;
  }

  .form-card h2 {
    font-size: clamp(34px, 10vw, 48px);
    letter-spacing: -1.7px;
  }

  .footer {
    padding: 45px 18px 80px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-links a {
    width: 100%;
    max-width: 260px;
  }
}


/* ==========================================================
   24. MÓVIL PEQUEÑO
========================================================== */

@media (max-width: 420px) {

  .register-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .register-hero h1 {
    font-size: 41px;
    line-height: 0.98;
  }

  .register-badge {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .feature-card,
  .cori-card,
  .form-card,
  .license-card {
    padding: 21px;
  }

  .license-price {
    padding: 18px;
  }

  .license-price strong {
    font-size: 54px;
    letter-spacing: -3px;
  }

  .stripe-checkout-button,
  .register-main-button {
    padding-left: 18px;
    padding-right: 18px;
    font-size: 14px;
  }
}