/* ================================================================
   inlink v7 — System Design
   Aesthetic: Refined dark terminal / editorial precision
   Font: Space Mono (mono display) + Outfit (body)
   Theme: Near-black with electric cyan accent — not purple.
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:          #080c0f;
  --bg-1:        #0d1117;
  --bg-2:        #111820;
  --bg-3:        rgba(255,255,255,0.04);
  --border:      rgba(255,255,255,0.07);
  --border-2:    rgba(255,255,255,0.13);
  --border-3:    rgba(255,255,255,0.22);
  --cyan:        #00e5c8;
  --cyan-dim:    rgba(0,229,200,0.12);
  --cyan-glow:   rgba(0,229,200,0.25);
  --amber:       #f5a623;
  --red:         #ff5757;
  --green:       #34d399;
  --text:        #eef2f7;
  --text-2:      #8896a6;
  --text-3:      #3f5060;
  --mono:        'Space Mono', monospace;
  --sans:        'Outfit', sans-serif;
  --r:           12px;
  --r-lg:        18px;
  --nav-h:       60px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}

/* Subtle grid bg */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,200,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,200,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% 10%, rgba(0,229,200,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 90%, rgba(0,180,200,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

canvas#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(8,12,15,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
  letter-spacing: -0.5px;
}

.logo .bracket { color: var(--cyan); }
.logo .dot     { color: var(--text-2); font-size: 13px; margin: 0 1px; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
  letter-spacing: 0.1px;
}

.btn-primary {
  background: var(--cyan);
  color: #080c0f;
  box-shadow: 0 0 20px var(--cyan-glow);
}
.btn-primary:hover {
  background: #2ffcdf;
  box-shadow: 0 0 32px rgba(0,229,200,0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--border-3);
  color: var(--text);
  background: var(--bg-3);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0,229,200,0.3);
}
.btn-outline:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
}

.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--r-lg);
  box-shadow: 0 4px 24px var(--cyan-glow);
}

.btn-block:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(0,229,200,0.4);
}

.btn-block:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Social auth */
.btn-social {
  width: 100%;
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-google {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.08);
}
.btn-google:hover { background: #f5f5f5; box-shadow: 0 2px 12px rgba(0,0,0,0.12); }

.btn-github {
  background: #161b22;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-github:hover { background: #21262d; box-shadow: 0 2px 12px rgba(0,0,0,0.4); }

/* ── CARD / PANEL ────────────────────────────────────────────── */
.card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,200,0.15), transparent);
  pointer-events: none;
}

.card:hover { border-color: var(--border-2); }

/* ── LANDING ─────────────────────────────────────────────────── */
.landing {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 48px 80px;
}

.hero {
  max-width: 800px;
  margin-bottom: 100px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(0,229,200,0.2);
  border-radius: 40px;
  background: rgba(0,229,200,0.06);
  animation: fadeUp 0.6s ease both;
}

.hero-kicker::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero-title {
  font-family: var(--mono);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: var(--text);
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-title em {
  font-style: italic;
  color: var(--cyan);
  font-style: italic;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 44px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 72px;
  animation: fadeUp 0.6s 0.25s ease both;
}

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s 0.3s ease both;
}

.hstat {
  padding: 24px 40px 24px 0;
  border-right: 1px solid var(--border);
  margin-right: 40px;
}

.hstat:last-child {
  border-right: none;
  margin-right: 0;
}

.hstat-val {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.hstat-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  margin-top: 4px;
  font-weight: 600;
}

/* Features grid */
.features-section { margin-bottom: 80px; animation: fadeUp 0.6s 0.4s ease both; }

.section-title {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 40px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.feat-card {
  background: var(--bg-1);
  padding: 36px 28px;
  transition: background 0.2s;
}

.feat-card:hover { background: var(--bg-2); }

.feat-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-2);
}

.feat-card h3 {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feat-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

/* Footer */
.landing-footer {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text-2); }

/* ── AUTH ───────────────────────────────────────────────────── */
.auth-wrap {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-box {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 44px;
  max-width: 420px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.5s ease both;
}

.auth-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,200,0.2), transparent);
}

.auth-logo {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo .bracket { color: var(--cyan); }

.auth-heading {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.auth-sub {
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
  margin-bottom: 32px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-2);
}

.form-field input {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--text);
  transition: all 0.15s;
  outline: none;
}

.form-field input::placeholder { color: var(--text-3); }

.form-field input:focus {
  border-color: rgba(0,229,200,0.4);
  background: rgba(0,229,200,0.04);
  box-shadow: 0 0 0 3px rgba(0,229,200,0.08);
}

.form-error {
  padding: 11px 14px;
  background: rgba(255,87,87,0.08);
  border: 1px solid rgba(255,87,87,0.2);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--red);
}

.auth-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

.auth-foot a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
}

/* ── APP (index.html) ────────────────────────────────────────── */
.app {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
  align-items: start;
}

/* Tag line above send area */
.page-kicker {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-kicker::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--cyan);
}

.page-title {
  font-family: var(--mono);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 10px;
}

.page-lead {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 480px;
}

/* ── DROPZONE ────────────────────────────────────────────────── */
.dropzone {
  border: 1.5px dashed var(--border-2);
  border-radius: var(--r-lg);
  padding: 44px 28px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  background: rgba(0,229,200,0.01);
}

.dropzone:hover, .dropzone.over {
  border-color: var(--cyan);
  background: rgba(0,229,200,0.04);
}

.dropzone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.dz-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,229,200,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
  transition: transform 0.2s;
}

.dropzone:hover .dz-icon { transform: scale(1.05) translateY(-2px); }

.dz-title {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}

.dz-hint { font-size: 12px; color: var(--text-3); }

/* File list */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  animation: slideUp 0.2s ease both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.file-ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.file-name {
  flex: 1;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  flex-shrink: 0;
}

/* Options chips */
.opts-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.opt-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 40px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  font-size: 12px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}

.opt-chip input { accent-color: var(--cyan); width: 13px; height: 13px; }

.opt-chip.on {
  border-color: rgba(0,229,200,0.35);
  background: rgba(0,229,200,0.08);
  color: var(--cyan);
}

.opt-lock {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 40px;
  border: 1px dashed var(--border);
  background: transparent;
  font-size: 12px;
  color: var(--text-3);
  cursor: not-allowed;
  user-select: none;
}

.lock-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--cyan);
  background: var(--cyan-dim);
  border-radius: 4px;
  padding: 1px 5px;
}

/* Limit bar */
.limit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 12px;
  color: var(--text-2);
}

.limit-track {
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.limit-bar {
  height: 100%;
  border-radius: 4px;
  background: var(--cyan);
  transition: width 0.5s;
}

.limit-bar.warn  { background: var(--amber); }
.limit-bar.full  { background: var(--red); }

.limit-upgrade {
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
}

/* ── QR PANEL ────────────────────────────────────────────────── */
.qr-panel {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.qr-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.qr-placeholder {
  width: 220px; height: 220px;
  border-radius: var(--r-lg);
  border: 1.5px dashed var(--border-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 12px;
  font-family: var(--mono);
}

.qr-ph-icon { font-size: 30px; opacity: 0.3; }

.qr-box { display: none; }
.qr-box.show {
  display: block;
  animation: qrReveal 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes qrReveal {
  from { opacity: 0; transform: scale(0.88) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.qr-box img {
  width: 220px; height: 220px;
  border-radius: var(--r-lg);
  background: #fff;
  padding: 12px;
  box-shadow: 0 0 40px var(--cyan-glow), 0 0 1px 1px rgba(0,229,200,0.2);
  display: block;
}

.room-pin {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 8px;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 13px 20px;
  width: 100%;
  display: none;
}

.share-btn-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.share-btn-row .btn {
  flex: 1;
  padding: 9px;
  font-size: 12px;
}

/* Progress */
.progress-wrap {
  width: 100%;
  height: 2px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), #00c9ff);
  border-radius: 99px;
  transition: width 0.25s ease;
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* Status chip */
.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
  transition: all 0.3s;
}

.status-line.active .status-dot {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 1.6s ease-in-out infinite;
}

.status-line.ok { color: var(--green); }
.status-line.ok .status-dot { background: var(--green); box-shadow: 0 0 8px rgba(52,211,153,0.5); animation: none; }

.status-line.err { color: var(--red); }
.status-line.err .status-dot { background: var(--red); animation: none; }

/* ── DOWNLOAD PAGE ────────────────────────────────────────────── */
.dl-wrap {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.dl-card {
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.dl-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,229,200,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.dl-title {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 10px;
}

.dl-sub {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ETA bar */
.eta-bar {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-2);
  margin-top: 14px;
  text-align: left;
}

.eta-label {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-3);
  margin-bottom: 3px;
}

.eta-val {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.eta-speed {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
}

/* State panels (expired, notfound, disconnected) */
.state-icon { font-size: 52px; margin-bottom: 16px; }

/* ── DASHBOARD ────────────────────────────────────────────────── */
.dash-wrap {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 48px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
}

/* Plan pill */
.plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 40px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.plan-pill.free  { background: var(--bg-3); color: var(--text-3); border: 1px solid var(--border); }
.plan-pill.pro   { background: rgba(0,229,200,0.1); color: var(--cyan); border: 1px solid rgba(0,229,200,0.3); }
.plan-pill.ultra { background: rgba(245,166,35,0.1); color: var(--amber); border: 1px solid rgba(245,166,35,0.3); }

.plan-dot { width: 5px; height: 5px; border-radius: 50%; }
.plan-pill.free .plan-dot  { background: var(--text-3); }
.plan-pill.pro .plan-dot   { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); animation: blink 2s ease-in-out infinite; }
.plan-pill.ultra .plan-dot { background: var(--amber); box-shadow: 0 0 6px var(--amber); animation: blink 2s ease-in-out infinite; }

.plan-pill.loading { opacity: 0.4; animation: blink 1s ease-in-out infinite; }

/* Upsell card */
.upsell {
  background: linear-gradient(135deg, rgba(0,229,200,0.06), rgba(0,180,200,0.03));
  border: 1px solid rgba(0,229,200,0.15);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.upsell:hover {
  border-color: rgba(0,229,200,0.3);
  background: rgba(0,229,200,0.08);
}

.upsell-icon { font-size: 22px; flex-shrink: 0; }
.upsell-text { flex: 1; }
.upsell-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.upsell-desc { font-size: 11px; color: var(--text-2); }
.upsell-arrow { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--cyan); }

/* Live analytics panel */
.live-panel { display: none; }
.live-panel.show { display: block; }

.live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.live-title {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52,211,153,0.6);
  animation: blink 1.5s ease-in-out infinite;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mini-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px;
  text-align: center;
}

.mini-num {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.mini-lbl {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-3);
  font-weight: 700;
  margin-top: 4px;
}

.scan-feed-label {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--text-3);
  font-weight: 700;
  margin-bottom: 8px;
}

.scan-feed {
  max-height: 140px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.scan-event {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  background: var(--bg-2);
  border-radius: 8px;
  font-size: 11px;
  color: var(--text-2);
  animation: slideUp 0.25s ease;
}

.scan-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px rgba(52,211,153,0.5);
  flex-shrink: 0;
}

/* ── SHARE MODAL ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal {
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: 22px;
  padding: 28px 32px 24px;
  max-width: 420px;
  width: 100%;
  animation: modalIn 0.25s cubic-bezier(0.4,0,0.2,1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-title {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.modal-sub { font-size: 12px; color: var(--text-3); margin-bottom: 20px; }

.share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.share-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  font-family: var(--sans);
  transition: all 0.15s;
}

.share-tile:hover { border-color: var(--border-2); background: var(--bg-2); transform: translateY(-1px); }
.share-tile svg { width: 26px; height: 26px; }

.sdivider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
}

.sdivider::before, .sdivider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.link-row { display: flex; gap: 8px; }

.link-input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 13px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text);
  outline: none;
}

.link-copy {
  padding: 10px 16px;
  background: var(--cyan);
  color: #080c0f;
  border: none;
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.15s;
  white-space: nowrap;
}

.link-copy:hover { background: #2ffcdf; }

.modal-close {
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.15s;
}

.modal-close:hover { border-color: var(--border-2); color: var(--text); }

/* ── ANALYTICS ───────────────────────────────────────────────── */
.analytics-page {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 48px;
}

.page-header { margin-bottom: 36px; }

/* Metric cards */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.metric-card {
  position: relative;
  overflow: hidden;
}

.metric-card.accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 0% 0%, rgba(0,229,200,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.metric-num {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -1px;
}

.metric-lbl {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  font-weight: 700;
  margin-top: 8px;
}

.metric-sub {
  font-size: 12px;
  color: var(--green);
  margin-top: 5px;
  font-weight: 500;
}

.metric-sub.muted { color: var(--text-2); }

/* Skel */
.skel {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  animation: blink 1.2s ease-in-out infinite;
}

.skel-num { width: 50px; height: 32px; }

/* Charts */
.charts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.chart-card { }

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.chart-title {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.period-btns { display: flex; gap: 4px; }

.period-btn {
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.15s;
}

.period-btn.active {
  background: var(--cyan-dim);
  border-color: rgba(0,229,200,0.3);
  color: var(--cyan);
}

.period-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* Bar chart */
.bar-chart {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 120px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
  cursor: pointer;
}

.bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  background: var(--cyan);
  transition: all 0.4s ease;
  opacity: 0.5;
}

.bar:hover { opacity: 1; box-shadow: 0 0 10px var(--cyan-glow); }

.bar-lbl { font-family: var(--mono); font-size: 8px; color: var(--text-3); font-weight: 700; }

.bar-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  color: var(--text-3);
  font-size: 12px;
  font-family: var(--mono);
}

/* Donut */
.donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.donut-svg { width: 90px; height: 90px; }

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 14px;
  width: 100%;
}

.donut-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-2);
}

.donut-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.donut-pct { font-family: var(--mono); font-size: 10px; color: var(--text); margin-left: auto; }

/* Table */
.table-card { overflow: hidden; }

.table-top {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-top-title {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.table-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}

.table-head {
  display: grid;
  grid-template-columns: 1fr 90px 80px 90px 110px;
  gap: 16px;
  padding: 10px 24px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.th {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-3);
  font-weight: 700;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 90px 80px 90px 110px;
  gap: 16px;
  padding: 13px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  align-items: center;
  transition: background 0.1s;
}

.table-row:hover { background: rgba(255,255,255,0.02); }
.table-row:last-child { border-bottom: none; }

.tf { display: flex; align-items: center; gap: 10px; overflow: hidden; }

.tf-ico {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.tf-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tf-size {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 40px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.badge-scan { background: var(--cyan-dim); color: var(--cyan); border: 1px solid rgba(0,229,200,0.2); }
.badge-done { background: rgba(52,211,153,0.08); color: var(--green); border: 1px solid rgba(52,211,153,0.2); }

.tf-date { font-family: var(--mono); font-size: 10px; color: var(--text-3); }

.empty-state { text-align: center; padding: 52px 24px; color: var(--text-3); }
.empty-icon  { font-size: 32px; margin-bottom: 10px; opacity: 0.3; }
.empty-lbl   { font-size: 13px; font-family: var(--mono); }

/* Pro lock banner */
.pro-lock {
  background: linear-gradient(135deg, rgba(0,229,200,0.06), rgba(0,180,200,0.03));
  border: 1px solid rgba(0,229,200,0.15);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.pro-lock-ico { font-size: 26px; flex-shrink: 0; }
.pro-lock-body { flex: 1; }
.pro-lock-title { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.pro-lock-desc  { font-size: 13px; color: var(--text-2); }

.pro-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pro-chip  {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 40px;
  background: var(--cyan-dim); border: 1px solid rgba(0,229,200,0.2);
  font-size: 11px; font-weight: 600; color: var(--cyan);
}

/* ── PRICING ─────────────────────────────────────────────────── */
.pricing-page {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 40px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 52px;
}

.pricing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 18px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,229,200,0.2);
  border-radius: 40px;
  padding: 5px 14px;
}

.pricing-title {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.1;
}

.pricing-sub { font-size: 16px; color: var(--text-2); }

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.toggle-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  cursor: pointer;
  transition: color 0.2s;
}

.toggle-lbl.active { color: var(--text); }

.toggle-track {
  width: 44px; height: 24px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-2);
  cursor: pointer;
  position: relative;
  transition: background 0.25s;
  flex-shrink: 0;
}

.toggle-track.on { background: var(--cyan); border-color: var(--cyan); }

.toggle-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px; left: 3px;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

.toggle-track.on .toggle-thumb { transform: translateX(20px); }

.save-tag {
  padding: 4px 10px;
  border-radius: 40px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(52,211,153,0.12);
  color: var(--green);
  border: 1px solid rgba(52,211,153,0.25);
  letter-spacing: 0.5px;
}

/* Plans grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
  align-items: start;
}

.plan-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  position: relative;
  transition: all 0.2s;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

.plan-card:hover { border-color: var(--border-2); transform: translateY(-2px); }

.plan-card.popular {
  border-color: rgba(0,229,200,0.3);
  box-shadow: 0 0 50px rgba(0,229,200,0.08);
}

.plan-card.popular::before {
  background: linear-gradient(90deg, transparent, rgba(0,229,200,0.3), transparent);
}

.popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: #080c0f;
  padding: 4px 16px;
  border-radius: 40px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--cyan-glow);
}

.plan-name {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.plan-tag { font-size: 12px; color: var(--text-2); margin-bottom: 24px; }

.plan-price-row {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-bottom: 4px;
  min-height: 56px;
}

.price-cur { font-size: 20px; color: var(--text-2); font-weight: 600; margin-bottom: 6px; }

.price-num {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -2px;
}

.price-num.loading {
  width: 64px; height: 48px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: inline-block;
  animation: blink 1.2s ease-in-out infinite;
}

.price-period { font-size: 12px; color: var(--text-3); margin-bottom: 18px; }

.plan-divider { height: 1px; background: var(--border); margin: 18px 0; }

.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }

.fi {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

.fi-check {
  width: 15px; height: 15px;
  min-width: 15px;
  border-radius: 50%;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.fi-cross {
  width: 15px; height: 15px;
  min-width: 15px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: var(--text-3);
  font-size: 8px;
}

.active-badge {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: var(--r);
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}

.active-badge.show { display: flex; }

.checkout-error {
  background: rgba(255,87,87,0.06);
  border: 1px solid rgba(255,87,87,0.2);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  font-size: 13px;
  color: #fca5a5;
  margin-top: 16px;
  display: none;
  animation: fadeUp 0.25s ease;
}

.checkout-error.show { display: block; }
.checkout-error strong { color: var(--red); display: block; margin-bottom: 3px; font-size: 14px; }

/* FAQ */
.faq-wrap { max-width: 640px; margin: 56px auto 0; }
.faq-title { font-family: var(--mono); font-size: 28px; font-weight: 700; text-align: center; color: var(--text); margin-bottom: 32px; letter-spacing: -0.5px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-q { font-weight: 600; color: var(--text); font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; user-select: none; }
.faq-a { color: var(--text-2); font-size: 14px; line-height: 1.75; margin-top: 10px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-chevron { color: var(--text-3); flex-shrink: 0; font-family: var(--mono); font-size: 14px; transition: transform 0.2s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* ── COMPARE TABLE ──────────────────────────────────────────── */
.compare-table {
  margin-top: 56px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-1);
}

.compare-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border);
}

.compare-title {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 140px 160px 140px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}

.compare-row:last-child { border-bottom: none; }
.compare-row:not(.compare-row-head):hover { background: rgba(255,255,255,0.02); }

.compare-row-head {
  background: var(--bg-2);
}

.compare-section {
  padding: 10px 28px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-3);
  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid var(--border);
}

.compare-feat {
  padding: 12px 28px;
  font-size: 13px;
  color: var(--text-2);
}

.compare-col {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
  font-family: var(--mono);
}

.compare-col.highlight {
  background: rgba(0,229,200,0.03);
  color: var(--text);
  border-left: 1px solid rgba(0,229,200,0.08);
  border-right: 1px solid rgba(0,229,200,0.08);
}

.compare-row-head .compare-col {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.compare-row-head .compare-col.highlight { color: var(--cyan); }
.compare-row-head .compare-feat { color: var(--text-3); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-family: var(--mono); }

.cmp-yes { color: var(--green); font-size: 14px; }
.cmp-no  { color: var(--text-3); font-size: 12px; }

/* ── PLAN LOCK UI ────────────────────────────────────────────── */
.lock-tooltip {
  position: fixed;
  z-index: 9999;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-2);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 280px;
  white-space: normal;
}

.lock-tooltip.show { opacity: 1; transform: translateY(0); }
.lock-tooltip strong { color: var(--text); font-weight: 700; }

/* Pro feature chips in lock banners */
.pro-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pro-chip {
  padding: 4px 10px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,229,200,0.2);
  border-radius: 40px;
  font-size: 11px;
  color: var(--cyan);
  font-family: var(--mono);
}

/* password field (pro-gated) */
.password-field-wrap {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.password-field-wrap input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  font-family: var(--mono);
  outline: none;
  transition: border-color 0.2s;
}

.password-field-wrap input:focus { border-color: var(--cyan); }
.password-field-wrap input::placeholder { color: var(--text-3); }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr; }
  .qr-panel { position: static; }
  .dash-wrap { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 48px; }
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .compare-row { grid-template-columns: 1fr 100px 120px 100px; }
  .compare-feat { padding: 12px 16px; }
}

@media (max-width: 700px) {
  .compare-table { display: none; }
}

@media (max-width: 640px) {
  body { padding-top: calc(var(--nav-h) - 4px); }
  .navbar { padding: 0 20px; }
  .landing, .app, .analytics-page, .pricing-page, .dash-wrap { padding: 24px 20px; }
  .hero-title { font-size: 34px; letter-spacing: -1px; }
  .page-title { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .auth-box { padding: 28px 24px; }
  .room-pin { font-size: 20px; letter-spacing: 5px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .table-head, .table-row { grid-template-columns: 1fr 80px 60px; }
  .th:nth-child(n+4), .table-row > *:nth-child(n+4) { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .landing-footer { flex-direction: column; gap: 16px; }
}

/* ── NAVBAR RESPONSIVE (hamburger) ──────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  border-radius: var(--r);
  transition: background .15s;
}
.nav-hamburger:hover { background: var(--bg-3); }
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text-2); border-radius: 2px;
  transition: all .2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,12,15,0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 16px 24px 20px;
  flex-direction: column;
  gap: 8px;
}
.nav-mobile-drawer.open { display: flex; }
.nav-mobile-drawer .btn,
.nav-mobile-drawer a {
  width: 100%;
  justify-content: center;
  font-size: 14px !important;
}
.nav-mobile-drawer .nav-tag {
  text-align: center;
  margin: 4px 0;
}
.nav-mobile-drawer .plan-pill {
  justify-content: center;
  margin: 0 auto;
}

/* ── PROFILE PAGE ──────────────────────────────────────────────── */
.profile-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px;
  position: relative;
  z-index: 1;
}
.profile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #6366f1);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; color: #fff;
  font-family: var(--mono);
  flex-shrink: 0;
}
.profile-info { flex: 1; }
.profile-name {
  font-size: 22px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.profile-email {
  font-size: 13px; color: var(--text-3);
  font-family: var(--mono);
}
.profile-meta {
  display: flex; gap: 12px; margin-top: 10px;
  flex-wrap: wrap;
}
.profile-badge {
  font-size: 11px; font-family: var(--mono);
  padding: 4px 10px; border-radius: 20px;
  background: var(--bg-3); color: var(--text-2);
  border: 1px solid var(--border);
}
.profile-badge.pro { background: rgba(0,229,200,0.1); color: var(--cyan); border-color: rgba(0,229,200,0.3); }
.profile-badge.ultra { background: rgba(245,166,35,0.1); color: var(--amber); border-color: rgba(245,166,35,0.3); }

.profile-tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  overflow-x: auto;
}
.profile-tab {
  font-size: 13px; font-family: var(--mono);
  color: var(--text-3);
  padding: 10px 18px;
  background: none; border: none; border-bottom: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: color .15s, border-color .15s;
  margin-bottom: -1px;
}
.profile-tab:hover { color: var(--text-2); }
.profile-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* QR Grid */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.qr-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .15s, transform .15s;
  position: relative;
}
.qr-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.qr-card-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.qr-card-img img { width: 100%; height: 100%; object-fit: contain; }
.qr-card-name {
  font-size: 13px; font-weight: 600;
  color: var(--text); font-family: var(--mono);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qr-card-meta {
  font-size: 11px; color: var(--text-3);
  font-family: var(--mono);
}
.qr-card-stats {
  display: flex; gap: 12px;
}
.qr-stat {
  display: flex; flex-direction: column; gap: 2px;
}
.qr-stat-num { font-size: 16px; font-weight: 700; color: var(--text); font-family: var(--mono); }
.qr-stat-lbl { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; }
.qr-card-actions {
  display: flex; gap: 6px;
  flex-wrap: wrap;
}
.qr-card-actions .btn { font-size: 11px; padding: 5px 10px; flex: 1; min-width: 60px; }
.qr-card-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 10px; font-family: var(--mono);
  padding: 3px 8px; border-radius: 20px;
}
.qr-card-badge.active { background: rgba(52,211,153,0.12); color: var(--green); border: 1px solid rgba(52,211,153,0.25); }
.qr-card-badge.expired { background: var(--bg-3); color: var(--text-3); border: 1px solid var(--border); }
.qr-card-badge.protected { background: rgba(245,166,35,0.1); color: var(--amber); border: 1px solid rgba(245,166,35,0.25); }

/* QR Customise panel */
.qr-customize-row {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  margin-bottom: 8px;
}
.color-swatch-row { display: flex; gap: 6px; }
.color-swatch {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: border-color .15s;
}
.color-swatch.active { border-color: var(--cyan); }
.color-swatch-custom { position: relative; }
.color-swatch-custom input[type=color] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border-radius: 50%;
}

/* Team section */
.team-grid {
  display: flex; flex-direction: column; gap: 10px;
}
.team-member-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 12px 16px;
}
.team-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  font-family: var(--mono); flex-shrink: 0;
}
.team-member-info { flex: 1; }
.team-member-name { font-size: 13px; font-weight: 600; color: var(--text); }
.team-member-email { font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.team-member-role {
  font-size: 11px; font-family: var(--mono);
  padding: 3px 10px; border-radius: 20px;
  background: var(--bg-3); color: var(--text-2);
  border: 1px solid var(--border);
}
.team-member-role.owner { background: rgba(0,229,200,0.1); color: var(--cyan); border-color: rgba(0,229,200,0.25); }
.team-member-role.admin { background: rgba(245,166,35,0.1); color: var(--amber); border-color: rgba(245,166,35,0.25); }

.org-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  margin-bottom: 16px;
}
.org-card-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.org-icon {
  width: 48px; height: 48px; border-radius: var(--r);
  background: linear-gradient(135deg, #6366f1 0%, var(--cyan) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.org-name { font-size: 16px; font-weight: 700; color: var(--text); }
.org-meta { font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.org-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 12px; margin-bottom: 16px;
}
.org-stat {
  background: var(--bg-3); border-radius: var(--r);
  padding: 12px; text-align: center;
}
.org-stat-num { font-size: 20px; font-weight: 700; color: var(--cyan); font-family: var(--mono); }
.org-stat-lbl { font-size: 11px; color: var(--text-3); }

/* Settings */
.settings-section { margin-bottom: 28px; }
.settings-section-title {
  font-size: 11px; font-family: var(--mono); font-weight: 700;
  color: var(--text-3); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 12px;
}
.settings-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 16px;
  margin-bottom: 8px;
}
.settings-row-info { flex: 1; }
.settings-row-label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.settings-row-desc { font-size: 11px; color: var(--text-3); }
/* Toggle switch */
.toggle-switch {
  position: relative; width: 40px; height: 22px; flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-switch-track {
  position: absolute; inset: 0;
  background: var(--bg-3); border-radius: 11px;
  border: 1px solid var(--border);
  cursor: pointer; transition: background .2s, border-color .2s;
}
.toggle-switch-track::after {
  content: ''; position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: var(--text-3); border-radius: 50%;
  transition: transform .2s, background .2s;
}
.toggle-switch input:checked + .toggle-switch-track { background: rgba(0,229,200,0.15); border-color: var(--cyan); }
.toggle-switch input:checked + .toggle-switch-track::after { transform: translateX(18px); background: var(--cyan); }

/* Modal edit QR */
.modal-field { margin-bottom: 14px; }
.modal-field label { display: block; font-size: 11px; font-family: var(--mono); color: var(--text-3); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.modal-field input, .modal-field select {
  width: 100%; background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r); padding: 9px 12px;
  font-size: 13px; color: var(--text);
  font-family: var(--mono); outline: none;
  box-sizing: border-box;
  transition: border-color .15s;
}
.modal-field input:focus, .modal-field select:focus { border-color: var(--cyan); }

@media (max-width: 768px) {
  /* Navbar: hide desktop links & right section, show hamburger */
  .nav-left .nav-link,
  .nav-left .nav-divider,
  .nav-right-new .plan-pill-v2,
  .nav-right-new .nav-upgrade,
  .nav-right-new .nav-divider,
  .nav-right-new .nav-dropdown-wrap { display: none !important; }
  .nav-hamburger { display: flex !important; }
  /* Public nav */
  .nav-right { display: none !important; }
}

@media (max-width: 640px) {
  .profile-page { padding: 24px 20px; }
  .qr-grid { grid-template-columns: 1fr 1fr; }
  .org-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .qr-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   NEW NAVBAR v2
═══════════════════════════════════════════════════════════════ */
.navbar {
  height: 56px;
  padding: 0 24px;
  background: rgba(8,12,15,0.85);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 0 rgba(0,229,200,0.04);
}
.nav-inner { gap: 0; }

/* Nav sections */
.nav-left { display:flex; align-items:center; gap:8px; flex:1; }
.nav-center { display:flex; align-items:center; gap:2px; }
.nav-right-new { display:flex; align-items:center; gap:6px; }

/* Nav links */
.nav-link {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  padding: 6px 11px;
  border-radius: 8px;
  transition: color .15s, background .15s;
  font-weight: 500;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--text); background: rgba(255,255,255,0.07); }
.nav-link.highlight { color: var(--cyan); }
.nav-link.highlight:hover { background: rgba(0,229,200,0.08); }

/* Nav divider */
.nav-divider {
  width: 1px; height: 18px;
  background: rgba(255,255,255,0.08);
  margin: 0 6px;
}

/* Plan pill v2 */
.plan-pill-v2 {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-family: var(--mono); font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: .3px; white-space: nowrap;
  transition: all .2s;
}
.plan-pill-v2.free { background:rgba(255,255,255,0.05);color:var(--text-3);border:1px solid rgba(255,255,255,0.08); }
.plan-pill-v2.pro { background:rgba(0,229,200,0.08);color:var(--cyan);border:1px solid rgba(0,229,200,0.2); }
.plan-pill-v2.ultra { background:rgba(245,166,35,0.08);color:var(--amber);border:1px solid rgba(245,166,35,0.2); }
.plan-pill-v2 .pdot { width:5px;height:5px;border-radius:50%; }
.plan-pill-v2.free .pdot { background:var(--text-3); }
.plan-pill-v2.pro .pdot { background:var(--cyan);box-shadow:0 0 5px var(--cyan);animation:blink 2s infinite; }
.plan-pill-v2.ultra .pdot { background:var(--amber);box-shadow:0 0 5px var(--amber);animation:blink 2s infinite; }

/* Avatar button */
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #6366f1);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  font-family: var(--mono); cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s, transform .15s;
  flex-shrink: 0;
}
.nav-avatar:hover { border-color: var(--cyan); transform: scale(1.05); }

/* Upgrade pill button */
.nav-upgrade {
  font-size: 11px; font-weight: 700; font-family: var(--mono);
  padding: 5px 12px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,229,200,0.15), rgba(99,102,241,0.15));
  border: 1px solid rgba(0,229,200,0.3);
  color: var(--cyan); cursor: pointer;
  transition: all .15s; white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-upgrade:hover { background: linear-gradient(135deg, rgba(0,229,200,0.25), rgba(99,102,241,0.25)); transform: scale(1.03); }

/* Dropdown menu */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: rgba(14,20,27,0.98);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 6px;
  min-width: 200px;
  z-index: 200;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown.open { display: flex; }
.nav-dropdown-header {
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4px;
}
.nav-dropdown-email { font-size: 11px; color: var(--text-3); font-family: var(--mono); margin-bottom: 4px; }
.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 13px; color: var(--text-2);
  cursor: pointer; text-decoration: none;
  transition: background .12s, color .12s;
  border: none; background: none; width: 100%; text-align: left;
}
.nav-dropdown-item:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.nav-dropdown-item.danger { color: #ef4444; }
.nav-dropdown-item.danger:hover { background: rgba(239,68,68,0.08); }
.nav-dropdown-sep { height: 1px; background: rgba(255,255,255,0.06); margin: 4px 0; }
.nav-dropdown-icon { font-size: 14px; width: 18px; text-align: center; }

/* Mobile drawer v2 */
.nav-mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 16px;
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: rgba(8,12,15,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}
.nav-mobile-drawer.open { display: flex; }
.nav-mobile-drawer .nav-link {
  width: 100%; padding: 10px 14px;
  font-size: 14px; border-radius: 8px;
}
.nav-mobile-drawer .nav-dropdown-sep {
  margin: 8px 0;
}

/* ── QR AVAILABILITY TIMER WIDGET ──────────────────────────── */
.qr-timer-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
.qr-timer-label {
  font-size: 11px; color: var(--text-3); font-family: var(--mono);
  white-space: nowrap;
}
.qr-timer-btns {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.qr-timer-btn {
  font-size: 10px; font-family: var(--mono); font-weight: 700;
  padding: 4px 9px; border-radius: 20px;
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-3); cursor: pointer;
  transition: all .15s; white-space: nowrap;
}
.qr-timer-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.qr-timer-btn.selected { background: rgba(0,229,200,0.1); border-color: var(--cyan); color: var(--cyan); }

/* QR countdown badge */
.qr-countdown {
  display: none;
  font-size: 11px; font-family: var(--mono); font-weight: 700;
  color: var(--amber); text-align: center;
  margin-bottom: 8px;
}
.qr-countdown.show { display: block; }
.qr-countdown.expiring { color: #ef4444; animation: blink .8s infinite; }

/* ── RESEND PANEL ──────────────────────────────────────────── */
.resend-panel {
  display: none;
  background: rgba(0,229,200,0.04);
  border: 1px solid rgba(0,229,200,0.15);
  border-radius: var(--r);
  padding: 12px 14px;
  margin-bottom: 12px;
}
.resend-panel.show { display: block; }
.resend-panel-title {
  font-size: 11px; font-family: var(--mono); font-weight: 700;
  color: var(--cyan); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px;
}
.resend-list { display: flex; flex-direction: column; gap: 6px; max-height: 160px; overflow-y: auto; }
.resend-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 8px 10px; cursor: pointer;
  transition: border-color .12s;
}
.resend-item:hover { border-color: var(--cyan); }
.resend-item-icon { font-size: 16px; flex-shrink: 0; }
.resend-item-info { flex: 1; min-width: 0; }
.resend-item-name { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resend-item-meta { font-size: 10px; color: var(--text-3); font-family: var(--mono); }
.resend-item-btn { font-size: 10px; padding: 4px 8px; flex-shrink: 0; }


/* QR card actions - 5 button layout */
.qr-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.qr-card-actions .btn {
  font-size: 11px;
  padding: 5px 8px;
  flex: 1;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
}
/* Re-use button always full width at bottom */
.qr-card-actions .btn[title*="activate"] {
  flex: 1 0 100%;
  border-color: rgba(0,229,200,0.25);
  color: var(--cyan);
}
/* Profile tab SVG alignment */
.profile-tab svg { vertical-align: middle; }
/* Btn SVG alignment */
.btn svg { vertical-align: middle; flex-shrink: 0; }
/* ── State card SVG icons ───────────────────────────────────── */
.state-svg {
  width: 48px; height: 48px;
  stroke: var(--cyan); opacity: 0.9;
  display: block; margin: 0 auto 8px;
}
.dl-icon, .state-icon {
  display: flex; justify-content: center; align-items: center;
  margin-bottom: 8px;
}
.dl-icon .state-svg, .state-icon .state-svg { margin: 0; }