:root {
  --black: #000000;
  --void: #050505;
  --charcoal: #0b0b0b;
  --panel: #101010;

  --white: #ffffff;
  --muted: #858585;
  --soft: #bcbcbc;

  --lime: #C4FF00;
  --lime-2: #7CFF00;

  --cyan: #00E5FF;
  --magenta: #FF00C8;

  --border: rgba(255,255,255,.09);

  --nexa-gradient:
    linear-gradient(
      110deg,
      #C4FF00 0%,
      #7CFF00 45%,
      #00E5FF 72%,
      #FF00C8 100%
    );
}


/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  font-family: 'Space Grotesk', sans-serif;
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(196,255,0,.055),
      transparent 32%
    ),
    radial-gradient(
      circle at 100% 50%,
      rgba(0,229,255,.025),
      transparent 30%
    ),
    #000;

  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}


/* =========================
   NAVIGATION
========================= */

.top-nav {
  width: 100%;
  padding: 22px 5%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid rgba(255,255,255,.055);
}


.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: #fff;
  text-decoration: none;

  font-size: 13px;
  font-weight: 600;

  opacity: .75;

  transition:
    opacity .25s ease,
    transform .25s ease;
}


.back-link:hover {
  opacity: 1;
  transform: translateX(-3px);
}


.back-link span {
  font-size: 18px;
}


.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #666;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .18em;
}


.status-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--lime);

  box-shadow:
    0 0 8px rgba(196,255,0,.8);
}


/* =========================
   PAGE
========================= */

.page-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 45px 0 0;
}


/* =========================
   REAL BRAND HERO
========================= */

.brand-hero {
  text-align: center;
  margin-bottom: 52px;
}


.logo-wrap {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  margin-bottom: 18px;
}


.nexa-logo {
  display: block;

  width: 140px;
  height: 140px;

  max-width: 42vw;

  object-fit: contain;

  filter:
    drop-shadow(0 0 18px rgba(0,229,255,.16))
    drop-shadow(0 0 30px rgba(255,0,200,.10))
    drop-shadow(0 0 20px rgba(196,255,0,.06));

  transition:
    transform .5s cubic-bezier(.2,.8,.2,1),
    filter .5s ease;
}


.nexa-logo:hover {
  transform: scale(1.045);

  filter:
    drop-shadow(0 0 22px rgba(0,229,255,.22))
    drop-shadow(0 0 36px rgba(255,0,200,.16))
    drop-shadow(0 0 26px rgba(196,255,0,.12));
}


.brand-name {
  font-size: 19px;
  font-weight: 700;

  letter-spacing: .18em;
}


.brand-tagline {
  margin-top: 7px;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: .32em;

  color: #777;
}


.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 19px;
  padding: 8px 13px;

  border: 1px solid rgba(196,255,0,.13);
  border-radius: 100px;

  background: rgba(196,255,0,.025);

  color: #686868;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .18em;
}


.tool-badge span {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--lime);

  box-shadow:
    0 0 10px var(--lime);
}


/* =========================
   TOOL INTRO
========================= */

.tool-intro {
  text-align: center;
  margin-bottom: 30px;
}


.eyebrow {
  display: inline-block;

  margin-bottom: 14px;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .24em;

  color: var(--lime);
}


.tool-intro h1 {
  font-size: clamp(32px, 7vw, 52px);

  line-height: 1.02;

  letter-spacing: -.045em;

  font-weight: 700;
}


.tool-intro h1 span {
  background: var(--nexa-gradient);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.tool-intro p {
  max-width: 540px;

  margin: 16px auto 0;

  color: #858585;

  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}


/* =========================
   TOOL CARD
========================= */

.tool-card {
  position: relative;

  padding: 28px;

  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.018)
    );

  border: 1px solid rgba(255,255,255,.09);

  box-shadow:
    0 30px 100px rgba(0,0,0,.65),
    inset 0 1px 0 rgba(255,255,255,.035);

  backdrop-filter: blur(24px);
}


.tool-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 15%;

  width: 70%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(196,255,0,.45),
      rgba(0,229,255,.25),
      transparent
    );

  opacity: .7;
}


.tool-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 25px;
}


.tool-kicker {
  color: var(--lime);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .2em;

  margin-bottom: 7px;
}


.tool-header h2 {
  font-size: 24px;
  letter-spacing: -.025em;
}


.tool-header p {
  margin-top: 7px;

  color: #707070;

  font-size: 12px;
  font-weight: 400;
}


.tool-icon {
  width: 45px;
  height: 45px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  border: 1px solid rgba(196,255,0,.15);

  color: var(--lime);

  font-size: 11px;
  font-weight: 700;

  box-shadow:
    0 0 30px rgba(196,255,0,.035);
}


/* =========================
   TABS
========================= */

.tab-group {
  display: flex;
  gap: 8px;

  flex-wrap: wrap;

  padding: 5px;

  margin-bottom: 25px;

  border-radius: 15px;

  background: rgba(255,255,255,.025);

  border: 1px solid rgba(255,255,255,.06);
}


.tab-btn {
  flex: 1;

  min-width: 70px;

  padding: 12px 15px;

  border: 0;
  border-radius: 10px;

  background: transparent;

  color: #777;

  font-family: inherit;

  font-size: 12px;
  font-weight: 600;

  cursor: pointer;

  transition:
    color .25s ease,
    background .25s ease,
    transform .25s ease;
}


.tab-btn:hover {
  color: #fff;
}


.tab-btn.active {
  color: #000;

  background: var(--lime);

  box-shadow:
    0 0 24px rgba(196,255,0,.12);
}


/* =========================
   INPUT
========================= */

.input-section {
  margin-bottom: 20px;
}


.field-label {
  display: flex;
  justify-content: space-between;

  margin-bottom: 9px;

  color: #858585;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .14em;
}


.required {
  color: var(--lime);
}


#mainInput,
#wifiInputs input,
#wifiInputs select {
  width: 100%;

  padding: 16px 17px;

  border-radius: 14px;

  border: 1px solid rgba(255,255,255,.1);

  outline: none;

  background: rgba(0,0,0,.65);

  color: #fff;

  font-family: inherit;

  font-size: 14px;

  transition:
    border .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}


#mainInput::placeholder,
#wifiInputs input::placeholder {
  color: #555;
}


#mainInput:focus,
#wifiInputs input:focus,
#wifiInputs select:focus {
  border-color: rgba(196,255,0,.55);

  background: rgba(196,255,0,.025);

  box-shadow:
    0 0 0 3px rgba(196,255,0,.045),
    0 0 35px rgba(196,255,0,.035);
}


.input-hint {
  display: flex;
  align-items: center;
  gap: 7px;

  margin-top: 9px;

  color: #4f4f4f;

  font-size: 9px;
}


.input-hint span {
  color: var(--lime);

  font-size: 7px;
}


.wifi-form {
  display: grid;
  gap: 12px;
}


#wifiInputs select {
  appearance: auto;
}


/* =========================
   GENERATE BUTTON
========================= */

.generate-btn {
  position: relative;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  padding: 17px 20px;

  border: 0;
  border-radius: 15px;

  background: var(--lime);

  color: #000;

  font-family: inherit;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  overflow: hidden;

  box-shadow:
    0 12px 35px rgba(196,255,0,.10);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}


.generate-btn::before {
  content: "";

  position: absolute;

  top: 0;
  left: -100%;

  width: 70%;
  height: 100%;

  background:
    linear-gradient(
      100deg,
      transparent,
      rgba(255,255,255,.45),
      transparent
    );

  transition: left .55s ease;
}


.generate-btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 18px 45px rgba(196,255,0,.16);

  filter: brightness(1.04);
}


.generate-btn:hover::before {
  left: 130%;
}


.generate-btn:active {
  transform: translateY(0) scale(.99);
}


.btn-arrow {
  font-size: 18px;
}


/* =========================
   PAYWALL
========================= */

.paywall {
  position: relative;

  display: none;

  margin-top: 18px;

  padding: 28px 22px;

  text-align: center;

  overflow: hidden;

  border-radius: 20px;

  border: 1px solid rgba(196,255,0,.16);

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(196,255,0,.08),
      transparent 45%
    ),
    #080808;

  animation:
    paywallIn .4s ease;
}


@keyframes paywallIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.paywall-glow {
  position: absolute;

  width: 180px;
  height: 180px;

  top: -100px;
  left: 50%;

  transform: translateX(-50%);

  border-radius: 50%;

  background: rgba(196,255,0,.06);

  filter: blur(50px);

  pointer-events: none;
}


.pro-badge {
  position: relative;

  display: inline-block;

  padding: 6px 10px;

  border-radius: 100px;

  background: rgba(196,255,0,.08);

  border: 1px solid rgba(196,255,0,.16);

  color: var(--lime);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .18em;
}


.paywall h3 {
  position: relative;

  margin-top: 15px;

  font-size: 21px;
}


.paywall > p {
  position: relative;

  max-width: 440px;

  margin: 9px auto 0;

  color: #777;

  font-size: 12px;

  line-height: 1.6;
}


.price {
  position: relative;

  margin: 18px 0;

  font-size: 42px;
  font-weight: 700;

  letter-spacing: -.05em;

  background: var(--nexa-gradient);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.price span {
  font-size: 22px;
}


.pay-features {
  position: relative;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 8px;

  margin-bottom: 20px;
}


.pay-features span {
  padding: 7px 10px;

  border-radius: 8px;

  background: rgba(255,255,255,.035);

  color: #8b8b8b;

  font-size: 9px;
}


.unlock-btn {
  position: relative;

  width: 100%;

  padding: 15px;

  border: 0;
  border-radius: 13px;

  background: var(--nexa-gradient);

  color: #000;

  font-family: inherit;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform .25s ease,
    filter .25s ease;
}


.unlock-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}


.secure-note {
  position: relative;

  margin-top: 11px;

  color: #444;

  font-size: 8px;
}


/* =========================
   RESULT WORKSPACE
========================= */

.result-workspace {
  margin-top: 25px;

  padding: 20px;

  border-radius: 21px;

  background: #080808;

  border: 1px solid rgba(255,255,255,.07);

  transition:
    border .3s ease,
    box-shadow .3s ease;
}


.result-workspace.has-result {
  border-color: rgba(196,255,0,.17);

  box-shadow:
    0 20px 70px rgba(0,0,0,.4);
}


.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 18px;
}


.result-label {
  color: #666;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .18em;
}


.result-header h3 {
  margin-top: 4px;

  font-size: 17px;
}


.result-status {
  padding: 7px 9px;

  border-radius: 8px;

  background: rgba(255,255,255,.035);

  color: #555;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .12em;
}


.result-status.success {
  background: rgba(196,255,0,.07);
  color: var(--lime);
}


/* QR STAGE */

.qr-stage {
  min-height: 300px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px;

  border-radius: 17px;

  border: 1px dashed rgba(255,255,255,.08);

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.025),
      transparent 60%
    );
}


.qr-placeholder {
  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  color: #555;
}


.placeholder-icon {
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 13px;

  border-radius: 15px;

  border: 1px solid rgba(196,255,0,.11);

  color: #555;

  font-size: 11px;
  font-weight: 700;
}


.qr-placeholder strong {
  color: #777;

  font-size: 12px;
}


.qr-placeholder span {
  margin-top: 6px;

  color: #444;

  font-size: 9px;
}


.qrcode {
  display: none;

  padding: 15px;

  border-radius: 15px;

  background: #fff;

  box-shadow:
    0 20px 60px rgba(0,0,0,.55);
}


.qrcode img,
.qrcode canvas {
  display: block;

  max-width: 100%;

  height: auto;
}


/* META */

.result-meta {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 7px;

  margin: 12px 0;

  color: #444;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .12em;
}


/* ACTIONS */

.action-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10px;
}


.action-btn {
  padding: 13px;

  border-radius: 12px;

  border: 1px solid rgba(255,255,255,.09);

  background: rgba(255,255,255,.025);

  color: #aaa;

  font-family: inherit;

  font-size: 10px;
  font-weight: 700;

  cursor: pointer;

  transition:
    border .25s ease,
    color .25s ease,
    background .25s ease,
    transform .25s ease;
}


.action-btn span {
  margin-right: 5px;
}


.action-btn:hover:not(:disabled) {
  border-color: rgba(196,255,0,.35);

  background: rgba(196,255,0,.045);

  color: var(--lime);

  transform: translateY(-1px);
}


.action-btn:disabled {
  opacity: .3;

  cursor: not-allowed;
}


/* =========================
   ECOSYSTEM
========================= */

.ecosystem-card {
  display: flex;

  align-items: center;

  gap: 13px;

  margin-top: 15px;

  padding: 15px;

  border-radius: 15px;

  border: 1px solid rgba(255,255,255,.055);

  background: rgba(255,255,255,.018);
}


.ecosystem-mark {
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 9px;

  color: #000;

  background: var(--lime);

  font-size: 12px;
  font-weight: 700;
}


.ecosystem-card strong {
  font-size: 10px;
}


.ecosystem-card p {
  margin-top: 3px;

  color: #555;

  font-size: 8px;
}


/* =========================
   FOOTER
========================= */

footer {
  text-align: center;

  padding: 55px 20px 35px;
}


.footer-brand {
  font-size: 11px;
  font-weight: 700;

  letter-spacing: .25em;
}


.footer-tagline {
  margin-top: 7px;

  color: var(--lime);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .25em;
}


.footer-copy {
  margin-top: 16px;

  color: #333;

  font-size: 8px;
}


/* =========================
   TOAST
========================= */

.toast {
  position: fixed;

  left: 50%;
  bottom: 25px;

  z-index: 1000;

  display: flex;
  align-items: center;
  gap: 9px;

  padding: 12px 15px;

  border-radius: 12px;

  background: #151515;

  border: 1px solid rgba(196,255,0,.2);

  color: #fff;

  font-size: 10px;
  font-weight: 600;

  box-shadow:
    0 15px 50px rgba(0,0,0,.6);

  transform:
    translate(-50%, 120px);

  opacity: 0;

  pointer-events: none;

  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    opacity .35s ease;
}


.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}


.toast-icon {
  color: var(--lime);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .top-nav {
    padding: 18px 18px;
  }


  .nav-status {
    display: none;
  }


  .page-shell {
    width: min(100% - 22px, 760px);

    padding-top: 32px;
  }


  .brand-hero {
    margin-bottom: 42px;
  }


  .nexa-logo {
    width: 125px;
    height: 125px;
  }


  .brand-name {
    font-size: 17px;
  }


  .brand-tagline {
    font-size: 8px;
  }


  .tool-card {
    padding: 20px;

    border-radius: 22px;
  }


  .tool-header h2 {
    font-size: 21px;
  }


  .tool-header p {
    max-width: 250px;
  }


  .tool-icon {
    width: 40px;
    height: 40px;
  }


  .tab-btn {
    min-width: 60px;
    padding: 11px 9px;
  }


  .qr-stage {
    min-height: 270px;
    padding: 20px;
  }


  .action-grid {
    grid-template-columns: 1fr;
  }

}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: .01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: .01ms !important;
  }

}