/* =========================================================
   QRCode Pangeia — Design System
   ========================================================= */
:root {
  --bg-0: #06070f;
  --bg-1: #0b0e1c;
  --bg-2: #12162a;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-border: rgba(255, 255, 255, 0.09);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --text-0: #f5f6ff;
  --text-1: #b7bcd9;
  --text-2: #7d84ab;
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --grad-1: linear-gradient(135deg, var(--violet), var(--blue) 55%, var(--cyan));
  --grad-2: linear-gradient(135deg, var(--pink), var(--violet));
  --grad-text: linear-gradient(90deg, #a78bfa, #60a5fa, #22d3ee, #a78bfa);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 60px -15px rgba(139, 92, 246, 0.45);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--violet); color: white; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background: animated gradient mesh ---------- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg-0);
  overflow: hidden;
}
.bg-mesh::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.35), transparent 40%),
    radial-gradient(circle at 80% 15%, rgba(59, 130, 246, 0.28), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.22), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(34, 211, 238, 0.2), transparent 40%);
  animation: meshFloat 22s ease-in-out infinite alternate;
  filter: blur(10px);
}
.bg-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 75%);
}
@keyframes meshFloat {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(3%, -3%, 0) rotate(-6deg) scale(1.02); }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.blob-1 { width: 420px; height: 420px; background: var(--violet); top: -120px; left: -100px; animation: blobDrift 16s var(--ease) infinite alternate; }
.blob-2 { width: 360px; height: 360px; background: var(--blue); top: 200px; right: -140px; animation: blobDrift 20s var(--ease) infinite alternate-reverse; }
.blob-3 { width: 300px; height: 300px; background: var(--pink); bottom: -100px; left: 30%; animation: blobDrift 18s var(--ease) infinite alternate; }
@keyframes blobDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 60px) scale(1.15); }
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(140%);
  background: rgba(6, 7, 15, 0.65);
  border-bottom: 1px solid var(--panel-border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad-1);
  display: grid; place-items: center;
  box-shadow: 0 0 24px -4px rgba(139, 92, 246, 0.8);
  animation: markPulse 3.5s ease-in-out infinite;
}
@keyframes markPulse {
  0%, 100% { box-shadow: 0 0 18px -4px rgba(139, 92, 246, 0.7); }
  50% { box-shadow: 0 0 30px 2px rgba(59, 130, 246, 0.8); }
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-1); font-weight: 500; font-size: 0.94rem; transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--text-0); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad-1); transition: width 0.25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: none;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--grad-1); color: white;
  box-shadow: 0 8px 24px -8px rgba(139, 92, 246, 0.7);
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(59, 130, 246, 0.7); }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-ghost { background: var(--panel); color: var(--text-0); border: 1px solid var(--panel-border); }
.btn-ghost:hover { background: var(--panel-strong); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 60px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--panel-border);
  font-size: 0.8rem; color: var(--text-1); font-weight: 600;
  animation: fadeUp 0.8s var(--ease) both;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 20px 0 18px;
  animation: fadeUp 0.9s 0.05s var(--ease) both;
}
.grad-text {
  background: var(--grad-text);
  background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 5s linear infinite;
}
.hero p.lead { font-size: 1.15rem; color: var(--text-1); max-width: 540px; margin-bottom: 32px; animation: fadeUp 0.9s 0.12s var(--ease) both; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.9s 0.18s var(--ease) both; }
.hero-stats { display: flex; gap: 32px; margin-top: 44px; animation: fadeUp 0.9s 0.24s var(--ease) both; }
.hero-stats div strong { display: block; font-size: 1.5rem; font-weight: 800; }
.hero-stats div span { font-size: 0.82rem; color: var(--text-2); }

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

/* Floating decorative QR in hero */
.hero-visual { position: relative; display: grid; place-items: center; animation: fadeUp 1s 0.2s var(--ease) both; }
.qr-float {
  width: 280px; height: 280px; border-radius: 28px;
  background: var(--panel); border: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  box-shadow: var(--shadow-glow);
  animation: floatY 5s ease-in-out infinite;
  position: relative;
}
.qr-float img { width: 220px; height: 220px; border-radius: 16px; }
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-16px) rotate(1.5deg); } }
.orbit-chip {
  position: absolute; padding: 8px 14px; border-radius: 999px;
  background: var(--panel-strong); border: 1px solid var(--panel-border);
  font-size: 0.78rem; font-weight: 600; backdrop-filter: blur(8px);
  animation: orbitFloat 6s ease-in-out infinite;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.5);
}
.orbit-1 { top: -10px; right: -30px; animation-delay: 0.2s; }
.orbit-2 { bottom: 20px; left: -40px; animation-delay: 1.2s; }
.orbit-3 { bottom: -24px; right: 10px; animation-delay: 2s; }
@keyframes orbitFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Section titles ---------- */
.section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-tag { color: var(--violet); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 12px; }
.section-head p { color: var(--text-1); font-size: 1.02rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Types grid ---------- */
.types-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.type-card {
  padding: 20px 16px; border-radius: var(--radius-md);
  background: var(--panel); border: 1px solid var(--panel-border);
  text-align: center; cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.type-card:hover { transform: translateY(-6px) scale(1.02); border-color: rgba(139,92,246,0.5); background: var(--panel-strong); }
.type-card .icon-wrap {
  width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 12px;
  display: grid; place-items: center; background: var(--grad-1);
  transition: transform 0.3s var(--ease);
}
.type-card:hover .icon-wrap { transform: rotate(-8deg) scale(1.1); }
.type-card .icon-wrap svg { width: 22px; height: 22px; stroke: white; }
.type-card span { font-weight: 600; font-size: 0.88rem; }

/* ---------- Feature cards ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--panel); border: 1px solid var(--panel-border);
  transition: transform 0.3s var(--ease), border-color 0.3s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(139,92,246,0.18), transparent 60%);
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,0.4); }
.feature-card .icon-wrap { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-2); display: grid; place-items: center; margin-bottom: 16px; }
.feature-card .icon-wrap svg { width: 22px; height: 22px; stroke: white; }
.feature-card h3 { font-size: 1.08rem; font-weight: 700; margin: 0 0 8px; }
.feature-card p { color: var(--text-1); font-size: 0.92rem; margin: 0; }

/* ---------- Wizard ---------- */
.wizard-shell {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--panel-border);
  padding: 32px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.steps-bar { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.step-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--panel-border);
  font-size: 0.85rem; font-weight: 600; color: var(--text-2);
  transition: all 0.3s var(--ease);
}
.step-pill .num {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); font-size: 0.75rem; transition: background 0.3s, color 0.3s;
}
.step-pill.active { color: var(--text-0); border-color: rgba(139,92,246,0.5); background: var(--panel-strong); }
.step-pill.active .num { background: var(--grad-1); color: white; }
.step-pill.done .num { background: var(--green); color: #06210f; }
.step-connector { width: 30px; height: 2px; background: var(--panel-border); }

.wizard-body { position: relative; min-height: 420px; }
.wizard-step { display: none; animation: stepIn 0.4s var(--ease) both; }
.wizard-step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }

/* Step 1: type picker inside wizard */
.wizard-type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.wizard-type-btn {
  padding: 18px 12px; border-radius: var(--radius-md);
  background: var(--panel); border: 1px solid var(--panel-border);
  text-align: center; transition: all 0.25s var(--ease); color: var(--text-0);
}
.wizard-type-btn:hover { border-color: rgba(139,92,246,0.5); transform: translateY(-4px); }
.wizard-type-btn.selected { border-color: var(--violet); background: rgba(139,92,246,0.14); box-shadow: 0 0 0 1px var(--violet) inset; }
.wizard-type-btn .icon-wrap { width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 10px; background: var(--grad-1); display: grid; place-items: center; }
.wizard-type-btn .icon-wrap svg { width: 20px; height: 20px; stroke: white; }
.wizard-type-btn span { font-size: 0.85rem; font-weight: 600; }

/* Step 2: form + live preview */
.wizard-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.field-group { margin-bottom: 16px; }
.field-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }
.field-group input[type=text], .field-group input[type=url], .field-group input[type=email],
.field-group input[type=tel], .field-group input[type=password], .field-group input[type=number],
.field-group input[type=datetime-local], .field-group textarea, .field-group select {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--panel-border);
  color: var(--text-0); font-size: 0.92rem; transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}
.field-group input:focus, .field-group textarea:focus, .field-group select:focus {
  outline: none; border-color: var(--violet); background: rgba(139,92,246,0.06);
}
.field-group textarea { min-height: 90px; resize: vertical; }
.field-row { display: flex; gap: 12px; }
.field-row .field-group { flex: 1; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: 16px; height: 16px; }
.field-error { color: var(--pink); font-size: 0.78rem; margin-top: 4px; display: none; }

/* Style customization */
.style-panel { display: grid; gap: 16px; margin-top: 8px; }
.style-row-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); }
.style-options { display: flex; gap: 8px; flex-wrap: wrap; }
.style-chip {
  padding: 8px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  background: var(--panel); border: 1px solid var(--panel-border); transition: all 0.2s;
}
.style-chip:hover { border-color: rgba(139,92,246,0.5); }
.style-chip.selected { background: var(--grad-1); border-color: transparent; color: white; }
.color-row { display: flex; align-items: center; gap: 14px; }
.color-input-wrap { display: flex; align-items: center; gap: 8px; }
.color-input-wrap input[type=color] {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--panel-border);
  background: none; padding: 0; cursor: pointer;
}
.logo-drop {
  border: 1.5px dashed var(--panel-border); border-radius: var(--radius-md);
  padding: 18px; text-align: center; font-size: 0.85rem; color: var(--text-2);
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.logo-drop:hover, .logo-drop.dragover { border-color: var(--violet); background: rgba(139,92,246,0.06); }
.logo-preview { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.logo-preview img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }

/* Preview panel */
.preview-panel {
  position: sticky; top: 100px;
  background: var(--panel-strong); border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg); padding: 24px; text-align: center;
}
.preview-canvas {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-md);
  background: white; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  position: relative;
}
.preview-canvas img { width: 100%; height: 100%; object-fit: contain; animation: qrPop 0.35s var(--ease); }
@keyframes qrPop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.preview-canvas .spinner {
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid rgba(139,92,246,0.25); border-top-color: var(--violet);
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.preview-actions { display: flex; gap: 10px; margin-top: 18px; }
.preview-actions .btn { flex: 1; }
.preview-meta { margin-top: 14px; font-size: 0.78rem; color: var(--text-2); word-break: break-all; }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; }

/* ---------- Login / plans ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan-card {
  padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--panel); border: 1px solid var(--panel-border);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.plan-card.highlight {
  background: linear-gradient(160deg, rgba(139,92,246,0.16), rgba(59,130,246,0.08));
  border-color: rgba(139,92,246,0.5);
  transform: scale(1.03);
  box-shadow: var(--shadow-glow);
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card.highlight:hover { transform: scale(1.03) translateY(-6px); }
.plan-name { font-weight: 700; font-size: 1.1rem; }
.plan-price { font-size: 2rem; font-weight: 800; margin: 10px 0; }
.plan-price span { font-size: 0.9rem; color: var(--text-2); font-weight: 500; }
.plan-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-1); }
.plan-list li svg { width: 16px; height: 16px; stroke: var(--green); flex-shrink: 0; margin-top: 3px; }
.badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--grad-1); color: white; margin-bottom: 12px;
}

/* ---------- Store teaser ---------- */
.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.store-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--panel); border: 1px solid var(--panel-border);
  transition: transform 0.3s var(--ease);
}
.store-card:hover { transform: translateY(-6px); }
.store-thumb { height: 140px; display: grid; place-items: center; font-size: 2.4rem; }
.store-thumb.pvc { background: linear-gradient(135deg, #312e81, #4c1d95); }
.store-thumb.paper { background: linear-gradient(135deg, #78350f, #92400e); }
.store-thumb.mug { background: linear-gradient(135deg, #164e63, #0e7490); }
.store-thumb.shirt { background: linear-gradient(135deg, #831843, #9d174d); }
.store-thumb.cap { background: linear-gradient(135deg, #14532d, #166534); }
.store-body { padding: 16px 18px; }
.store-body h4 { margin: 0 0 4px; font-size: 0.98rem; }
.store-body p { margin: 0; font-size: 0.82rem; color: var(--text-2); }
.coming-soon { font-size: 0.7rem; color: var(--amber); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--panel-border); padding: 48px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-col h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-1); font-size: 0.9rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-0); }
.footer-bottom { display: flex; justify-content: space-between; color: var(--text-2); font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.gap-12 { gap: 12px; }
.hidden { display: none !important; }
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  padding: 14px 20px; border-radius: var(--radius-md);
  background: var(--bg-2); border: 1px solid var(--panel-border);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7);
  animation: toastIn 0.3s var(--ease);
  font-size: 0.88rem; max-width: 320px;
}
.toast.error { border-color: rgba(236,72,153,0.5); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Auth card ---------- */
.auth-card {
  max-width: 440px; margin: 80px auto; padding: 40px;
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-lg);
  text-align: center;
}
.auth-card .icon-wrap { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 16px; background: var(--grad-1); display: grid; place-items: center; }

/* ---------- Dashboard ---------- */
.dash-shell { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 40px 0 80px; }
.dash-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; align-self: start; }
.dash-nav a {
  padding: 11px 16px; border-radius: var(--radius-sm); color: var(--text-1); font-weight: 600; font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}
.dash-nav a:hover, .dash-nav a.active { background: var(--panel); color: var(--text-0); }
.dash-card { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px; }
.dash-grid-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-md); padding: 20px; }
.stat-card strong { font-size: 1.6rem; display: block; }
.stat-card span { font-size: 0.8rem; color: var(--text-2); }
.table-simple { width: 100%; border-collapse: collapse; }
.table-simple th, .table-simple td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--panel-border); font-size: 0.88rem; }
.table-simple th { color: var(--text-2); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; }
.mini-qr { width: 42px; height: 42px; border-radius: 8px; background: white; }
.status-chip { padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.status-chip.paid, .status-chip.active { background: rgba(52,211,153,0.18); color: var(--green); }
.status-chip.pending { background: rgba(251,191,36,0.18); color: var(--amber); }
.status-chip.canceled, .status-chip.expired { background: rgba(236,72,153,0.18); color: var(--pink); }

.key-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--panel-border); }
.key-value { font-family: "SFMono-Regular", Consolas, monospace; background: rgba(255,255,255,0.05); padding: 6px 10px; border-radius: 8px; font-size: 0.82rem; }

@media (max-width: 900px) {
  .hero-inner, .wizard-grid, .features-grid, .plans-grid, .store-grid, .footer-grid, .dash-shell { grid-template-columns: 1fr; }
  .dash-nav { flex-direction: row; overflow-x: auto; position: static; }
  .preview-panel { position: static; }
}
