:root {
  --nexa-black: #000000;
  --nexa-void: #050505;
  --nexa-card: #0a0a0a;
  --nexa-card-2: #101010;

  --lime: #c4ff00;
  --lime-bright: #7cff00;

  --cyan: #00e5ff;
  --magenta: #ff00c8;

  --white: #ffffff;
  --gray: #9a9a9a;
  --muted: #666666;

  --border: rgba(255,255,255,0.09);
  --lime-border: rgba(196,255,0,0.18);

  --lime-gradient:
    linear-gradient(
      110deg,
      #c4ff00 0%,
      #7cff00 100%
    );

  --logo-gradient:
    linear-gradient(
      90deg,
      #00e5ff 0%,
      #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% 0%,
      rgba(196,255,0,0.045),
      transparent 32%
    ),
    #000;

  color: var(--white);
  min-height: 100vh;

  -webkit-font-smoothing: antialiased;
}


button,
input {
  font-family: inherit;
}


/* =========================================
   HEADER
========================================= */

.site-header {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 50;
}


.nav-container {
  max-width: 1100px;
  margin: 0 auto;

  padding: 17px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}


.back-link {
  color: #fff;
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  gap: 9px;

  font-size: 13px;
  font-weight: 600;

  opacity: 0.75;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}


.back-link:hover {
  opacity: 1;
  transform: translateX(-3px);
}


.back-link span:first-child {
  color: var(--lime);
  font-size: 18px;
}


.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;

  color: #606060;
}


.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;

  background: var(--lime);

  box-shadow:
    0 0 7px var(--lime);
}


/* =========================================
   MAIN
========================================= */

.main-container {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 48px 0 60px;
}


/* =========================================
   BRAND HERO
========================================= */

.brand-hero {
  text-align: center;
  margin-bottom: 38px;
}


.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;

  margin-bottom: 16px;
}


.nexa-logo {
  width: 94px;
  height: 94px;

  object-fit: contain;

  display: block;

  filter:
    drop-shadow(0 0 16px rgba(0,229,255,0.13))
    drop-shadow(0 0 25px rgba(255,0,200,0.09))
    drop-shadow(0 0 25px rgba(196,255,0,0.04));

  transition:
    transform 0.5s cubic-bezier(.2,.8,.2,1),
    filter 0.5s ease;
}


.logo-wrap:hover .nexa-logo {
  transform: scale(1.045);

  filter:
    drop-shadow(0 0 21px rgba(0,229,255,0.22))
    drop-shadow(0 0 32px rgba(255,0,200,0.15))
    drop-shadow(0 0 20px rgba(196,255,0,0.08));
}


.brand-name {
  font-size: 17px;
  font-weight: 700;

  letter-spacing: 0.23em;

  color: #fff;
}


.brand-tagline {
  margin-top: 7px;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.23em;

  background: var(--logo-gradient);

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}


.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 18px;
  padding: 7px 12px;

  border: 1px solid var(--lime-border);
  border-radius: 999px;

  background: rgba(196,255,0,0.025);

  color: #626262;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.17em;
}


.tool-badge span {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--lime);

  box-shadow:
    0 0 8px var(--lime);
}


/* =========================================
   TOOL CARD
========================================= */

.tool-card {
  position: relative;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.045),
      rgba(255,255,255,0.018)
    );

  border: 1px solid var(--border);
  border-radius: 28px;

  padding: 30px;

  overflow: hidden;

  box-shadow:
    0 30px 90px rgba(0,0,0,0.5);
}


.tool-card::before {
  content: "";

  position: absolute;

  width: 320px;
  height: 320px;

  top: -180px;
  right: -150px;

  background: radial-gradient(
    circle,
    rgba(196,255,0,0.06),
    transparent 70%
  );

  pointer-events: none;
}


.tool-card::after {
  content: "";

  position: absolute;

  width: 260px;
  height: 260px;

  bottom: -180px;
  left: -150px;

  background: radial-gradient(
    circle,
    rgba(0,229,255,0.035),
    transparent 70%
  );

  pointer-events: none;
}


/* =========================================
   INTRO
========================================= */

.tool-intro {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  position: relative;
  z-index: 2;

  margin-bottom: 28px;
}


.tool-icon {
  width: 48px;
  height: 48px;

  flex: 0 0 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--lime-border);
  border-radius: 15px;

  background: rgba(196,255,0,0.045);

  color: var(--lime);

  font-size: 25px;

  box-shadow:
    inset 0 0 25px rgba(196,255,0,0.025),
    0 0 25px rgba(196,255,0,0.025);
}


.eyebrow {
  color: var(--lime);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.2em;

  margin-bottom: 6px;
}


.page-title {
  font-size: 30px;
  line-height: 1;

  letter-spacing: -0.04em;

  margin-bottom: 9px;
}


.tool-intro h1 {
  font-size: 30px;
  line-height: 1;

  letter-spacing: -0.04em;

  margin-bottom: 9px;
}


.tool-intro p {
  max-width: 520px;

  color: #777;

  font-size: 12px;
  font-weight: 500;

  line-height: 1.65;
}


/* =========================================
   MODE SELECTOR
========================================= */

.mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 10px;

  position: relative;
  z-index: 2;

  margin-bottom: 28px;
}


.btn-mode {
  min-height: 58px;

  padding: 11px 15px;

  border-radius: 15px;

  border: 1px solid rgba(255,255,255,0.09);

  background: rgba(255,255,255,0.025);

  color: #777;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}


.btn-mode:hover {
  border-color: rgba(196,255,0,0.22);
  color: #fff;
}


.btn-mode.active {
  background:
    linear-gradient(
      110deg,
      rgba(196,255,0,0.11),
      rgba(124,255,0,0.035)
    );

  border-color: rgba(196,255,0,0.35);

  color: var(--lime);

  box-shadow:
    0 0 25px rgba(196,255,0,0.035);
}


.btn-mode span {
  font-size: 13px;
  font-weight: 700;
}


.btn-mode small {
  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.14em;

  opacity: 0.55;
}


/* =========================================
   TIMER
========================================= */

.timer-stage {
  display: flex;
  justify-content: center;

  position: relative;
  z-index: 2;

  padding: 5px 0 28px;
}


.timer-ring {
  width: min(280px, 70vw);
  aspect-ratio: 1;

  border-radius: 50%;

  padding: 4px;

  background:
    conic-gradient(
      from 0deg,
      var(--lime),
      var(--lime-bright),
      rgba(196,255,0,0.12),
      rgba(255,255,255,0.06),
      var(--lime)
    );

  box-shadow:
    0 0 50px rgba(196,255,0,0.06);

  animation: ringPulse 4s ease-in-out infinite;
}


.timer-inner {
  width: 100%;
  height: 100%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 50% 35%,
      #141414,
      #060606 70%
    );

  border: 1px solid rgba(255,255,255,0.08);

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  text-align: center;
}


.timer-label {
  color: #626262;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.2em;

  margin-bottom: 8px;
}


#timer {
  font-size: clamp(48px, 13vw, 70px);

  line-height: 1;

  letter-spacing: -0.07em;

  font-weight: 700;

  background: var(--lime-gradient);

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;

  font-variant-numeric: tabular-nums;
}


.timer-state {
  margin-top: 10px;

  color: #666;

  font-size: 10px;
  font-weight: 500;
}


@keyframes ringPulse {
  0%,
  100% {
    box-shadow:
      0 0 40px rgba(196,255,0,0.045);
  }

  50% {
    box-shadow:
      0 0 60px rgba(196,255,0,0.09);
  }
}


/* =========================================
   CONTROLS
========================================= */

.controls {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;

  gap: 11px;

  position: relative;
  z-index: 2;
}


.btn {
  min-height: 54px;

  padding: 14px 20px;

  border-radius: 15px;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  border: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}


.btn:hover {
  transform: translateY(-2px);
}


.btn:active {
  transform: translateY(0) scale(0.98);
}


.btn-gradient {
  background: var(--lime-gradient);

  color: #000;

  box-shadow:
    0 10px 30px rgba(196,255,0,0.09);
}


.btn-gradient:hover {
  box-shadow:
    0 14px 35px rgba(196,255,0,0.16);
}


.btn-outline {
  background: rgba(255,255,255,0.025);

  border: 1px solid rgba(255,255,255,0.11);

  color: #fff;
}


.btn-outline:hover {
  border-color: rgba(196,255,0,0.25);
}


.btn-icon {
  margin-right: 7px;
}


/* =========================================
   SESSION PANEL
========================================= */

.session-panel {
  margin-top: 15px;

  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;

  align-items: center;

  padding: 17px;

  background: rgba(255,255,255,0.02);

  border: 1px solid rgba(255,255,255,0.06);

  border-radius: 16px;

  position: relative;
  z-index: 2;
}


.session-stat {
  display: flex;
  flex-direction: column;

  gap: 5px;

  text-align: center;
}


.stat-label {
  color: #555;

  font-size: 7px;
  font-weight: 700;

  letter-spacing: 0.14em;
}


.session-stat strong {
  color: #ddd;

  font-size: 11px;
  font-weight: 700;
}


#sessionCount {
  color: var(--lime);
  font-size: 17px;
}


.session-divider {
  width: 1px;
  height: 28px;

  background: rgba(255,255,255,0.08);
}


/* =========================================
   PAYWALL
========================================= */

.paywall {
  display: none;

  position: relative;

  margin-top: 20px;

  padding: 25px;

  border-radius: 20px;

  border: 1px solid rgba(196,255,0,0.2);

  background:
    linear-gradient(
      145deg,
      rgba(196,255,0,0.055),
      rgba(255,255,255,0.018)
    );

  overflow: hidden;

  z-index: 3;

  animation: paywallIn 0.45s cubic-bezier(.2,.8,.2,1);
}


.paywall-glow {
  position: absolute;

  width: 230px;
  height: 230px;

  right: -120px;
  top: -140px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(196,255,0,0.11),
    transparent 70%
  );

  pointer-events: none;
}


.pro-label {
  color: var(--lime);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.2em;

  margin-bottom: 9px;
}


.paywall h2 {
  font-size: 21px;

  letter-spacing: -0.03em;

  margin-bottom: 9px;
}


.paywall > p {
  max-width: 500px;

  color: #777;

  font-size: 11px;

  line-height: 1.65;

  font-weight: 500;
}


.pro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 9px;

  margin: 18px 0;
}


.pro-features div {
  color: #aaa;

  font-size: 10px;
  font-weight: 500;
}


.pro-features span {
  color: var(--lime);

  margin-right: 6px;

  font-weight: 700;
}


.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  padding-top: 16px;

  border-top: 1px solid rgba(255,255,255,0.07);
}


.price {
  display: block;

  color: #fff;

  font-size: 19px;
  font-weight: 700;
}


.price-note {
  color: #5e5e5e;

  display: block;

  font-size: 8px;

  margin-top: 2px;
}


.pay-btn {
  width: auto;

  min-width: 175px;

  white-space: nowrap;
}


@keyframes paywallIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================
   FOCUS TIP
========================================= */

.focus-tip {
  display: flex;
  gap: 11px;

  margin-top: 20px;

  padding: 15px;

  border-radius: 15px;

  background: rgba(255,255,255,0.018);

  border: 1px solid rgba(255,255,255,0.055);

  position: relative;
  z-index: 2;
}


.tip-icon {
  color: var(--lime);

  font-size: 15px;

  line-height: 1;
}


.focus-tip strong {
  display: block;

  font-size: 10px;

  margin-bottom: 4px;
}


.focus-tip p {
  color: #606060;

  font-size: 9px;

  line-height: 1.6;

  font-weight: 500;
}


/* =========================================
   ECOSYSTEM
========================================= */

.ecosystem-card {
  margin-top: 18px;

  padding: 23px;

  border: 1px solid rgba(255,255,255,0.065);

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.025),
      rgba(255,255,255,0.01)
    );

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;
}


.ecosystem-label {
  display: block;

  color: #555;

  font-size: 7px;
  font-weight: 700;

  letter-spacing: 0.16em;

  margin-bottom: 7px;
}


.ecosystem-card h2 {
  font-size: 17px;

  line-height: 1.25;

  letter-spacing: -0.025em;
}


.ecosystem-card h2 span {
  color: #666;
}


.explore-link {
  color: var(--lime);

  text-decoration: none;

  font-size: 10px;
  font-weight: 700;

  white-space: nowrap;

  display: inline-flex;

  align-items: center;

  gap: 7px;

  transition:
    gap 0.25s ease,
    opacity 0.25s ease;
}


.explore-link:hover {
  gap: 11px;
  opacity: 0.8;
}


.explore-link span {
  font-size: 15px;
}


/* =========================================
   FOOTER
========================================= */

footer {
  text-align: center;

  padding: 38px 10px 10px;
}


.footer-brand {
  display: inline-flex;

  align-items: center;

  gap: 8px;
}


.footer-brand img {
  width: 23px;
  height: 23px;

  object-fit: contain;
}


.footer-brand span {
  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.16em;
}


footer p {
  margin-top: 7px;

  font-size: 7px;

  letter-spacing: 0.2em;

  color: #555;
}


footer small {
  display: block;

  margin-top: 15px;

  color: #333;

  font-size: 8px;
  font-weight: 500;
}


/* =========================================
   TOAST
========================================= */

.toast {
  position: fixed;

  left: 50%;
  bottom: 25px;

  transform:
    translate(-50%, 20px);

  display: flex;

  align-items: center;

  gap: 8px;

  padding: 12px 17px;

  background: #111;

  border: 1px solid rgba(196,255,0,0.2);

  border-radius: 999px;

  box-shadow:
    0 15px 50px rgba(0,0,0,0.5);

  color: #fff;

  font-size: 10px;
  font-weight: 600;

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;

  z-index: 100;
}


.toast.show {
  opacity: 1;

  transform:
    translate(-50%, 0);
}


.toast-icon {
  color: var(--lime);
  font-weight: 700;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 620px) {

  .main-container {
    width: min(100% - 22px, 760px);

    padding-top: 35px;
  }


  .nav-container {
    padding:
      15px 12px;
  }


  .nav-status {
    display: none;
  }


  .tool-card {
    padding: 21px;

    border-radius: 23px;
  }


  .tool-intro h1 {
    font-size: 26px;
  }


  .tool-intro p {
    font-size: 11px;
  }


  .timer-ring {
    width: min(250px, 70vw);
  }


  .session-panel {
    padding: 14px 8px;
  }


  .stat-label {
    font-size: 6px;
  }


  .ecosystem-card {
    flex-direction: column;

    align-items: flex-start;
  }


  .explore-link {
    margin-top: 2px;
  }


  .price-row {
    align-items: stretch;

    flex-direction: column;
  }


  .pay-btn {
    width: 100%;
  }

}


@media (max-width: 420px) {

  .brand-name {
    font-size: 15px;
  }


  .brand-tagline {
    font-size: 8px;
  }


  .mode-selector {
    gap: 7px;
  }


  .btn-mode {
    min-height: 54px;

    padding: 10px;
  }


  .btn-mode span {
    font-size: 11px;
  }


  .btn-mode small {
    font-size: 7px;
  }


  .controls {
    grid-template-columns: 1fr;
  }


  .session-panel {
    grid-template-columns:
      1fr
      auto
      1fr
      auto
      1fr;
  }


  .session-stat strong {
    font-size: 9px;
  }


  #sessionCount {
    font-size: 15px;
  }


  .pro-features {
    grid-template-columns: 1fr;
  }

}