:root {
  --void: #000000;
  --charcoal: #080808;
  --charcoal-2: #0d0d0d;
  --charcoal-3: #121212;

  --white: #ffffff;
  --soft-white: #e9e9e9;
  --gray: #929292;
  --muted: #5e5e5e;

  --cyan: #00e5ff;
  --magenta: #ff00c8;

  --lime: #c4ff00;
  --lime-bright: #7cff00;

  --border: rgba(255, 255, 255, 0.09);
  --cyan-border: rgba(0, 229, 255, 0.22);

  --logo-gradient: linear-gradient(
    100deg,
    #00e5ff 0%,
    #8a7cff 48%,
    #ff00c8 100%
  );

  --lime-gradient: linear-gradient(
    100deg,
    #c4ff00 0%,
    #7cff00 100%
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(0, 229, 255, 0.07),
      transparent 35%
    ),
    radial-gradient(
      circle at 90% 60%,
      rgba(255, 0, 200, 0.045),
      transparent 30%
    ),
    var(--void);

  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.ambient {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
}

.ambient-one {
  background: var(--cyan);
  top: -160px;
  left: -100px;
}

.ambient-two {
  background: var(--magenta);
  right: -160px;
  bottom: -100px;
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px);
}

.nav-container {
  width: min(1180px, 92%);
  min-height: 76px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.back-arrow {
  font-size: 18px;
  color: var(--lime);
}

.back-link:hover {
  color: var(--white);
  transform: translateX(-3px);
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.brand-mark span {
  width: 4px;
  border-radius: 4px;
  background: var(--logo-gradient);
  transform: skew(-20deg);
}

.brand-mark span:nth-child(1) {
  height: 13px;
}

.brand-mark span:nth-child(2) {
  height: 22px;
}

.brand-mark span:nth-child(3) {
  height: 17px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-size: 11px;
  letter-spacing: 1.5px;
}

.brand-copy small {
  color: var(--gray);
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.main-container {
  position: relative;
  z-index: 1;
  width: min(780px, 92%);
  margin: auto;
  padding: 70px 0 40px;
}

.hero {
  text-align: center;
  margin-bottom: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 7px 11px;
  border: 1px solid rgba(196, 255, 0, 0.16);
  border-radius: 999px;

  color: var(--lime);
  background: rgba(196, 255, 0, 0.025);

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.nexa-logo {
  margin-top: 25px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.nexa-wordmark {
  font-size: clamp(48px, 10vw, 78px);
  line-height: 0.8;
  font-weight: 700;
  letter-spacing: -5px;

  background: var(--logo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(0 0 22px rgba(0, 229, 255, 0.12));
}

.nexa-digital {
  margin-top: 11px;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 7px;
  padding-left: 7px;

  color: var(--white);
}

.est {
  margin-top: 13px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 3px;
  font-weight: 600;
}

.hero-title {
  margin: 30px auto 12px;
  max-width: 620px;

  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.8px;
}

.hero-title span {
  display: block;
  color: var(--lime);
}

.hero-description {
  max-width: 530px;
  margin: auto;

  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

.glass-card {
  position: relative;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    ),
    var(--charcoal);

  border: 1px solid var(--border);
  border-radius: 26px;

  padding: clamp(20px, 5vw, 38px);

  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.6),
    inset 0 1px rgba(255, 255, 255, 0.025);

  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(0, 229, 255, 0.025) 50%,
      transparent 80%
    );

  pointer-events: none;
}

.tool-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 30px;
}

.tool-kicker {
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.page-title {
  font-size: clamp(28px, 6vw, 38px);
  letter-spacing: -1.5px;
  line-height: 1;
}

.page-title span {
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  margin-top: 9px;
  color: var(--gray);
  font-size: 13px;
  font-weight: 400;
}

.price-tag {
  display: inline-flex;
  margin-left: 7px;
  padding: 4px 7px;

  color: var(--lime);
  border: 1px solid rgba(196, 255, 0, 0.16);
  border-radius: 5px;

  font-size: 9px;
  font-weight: 700;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 7px;

  color: var(--lime);
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 700;

  border: 1px solid rgba(196, 255, 0, 0.15);
  border-radius: 999px;
  padding: 7px 10px;

  white-space: nowrap;
}

.shield-icon {
  font-size: 9px;
}


/* PASSWORD DISPLAY */

.password-panel {
  position: relative;

  padding: 18px;
  background: #050505;
  border: 1px solid var(--cyan-border);
  border-radius: 18px;

  margin-bottom: 28px;
}

.password-label {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 9px;

  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

#entropyLabel {
  color: var(--lime);
}

.password-display {
  display: flex;
  gap: 8px;
}

#passwordOutput {
  width: 100%;
  min-width: 0;

  padding: 16px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;

  background: #000;
  color: var(--soft-white);

  font-family: "Courier New", monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;

  outline: none;
}

#passwordOutput::selection {
  background: var(--lime);
  color: #000;
}

.btn-copy,
.btn-refresh {
  flex: 0 0 50px;

  border-radius: 11px;
  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn-copy {
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 229, 255, 0.03);
  color: var(--cyan);
}

.btn-refresh {
  border: 1px solid rgba(196, 255, 0, 0.22);
  background: rgba(196, 255, 0, 0.03);
  color: var(--lime);
  font-size: 22px;
}

.btn-copy:hover,
.btn-refresh:hover {
  transform: translateY(-2px);
}

.btn-copy:hover {
  background: rgba(0, 229, 255, 0.09);
}

.btn-refresh:hover {
  background: rgba(196, 255, 0, 0.08);
}

.btn-refresh.spinning {
  animation: spin 0.45s ease;
}

@keyframes spin {
  to {
    transform: rotate(180deg);
  }
}

.copy-icon {
  font-size: 18px;
}

.copy-feedback {
  height: 0;
  overflow: hidden;

  color: var(--lime);
  font-size: 10px;
  font-weight: 600;

  opacity: 0;
  transition:
    height 0.25s ease,
    opacity 0.25s ease;
}

.copy-feedback.show {
  height: 20px;
  padding-top: 8px;
  opacity: 1;
}


/* SECTION */

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 14px;

  color: var(--gray);
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 700;
}

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-number {
  color: var(--lime);
}

.pro-indicator {
  color: var(--lime);
  border: 1px solid rgba(196, 255, 0, 0.14);
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 7px;
}


/* CONTROL CARDS */

.control-card {
  padding: 18px;

  background: #050505;
  border: 1px solid var(--border);
  border-radius: 16px;

  margin-bottom: 12px;
}

.control-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.control-top label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.control-top p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  font-weight: 400;
}

.length-display {
  min-width: 70px;
  text-align: right;
}

.length-display span {
  color: var(--lime);
  font-size: 27px;
  line-height: 1;
  font-weight: 700;
}

.length-display small {
  display: block;
  margin-top: 4px;

  color: var(--muted);
  font-size: 7px;
  letter-spacing: 1px;
}


/* RANGE */

#lengthSlider {
  width: 100%;
  margin-top: 20px;

  appearance: none;
  height: 4px;

  border-radius: 99px;
  outline: none;

  background: linear-gradient(
    90deg,
    var(--lime) 0%,
    var(--lime) 20%,
    #222 20%,
    #222 100%
  );

  cursor: pointer;
}

#lengthSlider::-webkit-slider-thumb {
  appearance: none;

  width: 17px;
  height: 17px;

  border-radius: 50%;
  border: 3px solid #000;

  background: var(--lime);

  box-shadow:
    0 0 0 1px var(--lime),
    0 0 18px rgba(196, 255, 0, 0.4);
}

#lengthSlider::-moz-range-thumb {
  width: 14px;
  height: 14px;

  border-radius: 50%;
  border: 3px solid #000;

  background: var(--lime);

  box-shadow:
    0 0 0 1px var(--lime),
    0 0 18px rgba(196, 255, 0, 0.4);
}

.range-labels {
  display: flex;
  justify-content: space-between;

  margin-top: 7px;

  color: var(--muted);
  font-size: 8px;
}


/* CHECKBOXES */

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;

  margin-top: 15px;
}

.option-card {
  position: relative;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px;

  background: #000;
  border: 1px solid var(--border);
  border-radius: 10px;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.option-card:hover {
  transform: translateY(-1px);
  border-color: rgba(196, 255, 0, 0.2);
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-check {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;

  border: 1px solid #333;
  border-radius: 5px;

  position: relative;

  transition: 0.2s ease;
}

.option-card input:checked + .custom-check {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 14px rgba(196, 255, 0, 0.18);
}

.option-card input:checked + .custom-check::after {
  content: "✓";

  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #000;
  font-size: 11px;
  font-weight: 900;
}

.option-card:has(input:checked) {
  border-color: rgba(196, 255, 0, 0.16);
  background: rgba(196, 255, 0, 0.025);
}

.option-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-copy strong {
  font-size: 11px;
}

.option-copy small {
  color: var(--muted);
  font-size: 8px;
}


/* BUTTONS */

.btn {
  width: 100%;

  min-height: 56px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  border: none;
  border-radius: 13px;

  padding: 15px 18px;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-arrow {
  font-size: 19px;
}

.btn-primary {
  margin-top: 18px;

  color: #000;
  background: var(--lime-gradient);

  box-shadow:
    0 8px 30px rgba(196, 255, 0, 0.08);
}

.btn-primary:hover {
  box-shadow:
    0 12px 40px rgba(196, 255, 0, 0.2);
}

.btn-lime {
  margin-top: 20px;

  color: #000;
  background: var(--lime-gradient);
}

.btn-lime:hover {
  box-shadow:
    0 12px 40px rgba(196, 255, 0, 0.2);
}


/* PAYWALL */

.paywall {
  position: relative;

  display: none;

  margin-top: 18px;

  padding: 25px;

  border: 1px solid rgba(196, 255, 0, 0.2);
  border-radius: 18px;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(196, 255, 0, 0.06),
      transparent 35%
    ),
    #050505;

  overflow: hidden;
}

.paywall-glow {
  position: absolute;
  width: 170px;
  height: 170px;

  right: -100px;
  top: -100px;

  border-radius: 50%;
  background: var(--lime);
  filter: blur(80px);
  opacity: 0.08;
}

.lock-icon {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  margin: 0 auto 13px;

  border-radius: 13px;

  color: var(--lime);

  background: rgba(196, 255, 0, 0.06);
  border: 1px solid rgba(196, 255, 0, 0.16);

  box-shadow: 0 0 25px rgba(196, 255, 0, 0.06);
}

.paywall-content {
  position: relative;
  text-align: center;
}

.paywall-label {
  color: var(--lime);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

.paywall h3 {
  margin-top: 7px;
  font-size: 22px;
}

.paywall p {
  max-width: 500px;
  margin: 9px auto 0;

  color: var(--gray);
  font-size: 11px;
  line-height: 1.7;
  font-weight: 400;
}

.paywall-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;

  margin-top: 15px;
}

.paywall-features span {
  padding: 6px 8px;

  color: #bde66b;
  background: rgba(196, 255, 0, 0.035);
  border: 1px solid rgba(196, 255, 0, 0.1);
  border-radius: 7px;

  font-size: 8px;
}

.payment-note {
  display: block;
  margin-top: 9px;

  color: var(--muted);
  font-size: 8px;
}


/* SECURITY */

.result-box {
  margin-top: 28px;

  padding: 20px;

  background: #050505;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.strength-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.strength-score {
  display: flex;
  align-items: baseline;
  gap: 3px;

  min-width: 100px;
}

.strength-score span {
  color: var(--lime);
  font-size: 39px;
  line-height: 1;
  font-weight: 700;
}

.strength-score small {
  color: var(--muted);
  font-size: 10px;
}

.strength-copy strong {
  display: block;
  font-size: 14px;
}

.strength-copy p {
  margin-top: 4px;

  color: var(--gray);
  font-size: 10px;
  line-height: 1.5;
  font-weight: 400;
}

.strength-badge {
  padding: 5px 7px;

  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 5px;

  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
}

.strength-bar {
  height: 7px;
  margin: 20px 0 17px;

  background: #000;
  border-radius: 99px;
  overflow: hidden;
}

#strengthFill {
  width: 0%;
  height: 100%;

  border-radius: inherit;

  background: var(--lime-gradient);

  transition:
    width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.security-stat {
  padding: 11px;

  background: #000;
  border: 1px solid var(--border);
  border-radius: 9px;
}

.security-stat span {
  display: block;

  color: var(--muted);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.security-stat strong {
  display: block;

  margin-top: 5px;

  color: var(--soft-white);
  font-size: 11px;
}


/* PRIVACY */

.privacy-note {
  display: flex;
  gap: 12px;

  margin-top: 14px;
  padding: 14px;

  background: rgba(0, 229, 255, 0.018);
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: 13px;
}

.privacy-icon {
  flex: 0 0 30px;

  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  color: var(--cyan);

  border-radius: 8px;
  background: rgba(0, 229, 255, 0.05);
}

.privacy-note strong {
  font-size: 10px;
}

.privacy-note p {
  margin-top: 4px;

  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  font-weight: 400;
}


/* FOOTER */

.brand-footer {
  text-align: center;
  padding: 55px 10px 20px;
}

.footer-line {
  width: 45px;
  height: 1px;
  margin: 0 auto 22px;

  background: var(--logo-gradient);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-brand strong {
  font-size: 11px;
  letter-spacing: 1.5px;

  background: var(--logo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand span {
  color: var(--muted);
  font-size: 9px;
}

.brand-footer p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
}

.brand-footer small {
  display: block;
  margin-top: 8px;
  color: #383838;
  font-size: 8px;
}


/* RESPONSIVE */

@media (max-width: 620px) {

  .nav-container {
    min-height: 68px;
  }

  .brand-mini {
    display: none;
  }

  .main-container {
    padding-top: 45px;
  }

  .hero {
    margin-bottom: 30px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 13px;
  }

  .glass-card {
    border-radius: 20px;
    padding: 17px;
  }

  .tool-header {
    margin-bottom: 22px;
  }

  .security-badge {
    display: none;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .password-display {
    flex-wrap: wrap;
  }

  #passwordOutput {
    flex: 1 1 100%;
  }

  .btn-copy,
  .btn-refresh {
    flex: 1;
    height: 48px;
  }

  .strength-main {
    align-items: flex-start;
  }

  .strength-score {
    min-width: 82px;
  }

  .strength-score span {
    font-size: 32px;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .privacy-note {
    align-items: flex-start;
  }

  .footer-brand {
    flex-direction: column;
    gap: 5px;
  }

}

@media (max-width: 400px) {

  .nexa-wordmark {
    letter-spacing: -3px;
  }

  .nexa-digital {
    font-size: 12px;
    letter-spacing: 5px;
  }

  .page-title {
    font-size: 27px;
  }

  .control-card {
    padding: 14px;
  }

  .paywall {
    padding: 20px 15px;
  }

}