:root {
  --bg: #080713;
  --panel: rgba(18, 15, 34, 0.92);
  --panel-soft: rgba(21, 18, 41, 0.78);
  --line: rgba(255,255,255,0.11);
  --text: #f7f5ff;
  --muted: #aaa5bd;
  --purple: #8d4dff;
  --purple-2: #b873ff;
  --gold: #f2c96f;
  --gold-2: #ffe4a7;
  --green: #49d28d;
  --red: #ff6f7f;
  --yellow: #ffc94a;
  --shadow: 0 28px 80px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "DM Sans", sans-serif;
}
button, input, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.hidden { display: none !important; }

.nr-shell { min-height: 100vh; position: relative; overflow: hidden; }
.nr-background {
  position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .16; filter: saturate(.75) contrast(1.08);
  pointer-events: none;
}
.nr-overlay {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 82% 10%, rgba(141,77,255,.22), transparent 34%),
    radial-gradient(circle at 10% 40%, rgba(242,201,111,.10), transparent 28%),
    linear-gradient(180deg, rgba(8,7,19,.82), #080713 62%, #080713);
}

.topbar {
  position: relative; z-index: 2; max-width: 1240px; margin: 0 auto;
  padding: 24px 28px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand img { width: 170px; display: block; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.secure-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px;
  border: 1px solid rgba(73,210,141,.24); border-radius: 999px;
  background: rgba(73,210,141,.07); color: #a7efc9; font-size: 11px; font-weight: 800; letter-spacing: .08em;
}
.secure-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.ghost-button {
  color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; cursor: pointer; font-weight: 700;
}
.ghost-button:hover { color: #fff; border-color: rgba(255,255,255,.24); }

.main-content { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 72px 28px 56px; }
.hero { text-align: center; max-width: 820px; margin: 0 auto 42px; }
.eyebrow, .micro-label { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; }
.eyebrow span { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero h1 { font-family: "Bebas Neue", sans-serif; font-size: clamp(48px, 7vw, 84px); line-height: .92; margin: 18px 0; letter-spacing: .02em; }
.hero h1 em { color: var(--gold); font-style: normal; text-shadow: 0 0 34px rgba(242,201,111,.2); }
.hero > p { color: #c4bfd2; max-width: 680px; margin: 0 auto; font-size: 17px; line-height: 1.7; }
.benefit-chips { margin-top: 24px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.benefit-chips span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); color: #d7d3e4; font-size: 12px; font-weight: 700; }

.verification-card {
  position: relative; overflow: hidden; max-width: 760px; margin: 0 auto 72px;
  padding: 34px; border: 1px solid rgba(184,115,255,.28); border-radius: 28px;
  background: linear-gradient(160deg, rgba(24,20,48,.96), rgba(13,11,27,.96)); box-shadow: var(--shadow);
}
.card-glow { position: absolute; right: -100px; top: -130px; width: 330px; height: 330px; border-radius: 50%; background: rgba(141,77,255,.18); filter: blur(34px); pointer-events: none; }
.verification-heading { position: relative; display: flex; align-items: center; gap: 16px; }
.verification-heading h2 { margin: 5px 0 0; font-size: 25px; }
.verification-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg, #9f63ff, #6d32da); font-size: 32px; box-shadow: 0 13px 32px rgba(141,77,255,.32); }
.account-row { position: relative; margin: 26px 0 18px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.account-row div { min-width: 0; }
.account-row span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.account-row strong { display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }

.exness-email-editor { position: relative; margin: -4px 0 20px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(184,115,255,.22); background: rgba(141,77,255,.065); }
.exness-email-editor label { display: block; margin-bottom: 9px; color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.email-input-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.email-input-row input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; color: #fff; background: rgba(8,7,19,.55); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.email-input-row input::placeholder { color: #716b80; }
.email-input-row input:focus { border-color: rgba(184,115,255,.72); box-shadow: 0 0 0 3px rgba(141,77,255,.12); }
.email-input-row input:disabled { opacity: .62; cursor: wait; }
.exness-email-editor small { display: block; margin-top: 10px; color: #9d97ad; font-size: 12px; line-height: 1.5; }
.status-badge { flex: 0 0 auto; padding: 8px 11px; border-radius: 999px; font-size: 10px !important; }
.status-badge.checking { color: #d6c7ff; border: 1px solid rgba(184,115,255,.28); background: rgba(141,77,255,.12); }
.status-badge.pending { color: #ffe3a0; border: 1px solid rgba(255,201,74,.28); background: rgba(255,201,74,.10); }
.status-badge.verified { color: #a9f2cb; border: 1px solid rgba(73,210,141,.3); background: rgba(73,210,141,.11); }
.status-badge.error { color: #ffb5bd; border: 1px solid rgba(255,111,127,.3); background: rgba(255,111,127,.10); }
.status-message { position: relative; color: #c0bbcf; line-height: 1.65; }
.action-stack { position: relative; display: grid; gap: 11px; margin-top: 24px; }
.primary-button, .secondary-button, .outline-button {
  min-height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 12px;
  text-decoration: none; font-weight: 900; letter-spacing: .035em; cursor: pointer; transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}
.primary-button { padding: 0 20px; border: 0; color: #fff; background: linear-gradient(100deg, #7b37ea, #a45fff); box-shadow: 0 15px 30px rgba(141,77,255,.24); }
.primary-button b { font-size: 20px; }
.primary-button:hover:not(:disabled), .secondary-button:hover, .outline-button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.primary-button:disabled { cursor: wait; opacity: .54; }
.verified-action { background: linear-gradient(100deg, #199c62, #4bd494); box-shadow: 0 15px 30px rgba(73,210,141,.2); }
.secondary-button { padding: 0 18px; border: 1px solid rgba(184,115,255,.30); color: #e5d8ff; background: rgba(141,77,255,.09); }
.inline-alert { margin-top: 16px; padding: 14px 16px; border: 1px solid rgba(255,111,127,.27); border-radius: 12px; background: rgba(255,111,127,.08); color: #ffc1c7; font-size: 13px; line-height: 1.55; }
.inline-alert[data-type="success"] { border-color: rgba(73,210,141,.28); background: rgba(73,210,141,.09); color: #b3f2d1; }

.instructions-section { margin-bottom: 40px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.section-heading h2, .alternative-card h2 { margin: 5px 0 0; font-size: 31px; }
.time-pill { color: var(--gold-2); padding: 9px 12px; border: 1px solid rgba(242,201,111,.25); border-radius: 999px; background: rgba(242,201,111,.08); font-size: 10px; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.steps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.step-card { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(25,21,47,.86), rgba(14,12,28,.84)); overflow: hidden; }
.step-number { position: absolute; right: 20px; top: 12px; font-family: "Bebas Neue"; color: rgba(255,255,255,.06); font-size: 68px; line-height: 1; }
.step-copy { position: relative; min-height: 150px; padding-right: 28px; }
.step-copy h3 { margin: 0 0 9px; font-size: 19px; }
.step-copy p { color: var(--muted); margin: 0; line-height: 1.55; font-size: 14px; }
.step-copy a { display: inline-block; margin-top: 12px; color: var(--gold); font-weight: 800; text-decoration: none; font-size: 13px; }
.step-image { height: 150px; margin-top: 18px; border-radius: 14px; overflow: hidden; background: #0a0914; border: 1px dashed rgba(255,255,255,.14); }
.step-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.step-image.placeholder { display: grid; place-items: center; color: #676177; font-size: 12px; letter-spacing: .06em; }
.copy-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; padding: 12px; border-radius: 11px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.copy-box span { color: #ece9f4; font-size: 13px; }
.copy-button { flex: 0 0 auto; color: var(--gold); background: transparent; border: 0; font-size: 10px; font-weight: 900; cursor: pointer; }
.referral-box span { font-family: monospace; letter-spacing: .08em; }
.change-requested-box { margin-top: 16px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 18px; border: 1px solid rgba(242,201,111,.20); background: rgba(242,201,111,.055); }
.change-requested-box span { display: block; color: var(--gold); font-size: 10px; letter-spacing: .12em; font-weight: 900; }
.change-requested-box strong { display: block; margin-top: 5px; font-size: 14px; }
.change-requested-box .secondary-button { min-width: 225px; min-height: 46px; }

.alternative-card, .why-card { margin-top: 16px; border: 1px solid var(--line); border-radius: 22px; background: rgba(19,16,36,.86); }
.alternative-card { padding: 26px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.alternative-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: #201603; font-weight: 900; background: linear-gradient(145deg, #f5d881, #c99d36); }
.alternative-copy p:last-child { color: var(--muted); line-height: 1.58; margin-bottom: 0; }
.outline-button { min-width: 250px; padding: 0 18px; border: 1px solid rgba(242,201,111,.34); color: var(--gold-2); background: rgba(242,201,111,.06); font-size: 12px; }
.why-card { padding: 26px; }
.why-title { display: flex; align-items: center; gap: 14px; }
.why-title > span { color: var(--purple-2); font-size: 38px; }
.why-title small { display: block; color: var(--purple-2); font-size: 10px; letter-spacing: .13em; font-weight: 900; }
.why-title strong { display: block; margin-top: 4px; font-size: 19px; }
.why-card > p { color: var(--muted); line-height: 1.7; margin: 16px 0 0; }

.footer { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #7d778a; }
.footer span { font-weight: 800; font-size: 11px; letter-spacing: .08em; }
.footer small { text-align: right; }

.loading-screen { position: fixed; z-index: 20; inset: 0; display: grid; place-content: center; justify-items: center; gap: 17px; background: #080713; transition: opacity .25s ease, visibility .25s ease; }
.loading-screen.done { opacity: 0; visibility: hidden; }
.loading-logo { font-size: 70px; color: var(--purple-2); text-shadow: 0 0 28px rgba(141,77,255,.5); }
.loading-bar { width: 210px; height: 3px; background: rgba(255,255,255,.08); overflow: hidden; border-radius: 99px; }
.loading-bar span { display: block; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, var(--purple-2), transparent); animation: load 1.05s linear infinite; }
.loading-screen p { color: var(--muted); font-size: 12px; }
@keyframes load { from { transform: translateX(-130%); } to { transform: translateX(260%); } }

@media (max-width: 820px) {
  .topbar { padding: 18px; }
  .brand img { width: 140px; }
  .secure-pill { display: none; }
  .main-content { padding: 50px 18px 38px; }
  .hero { margin-bottom: 30px; }
  .hero h1 { font-size: 54px; }
  .hero > p { font-size: 15px; }
  .verification-card { padding: 24px 18px; border-radius: 22px; margin-bottom: 55px; }
  .account-row { align-items: flex-start; flex-direction: column; }
  .email-input-row { grid-template-columns: 1fr; }
  .email-save-button { width: 100%; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-copy { min-height: auto; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .change-requested-box { align-items: stretch; flex-direction: column; }
  .change-requested-box .secondary-button { min-width: 0; width: 100%; }
  .alternative-card { grid-template-columns: auto 1fr; }
  .alternative-card .outline-button { grid-column: 1 / -1; width: 100%; min-width: 0; }
  .footer { flex-direction: column; }
  .footer small { text-align: left; }
}

@media (max-width: 480px) {
  .topbar-actions .ghost-button { padding: 9px 10px; font-size: 12px; }
  .hero h1 { font-size: 47px; }
  .benefit-chips span { width: 100%; }
  .verification-heading { align-items: flex-start; }
  .verification-heading h2 { font-size: 21px; }
  .step-card { padding: 20px; }
  .copy-box { align-items: flex-start; flex-direction: column; }
  .alternative-card { grid-template-columns: 1fr; }
}
