:root {
  --bg: #0b0b0b;
  --panel: #0f0f0f;
  --muted: #bdbdbd;
  --accent: #00A8A0;
  --white: #f2f2f2;
  --btn-white: rgba(242,242,242,0.96);
  --btn-disabled: rgba(255,255,255,0.12);
  --danger: #f04b5b;
  --maxw: 420px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px 80px 20px;
}

/* header */
.topbar {
  width: 100%;
  max-width: var(--maxw);
  display: flex;
  align-items: center;
  padding: 20px 0;
  position: relative; 
}

.logo { height: 30px; width: auto; display: block; }
.help {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: default;
}

/* content */
.content {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-bottom: 30px;
}
.page {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.page.active {
  display: block;
  opacity: 1;
}

/* heading */
h1 {
  font-size: 22px;
  margin: 15px 0 24px;
  font-weight: 700;
  color: var(--white);
  text-align: left;
}

/* text */
.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}
.sub-note {
  font-size: 14px;
  color: var(--muted);
  text-align: left;
  margin-top: 18px;
  line-height: 1.4;
}
.sub-note a.link {
  color: var(--muted);
  text-decoration: underline;
  opacity: 0.95;
}
.sub-note a.link:hover { opacity: 1; }

/* input */
input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  color: var(--white);
  font-size: 18px;
  margin-bottom: 34px;
  outline: none;
}

/* button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--btn-white);
  color: #0b0b0b;
  font-weight: 600;
  cursor: pointer;
  border: none;
  width: 100%;
  font-size: 15px;
  transition: background-color 0.18s ease, color 0.18s ease, transform .06s ease, opacity 0.18s ease;
}
.btn:active { transform: translateY(1px); }

/* disabled button (gray) */
.btn.disabled,
.btn:disabled {
  background: var(--btn-disabled);
  color: rgba(255,255,255,0.3);
  cursor: not-allowed;
}

/* secondary btn */
.btn.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.06);
  font-weight: 700;
}
.btn.secondary:hover {
  border-color: rgba(255,255,255,0.12);
}

/* list-item */
.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 15px;
  cursor: pointer;
  background: transparent;
  border-radius: 0;
  margin-top: 20px;
  transition: opacity 0.2s ease;
}
.list-item:hover { opacity: 0.9; }
.chev { opacity: 0.4; font-size: 16px; }


.page.final h1,
.page.final .lead,
.page.final .sub-note {
  text-align: center;
}

/* footer */
.muted-note {
  width: 100%;
  max-width: var(--maxw);
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}

.input-wrap input {
  width: 100%;
  height: 48px; 
  padding-right: 40px; 
  box-sizing: border-box;
}

/* error */
.input-wrap {
  position: relative;
}

.input-wrap .error-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-110%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d93025;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  pointer-events: none;
  display: inline-block;
}



.hero-img {
  display: block;
  margin: 18px auto 6px;
  max-width: 260px;
  width: 70%;
  height: auto;
}


@keyframes shake {
  10%,90% { transform: translateX(-1px); }
  20%,80% { transform: translateX(2px); }
  30%,50%,70% { transform: translateX(-4px); }
  40%,60% { transform: translateX(4px); }
}
.shake { animation: shake .38s ease-in-out; }

@media (min-width: 900px) {
  .wrap { padding-top: 36px; }
  .content { padding-bottom: 60px; }
}


.final-btn {
  background: #000;
  color: var(--white);
  border: 2px solid var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 12px;
  width: 100%;
  max-width: 240px;
  margin: 18px auto 0;
  transition: background 0.2s ease, transform 0.1s ease;
}
.final-btn:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.final-btn:active {
  transform: translateY(1px);
}

.final-btn .green-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent);
  display: inline-block;
  margin-right: 10px;
  animation: pulse 1.8s infinite ease-in-out;
}


@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}


.page.final {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page.final h1 {
  margin-top: 12px;
  margin-bottom: 24px;
}


.help {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 1000;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.help:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}


.help:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.help-link {
  text-decoration: none;
}
.help {
  cursor: pointer;
}


#page5 .btn {
  width: 100%;
  max-width: var(--maxw);
  display: block;
  margin: 20px auto 0;
  box-sizing: border-box;
}


#page5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 40px;
}

