:root {
  --bg: #050505;
  --surface: #0b0b0b;
  --surface-2: #101010;
  --surface-3: #151515;

  --white: #ffffff;
  --soft-white: #eeeeee;
  --muted: #8d8d8d;
  --muted-2: #5d5d5d;

  --cyan: #00e5ff;
  --pink: #ff00c8;

  --gradient: linear-gradient(
    110deg,
    #00e5ff 0%,
    #7d6cff 45%,
    #ff00c8 100%
  );

  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --shadow:
    0 30px 100px rgba(0, 0, 0, 0.65);
}


/* RESET */

* {
  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.08),
      transparent 35%
    ),
    radial-gradient(
      circle at 90% 40%,
      rgba(255, 0, 200, 0.05),
      transparent 30%
    ),
    #050505;

  color: var(--white);

  font-family:
    "Space Grotesk",
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  overflow-x: hidden;
}


button,
input {
  font: inherit;
}


button {
  cursor: pointer;
}


/* AMBIENT LIGHT */

.ambient {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.08;
  z-index: -1;
}


.ambient-one {
  top: 10%;
  left: -200px;
  background: var(--cyan);
}


.ambient-two {
  top: 55%;
  right: -200px;
  background: var(--pink);
}


/* HEADER */

.site-header {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 20;
}


.nav-container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;

  min-height: 72px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}


.back-link {
  width: fit-content;

  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: #aaa;
  text-decoration: none;

  font-size: 12px;
  font-weight: 600;

  transition: 0.25s ease;
}


.back-link:hover {
  color: #fff;
  transform: translateX(-2px);
}


.back-arrow {
  font-size: 17px;
}


.nav-brand img {
  width: 100px;
  height: auto;
  display: block;
}


.nav-status {
  justify-self: end;

  display: flex;
  align-items: center;
  gap: 8px;

  color: #777;
  font-size: 10px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.1em;
}


.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: #fff;

  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.05),
    0 0 15px rgba(255, 255, 255, 0.55);
}


/* MAIN */

.main-container {
  width: min(980px, calc(100% - 32px));
  margin: auto;
  padding: 70px 0 40px;
}


/* HERO */

.hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}


.hero-logo {
  margin-bottom: 24px;
}


.hero-logo img {
  width: 95px;
  height: auto;

  filter:
    drop-shadow(0 0 25px rgba(255, 255, 255, 0.08));
}


.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #777;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.22em;
  text-transform: uppercase;
}


.hero-eyebrow span {
  width: 20px;
  height: 1px;
  background: #555;
}


.hero h1 {
  margin-top: 18px;

  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;

  font-weight: 700;
}


.hero h1 em {
  font-style: normal;

  background: var(--gradient);
  background-size: 180% auto;

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;

  animation: gradientMove 6s ease infinite;
}


@keyframes gradientMove {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

  100% {
    background-position: 0% center;
  }
}


.hero-description {
  max-width: 570px;
  margin: 24px auto 0;

  color: #898989;

  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}


.motto {
  margin-top: 24px;

  display: flex;
  justify-content: center;
}


.motto span {
  padding: 8px 14px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;

  color: #777;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.08em;
}


/* TOOL SHELL */

.tool-shell {
  position: relative;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    );

  border: 1px solid var(--border);
  border-radius: var(--radius-xl);

  padding: 34px;

  box-shadow: var(--shadow);

  overflow: hidden;
}


.tool-shell::before {
  content: "";

  position: absolute;

  width: 350px;
  height: 350px;

  top: -220px;
  right: -180px;

  background: var(--cyan);

  opacity: 0.035;

  filter: blur(90px);

  pointer-events: none;
}


/* TOOL TOP */

.tool-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 30px;

  padding-bottom: 30px;

  border-bottom: 1px solid var(--border);
}


.tool-label,
.result-label,
.paywall-label {
  color: #777;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.18em;
}


.tool-top h2 {
  margin-top: 8px;

  font-size: 28px;
  letter-spacing: -0.035em;
}


.tool-top p {
  max-width: 500px;
  margin-top: 9px;

  color: #777;

  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
}


.price-badge {
  min-width: 92px;

  padding: 11px 13px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;

  text-align: right;

  background: rgba(255, 255, 255, 0.025);
}


.price-badge span {
  display: block;

  color: #777;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.16em;
}


.price-badge strong {
  display: block;
  margin-top: 4px;

  font-size: 16px;
}


/* PROGRESS */

.progress-track {
  display: flex;
  align-items: center;

  gap: 12px;

  margin: 27px 0 35px;
}


.progress-step {
  display: flex;
  align-items: center;
  gap: 7px;

  color: #555;

  font-size: 9px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.1em;

  white-space: nowrap;
}


.progress-step span {
  display: grid;
  place-items: center;

  width: 24px;
  height: 24px;

  border: 1px solid #2c2c2c;
  border-radius: 50%;

  font-size: 8px;
}


.progress-step.active {
  color: #ddd;
}


.progress-step.active span {
  border-color: rgba(255, 255, 255, 0.4);
  background: #fff;
  color: #000;
}


.progress-line {
  height: 1px;
  flex: 1;
  background: #202020;
}


/* FORM */

.form-section {
  margin-bottom: 38px;
}


.section-heading {
  display: flex;
  align-items: flex-start;

  gap: 13px;

  margin-bottom: 18px;
}


.section-number {
  color: #666;

  font-size: 9px;
  font-weight: 700;

  padding-top: 4px;
}


.section-heading h3 {
  font-size: 15px;
  letter-spacing: -0.02em;
}


.section-heading p {
  margin-top: 4px;

  color: #666;

  font-size: 11px;
  font-weight: 400;
}


.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}


.input-group label {
  display: block;
  margin-bottom: 8px;

  color: #777;

  font-size: 10px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}


.input-wrap {
  position: relative;
}


.input-icon {
  position: absolute;

  left: 15px;
  top: 50%;

  transform: translateY(-50%);

  color: #666;

  font-size: 13px;

  pointer-events: none;
}


.input-group input {
  width: 100%;

  height: 54px;

  padding: 0 15px 0 42px;

  background: #080808;

  border: 1px solid #202020;
  border-radius: 14px;

  outline: none;

  color: #fff;

  font-size: 13px;
  font-weight: 500;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}


.input-group input::placeholder {
  color: #4f4f4f;
}


.input-group input:focus {
  border-color: rgba(255, 255, 255, 0.28);

  background: #0c0c0c;

  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.025);
}


/* PLATFORM */

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}


.choice-card {
  position: relative;

  min-height: 84px;

  display: flex;
  align-items: center;

  gap: 11px;

  padding: 15px;

  border: 1px solid #202020;
  border-radius: 15px;

  background: #080808;

  color: #fff;

  text-align: left;

  transition:
    0.25s ease;

  overflow: hidden;
}


.choice-card:hover {
  border-color: #353535;
  transform: translateY(-2px);
}


.choice-card.active {
  border-color: rgba(255, 255, 255, 0.3);

  background:
    linear-gradient(
      135deg,
      rgba(0, 229, 255, 0.08),
      rgba(255, 0, 200, 0.05)
    );
}


.choice-icon {
  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  display: grid;
  place-items: center;

  border: 1px solid #272727;
  border-radius: 10px;

  color: #bbb;

  font-size: 14px;
  font-weight: 700;
}


.choice-card.active .choice-icon {
  border-color: rgba(255, 255, 255, 0.22);

  background: rgba(255, 255, 255, 0.06);

  color: #fff;
}


.choice-content {
  display: flex;
  flex-direction: column;

  min-width: 0;
}


.choice-content strong {
  font-size: 12px;
}


.choice-content small {
  margin-top: 4px;

  color: #5f5f5f;

  font-size: 9px;
  line-height: 1.3;
}


.choice-check {
  position: absolute;

  right: 11px;
  top: 11px;

  width: 18px;
  height: 18px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #fff;
  color: #000;

  font-size: 9px;

  opacity: 0;
  transform: scale(0.6);

  transition: 0.25s ease;
}


.choice-card.active .choice-check {
  opacity: 1;
  transform: scale(1);
}


/* TONE */

.tone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}


.tone-card {
  min-height: 116px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 18px;

  border: 1px solid #202020;
  border-radius: 15px;

  background: #080808;

  color: #fff;

  text-align: left;

  transition: 0.25s ease;
}


.tone-card:hover {
  border-color: #353535;
  transform: translateY(-2px);
}


.tone-card.active {
  border-color: rgba(255, 255, 255, 0.3);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.015)
    );
}


.tone-symbol {
  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  margin-bottom: 13px;

  border-radius: 9px;

  background: #151515;

  color: #aaa;

  font-size: 13px;
}


.tone-card.active .tone-symbol {
  background: var(--gradient);
  color: #000;
}


.tone-card strong {
  font-size: 12px;
}


.tone-card small {
  margin-top: 4px;

  color: #5e5e5e;

  font-size: 9px;
}


/* GENERATE */

.generate-area {
  padding-top: 2px;

  text-align: center;
}


.generate-button {
  position: relative;

  width: 100%;
  min-height: 60px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px 0 24px;

  border: 0;
  border-radius: 15px;

  background: var(--gradient);

  color: #000;

  font-weight: 700;

  overflow: hidden;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.generate-button::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(255, 255, 255, 0.45),
      transparent 80%
    );

  transform: translateX(-120%);

  transition: transform 0.7s ease;
}


.generate-button:hover::before {
  transform: translateX(120%);
}


.generate-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 16px 40px rgba(0, 229, 255, 0.1),
    0 16px 40px rgba(255, 0, 200, 0.08);
}


.generate-main {
  position: relative;
  z-index: 1;

  font-size: 14px;
}


.generate-arrow {
  position: relative;
  z-index: 1;

  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: rgba(0, 0, 0, 0.12);

  font-size: 17px;
}


.generate-note {
  margin-top: 10px;

  color: #555;

  font-size: 9px;
}


.generate-note span {
  color: #aaa;
}


/* PAYWALL */

.paywall {
  position: relative;

  display: none;

  margin-top: 28px;
  padding: 35px 25px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 255, 255, 0.07),
      transparent 50%
    ),
    #0a0a0a;

  text-align: center;

  overflow: hidden;
}


.paywall.show {
  display: block;

  animation: reveal 0.45s ease forwards;
}


@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.paywall-glow {
  position: absolute;

  width: 180px;
  height: 180px;

  top: -90px;
  left: 50%;

  transform: translateX(-50%);

  background: var(--gradient);

  opacity: 0.12;

  filter: blur(60px);
}


.paywall-icon {
  position: relative;

  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  margin: 0 auto 16px;

  border-radius: 15px;

  background: var(--gradient);

  color: #000;

  font-size: 18px;
}


.paywall h2 {
  position: relative;

  max-width: 450px;

  margin: 10px auto 10px;

  font-size: 28px;
  line-height: 1.05;

  letter-spacing: -0.04em;
}


.paywall p {
  position: relative;

  max-width: 450px;

  margin: auto;

  color: #777;

  font-size: 12px;
  line-height: 1.65;
}


.paywall p strong {
  color: #ddd;
}


.paywall-price {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  margin: 22px 0 17px;
}


.paywall-price span {
  color: #666;
  font-size: 9px;
}


.paywall-price strong {
  font-size: 23px;
}


.pay-button {
  position: relative;

  width: min(420px, 100%);
  min-height: 53px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 17px 0 20px;

  border: 0;
  border-radius: 13px;

  background: #fff;
  color: #000;

  font-size: 12px;
  font-weight: 700;

  transition: 0.25s ease;
}


.pay-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 30px rgba(255, 255, 255, 0.08);
}


.pay-button span:last-child {
  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #000;
  color: #fff;
}


.paywall > small {
  display: block;

  margin-top: 12px;

  color: #444;

  font-size: 8px;
}


/* RESULTS */

.result-section {
  margin-top: 42px;

  padding-top: 35px;

  border-top: 1px solid var(--border);
}


.result-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 22px;
}


.result-header h2 {
  margin-top: 8px;

  font-size: 24px;

  letter-spacing: -0.035em;
}


.result-header p {
  margin-top: 5px;

  color: #666;

  font-size: 11px;
}


.result-status {
  display: flex;
  align-items: center;
  gap: 7px;

  color: #555;

  font-size: 9px;
  font-weight: 600;
}


.result-status span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #555;
}


/* EMPTY */

.empty-result {
  min-height: 260px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 35px;

  border: 1px dashed #222;
  border-radius: 18px;

  text-align: center;
}


.empty-orbit {
  width: 64px;
  height: 64px;

  display: grid;
  place-items: center;

  margin-bottom: 17px;

  border: 1px solid #252525;
  border-radius: 50%;

  position: relative;
}


.empty-orbit::before {
  content: "";

  position: absolute;

  inset: 7px;

  border: 1px solid #181818;
  border-radius: 50%;
}


.empty-orbit span {
  position: relative;

  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;

  font-size: 18px;
}


.empty-result h3 {
  font-size: 14px;
}


.empty-result p {
  max-width: 390px;

  margin-top: 8px;

  color: #555;

  font-size: 11px;
  line-height: 1.6;
}


/* BIOS */

.bios-list {
  display: grid;
  gap: 13px;
}


.bio-item {
  position: relative;

  display: grid;
  grid-template-columns: 1fr auto;

  gap: 18px;

  padding: 21px;

  border: 1px solid #202020;
  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.01)
    );

  overflow: hidden;

  animation: bioReveal 0.45s ease both;

  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}


.bio-item:hover {
  border-color: #333;
  transform: translateY(-2px);
}


.bio-item::before {
  content: "";

  position: absolute;

  width: 120px;
  height: 120px;

  left: -80px;
  top: -80px;

  background: var(--cyan);

  opacity: 0.04;

  filter: blur(35px);
}


.bio-number {
  display: block;

  margin-bottom: 12px;

  color: #555;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 0.14em;
}


.bio-text {
  color: #e8e8e8;

  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;

  white-space: pre-line;
}


.bio-meta {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 16px;

  color: #555;

  font-size: 8px;

  text-transform: uppercase;
  letter-spacing: 0.1em;
}


.bio-meta span {
  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: #444;
}


.copy-btn {
  align-self: start;

  min-width: 74px;

  padding: 9px 12px;

  border: 1px solid #292929;
  border-radius: 10px;

  background: #111;
  color: #aaa;

  font-size: 9px;
  font-weight: 700;

  transition: 0.2s ease;
}


.copy-btn:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
}


.copy-btn.copied {
  background: #fff;
  color: #000;
  border-color: #fff;
}


@keyframes bioReveal {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* EXPERIENCE */

.experience-note {
  display: flex;
  align-items: center;
  gap: 15px;

  margin-top: 38px;
}


.experience-line {
  flex: 1;
  height: 1px;
  background: #1c1c1c;
}


.experience-note > div:not(.experience-line) {
  text-align: center;
}


.experience-note span {
  color: #444;

  font-size: 7px;
  font-weight: 700;

  letter-spacing: 0.18em;
}


.experience-note p {
  margin-top: 6px;

  color: #666;

  font-size: 9px;
}


.experience-note strong {
  color: #aaa;
}


/* FOOTER */

footer {
  padding: 55px 20px 20px;

  text-align: center;
}


.footer-brand img {
  width: 105px;
  height: auto;
}


footer p {
  margin-top: 11px;

  color: #777;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.06em;
}


footer > span {
  display: block;

  margin-top: 10px;

  color: #3f3f3f;

  font-size: 8px;

  letter-spacing: 0.1em;
}


/* TOAST */

.toast {
  position: fixed;

  left: 50%;
  bottom: 24px;

  transform: translate(-50%, 20px);

  display: flex;
  align-items: center;
  gap: 9px;

  padding: 10px 13px;

  border: 1px solid #2a2a2a;
  border-radius: 11px;

  background: rgba(15, 15, 15, 0.94);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);

  color: #ddd;

  font-size: 10px;
  font-weight: 600;

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;

  z-index: 100;
}


.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}


.toast-icon {
  width: 18px;
  height: 18px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #fff;
  color: #000;

  font-size: 9px;
}


/* LOADING */

.generate-button.loading {
  pointer-events: none;
}


.generate-button.loading .generate-main {
  opacity: 0;
}


.generate-button.loading::after {
  content: "";

  position: absolute;

  width: 17px;
  height: 17px;

  left: 50%;
  top: 50%;

  margin-left: -8px;
  margin-top: -8px;

  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: #000;

  border-radius: 50%;

  animation: spin 0.7s linear infinite;
}


@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* RESPONSIVE */

@media (max-width: 760px) {

  .main-container {
    width: min(100% - 22px, 620px);
    padding-top: 45px;
  }


  .nav-container {
    width: calc(100% - 24px);
  }


  .tool-shell {
    padding: 24px 18px;
    border-radius: 23px;
  }


  .tool-top {
    flex-direction: column;
  }


  .price-badge {
    align-self: flex-start;
    text-align: left;
  }


  .input-grid {
    grid-template-columns: 1fr;
  }


  .choice-grid,
  .tone-grid {
    grid-template-columns: 1fr;
  }


  .choice-card {
    min-height: 70px;
  }


  .tone-card {
    min-height: 95px;
  }


  .progress-track {
    overflow-x: auto;
    padding-bottom: 3px;
  }


  .progress-line {
    min-width: 25px;
  }


  .result-header {
    align-items: flex-start;
    flex-direction: column;
  }
}


@media (max-width: 500px) {

  .nav-status {
    display: none;
  }


  .nav-container {
    grid-template-columns: 1fr auto;
  }


  .nav-brand {
    justify-self: end;
  }


  .hero {
    margin-bottom: 38px;
  }


  .hero h1 {
    font-size: 43px;
  }


  .hero-description {
    font-size: 13px;
  }


  .tool-top h2 {
    font-size: 24px;
  }


  .section-heading {
    margin-bottom: 14px;
  }


  .bio-item {
    grid-template-columns: 1fr;
  }


  .copy-btn {
    width: 100%;
  }


  .experience-note {
    gap: 8px;
  }


  .experience-note p {
    font-size: 8px;
  }


  .empty-result {
    min-height: 230px;
    padding: 25px 18px;
  }
}