/* ═══════════════════════════════════════════════════
   GMB Portal — Stylesheet v2.0
   Palette: #0F1117 bg · #1A1D27 surface · #00C896 accent
   Fonts: Poppins + Lora
   ═══════════════════════════════════════════════════ */

:root {
  --gmb-bg:        #0F1117;
  --gmb-surface:   #1A1D27;
  --gmb-surface2:  #20243A;
  --gmb-accent:    #00C896;
  --gmb-accent-dim:#007A5C;
  --gmb-text:      #F0F2F5;
  --gmb-text-sec:  #9DA3B4;
  --gmb-border:    #2A2E3D;
  --gmb-danger:    #EF4444;
  --gmb-warning:   #F59E0B;
  --gmb-radius:    10px;
  --gmb-shadow:    0 4px 24px rgba(0,0,0,.45);
}

/* ── Base ───────────────────────────────────────────── */

.gmb-portal,
.gmb-access-form,
.gmb-key-reveal {
  font-family: 'Lora', Georgia, serif;
  color: var(--gmb-text);
  max-width: 740px;
  margin: 0 auto;
}

/* ── Buttons ─────────────────────────────────────────── */

.gmb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.gmb-btn:hover { opacity: .88; transform: translateY(-1px); }
.gmb-btn:active { transform: translateY(0); }

.gmb-btn--primary {
  background: var(--gmb-accent);
  color: #0F1117;
}
.gmb-btn--accent {
  background: linear-gradient(135deg, var(--gmb-accent) 0%, #00A07A 100%);
  color: #0F1117;
  font-size: 15px;
  padding: 14px 28px;
}
.gmb-btn--copy {
  background: var(--gmb-surface2);
  color: var(--gmb-text);
  border: 1px solid var(--gmb-border);
}
.gmb-btn--full { width: 100%; }

/* ── Key reveal (Thank You page) ─────────────────────── */

.gmb-key-reveal {
  background: var(--gmb-surface);
  border: 1px solid var(--gmb-border);
  border-radius: var(--gmb-radius);
  padding: 36px 32px;
  text-align: center;
  margin: 24px 0;
  box-shadow: var(--gmb-shadow);
}
.gmb-key-reveal__icon { font-size: 40px; margin-bottom: 12px; }
.gmb-key-reveal h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin: 0 0 8px;
}
.gmb-key-reveal p {
  color: var(--gmb-text-sec);
  font-size: 14px;
  margin: 0 0 16px;
}
.gmb-key-reveal__key {
  background: var(--gmb-bg);
  border: 2px solid var(--gmb-accent);
  border-radius: 8px;
  font-family: 'Poppins', monospace;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gmb-accent);
  padding: 16px 24px;
  margin: 0 auto 16px;
  max-width: 340px;
}
.gmb-key-reveal__warning {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 13px;
  padding: 12px 16px;
  margin: 16px 0;
  line-height: 1.6;
}

/* ── Access form ─────────────────────────────────────── */

.gmb-access-form {
  background: var(--gmb-surface);
  border: 1px solid var(--gmb-border);
  border-radius: var(--gmb-radius);
  padding: 44px 40px;
  text-align: center;
  margin: 24px auto;
  max-width: 460px;
  box-shadow: var(--gmb-shadow);
}
.gmb-access-form__icon { font-size: 44px; margin-bottom: 16px; }
.gmb-access-form h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin: 0 0 10px;
}
.gmb-access-form > p {
  color: var(--gmb-text-sec);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}
.gmb-access-form__error {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.3);
  color: #fca5a5;
  border-radius: 6px;
  font-size: 13px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
}
.gmb-access-form__input {
  width: 100%;
  box-sizing: border-box;
  background: var(--gmb-bg);
  border: 1.5px solid var(--gmb-border);
  border-radius: 8px;
  color: var(--gmb-text);
  font-family: 'Poppins', monospace;
  font-size: 18px;
  letter-spacing: 2px;
  padding: 14px 16px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 12px;
  outline: none;
  transition: border-color .2s;
}
.gmb-access-form__input:focus { border-color: var(--gmb-accent); }
.gmb-access-form__input::placeholder { letter-spacing: 1px; color: var(--gmb-text-sec); font-size: 13px; }
.gmb-access-form__buy,
.gmb-access-form__lost {
  font-size: 13px;
  color: var(--gmb-text-sec);
  margin: 12px 0 0;
}
.gmb-access-form__buy a,
.gmb-access-form__lost a {
  color: var(--gmb-accent);
  text-decoration: none;
  font-weight: 600;
}

/* ── Portal main ─────────────────────────────────────── */

.gmb-portal {
  background: var(--gmb-bg);
  border-radius: var(--gmb-radius);
  overflow: hidden;
  box-shadow: var(--gmb-shadow);
}

/* Header */
.gmb-portal__header {
  background: var(--gmb-surface);
  border-bottom: 1px solid var(--gmb-border);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.gmb-portal__tag {
  display: inline-block;
  background: var(--gmb-accent);
  color: #0F1117;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.gmb-portal__header-left h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 0 0 4px;
}
.gmb-portal__header-left p {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--gmb-text-sec);
  margin: 0;
}
.gmb-portal__header-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.gmb-portal__progress-ring {
  position: relative;
  width: 60px;
  height: 60px;
}
.gmb-portal__progress-ring svg { width: 60px; height: 60px; }
.gmb-portal__progress-ring span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--gmb-accent);
}
.gmb-portal__progress-ring span small {
  font-size: 10px;
  color: var(--gmb-text-sec);
  font-weight: 400;
}
.gmb-portal__logout {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #EF4444;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity .2s;
}
.gmb-portal__logout:hover { color: #fca5a5; }

/* Download banner */
.gmb-portal__download {
  background: linear-gradient(135deg, #0D2B20 0%, #0F1117 100%);
  border: 1px solid rgba(0,200,150,.2);
  border-left: 4px solid var(--gmb-accent);
  margin: 20px 20px 0;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.gmb-portal__download strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  margin-bottom: 3px;
}
.gmb-portal__download span {
  font-size: 13px;
  color: var(--gmb-text-sec);
}

/* Checklist */
.gmb-checklist {
  padding: 20px 20px 4px;
}
.gmb-checklist__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  margin: 0 0 10px;
}
.gmb-checklist__subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--gmb-text-sec);
  margin: 6px 0 16px;
}
.gmb-checklist__progress-bar {
  height: 4px;
  background: var(--gmb-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.gmb-checklist__progress-bar div {
  height: 100%;
  background: var(--gmb-accent);
  border-radius: 2px;
  transition: width .5s ease;
}

.gmb-checklist__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gmb-surface);
  border: 1px solid var(--gmb-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.gmb-checklist__item:active { opacity: .85; }
.gmb-checklist__item--done {
  background: rgba(0,200,150,.07);
  border-color: rgba(0,200,150,.3);
}
.gmb-checklist__item--done .gmb-checklist__item-label {
  text-decoration: line-through;
  color: var(--gmb-text-sec);
}

.gmb-checklist__item input[type="checkbox"] {
  display: none;
}

/* Circle check — the tap target */
.gmb-checklist__item-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--gmb-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  font-size: 14px;
  color: transparent;
}
.gmb-checklist__item--done .gmb-checklist__item-check {
  background: var(--gmb-accent);
  border-color: var(--gmb-accent);
  color: #0F1117;
}

.gmb-checklist__item-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--gmb-text-sec);
  min-width: 22px;
}
.gmb-checklist__item--done .gmb-checklist__item-num {
  color: var(--gmb-accent);
}
.gmb-checklist__item-body {
  flex: 1;
  min-width: 0;
}
.gmb-checklist__item-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--gmb-text);
  margin-bottom: 2px;
  line-height: 1.3;
}
.gmb-checklist__item-tip {
  display: block;
  font-size: 12px;
  color: var(--gmb-text-sec);
  line-height: 1.5;
}

/* Upsell banner */
.gmb-upsell {
  background: linear-gradient(135deg, #1A1D27 0%, #0F1117 100%);
  border: 1px solid var(--gmb-border);
  border-top: 3px solid var(--gmb-accent);
  margin: 20px;
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
}
.gmb-upsell__badge {
  display: inline-block;
  background: rgba(0,200,150,.15);
  color: var(--gmb-accent);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.gmb-upsell h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin: 0 0 8px;
}
.gmb-upsell p {
  color: var(--gmb-text-sec);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}
.gmb-upsell__price {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 16px;
}
.gmb-upsell__price span {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.gmb-upsell__price small {
  font-size: 13px;
  color: var(--gmb-text-sec);
  margin-left: 6px;
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 540px) {
  .gmb-portal__header { flex-direction: column; align-items: flex-start; }
  .gmb-portal__download { flex-direction: column; gap: 12px; }
  .gmb-access-form { padding: 28px 20px; }
  .gmb-key-reveal__key { font-size: 20px; letter-spacing: 2px; }
}
