*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:     #09090B;
  --off:       #101013;
  --surface:   #18181B;
  --surface2:  #1E1E22;
  --border:    #27272A;
  --border2:   #3F3F46;
  --dim:       #71717A;
  --text:      #D4D4D8;
  --white:     #FAFAFA;
  --lift:      #7C6FFF;
  --lift-light:#A89EFF;
  --lift-dim:  #2D2860;
  --lift-glow: rgba(124,111,255,0.12);
  --green:     #22C55E;
  --red:       #EF4444;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--black);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 60px;
  background: rgba(9,9,11,0.90);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--white); letter-spacing: -0.3px;
  text-decoration: none;
}
.nav-logo span { color: var(--lift-light); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--dim); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--lift); color: #fff; border: none;
  padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.nav-cta:hover { background: #6B5FE8; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
}
.hero-glow {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse at top, rgba(124,111,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 13px;
  font-size: 12px; color: var(--dim);
  margin-bottom: 28px; letter-spacing: 0.02em;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
}
.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 680px;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--lift-light); }
.hero p {
  font-size: 16px; color: var(--dim);
  max-width: 480px; margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: var(--lift); color: #fff; border: none;
  padding: 12px 24px; border-radius: 9px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.btn-primary:hover { background: #6B5FE8; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 24px; border-radius: 9px;
  font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.15s;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--border2); color: var(--white); }

/* ── SECTION WRAPPER ── */
.section { padding: 80px 24px; max-width: 1000px; margin: 0 auto; }
.section-center { text-align: center; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--lift-light);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700; color: var(--white);
  margin-bottom: 10px; letter-spacing: -0.4px;
}
.section-sub {
  font-size: 15px; color: var(--dim);
  max-width: 500px; margin: 0 auto 48px;
  line-height: 1.7;
}
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── DEMO ── */
.demo-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  max-width: 700px; margin: 0 auto;
}
.demo-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: var(--off);
  border-bottom: 1px solid var(--border);
}
.demo-bar .d { width: 10px; height: 10px; border-radius: 50%; }
.demo-bar-url {
  flex: 1; margin-left: 10px;
  background: var(--surface); border-radius: 5px;
  padding: 4px 10px; font-size: 11px; color: var(--dim);
}
.demo-body { padding: 20px; }
.demo-section-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 8px;
}
.demo-raw {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
  font-size: 14px; color: var(--text); line-height: 1.6;
  min-height: 52px; margin-bottom: 12px;
}
.demo-arrow {
  text-align: center; font-size: 18px;
  color: var(--lift); margin-bottom: 12px;
}
.demo-enhanced {
  background: rgba(124,111,255,0.08);
  border: 1px solid var(--lift-dim);
  border-radius: 8px; padding: 12px 14px;
  font-size: 14px; color: var(--white); line-height: 1.65;
  min-height: 52px; position: relative; margin-bottom: 14px;
}
.demo-tag {
  position: absolute; top: 10px; right: 10px;
  background: var(--lift); color: #fff;
  font-size: 10px; font-weight: 600;
  padding: 2px 8px; border-radius: 20px;
  letter-spacing: 0.03em;
}
.demo-btns { display: flex; gap: 8px; }
.demo-use {
  background: var(--lift); color: #fff; border: none;
  padding: 8px 18px; border-radius: 7px;
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.demo-skip {
  background: transparent; color: var(--dim);
  border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 7px;
  font-size: 13px; cursor: pointer;
}

/* ── STATS ── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}
.stats-inner {
  max-width: 800px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px; font-weight: 700; color: var(--lift-light);
}
.stat-label { font-size: 13px; color: var(--dim); margin-top: 4px; }

/* ── HOW ── */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.step {
  background: var(--surface); padding: 28px 24px;
}
.step-icon {
  width: 36px; height: 36px;
  background: var(--lift-glow); border: 1px solid var(--lift-dim);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin-bottom: 16px;
}
.step-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--dim); line-height: 1.65; }

/* ── PRICING ── */
.billing-toggle-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 32px;
}
.billing-toggle-wrap span { font-size: 14px; color: var(--dim); font-weight: 500; transition: color 0.2s; }
.billing-toggle-wrap span.active { color: var(--white); }
.bt-switch { position: relative; width: 44px; height: 24px; }
.bt-switch input { opacity: 0; width: 0; height: 0; }
.bt-slider {
  position: absolute; inset: 0;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 100px; cursor: pointer; transition: all 0.2s;
}
.bt-slider::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--dim); top: 2px; left: 2px;
  transition: all 0.2s;
}
.bt-switch input:checked + .bt-slider { background: var(--lift); border-color: var(--lift); }
.bt-switch input:checked + .bt-slider::before { transform: translateX(20px); background: #fff; }
.save-pill {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  background: var(--lift-glow); border: 1px solid var(--lift-dim);
  color: var(--lift-light); padding: 4px 10px; border-radius: 20px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px; max-width: 960px; margin: 0 auto;
}
@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 26px 22px;
  display: flex; flex-direction: column;
}
.plan.featured {
  border-color: var(--lift);
  background: linear-gradient(160deg, var(--surface) 60%, #1a1840);
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(124,111,255,0.12);
}
.plan.tier-team {
  border-color: #2a2a5e;
  background: linear-gradient(160deg, var(--surface) 60%, #16163a);
}
.plan-tag {
  display: inline-block;
  background: var(--lift); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 14px; letter-spacing: 0.05em;
}
.plan-tag.best {
  background: linear-gradient(135deg, #7C6FFF, #A89EFF);
}
.plan-device-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: var(--dim);
  background: var(--off); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 12px; margin-bottom: 14px;
}
.plan-device-badge svg { width: 13px; height: 13px; }
.plan-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--white);
}
.plan-price {
  font-size: 34px; font-weight: 700; color: var(--white);
  margin: 14px 0 4px; line-height: 1;
}
.plan-price sup { font-size: 16px; vertical-align: super; color: var(--dim); }
.plan-price span { font-size: 13px; color: var(--dim); font-weight: 400; }
.plan-tagline { font-size: 12px; color: var(--dim); margin-bottom: 20px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; flex-grow: 1; }
.plan-features li { font-size: 12.5px; color: var(--text); display: flex; gap: 8px; align-items: flex-start; }
.plan-features li .ck { color: var(--lift-light); font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.plan-features li.off .ck { color: var(--border2); }
.plan-features li.off { color: var(--dim); }
.plan-btn {
  width: 100%; padding: 11px; border-radius: 9px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--border); background: transparent;
  color: var(--text); transition: all 0.15s;
  text-decoration: none; text-align: center; display: block;
}
.plan-btn:hover { border-color: var(--lift); color: var(--lift); }
.plan-btn.solid {
  background: var(--lift); border-color: var(--lift); color: #fff;
}
.plan-btn.solid:hover { background: #6B5FE8; }
.plan-btn.outline-lift {
  border-color: var(--lift-dim); color: var(--lift-light);
}
.plan-btn.outline-lift:hover { background: var(--lift-glow); border-color: var(--lift); color: #fff; }

/* ── MODAL ── */
.overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  padding: 24px;
}
.overlay.open {
  display: flex; align-items: center; justify-content: center;
}
.modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 36px; width: 100%; max-width: 400px;
  position: relative;
}
.modal-x {
  position: absolute; top: 14px; right: 14px;
  background: var(--surface2); border: none;
  color: var(--dim); width: 28px; height: 28px;
  border-radius: 50%; cursor: pointer; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.modal h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 5px;
}
.modal .modal-sub { font-size: 13px; color: var(--dim); margin-bottom: 24px; }
.tabs {
  display: flex; gap: 3px; background: var(--off);
  border-radius: 9px; padding: 3px; margin-bottom: 22px;
}
.tab {
  flex: 1; padding: 7px; border-radius: 7px; border: none;
  background: transparent; color: var(--dim);
  font-size: 13px; font-weight: 500; cursor: pointer;
}
.tab.on { background: var(--lift); color: #fff; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--dim); margin-bottom: 5px; font-weight: 500; }
.field input {
  width: 100%; background: var(--off); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 13px; font-size: 14px; color: var(--white);
  outline: none; transition: border-color 0.15s; font-family: inherit;
}
.field input:focus { border-color: var(--lift); }
.field input::placeholder { color: var(--border2); }
.submit-btn {
  width: 100%; background: var(--lift); color: #fff; border: none;
  padding: 12px; border-radius: 9px; font-size: 14px; font-weight: 600;
  cursor: pointer; margin-top: 6px; transition: background 0.15s;
  font-family: inherit;
}
.submit-btn:hover { background: #6B5FE8; }

/* ── PAYMENT MODAL ── */
.pay-summary {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 16px;
}
.pay-row { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; }
.pay-row span:first-child { color: var(--dim); }
.pay-row span:last-child { color: var(--white); font-weight: 500; }

/* ── DASHBOARD ── */
.dash { display: none; min-height: 100vh; padding: 80px 24px 60px; max-width: 860px; margin: 0 auto; }
.dash.on { display: block; }
.dash-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.dash-top h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 700; color: var(--white); }
.dash-top p { font-size: 13px; color: var(--dim); margin-top: 3px; }
.dash-logout { background: transparent; color: var(--dim); border: 1px solid var(--border); padding: 7px 14px; border-radius: 7px; font-size: 13px; cursor: pointer; }
.dash-logout:hover { border-color: var(--red); color: var(--red); }
.dash-plan {
  background: linear-gradient(135deg, var(--surface), #1a1840);
  border: 1px solid var(--lift-dim); border-radius: 13px;
  padding: 20px 22px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 14px;
  margin-bottom: 20px;
}
.dash-plan h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; color: var(--white); font-weight: 600; }
.dash-plan p { font-size: 12px; color: var(--dim); margin-top: 3px; }
.dash-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 20px; }
.dash-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.dc-label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.dc-val { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 700; color: var(--white); }
.dc-sub { font-size: 12px; color: var(--dim); margin-top: 4px; }
.prog-wrap { background: var(--off); border-radius: 100px; height: 5px; margin-top: 10px; overflow: hidden; }
.prog { height: 100%; background: var(--lift); border-radius: 100px; transition: width 0.4s; }
.dash-history { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-top: 16px; }
.dh-label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.dash-install {
  background: linear-gradient(135deg, var(--surface), #1a1840);
  border: 1px solid var(--lift-dim); border-radius: 12px;
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px;
}
.dash-devices {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
  margin-top: 16px;
}
.device-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; background: var(--surface2); border-radius: 8px; margin-bottom: 8px;
  border: 1px solid var(--border);
}
.device-item .dev-info { font-size: 12px; color: #e8e8e8; }
.device-item .dev-sub { font-size: 10px; color: var(--dim); margin-top: 2px; }
.device-item .dev-remove {
  background: transparent; border: 1px solid #E74C3C33; color: #E74C3C;
  padding: 4px 10px; border-radius: 6px; font-size: 10px; cursor: pointer; font-weight: 600;
}
.device-item .dev-remove:hover { background: #E74C3C22; }

/* ── SETTINGS PAGE ── */
.dash-settings { display: none; }
.dash-settings.on { display: block; }
.settings-btn {
  background: var(--surface2); border: 1px solid var(--border); color: var(--dim);
  padding: 6px 14px; border-radius: 8px; font-size: 12px; cursor: pointer; font-weight: 500;
  display: flex; align-items: center; gap: 5px; transition: all 0.2s;
}
.settings-btn:hover { color: #fff; border-color: var(--lift-dim); }
.settings-back {
  background: transparent; border: none; color: var(--lift-light); cursor: pointer;
  font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 4px;
  padding: 0; margin-bottom: 16px;
}
.settings-back:hover { text-decoration: underline; }
.settings-section {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; margin-bottom: 16px;
}
.settings-section h3 {
  font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px;
}
.settings-section p {
  font-size: 11px; color: var(--dim); margin-bottom: 14px;
}
.settings-field { margin-bottom: 12px; }
.settings-field label {
  display: block; font-size: 10px; color: var(--dim); margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
}
.settings-field input, .settings-field select, .settings-field textarea {
  width: 100%; background: var(--surface2); border: 1px solid var(--border);
  color: #e8e8e8; padding: 9px 12px; border-radius: 8px; font-size: 13px;
  outline: none; font-family: inherit;
}
.settings-field input:focus, .settings-field select:focus, .settings-field textarea:focus {
  border-color: var(--lift);
}
.settings-field textarea { min-height: 60px; resize: vertical; }
.settings-save {
  background: var(--lift); color: #fff; border: none; padding: 9px 18px;
  border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.settings-save:hover { opacity: 0.9; }
.settings-save:disabled { opacity: 0.5; cursor: not-allowed; }
.settings-lock {
  position: relative;
}
.settings-lock-overlay {
  position: absolute; inset: 0; background: rgba(15,15,15,0.7);
  backdrop-filter: blur(3px); border-radius: 12px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.settings-lock-badge {
  background: var(--lift); color: #fff; padding: 8px 16px; border-radius: 8px;
  font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px;
}
.danger-zone {
  background: linear-gradient(135deg, #1a0a0a, #1a0a0a); border: 1px solid #E74C3C44;
  border-radius: 12px; padding: 20px; margin-bottom: 16px;
}
.danger-zone h3 { font-size: 14px; font-weight: 600; color: #E74C3C; margin-bottom: 4px; }
.danger-zone p { font-size: 11px; color: var(--dim); margin-bottom: 14px; }
.danger-btn {
  background: transparent; border: 1px solid #E74C3C; color: #E74C3C;
  padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.danger-btn:hover { background: #E74C3C; color: #fff; }

/* ── ADMIN PANEL ── */
.admin-panel {
  display: none;
  background: linear-gradient(135deg, #1a0a0a, #1a1840);
  border: 1px solid #E74C3C;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}
.admin-panel.on { display: block; }
.admin-title {
  font-size: 14px; font-weight: 700; color: #E74C3C;
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em;
}
.admin-row { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.admin-input {
  flex: 1; min-width: 160px; background: var(--off); border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 12px; font-size: 13px; color: var(--white);
  outline: none; font-family: inherit;
}
.admin-input:focus { border-color: var(--lift); }
.admin-input::placeholder { color: var(--border2); }
.admin-select {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 12px; font-size: 13px; color: var(--white);
  outline: none; font-family: inherit; cursor: pointer;
}
.admin-btn {
  background: #E74C3C; color: #fff; border: none;
  padding: 9px 16px; border-radius: 8px; font-size: 13px;
  font-weight: 600; cursor: pointer; white-space: nowrap;
}
.admin-btn:hover { opacity: 0.85; }
.admin-btn.green { background: #2ECC71; }
.admin-users {
  margin-top: 12px; max-height: 300px; overflow-y: auto;
}
.admin-user-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; border-bottom: 1px solid var(--border);
  font-size: 12px; gap: 8px;
}
.admin-user-row:last-child { border-bottom: none; }
.admin-user-email { color: var(--white); font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.admin-user-plan {
  padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.admin-user-plan.free { background: var(--off); color: var(--dim); }
.admin-user-plan.pro { background: #1a3a1a; color: #2ECC71; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 20px; right: 20px; z-index: 300;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; font-size: 13px; color: var(--white);
  transform: translateY(60px); opacity: 0;
  transition: all 0.25s; pointer-events: none; max-width: 280px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.ok { border-color: var(--green); }
.toast.err { border-color: var(--red); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px; text-align: center;
  font-size: 13px; color: var(--dim);
}
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--lift-light); }

/* ── Google Login Button ── */
.google-login-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px 16px; margin: 8px 0 0;
  background: #fff; color: #3c4043; border: 1px solid #dadce0; border-radius: 10px;
  font-size: 15px; font-weight: 500; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: background .2s, box-shadow .2s;
}
.google-login-btn:hover { background: #f7f8f8; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.google-login-btn:active { background: #eee; }
.google-login-btn svg { flex-shrink: 0; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 14px 0; color: var(--dim); font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.12);
}

@media (max-width: 640px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
