:root {
  --black: #000000;
  --void: #050505;
  --card: #0a0a0a;
  --card-2: #101010;

  --lime: #c4ff00;
  --lime-2: #7cff00;

  --cyan: #00e5ff;
  --magenta: #ff00c8;

  --white: #ffffff;
  --soft-white: #e8e8e8;
  --muted: #858585;
  --muted-2: #555555;

  --border: rgba(255,255,255,.09);
  --lime-border: rgba(196,255,0,.18);

  --lime-gradient: linear-gradient(
    120deg,
    #c4ff00 0%,
    #7cff00 100%
  );

  --brand-gradient: linear-gradient(
    120deg,
    #00e5ff 0%,
    #ff00c8 100%
  );

  --shadow: 0 30px 100px rgba(0,0,0,.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(196,255,0,.055),
      transparent 34%
    ),
    #000;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .08;
  z-index: -1;
}

.ambient-one {
  width: 350px;
  height: 350px;
  background: var(--lime);
  top: 18%;
  left: -220px;
}

.ambient-two {
  width: 300px;
  height: 300px;
  background: var(--cyan);
  bottom: 10%;
  right: -220px;
}


/* =========================
   HEADER
========================= */

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-container {
  width: min(1400px, 92%);
  min-height: 76px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  width: fit-content;

  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;

  transition:
    color .25s ease,
    transform .25s ease;
}

.back-link:hover {
  color: var(--white);
  transform: translateX(-3px);
}

.back-icon {
  font-size: 18px;
  color: var(--lime);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.header-logo {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.header-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header-brand-copy strong {
  font-size: 11px;
  letter-spacing: .15em;
}

.header-brand-copy span {
  color: #666;
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.header-status {
  justify-self: end;

  display: flex;
  align-items: center;
  gap: 7px;

  color: #666;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
}

.header-status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}


/* =========================
   MAIN
========================= */

.main-container {
  width: min(1240px, 92%);
  margin: auto;
  padding: 85px 0 70px;
}


/* =========================
   HERO
========================= */

.hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 65px;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;

  filter:
    drop-shadow(0 0 18px rgba(0,229,255,.16))
    drop-shadow(0 0 25px rgba(255,0,200,.10));

  transition:
    transform .4s ease,
    filter .4s ease;
}

.hero-logo:hover {
  transform: scale(1.05);

  filter:
    drop-shadow(0 0 25px rgba(0,229,255,.22))
    drop-shadow(0 0 38px rgba(255,0,200,.16));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 19px;

  color: #707070;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(196,255,0,.8);
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 700;
}

.hero h1 span {
  color: var(--lime);
}

.hero > p {
  max-width: 570px;
  margin: 24px auto 0;

  color: #777;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;

  margin-top: 25px;

  color: #444;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
}

.hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #333;
}


/* =========================
   TOOL SHELL
========================= */

.tool-shell {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(500px, 1.18fr);

  border: 1px solid var(--border);
  border-radius: 28px;

  background: rgba(10,10,10,.8);

  box-shadow: var(--shadow);

  overflow: hidden;
}


/* =========================
   BUILDER
========================= */

.builder-panel {
  padding: 38px;
  border-right: 1px solid var(--border);
}

.panel-heading,
.preview-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  margin-bottom: 35px;
}

.panel-kicker {
  display: block;
  margin-bottom: 8px;

  color: var(--lime);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
}

.panel-heading h2,
.preview-topbar h2 {
  font-size: 20px;
  letter-spacing: -.02em;
}

.step-indicator {
  display: flex;
  gap: 5px;
  padding-top: 7px;
}

.step-indicator span {
  width: 18px;
  height: 3px;
  border-radius: 10px;
  background: #222;
}

.step-indicator span.active {
  width: 30px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(196,255,0,.25);
}

.form-section {
  margin-bottom: 29px;
}

.section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;

  margin-bottom: 13px;
}

.section-label span {
  color: #ddd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.section-label small {
  color: #4e4e4e;
  font-size: 9px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 8px;

  color: #666;
  font-size: 10px;
  font-weight: 600;
}

.input-wrap,
.money-input,
.select-wrap {
  position: relative;
}

input,
select {
  width: 100%;
  height: 52px;

  padding: 0 15px;

  color: var(--white);
  background: #050505;

  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;

  outline: none;

  font-size: 13px;
  font-weight: 500;

  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

input::placeholder {
  color: #3e3e3e;
}

input:hover,
select:hover {
  border-color: rgba(255,255,255,.16);
}

input:focus,
select:focus {
  border-color: rgba(196,255,0,.55);
  background: #080808;

  box-shadow:
    0 0 0 3px rgba(196,255,0,.055),
    0 0 25px rgba(196,255,0,.04);
}

.field-row {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 13px;
}

.money-input span {
  position: absolute;
  z-index: 2;

  left: 15px;
  top: 50%;

  transform: translateY(-50%);

  color: var(--lime);
  font-weight: 700;
  font-size: 14px;
}

.money-input input {
  padding-left: 34px;
}

.select-wrap::after {
  content: "⌄";

  position: absolute;
  right: 16px;
  top: 50%;

  transform: translateY(-55%);

  color: #777;
  pointer-events: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.generate-btn {
  width: 100%;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px;

  border: 0;
  border-radius: 15px;

  background: var(--lime-gradient);
  color: #000;

  cursor: pointer;

  font-size: 13px;
  font-weight: 700;

  box-shadow:
    0 12px 35px rgba(124,255,0,.09);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}

.generate-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);

  box-shadow:
    0 16px 45px rgba(124,255,0,.15);
}

.generate-btn:active {
  transform: translateY(0);
}

.btn-arrow {
  font-size: 20px;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 7px;

  margin-top: 13px;

  color: #484848;
  font-size: 9px;
  line-height: 1.5;
}

.secure-note span {
  color: var(--lime);
}


/* =========================
   PREVIEW
========================= */

.preview-panel {
  min-width: 0;
  padding: 38px;
  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(196,255,0,.025),
      transparent 35%
    ),
    #080808;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 7px 10px;

  border: 1px solid rgba(196,255,0,.13);
  border-radius: 100px;

  color: #666;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}

.preview-badge span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #555;
}

.preview-badge.ready span {
  background: var(--lime);
  box-shadow: 0 0 9px var(--lime);
}

.empty-preview {
  min-height: 565px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 19px;

  text-align: center;
  padding: 30px;
}

.empty-icon {
  width: 72px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(196,255,0,.14);
  border-radius: 22px;

  background: rgba(196,255,0,.025);

  margin-bottom: 23px;
}

.empty-icon-inner {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  background: rgba(196,255,0,.07);
  color: var(--lime);

  font-weight: 700;
}

.empty-preview h3 {
  font-size: 16px;
  margin-bottom: 9px;
}

.empty-preview p {
  max-width: 340px;

  color: #5a5a5a;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 400;
}

.empty-lines {
  width: 180px;
  margin-top: 30px;
}

.empty-lines span {
  display: block;
  height: 7px;

  margin-top: 7px;

  border-radius: 10px;
  background: #111;
}

.empty-lines span:nth-child(1) {
  width: 100%;
}

.empty-lines span:nth-child(2) {
  width: 72%;
  margin-left: auto;
  margin-right: auto;
}

.empty-lines span:nth-child(3) {
  width: 48%;
  margin-left: auto;
  margin-right: auto;
}


/* =========================
   QUOTATION DOCUMENT
========================= */

.quotation-stage {
  display: none;
}

.quotation-stage.show {
  display: block;
}

.quotation-document {
  background: #fff;
  color: #0b0b0b;

  border-radius: 3px;

  padding: 42px;

  box-shadow:
    0 30px 80px rgba(0,0,0,.35);

  font-family: Arial, Helvetica, sans-serif;
}

.quote-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 20px;
}

.quote-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.quote-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.quote-brand > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-brand strong {
  font-size: 15px;
  letter-spacing: .08em;
}

.quote-brand span {
  color: #777;
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.quote-label {
  text-align: right;
}

.quote-label small {
  display: block;

  color: #888;
  font-size: 8px;
  letter-spacing: .18em;
  margin-bottom: 5px;
}

.quote-label strong {
  font-size: 10px;
  color: #111;
}

.quote-rule {
  height: 2px;
  margin: 30px 0;

  background: linear-gradient(
    90deg,
    #c4ff00,
    #7cff00,
    #eee
  );
}

.quote-intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 15px;

  padding-bottom: 27px;
  border-bottom: 1px solid #e8e8e8;
}

.quote-intro div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote-intro span,
.quote-title > span {
  color: #999;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .16em;
}

.quote-intro strong {
  color: #171717;
  font-size: 11px;
}

.quote-title {
  padding: 30px 0 20px;
}

.quote-title h2 {
  margin-top: 8px;

  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.quote-table {
  border: 1px solid #e8e8e8;
  border-radius: 7px;
  overflow: hidden;
}

.quote-table-head,
.quote-table-row {
  display: grid;
  grid-template-columns: 2fr .5fr 1fr 1fr;
  gap: 10px;

  padding: 13px 15px;
}

.quote-table-head {
  background: #f7f7f7;

  color: #777;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .12em;
}

.quote-table-row {
  align-items: center;

  min-height: 55px;

  color: #333;
  font-size: 9px;
}

.quote-table-row strong {
  color: #111;
  font-size: 10px;
  text-align: right;
}

.quote-table-row > span:nth-child(2),
.quote-table-row > span:nth-child(3) {
  color: #666;
}

.quote-table-row > span:last-child,
.quote-table-head > span:last-child {
  text-align: right;
}

.quote-total {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 18px;
  padding: 20px;

  border-radius: 9px;

  background: #080808;
  color: #fff;
}

.quote-total div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-total span {
  color: var(--lime);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}

.quote-total small {
  color: #777;
  font-size: 7px;
}

.quote-total strong {
  font-size: 21px;
  letter-spacing: -.03em;
}

.quote-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin-top: 34px;
  padding-top: 20px;

  border-top: 1px solid #e8e8e8;
}

.quote-footer span {
  color: #333;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .13em;
}

.quote-footer p {
  max-width: 310px;

  margin-top: 5px;

  color: #888;
  font-size: 8px;
  line-height: 1.5;
}

.quote-footer-brand {
  color: #bbb;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}


/* =========================
   ACTIONS
========================= */

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;

  margin-top: 14px;
}

.action-btn {
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 15px;

  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;

  background: #0d0d0d;
  color: #aaa;

  cursor: pointer;

  font-size: 11px;
  font-weight: 700;

  transition:
    border-color .25s ease,
    color .25s ease,
    background .25s ease;
}

.action-btn:hover {
  border-color: rgba(255,255,255,.2);
  color: #fff;
  background: #121212;
}

.primary-action {
  border-color: rgba(196,255,0,.25);
  background: rgba(196,255,0,.08);
  color: var(--lime);
}

.primary-action:hover {
  border-color: rgba(196,255,0,.5);
  background: rgba(196,255,0,.12);
  color: var(--lime);
}


/* =========================
   PRO
========================= */

.pro-card {
  position: relative;
  overflow: hidden;

  margin-top: 25px;

  border: 1px solid rgba(196,255,0,.12);
  border-radius: 23px;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(196,255,0,.065),
      transparent 35%
    ),
    #080808;

  padding: 28px 30px;
}

.pro-glow {
  position: absolute;

  width: 250px;
  height: 250px;

  right: -120px;
  top: -150px;

  border-radius: 50%;

  background: var(--lime);
  filter: blur(100px);

  opacity: .07;
}

.pro-content {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: auto 1fr auto;

  align-items: center;
  gap: 20px;
}

.pro-icon {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(196,255,0,.17);
  border-radius: 15px;

  color: var(--lime);
  background: rgba(196,255,0,.05);

  font-size: 20px;
}

.pro-copy h2 {
  font-size: 19px;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}

.pro-copy p {
  max-width: 570px;

  color: #666;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 400;
}

.pro-action {
  display: flex;
  align-items: center;
  gap: 15px;
}

.price {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.price small {
  color: #555;
  font-size: 7px;
  letter-spacing: .15em;
}

.price strong {
  margin-top: 3px;
  color: #fff;
  font-size: 17px;
}

.pro-btn {
  height: 46px;

  display: flex;
  align-items: center;
  gap: 16px;

  padding: 0 17px;

  border: 0;
  border-radius: 11px;

  background: var(--lime-gradient);
  color: #000;

  cursor: pointer;

  font-size: 11px;
  font-weight: 700;

  transition:
    transform .25s ease,
    filter .25s ease;
}

.pro-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.pro-features {
  position: relative;
  z-index: 1;

  display: flex;
  flex-wrap: wrap;
  gap: 17px;

  margin-top: 23px;
  padding-top: 19px;

  border-top: 1px solid rgba(255,255,255,.06);

  color: #555;
  font-size: 9px;
}

.pro-features span {
  color: #666;
}

.pro-features span::first-letter {
  color: var(--lime);
}


/* =========================
   FOOTER
========================= */

.site-footer {
  width: min(1240px, 92%);
  margin: auto;

  padding: 30px 0 45px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-top: 1px solid var(--border);

  color: #444;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand strong {
  color: #777;
  font-size: 9px;
  letter-spacing: .14em;
}

.footer-brand span {
  color: #3f3f3f;
  font-size: 7px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer p {
  font-size: 8px;
}


/* =========================
   TOAST
========================= */

.toast {
  position: fixed;
  z-index: 100;

  right: 24px;
  bottom: 24px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 16px;

  border: 1px solid rgba(196,255,0,.2);
  border-radius: 12px;

  background: rgba(12,12,12,.92);
  backdrop-filter: blur(18px);

  color: #ddd;

  font-size: 10px;
  font-weight: 600;

  box-shadow: 0 20px 50px rgba(0,0,0,.4);

  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;

  transition:
    opacity .3s ease,
    transform .3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--lime);
  font-weight: 700;
}


/* =========================
   LOADING
========================= */

.loading {
  pointer-events: none;
  opacity: .65;
}

.loading::after {
  content: "";

  width: 13px;
  height: 13px;

  border: 2px solid rgba(0,0,0,.25);
  border-top-color: #000;

  border-radius: 50%;

  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {

  .tool-shell {
    grid-template-columns: 1fr;
  }

  .builder-panel {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .preview-panel {
    min-width: 0;
  }

}

@media (max-width: 720px) {

  .main-container {
    padding-top: 55px;
  }

  .nav-container {
    grid-template-columns: 1fr auto;
  }

  .header-brand {
    justify-self: end;
  }

  .header-status {
    display: none;
  }

  .header-brand-copy {
    display: none;
  }

  .builder-panel,
  .preview-panel {
    padding: 23px;
  }

  .hero {
    margin-bottom: 42px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero > p {
    font-size: 13px;
  }

  .hero-meta {
    gap: 8px;
    font-size: 7px;
  }

  .tool-shell {
    border-radius: 21px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .pro-content {
    grid-template-columns: auto 1fr;
  }

  .pro-action {
    grid-column: 1 / -1;
    justify-content: space-between;
    margin-top: 5px;
  }

  .price {
    text-align: left;
  }

  .quotation-document {
    padding: 25px 20px;
  }

  .quote-intro {
    grid-template-columns: 1fr 1fr;
  }

  .quote-intro div:first-child {
    grid-column: 1 / -1;
  }

  .quote-table-head,
  .quote-table-row {
    grid-template-columns: 1.7fr .5fr 1fr;
  }

  .quote-table-head span:nth-child(3),
  .quote-table-row span:nth-child(3) {
    display: none;
  }

  .quote-table-head span:last-child,
  .quote-table-row strong {
    text-align: right;
  }

  .result-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

}

@media (max-width: 460px) {

  .back-link span:last-child {
    display: none;
  }

  .hero-logo {
    width: 60px;
    height: 60px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .panel-heading,
  .preview-topbar {
    margin-bottom: 27px;
  }

  .preview-panel {
    padding: 17px;
  }

  .empty-preview {
    min-height: 440px;
  }

  .quote-header {
    flex-direction: column;
  }

  .quote-label {
    text-align: left;
  }

  .quote-rule {
    margin: 23px 0;
  }

  .quote-title h2 {
    font-size: 21px;
  }

  .quote-total strong {
    font-size: 17px;
  }

  .pro-card {
    padding: 22px;
  }

  .pro-content {
    grid-template-columns: 1fr;
  }

  .pro-icon {
    width: 44px;
    height: 44px;
  }

  .pro-action {
    width: 100%;
  }

  .pro-btn {
    flex: 1;
    justify-content: space-between;
  }

  .pro-features {
    flex-direction: column;
    gap: 9px;
  }

}