:root {
  color-scheme: dark;
  --cyan: #04dff7;
  --green: #00e58b;
  --panel: rgba(65, 65, 65, .76);
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 280px; min-height: 100%; background: #000; }
body { overflow-x: hidden; }
button, input { font: inherit; }

.site {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #000 url("assets/layer-00-background.png") center top / cover no-repeat;
}

.site::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.16) 46%, rgba(0,0,0,.28));
}

.page-glow {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 470px;
  height: 820px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(0, 220, 255, .04), transparent 63%);
}

.content-wrap {
  position: relative;
  width: min(calc(100% - 48px), 1160px);
  margin: 0 auto;
  padding: 104px 0 220px;
  text-align: center;
}

.site-header { color: #fff; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #02dce7;
  font-size: 45px;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(0, 236, 255, .4);
}

.brand img { width: 42px; height: 42px; object-fit: contain; }

.site-header h1 {
  margin: 52px 0 0;
  color: #f2f2f2;
  font-size: 29px;
  font-weight: 800;
}

.community-copy {
  margin: 32px 0 0;
  color: rgba(255,255,255,.94);
  font-size: 23px;
  line-height: 1.55;
}

.steps {
  width: min(100%, 980px);
  max-width: 100%;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step-card {
  min-height: 96px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  background: rgba(73, 73, 73, .8);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.step-number {
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #10b9ea;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.analysis-section { margin-top: 58px; color: #fff; }
.analysis-eyebrow { margin: 0; font-size: 21px; font-weight: 700; }

.analysis-section h2 {
  margin: 24px 0 0;
  color: #00d9e8;
  background: linear-gradient(90deg, #00c6ff, #00f090, #02cfff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 62px;
  line-height: 1.05;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(0, 225, 255, .3);
}

.mini-label { margin-top: 14px; font-size: 19px; font-weight: 700; }

.analysis-copy {
  margin: 28px auto 0;
  color: rgba(255,255,255,.94);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

.analysis-form {
  width: min(100%, 980px);
  max-width: 100%;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  justify-content: center;
  gap: 22px;
  direction: ltr;
}

.analysis-form input,
.analysis-form button {
  height: 68px;
  border-radius: 12px;
}

.analysis-form input {
  min-width: 0;
  padding: 0 22px;
  border: 1px solid rgba(0, 217, 249, .72);
  outline: 0;
  background: rgba(92, 92, 92, .7);
  color: #fff;
  direction: ltr;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
}

.analysis-form input::placeholder { color: rgba(255,255,255,.92); opacity: 1; }
.analysis-form input:focus { box-shadow: 0 0 0 2px rgba(0, 220, 255, .28), 0 0 17px rgba(0, 219, 255, .4); }

.analysis-form button {
  border: 0;
  background: linear-gradient(100deg, #00b7eb, #04f398);
  color: #fff;
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  transition: filter .18s ease, transform .18s ease;
}

.analysis-form button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.analysis-form button:active { transform: translateY(0); }
.analysis-form button:disabled { cursor: wait; filter: saturate(.7); opacity: .82; }

.feature-row {
  width: min(100%, 980px);
  max-width: 100%;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  min-height: 106px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  background: rgba(76, 76, 76, .79);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.feature-card img { width: 34px; height: 34px; object-fit: contain; }

.details-section { margin-top: 72px; color: #fff; }

.details-section > h2 {
  margin: 0;
  color: #00e6e9;
  font-size: 30px;
  font-weight: 800;
}

.details-panel {
  width: min(100%, 980px);
  max-width: 100%;
  margin: 38px auto 0;
  padding: 46px 54px 40px;
  border: 1px solid rgba(0, 214, 245, .84);
  border-radius: 11px;
  background: rgba(73, 73, 73, .72);
  text-align: left;
}

.details-panel p {
  margin: 0 0 30px;
  color: rgba(255,255,255,.96);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.details-panel p:last-child { margin-bottom: 0; }

.closing-copy {
  margin: 38px auto 0;
  color: rgba(255,255,255,.96);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

#whatsapp-button {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1000;
  width: min(760px, calc(100% - 48px));
  min-height: 76px;
  margin: 0;
  padding: 12px 26px 12px 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #03b7e9, #04de93);
  box-shadow: 0 0 17px rgba(0, 224, 255, .26);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  animation: whatsapp-float 2.8s ease-in-out infinite;
  will-change: transform;
}

#whatsapp-button:hover { filter: brightness(1.12); }
#whatsapp-button:active { animation-play-state: paused; filter: brightness(.98); }
#whatsapp-button img { width: 43px; height: 43px; flex: 0 0 auto; object-fit: contain; }

@keyframes whatsapp-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

body.modal-open { overflow: hidden; }

.analysis-modal[hidden],
.scan-state[hidden],
.result-state[hidden] { display: none; }

.analysis-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.analysis-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.analysis-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: min(760px, calc(100svh - 48px));
  overflow-y: auto;
  padding: 38px 36px 34px;
  border: 1px solid rgba(0, 225, 242, .72);
  border-radius: 8px;
  background: rgba(18, 25, 28, .97);
  box-shadow: 0 0 0 1px rgba(0, 238, 164, .12), 0 22px 70px rgba(0, 0, 0, .65), 0 0 38px rgba(0, 220, 245, .16);
  color: #fff;
  text-align: center;
}

.analysis-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.analysis-dialog__close:hover { color: #fff; }

.scanner-visual {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 6px auto 24px;
  display: grid;
  place-items: center;
}

.scanner-visual::before,
.scanner-visual__ring {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(0, 226, 247, .55);
  border-radius: 50%;
}

.scanner-visual::before { animation: scanner-pulse 1.8s ease-out infinite; }

.scanner-visual__ring {
  inset: 13px;
  border-top-color: #00e8a4;
  border-right-color: transparent;
  box-shadow: 0 0 22px rgba(0, 221, 246, .3);
  animation: scanner-spin 1.25s linear infinite;
}

.scanner-visual__core {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #06bde9, #02dd91);
  box-shadow: 0 0 28px rgba(0, 224, 215, .38);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.dialog-eyebrow {
  margin: 0 0 9px;
  color: #05e9ce;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.analysis-dialog h2 {
  margin: 0;
  color: #fff;
  font-size: 27px;
  line-height: 1.2;
}

.scan-message,
.result-intro {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.55;
}

.scan-progress {
  height: 8px;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

#scan-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #04bfe8, #02ed9e);
  box-shadow: 0 0 14px rgba(0, 232, 190, .48);
}

.scan-progress__meta {
  margin-top: 9px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, .64);
  font-size: 11px;
}

.scan-progress__meta strong { color: #04e1be; font-size: 12px; }

.scan-stages {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.scan-stages span {
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 700;
}

.result-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 240, 167, .75);
  border-radius: 50%;
  background: rgba(0, 226, 148, .12);
  box-shadow: 0 0 25px rgba(0, 228, 173, .18);
  color: #08efa7;
  font-size: 31px;
  font-weight: 900;
}

.result-list {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.result-list li {
  min-height: 54px;
  padding: 13px 0;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  line-height: 1.4;
}

.result-list li > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(2, 212, 220, .16);
  color: #04e5d0;
  font-size: 12px;
  font-weight: 900;
}

.result-whatsapp-button {
  width: 100%;
  min-height: 54px;
  margin-top: 25px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(100deg, #03b7e9, #04de93);
  box-shadow: 0 0 20px rgba(0, 224, 200, .2);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.result-whatsapp-button:hover { filter: brightness(1.1); }
.result-whatsapp-button img { width: 28px; height: 28px; object-fit: contain; }

@keyframes scanner-spin { to { transform: rotate(360deg); } }

@keyframes scanner-pulse {
  0% { opacity: .75; transform: scale(.78); }
  75%, 100% { opacity: 0; transform: scale(1.18); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 680px) {
  .site { background-size: auto 100%; background-position: center top; }
  .content-wrap { width: min(100% - 24px, 540px); padding: 44px 0 164px; }
  .brand { font-size: 28px; gap: 9px; }
  .brand img { width: 28px; height: 28px; }
  .site-header h1 { margin-top: 30px; font-size: 17px; line-height: 1.35; }
  .community-copy { margin-top: 22px; font-size: 14.5px; line-height: 1.58; }
  .steps { margin-top: 28px; gap: 8px; }
  .step-card { min-height: 76px; padding: 10px 5px; font-size: 12px; }
  .analysis-section { margin-top: 38px; }
  .analysis-eyebrow { font-size: 13px; line-height: 1.45; }
  .analysis-section h2 { margin-top: 15px; font-size: clamp(31px, 8.6vw, 39px); }
  .mini-label { margin-top: 9px; font-size: 13px; }
  .analysis-copy { margin-top: 19px; font-size: 13.5px; line-height: 1.58; }
  .analysis-form { grid-template-columns: minmax(0, 1.55fr) minmax(130px, 1fr); gap: 10px; margin-top: 28px; }
  .analysis-form input, .analysis-form button { height: 50px; font-size: 13px; }
  .feature-row { margin-top: 32px; gap: 9px; }
  .feature-card { min-height: 76px; font-size: 12px; }
  .feature-card img { width: 24px; height: 24px; }
  .details-section { margin-top: 46px; }
  .details-section > h2 { font-size: 19px; line-height: 1.35; }
  .details-panel { margin-top: 26px; padding: 26px 22px 23px; }
  .details-panel p { margin-bottom: 20px; font-size: 13.5px; line-height: 1.52; }
  .closing-copy { margin-top: 26px; font-size: 13px; line-height: 1.52; }
  #whatsapp-button { width: calc(100% - 24px); min-height: 62px; font-size: 12.5px; }
  .desktop-only { display: none; }
}

@media (max-width: 400px) {
  .content-wrap { width: calc(100% - 20px); padding-top: 32px; }
  .brand { font-size: 25px; }
  .site-header h1 { font-size: 15px; }
  .community-copy { font-size: 13px; }
  .step-card { min-height: 72px; padding-inline: 4px; font-size: 11px; }
  .analysis-eyebrow { font-size: 12px; }
  .analysis-section h2 { font-size: 30px; }
  .analysis-copy { font-size: 12.5px; }
  .analysis-form { grid-template-columns: minmax(0, 1.45fr) minmax(112px, 1fr); gap: 8px; }
  .analysis-form input, .analysis-form button { height: 46px; padding-inline: 8px; font-size: 11.5px; }
  .feature-card { min-height: 72px; padding-inline: 4px; font-size: 11px; }
  .details-panel { padding: 23px 17px 20px; }
  .details-panel p { font-size: 12.5px; }
  .closing-copy { font-size: 12px; }
  #whatsapp-button { bottom: max(10px, env(safe-area-inset-bottom)); min-height: 59px; padding-inline: 14px; font-size: 11.5px; }
  #whatsapp-button img { width: 29px; height: 29px; }
  .analysis-modal { padding: 12px; }
  .analysis-dialog { max-height: calc(100svh - 24px); padding: 34px 20px 24px; }
  .scanner-visual { width: 94px; height: 94px; margin-bottom: 19px; }
  .analysis-dialog h2 { font-size: 23px; }
  .result-list li { grid-template-columns: 30px 1fr; gap: 9px; font-size: 12px; }
  .result-whatsapp-button { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  #whatsapp-button { animation: none; transform: translateX(-50%); }
  .scanner-visual::before,
  .scanner-visual__ring { animation: none; }
}
