:root {
  --bg: #06080d;
  --bg-soft: #0a0e16;
  --panel: rgba(15, 20, 30, 0.94);
  --panel-2: rgba(20, 27, 40, 0.94);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(215, 176, 89, 0.42);
  --text: #f6f8fb;
  --muted: #95a0b1;
  --gold: #d7b059;
  --gold-bright: #f3d98c;
  --blue: #84d6ff;
  --blue-dark: #4eaed9;
  --green: #5de29a;
  --red: #ff7b84;
  --yellow: #ffd166;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 18% 10%, #101a2a 0, transparent 34%), var(--bg);
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.background-grid {
  position: fixed;
  inset: 0;
  z-index: -4;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.8) 60%, transparent 100%);
}
.glow { position: fixed; z-index: -3; border-radius: 999px; filter: blur(90px); opacity: .22; }
.glow-one { width: 420px; height: 420px; background: #9c7625; top: -160px; right: -100px; }
.glow-two { width: 360px; height: 360px; background: #208cc4; left: -190px; bottom: -160px; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand { display: inline-flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  color: #0a0c10; background: linear-gradient(145deg, var(--gold-bright), var(--gold));
  border-radius: 11px; font-weight: 900; box-shadow: 0 8px 24px rgba(215,176,89,.22);
}
.brand strong, .brand small { display: block; letter-spacing: .16em; }
.brand strong { font-size: 14px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 9px; }

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 48px auto 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
  gap: 54px;
  align-items: center;
}
.hero-panel { padding: 28px 8px 28px 0; }
.eyebrow, .panel-kicker {
  color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .18em;
}
h1 { margin: 16px 0 18px; max-width: 680px; font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -.045em; }
.hero-copy { max-width: 650px; margin: 0; color: #b8c1cf; font-size: 18px; line-height: 1.7; }
.price-card {
  margin: 30px 0 24px; max-width: 520px; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid var(--border-strong); border-radius: 16px;
  background: linear-gradient(120deg, rgba(215,176,89,.12), rgba(255,255,255,.025));
}
.price { font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
.price-period { color: var(--muted); }
.price-badge { padding: 8px 11px; color: var(--gold-bright); background: rgba(215,176,89,.1); border: 1px solid rgba(215,176,89,.25); border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.benefit-list { display: grid; gap: 14px; margin-top: 25px; }
.benefit { display: flex; gap: 12px; align-items: flex-start; color: #d7dce5; line-height: 1.5; }
.check { flex: 0 0 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; color: #07130d; background: var(--green); font-weight: 900; font-size: 13px; }
.trust-note { display: flex; gap: 10px; max-width: 600px; margin-top: 28px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.trust-icon { color: var(--blue); }

.account-panel {
  position: relative; overflow: hidden; min-height: 620px; padding: 32px;
  background: linear-gradient(180deg, rgba(20,27,40,.96), rgba(10,14,22,.96));
  border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow);
}
.account-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), var(--blue), transparent); opacity: .8; }
.panel-heading h2, .dashboard-topline h2 { margin: 8px 0 8px; font-size: 30px; letter-spacing: -.035em; }
.panel-heading p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.tab-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 24px; border: 1px solid var(--border); border-radius: 12px; background: rgba(0,0,0,.24); }
.tab { padding: 11px 8px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.tab.active { color: #111; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); }
.field-label { display: block; margin: 16px 0 8px; color: #dce1e9; font-size: 12px; font-weight: 700; }
.field {
  width: 100%; min-height: 48px; padding: 12px 14px; color: var(--text);
  background: rgba(4,7,12,.72); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field:focus { border-color: var(--blue-dark); box-shadow: 0 0 0 3px rgba(132,214,255,.12); }
.password-wrap { position: relative; }
.password-wrap .field { padding-right: 68px; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 7px 8px; border: 0; color: var(--blue); background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; }
.check-row { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.check-row input { margin-top: 2px; accent-color: var(--gold); }

.button { min-height: 46px; padding: 12px 17px; border: 1px solid transparent; border-radius: 10px; font-size: 11px; font-weight: 800; letter-spacing: .075em; cursor: pointer; transition: transform .16s ease, filter .16s ease, border-color .16s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); }
.button:disabled { cursor: not-allowed; opacity: .58; }
.button-full { width: 100%; margin-top: 14px; }
.button-small { min-height: 36px; padding: 9px 13px; }
.button-primary { color: #111; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); box-shadow: 0 10px 30px rgba(215,176,89,.15); }
.button-secondary { color: var(--text); background: rgba(255,255,255,.065); border-color: rgba(255,255,255,.13); }
.button-blue { color: #071119; background: linear-gradient(135deg, #b5e9ff, var(--blue)); }
.button-ghost { color: #dbe2eb; background: transparent; border-color: rgba(255,255,255,.15); }
.text-button { display: block; margin: 14px auto 0; padding: 4px; border: 0; color: var(--blue); background: transparent; font-size: 12px; font-weight: 700; cursor: pointer; }

.notice { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.notice-info { color: #cceeff; background: rgba(56,157,206,.13); border: 1px solid rgba(132,214,255,.25); }
.notice-success { color: #c8ffe0; background: rgba(52,190,118,.13); border: 1px solid rgba(93,226,154,.25); }
.notice-error { color: #ffd1d4; background: rgba(224,73,84,.13); border: 1px solid rgba(255,123,132,.28); }

.dashboard-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.dashboard-topline .text-button { margin: 5px 0 0; }
.account-email { margin: 4px 0 20px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.status-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: rgba(0,0,0,.22); }
.status-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.status-value { margin-top: 6px; font-size: 21px; font-weight: 800; }
.status-detail { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.status-pill { flex: 0 0 auto; padding: 8px 10px; border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.status-good { color: #09160f; background: var(--green); }
.status-warning { color: #201600; background: var(--yellow); }
.status-bad { color: #25080b; background: var(--red); }
.status-neutral { color: #e8edf4; background: rgba(255,255,255,.12); }
.download-note { margin-top: 14px; padding: 13px; color: #cceeff; border: 1px solid rgba(132,214,255,.20); border-radius: 10px; background: rgba(132,214,255,.075); font-size: 11px; line-height: 1.55; }
.next-steps { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.next-steps h3 { margin: 0 0 10px; font-size: 14px; }
.next-steps ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.support-row { position: absolute; left: 32px; right: 32px; bottom: 22px; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--muted); font-size: 11px; }
.support-row .text-button { display: inline; margin: 0; }

.site-footer { width: min(1180px, calc(100% - 40px)); margin: 34px auto 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); display: flex; justify-content: space-between; gap: 24px; color: #6f7887; font-size: 10px; line-height: 1.6; }
.site-footer p { margin: 0; max-width: 760px; }
.hidden { display: none !important; }
.busy { pointer-events: none; opacity: .72; }

@media (max-width: 900px) {
  .page-shell { grid-template-columns: 1fr; margin-top: 28px; gap: 28px; }
  .hero-panel { padding-right: 0; }
  h1 { font-size: clamp(40px, 12vw, 62px); }
  .account-panel { min-height: 640px; }
}
@media (max-width: 560px) {
  .site-header, .page-shell, .site-footer { width: min(100% - 24px, 1180px); }
  .site-header { height: 72px; }
  .brand strong { font-size: 12px; }
  .brand-mark { width: 36px; height: 36px; }
  .site-header .button { font-size: 9px; padding: 8px 10px; }
  .page-shell { margin-top: 22px; }
  .hero-panel { padding-top: 8px; }
  .hero-copy { font-size: 16px; }
  .price-card { align-items: flex-start; flex-direction: column; }
  .account-panel { min-height: 670px; padding: 24px 20px; border-radius: 16px; }
  .support-row { left: 20px; right: 20px; }
  .status-card { align-items: flex-start; flex-direction: column; }
  .site-footer { flex-direction: column; }
}
