:root{
  /* Solid surfaces (no transparency for boxes) */
  --ux-surface: #0b0b0b;     /* main box */
  --ux-surface-2: #101010;   /* inner cards */
  --ux-surface-3: #151515;   /* hover / active */

  /* Text */
  --ux-text: rgba(255, 243, 232, .95);
  --ux-muted: rgba(255, 227, 205, .72);

  /* Strokes */
  --ux-stroke: rgba(255, 232, 210, .14);
  --ux-stroke-2: rgba(255, 184, 107, .32);  /* warm */
  --ux-stroke-3: rgba(255,106,61,.16);   /* cool */

  /* Accents (Brown world friendly) */
  --ux-warm: #FFB86B; /* copper/gold */
  --ux-cool: #2EE7FF; /* cyber teal */
  --ux-hot:  #FF6A3D; /* ember */

  --ux-radius: 22px;
}

/* background stars layer (if used) */
#globalStars{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2; /* bg above world, below content */
  opacity: .7;
}

main, header, footer{
  position: relative;
  z-index: 5;
}

/* =========================
   App Alert Modal (Brown Theme - High Contrast)
========================= */
.appAlertBack {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 18px;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.appAlertBack.is-open { display: grid; }

.appAlert {
  position: relative;
  width: min(520px, 92vw);
  border-radius: 20px;
  padding: 24px;
  background: #080a09;

  /* ✅ Brown border */
  border: 1px solid rgba(130, 83, 44, 0.28);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(130, 83, 44, 0.08);

  max-height: min(80vh, 640px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.appAlertClose {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);

  /* ✅ warm close color */
  color: rgba(255, 214, 170, 0.75);
  cursor: pointer;
  transition: all 0.2s;
  display: grid;
  place-items: center;
}

.appAlertClose:hover {
  background: rgba(130, 83, 44, 0.14);
  color: rgba(255, 214, 170, 0.95);
  border-color: rgba(130, 83, 44, 0.34);
}

.appAlertTag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: .05em;
  font-size: 11px;
  text-transform: uppercase;

  /* ✅ brown tag */
  color: rgba(255, 214, 170, 0.95);
  background: rgba(130, 83, 44, 0.12);
  border: 1px solid rgba(130, 83, 44, 0.26);
}

.appAlertTitle {
  margin: 16px 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #f0f0f0;
  letter-spacing: -0.01em;
}

.appAlertBody {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-height: 44vh;
  overflow-y: auto;
  padding-right: 8px;
}

/* scrollbar */
.appAlertBody::-webkit-scrollbar { width: 3px; }
.appAlertBody::-webkit-scrollbar-thumb {
  background: rgba(130, 83, 44, 0.28);
  border-radius: 10px;
}

.appAlertActions { display: grid; gap: 10px; }

/* action button (OK) */
.appAlertActions button,
.appAlertBtn {
  background: rgba(130, 83, 44, 0.28);
  color: rgba(255, 245, 235, 0.96);
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.appAlertActions button:hover {
  background: rgba(130, 83, 44, 0.38);
  color: rgba(255, 245, 235, 0.98);
  box-shadow: 0 0 12px rgba(130, 83, 44, 0.22);
}

/* Force OK button color inside App Alert */
.appAlertBack.is-open .appAlertActions button,
.appAlertBack.is-open .appAlertBtn{
  background: rgba(130, 83, 44, 0.28) !important;
  box-shadow: 0 0 12px rgba(130, 83, 44, 0.22) !important;
}
.appAlertBack.is-open .appAlertActions button:hover,
.appAlertBack.is-open .appAlertBtn:hover{
  background: rgba(130, 83, 44, 0.38) !important;
}

/* =========================================================
  HOW TO BUY — Stepper Timeline + Preview Panel
========================================================= */

.howtoStepWrap{
  border-radius: var(--ux-radius);
  border: 1px solid var(--ux-stroke);
  background: var(--ux-surface);
  box-shadow: 0 20px 70px rgba(0,0,0,.52);
  overflow: hidden;
  position: relative;
}

.howtoStepper{
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 14px;
  padding: 16px;
}

@media (max-width: 900px){
  .howtoStepper{ grid-template-columns: 1fr; }
}

.howtoSteps{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* button-like step */
.howtoStep{
  width: 100%;
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--ux-stroke);
  background: var(--ux-surface-2);
  cursor: pointer;
  text-align: left;
  position: relative;
  overflow: hidden;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.howtoStep:hover{
  transform: translateY(-2px);
  border-color: var(--ux-stroke-3);
  background: var(--ux-surface-3);
  box-shadow: 0 14px 44px rgba(0,0,0,.45);
}

.howtoStep.is-active{
  border-color: var(--ux-stroke-2);
  background: #121212;
  box-shadow:
    0 0 0 1px rgba(255,184,107,.14),
    0 16px 52px rgba(0,0,0,.50);
}

.howtoBadge{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  flex: 0 0 auto;

  border: 1px solid rgba(255,184,107,.40);
  background: rgba(255,184,107,.14);
  color: var(--ux-text);
}

.howtoTxt{ display:flex; flex-direction:column; gap:2px; }
.howtoTitle{
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--ux-text);
}
.howtoSub{
  font-size: 12.5px;
  color: var(--ux-muted);
  line-height: 1.35;
}

.howtoPreview{
  border-radius: 18px;
  border: 1px solid var(--ux-stroke);
  background: var(--ux-surface-2);
  padding: 14px;
  min-height: 210px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  position: relative;
}

.howtoPreviewHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.howtoPreviewTitle{
  margin:0;
  font-size:15px;
  letter-spacing:.2px;
  font-weight:900;
  color: var(--ux-text);
}

.howtoPill{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--ux-stroke);
  background: #111111;
  color: rgba(255,243,232,.80);
  font-size:12px;
  white-space:nowrap;
}

.howtoDesc{
  color: var(--ux-muted);
  font-size: 13.2px;
  line-height: 1.55;
}

.howtoMiniCard{
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid var(--ux-stroke);
  background: #101010; /* solid */
  padding: 12px;
}

.howtoRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  color: rgba(255,243,232,.74);
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.howtoRow:last-child{ border-bottom: none; }
.howtoRow b{
  color: var(--ux-text);
  font-weight: 900;
}

/* CTA button */
.howtoBtn{
  margin-top: 12px;
  width: 100%;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,106,61,.16);

  background:
    linear-gradient(90deg, rgba(255,184,107,.26), rgba(172, 104, 27, 0.18), rgba(255,106,61,.16)),
    #0f0f0f;

  color: var(--ux-text);
  font-weight: 900;
  letter-spacing: .3px;
  cursor: pointer;

  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.howtoBtn:hover{
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 46px rgba(0,0,0,.45), 0 0 26px rgba(255,106,61,.16);
}

/* =========================================================
  FAQ — Floating Cards + Modal
========================================================= */

.faqFloatWrap{
  border-radius: var(--ux-radius);
  border: 1px solid var(--ux-stroke);
  background: var(--ux-surface);
  box-shadow: 0 20px 70px rgba(0,0,0,.52);
  overflow: hidden;
  position: relative;
  padding: 16px;
}

.faqFloatGrid{
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px){
  .faqFloatGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px){
  .faqFloatGrid{ grid-template-columns: 1fr; }
}

.faqCard{
  border-radius: 18px;
  border: 1px solid var(--ux-stroke);
  background: var(--ux-surface-2);
  padding: 14px;
  cursor: pointer;
  min-height: 120px;

  display:flex;
  flex-direction:column;
  gap:10px;

  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.faqCard:hover{
  transform: translateY(-6px);
  border-color: rgba(255,184,107,.34);
  box-shadow: 0 22px 80px rgba(0,0,0,.45), 0 0 26px rgba(255,184,107,.10);
}

.faqCardTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.faqTag,
.faqOpen,
.faqPill{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--ux-stroke);
  background: #111111;
  color: rgba(255,243,232,.82);
  white-space: nowrap;
}

.faqQ{
  font-weight: 900;
  line-height: 1.25;
  color: var(--ux-text);
  font-size: 16px;
}

.faqHint{
  color: var(--ux-muted);
  font-size: 12.5px;
}

/* Modal Backdrop */
.faqModalBack{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  z-index: var(--z-modal);
}

.faqModalBack.is-open{ display:flex; }

/* Modal body (opaque) */
.faqModal{
  width: min(720px, 100%);
  max-height: 75vh;
  overflow-y: auto;
  border-radius: 22px;
  border: 1px solid rgba(255,232,210,.18);
  background: #0b0b0b;
  box-shadow: 0 30px 120px rgba(0,0,0,.72);
  padding: 16px;
  position: relative;

  transform: translateY(10px) scale(.98);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}

/* Custom scrollbar for modal */
.faqModal::-webkit-scrollbar {
  width: 8px;
}

.faqModal::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.faqModal::-webkit-scrollbar-thumb {
  background: rgba(139, 69, 19, 0.6);
  border-radius: 10px;
}

.faqModal::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 69, 19, 0.8);
}

.faqModalBack.is-open .faqModal{
  transform: translateY(0) scale(1);
  opacity: 1;
}

.faqModalClose{
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,232,210,.18);
  background: #111111;
  color: rgba(255,243,232,.86);
  cursor: pointer;
}

.faqModalHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-right:44px;
}

.faqModalQ{
  margin: 10px 0 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--ux-text);
}

.faqModalDivider{
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 12px 0;
}

.faqModalA{
  margin: 0;
  color: rgba(255,243,232,.78);
  line-height: 1.65;
  font-size: 13.8px;
}

.faqModalTip{
  margin: 0;
  opacity: .72;
  font-size: 12.8px;
  line-height: 1.6;
  color: rgba(255,227,205,.72);
}

/* Prevent background scroll when modal open */
body.faqModalLock{ overflow:hidden; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .howtoStep, .howtoBtn, .faqCard, .faqModal{ transition: none; }
}

/* =========================================================
  Utility Modal (Premium) — keep layout, recolor to brown theme
========================================================= */

.utilModalBack{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  z-index: var(--z-modal);

  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
  overflow: auto;
}
.utilModalBack.is-open{ display:grid; }

.utilModal{
  width: min(920px, 100%);
  max-height: calc(100dvh - 24px);

  border-radius: 26px;
  overflow: hidden;
  position: relative;

  display:flex;
  flex-direction:column;

  background: #0b0b0b;
  border: 1px solid rgba(255,232,210,.18);
  box-shadow: 0 30px 90px rgba(0,0,0,.60);
}

.utilModalClose{
  position: sticky;
  top: 10px;
  align-self: flex-end;
  margin: 10px 10px 0 0;

  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,232,210,.18);
  background: #111111;
  color: rgba(255,243,232,.92);
  cursor: pointer;
  z-index: 10;
}

.utilModalHero{
  flex: 0 0 auto;
  display:grid;
  grid-template-columns: 168px 1fr;
  gap: 18px;
  padding: 12px 18px 14px;

  background:
    radial-gradient(900px 300px at 18% 0%, rgba(255,184,107,.18), transparent 65%),
    radial-gradient(900px 300px at 72% 0%, rgba(46,231,255,.14), transparent 60%),
    #0b0b0b;

  border-bottom: 1px solid rgba(255,255,255,.08);
}

.utilModalArt{
  width: 168px;
  height: 168px;
  border-radius: 22px;
  border: 1px solid rgba(255,232,210,.14);
  background: #101010;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.utilModalArt img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.02);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
}

.utilModalTag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(46,231,255,.22);
  background:#111111;
  color: rgba(255,243,232,.82);
  font-size:12px;
  letter-spacing:.12em;
  text-transform: uppercase;
  width: fit-content;
}

.utilModalTitle{
  margin: 10px 0 6px;
  font-size: 28px;
  line-height: 1.12;
  color: var(--ux-text);
}

.utilModalSub{
  margin: 0;
  color: var(--ux-muted);
}

.utilModalBody{
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;

  padding: 16px 18px 18px;
  display: grid;
  gap: 12px;
}

.utilModalBody .utilBlock{
  border-radius: 18px;
  border: 1px solid rgba(255,232,210,.12);
  background: #101010;
  padding: 14px;
}

.utilModalBody .utilBlock h4{
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,243,232,.90);
}

.utilModalBody .utilBlock ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,243,232,.78);
}

.utilModalBody .utilBlock p{
  margin: 0;
  color: rgba(255,243,232,.78);
  line-height: 1.55;
}

.utilModalFoot{
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;

  padding: 14px 18px 18px;
  display:flex;
  gap:10px;
  justify-content:flex-end;

  border-top: 1px solid rgba(255,255,255,.08);
  background: #0b0b0b;
  backdrop-filter: blur(10px);
}

.utilModalCta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.utilModalGhost{ min-width: 120px; }

@media (max-width: 560px){
  .utilModalHero{ grid-template-columns: 1fr; }
  .utilModalArt{ width: 100%; height: 150px; }
  .utilModalTitle{ font-size: 22px; }
  .utilModalFoot{
    flex-direction: column;
    align-items: stretch;
  }
}

/* Utility card click nudge */
.section--utility .card{
  position: relative;
  cursor: pointer;
}

.util-cta{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(46,231,255,.18);
  background: #101010;
}

.util-cta__hint{
  color: rgba(255,243,232,.72);
  font-size: 12px;
}

.util-cta__chip{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,184,107,.22);
  background: rgba(255,184,107,.12);
  color: rgba(255,243,232,.92);
  font-size: 12px;
}

.header, 
.hero__widget, 
.hero__title,
.nav,
.card--neon {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

[data-reveal="fade-up"], 
[data-reveal="zoom-in"],
[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    filter: none !important;
}
