/* ── Variables ────────────────────────────────────────────── */
:root {
  --black:      #0A0A0A;
  --black-2:    #111111;
  --black-3:    #1A1A1A;
  --border:     #222222;
  --gold:       #C9A84C;
  --gold-light: #E8C96E;
  --gold-dark:  #A07820;
  --white:      #F5F0E8;
  --muted:      #6B6560;
  --success:    #2ECC71;
  --error:      #E74C3C;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --radius:     12px;
  --shadow:     0 4px 40px rgba(0,0,0,.6);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }
img { max-width: 100%; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 2rem;
  transition: background .3s, backdrop-filter .3s;
}
.navbar.scrolled {
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: .5rem;
  color: var(--white); font-family: var(--font-serif); font-size: 1.4rem;
}
.logo-symbol { color: var(--gold); font-size: 1.6rem; }
.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a { color: var(--muted); font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: var(--white); opacity: 1; }
.btn-nav {
  background: var(--gold); color: var(--black) !important;
  padding: .5rem 1.2rem; border-radius: 6px;
  font-weight: 600; font-size: .85rem !important;
}
.btn-nav:hover { background: var(--gold-light); opacity: 1; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: .3s;
}
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black-2); z-index: 99; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  font-size: 1.2rem;
}
.mobile-menu.open { display: flex; }
.btn-gold-mobile {
  background: var(--gold); color: var(--black);
  padding: .75rem 2rem; border-radius: 8px; font-weight: 600;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--black);
  padding: .85rem 2rem; border-radius: 8px;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 20px rgba(201,168,76,.3);
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 4px 30px rgba(201,168,76,.5); opacity: 1;
}
.btn-primary:active { transform: translateY(0); }
.btn-large { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn-arrow { transition: transform .2s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border); color: var(--white);
  padding: .85rem 2rem; border-radius: 8px;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  background: transparent; transition: border-color .2s, background .2s;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--gold); background: rgba(201,168,76,.08); opacity: 1;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .7;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(transparent, var(--black));
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 6rem 2rem 4rem;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(201,168,76,.3); background: rgba(201,168,76,.1);
  padding: .4rem 1rem; border-radius: 100px;
  font-size: .85rem; color: var(--gold-light); margin-bottom: 2rem;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: .4; }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 1.5rem; color: var(--white);
}
.gold-text {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201,168,76,.5);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted); line-height: 1.7;
  max-width: 600px; margin: 0 auto 2.5rem;
}
.hero-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.hstat { text-align: center; }
.hstat-val {
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 700; color: var(--gold);
}
.hstat-label { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
.hstat-div { width: 1px; height: 40px; background: var(--border); }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
  gap: .5rem; font-size: .75rem; color: var(--muted); letter-spacing: 2px;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 6rem 2rem; }
.section-dark { background: var(--black-2); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block;
  color: var(--gold); font-size: .8rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .75rem;
}
.section-header p { color: var(--muted); font-size: 1.1rem; }

/* ── Steps ────────────────────────────────────────────────── */
.steps-grid {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap; margin-bottom: 4rem;
}
.step-card {
  background: var(--black-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem 2rem;
  text-align: center; flex: 1; min-width: 240px; max-width: 320px;
  position: relative; transition: border-color .3s, transform .3s;
  transform-style: preserve-3d;
}
.step-card:hover {
  border-color: var(--gold); transform: translateY(-8px) rotateX(3deg);
}
.step-number {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--black);
  font-size: .7rem; font-weight: 800; letter-spacing: 2px;
  padding: .25rem .75rem; border-radius: 100px;
}
.step-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.step-card h3 { font-family: var(--font-serif); margin-bottom: .75rem; }
.step-card p { color: var(--muted); font-size: .95rem; }
.step-connector { padding: 0 1rem; color: var(--gold); font-size: 1.5rem; }

/* Chart mockup */
.chart-mockup {
  background: var(--black-2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  max-width: 700px; margin: 0 auto;
}
.chart-header {
  display: flex; justify-content: space-between; padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border); font-size: .85rem;
}
.chart-symbol { color: var(--white); font-weight: 600; }
.chart-time { color: var(--muted); }
.chart-body {
  padding: 2rem; display: flex; align-items: center; gap: 2rem;
  min-height: 200px;
}
.chart-range-label {
  writing-mode: vertical-lr; transform: rotate(180deg);
  font-size: .7rem; color: var(--muted); letter-spacing: 2px;
  text-transform: uppercase;
}
.chart-range-box {
  flex: 1; border: 1px dashed rgba(201,168,76,.4);
  border-radius: 6px; padding: 1rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.range-high, .range-low {
  font-size: .7rem; color: var(--gold); font-weight: 600;
}
.range-candles { display: flex; align-items: center; gap: 4px; padding: .5rem 0; }
.mini-candle {
  width: 10px; border-radius: 2px;
  background: var(--border); position: relative;
  animation: candleWiggle 3s ease-in-out infinite;
}
.mini-candle.c1 { height: 30px; animation-delay: 0s; }
.mini-candle.c2 { height: 20px; animation-delay: .3s; }
.mini-candle.c3 { height: 35px; animation-delay: .6s; }
.mini-candle.c4 { height: 25px; animation-delay: .9s; }
.mini-candle.c5 { height: 28px; animation-delay: 1.2s; }
@keyframes candleWiggle {
  0%,100% { opacity: .5; } 50% { opacity: 1; }
}
.chart-breakout { display: flex; align-items: center; gap: 1rem; }
.breakout-candle {
  display: flex; flex-direction: column; align-items: center;
  animation: breakoutAnim 2s ease-out infinite;
}
.bc-body {
  width: 16px; height: 60px; background: var(--success);
  border-radius: 3px;
}
.bc-wick-top {
  width: 2px; height: 20px; background: var(--success);
}
@keyframes breakoutAnim {
  0% { transform: translateY(20px); opacity: 0; }
  30% { transform: translateY(0); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(-10px); opacity: 0; }
}
.breakout-labels { display: flex; flex-direction: column; gap: .5rem; font-size: .75rem; }
.bl-tp { color: var(--success); font-weight: 700; }
.bl-entry { color: var(--gold); }
.bl-sl { color: var(--error); }

/* ── Results ──────────────────────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-bottom: 2rem;
}
.result-card {
  background: var(--black-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  text-align: center; transition: border-color .3s;
}
.result-card:hover { border-color: rgba(201,168,76,.4); }
.result-card--featured {
  background: linear-gradient(135deg, rgba(201,168,76,.15), rgba(160,120,32,.05));
  border-color: var(--gold);
}
.rc-icon { font-size: 2rem; margin-bottom: 1rem; }
.rc-val {
  font-family: var(--font-serif);
  font-size: 2.5rem; font-weight: 700; color: var(--gold);
  margin-bottom: .5rem;
}
.rc-label { font-weight: 600; margin-bottom: .5rem; }
.rc-sub { color: var(--muted); font-size: .85rem; }
.results-disclaimer { text-align: center; color: var(--muted); font-size: .8rem; }

/* ── Plans ────────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-bottom: 2rem;
}
.plan-card {
  background: var(--black-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem 2rem;
  position: relative; transition: transform .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,.4); }
.plan-card--featured {
  background: linear-gradient(160deg, #111 0%, rgba(201,168,76,.08) 100%);
  border-color: var(--gold);
  transform: scale(1.03);
}
.plan-card--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan-badge {
  display: inline-block;
  background: var(--black-3); color: var(--muted);
  font-size: .72rem; font-weight: 600; letter-spacing: 1px;
  padding: .3rem .8rem; border-radius: 100px;
  margin-bottom: 1.5rem; border: 1px solid var(--border);
}
.plan-badge--gold {
  background: rgba(201,168,76,.2); color: var(--gold);
  border-color: var(--gold);
}
.plan-name {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem;
}
.plan-price { margin-bottom: 2rem; }
.price-amount {
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 700; color: var(--gold);
}
.price-period { color: var(--muted); font-size: .9rem; }
.plan-features {
  list-style: none; display: flex; flex-direction: column;
  gap: .75rem; margin-bottom: 2rem; flex: 1;
}
.plan-features li { font-size: .9rem; color: var(--muted); }
.plan-features li:not([class]) {
  color: var(--white);
}
.plan-btn {
  display: block; text-align: center;
  padding: .85rem; border-radius: 8px;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  border: none; transition: .2s;
}
.plan-btn--gold {
  background: var(--gold); color: var(--black);
  box-shadow: 0 0 20px rgba(201,168,76,.3);
}
.plan-btn--gold:hover { background: var(--gold-light); }
.plan-btn--ghost {
  background: transparent; color: var(--white);
  border: 1px solid var(--border);
}
.plan-btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.plan-btn--disabled {
  background: var(--border); color: var(--muted); cursor: not-allowed;
}
.plans-note { text-align: center; color: var(--muted); font-size: .85rem; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-container { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--black-3); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; padding: 1.25rem 1.5rem;
  background: none; border: none; color: var(--white);
  font-size: 1rem; font-weight: 500; cursor: pointer;
  text-align: left; gap: 1rem;
}
.faq-q:hover { color: var(--gold); }
.faq-icon { font-size: 1.4rem; color: var(--gold); flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s;
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 1.5rem 1.25rem; color: var(--muted); line-height: 1.7; }

/* ── CTA section ──────────────────────────────────────────── */
.cta-section { background: var(--black-3); border-top: 1px solid var(--border); }
.cta-inner { text-align: center; }
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem;
}
.cta-inner p { color: var(--muted); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-contact { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }

/* ── Modal ────────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.8); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--black-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem;
  max-width: 440px; width: 90%; position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--muted);
  font-size: 1.2rem; cursor: pointer;
}
.modal h3 {
  font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: .75rem;
}
.modal p { color: var(--muted); margin-bottom: 1.5rem; }
.modal-input {
  width: 100%; padding: .85rem 1rem; background: var(--black);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--white); font-size: 1rem; outline: none;
}
.modal-input:focus { border-color: var(--gold); }
.modal-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: .75rem; }

/* ── Messages ─────────────────────────────────────────────── */
.messages-container {
  position: fixed; top: 5rem; right: 1rem; z-index: 150;
  display: flex; flex-direction: column; gap: .5rem;
}
.msg {
  padding: .85rem 1.5rem; border-radius: 8px;
  font-size: .9rem; font-weight: 500; animation: slideIn .3s ease;
  max-width: 360px;
}
.msg-success { background: rgba(46,204,113,.15); border: 1px solid var(--success); color: var(--success); }
.msg-error   { background: rgba(231,76,60,.15);  border: 1px solid var(--error);   color: var(--error); }
.msg-info    { background: rgba(201,168,76,.15); border: 1px solid var(--gold);    color: var(--gold); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ── Auth pages ───────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 6rem 1rem 2rem;
}
.auth-card {
  background: var(--black-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem;
  width: 100%; max-width: 440px;
}
.auth-card--center { text-align: center; }
.auth-logo {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1.5rem; font-family: var(--font-serif); font-size: 1.3rem;
}
.auth-card h2 {
  font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: .5rem;
}
.auth-sub { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 500; color: var(--muted); }
.form-group input {
  padding: .85rem 1rem; background: var(--black);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--white); font-size: 1rem; outline: none;
  transition: border-color .2s;
}
.form-group input:focus { border-color: var(--gold); }
.has-error input { border-color: var(--error); }
.form-error { color: var(--error); font-size: .8rem; }
.form-error-global {
  background: rgba(231,76,60,.1); border: 1px solid var(--error);
  border-radius: 8px; padding: .75rem; color: var(--error); font-size: .85rem;
}
.auth-footer { text-align: center; margin-top: 1.5rem; color: var(--muted); font-size: .85rem; }
.email-highlight {
  font-family: var(--font-serif); font-size: 1.2rem;
  color: var(--gold); margin: .5rem 0 1rem;
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; }

/* ── Dashboard ────────────────────────────────────────────── */
.dashboard {
  display: flex; min-height: 100vh; padding-top: 0;
}
.dash-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--black-2); border-right: 1px solid var(--border);
  padding: 2rem 1.5rem; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.dash-logo {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-serif); font-size: 1.3rem;
  margin-bottom: 2.5rem;
}
.dash-nav { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.dash-link {
  padding: .75rem 1rem; border-radius: 8px;
  color: var(--muted); font-size: .9rem; font-weight: 500;
  transition: background .2s, color .2s; display: block;
}
.dash-link:hover, .dash-link.active {
  background: var(--black-3); color: var(--white); opacity: 1;
}
.dash-link--logout { margin-top: auto; color: var(--muted); }
.dash-link--logout:hover { color: var(--error); background: rgba(231,76,60,.08); }

.dash-main {
  flex: 1; padding: 3rem; overflow-y: auto;
}
.dash-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 2.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.dash-header h1 { font-family: var(--font-serif); font-size: 1.8rem; }
.dash-header p { color: var(--muted); font-size: .9rem; }

/* License card */
.license-card {
  background: var(--black-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; margin-bottom: 2rem;
}
.license-card--trial { border-color: rgba(201,168,76,.3); }
.license-card--pro   { border-color: var(--gold); }
.lc-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.lc-badge {
  display: inline-block; font-size: .8rem; font-weight: 600;
  color: var(--gold); background: rgba(201,168,76,.1);
  padding: .3rem .75rem; border-radius: 100px; border: 1px solid rgba(201,168,76,.3);
}
.lc-status {
  display: inline-block; font-size: .75rem; font-weight: 600;
  padding: .25rem .6rem; border-radius: 100px; margin-left: .5rem;
}
.lc-status--active  { background: rgba(46,204,113,.15); color: var(--success); }
.lc-status--pending { background: rgba(201,168,76,.15); color: var(--gold); }
.lc-status--expired { background: rgba(231,76,60,.15);  color: var(--error); }
.lc-days {
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold);
}
.lc-days--critical { color: var(--error); animation: pulse 2s infinite; }
.lc-key-section { margin-bottom: 1.5rem; }
.lc-key-section label { font-size: .8rem; color: var(--muted); display: block; margin-bottom: .5rem; }
.lc-key-box {
  display: flex; align-items: center; gap: .75rem;
  background: var(--black); border: 1px solid var(--border);
  border-radius: 8px; padding: 1rem 1.25rem;
}
.lc-key-box code {
  flex: 1; font-size: 1rem; letter-spacing: 2px; color: var(--gold);
  font-family: 'Courier New', monospace;
}
.lc-copy-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted); transition: color .2s;
}
.lc-copy-btn:hover { color: var(--gold); }
.lc-note { font-size: .8rem; color: var(--muted); margin-top: .75rem; }
.lc-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Quick guide */
.quick-guide {
  background: var(--black-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; margin-bottom: 2rem;
}
.quick-guide h3 { font-family: var(--font-serif); margin-bottom: 1.5rem; }
.qg-steps { display: flex; flex-direction: column; gap: 1.25rem; }
.qg-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.qg-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.qg-step strong { display: block; margin-bottom: .25rem; }
.qg-step p { color: var(--muted); font-size: .9rem; }

/* No license */
.no-license {
  text-align: center; padding: 4rem 2rem;
}
.nl-icon { font-size: 3rem; margin-bottom: 1rem; }
.no-license h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: .75rem; }
.no-license p { color: var(--muted); margin-bottom: 1.5rem; }

/* History table */
.license-history { margin-top: 2rem; }
.license-history h3 { font-family: var(--font-serif); margin-bottom: 1rem; }
.history-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.history-table th {
  text-align: left; padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted); font-weight: 500; font-size: .8rem; text-transform: uppercase;
}
.history-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); }
.history-table code { color: var(--gold); font-size: .85rem; }
.status-badge { font-size: .75rem; padding: .2rem .6rem; border-radius: 100px; }
.status-active  { background: rgba(46,204,113,.15); color: var(--success); }
.status-pending { background: rgba(201,168,76,.15); color: var(--gold); }
.status-expired { background: rgba(231,76,60,.15);  color: var(--error); }
.status-revoked { background: rgba(107,101,96,.15); color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--black-2); border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { color: var(--muted); font-size: .9rem; margin-top: .75rem; }
.footer-links, .footer-contact {
  display: flex; flex-direction: column; gap: .75rem;
}
.footer-links a, .footer-contact a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); opacity: 1; }
.footer-contact p { color: var(--white); font-weight: 600; font-size: .85rem; margin-bottom: .25rem; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .5rem;
}
.footer-bottom p { color: var(--muted); font-size: .8rem; }
.footer-disclaimer { font-size: .75rem !important; opacity: .6; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); padding: .5rem 0; }
  .hero-cta { flex-direction: column; }
  .dashboard { flex-direction: column; }
  .dash-sidebar {
    width: 100%; height: auto; position: relative;
    flex-direction: row; flex-wrap: wrap; padding: 1rem;
    align-items: center;
  }
  .dash-logo { margin-bottom: 0; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; gap: .25rem; }
  .dash-link { padding: .5rem .75rem; font-size: .8rem; }
  .dash-main { padding: 1.5rem 1rem; }
  .lc-header { flex-direction: column; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card--featured { transform: none; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 1rem; }
  .hstat-div { display: none; }
  .chart-body { flex-direction: column; }
}
