/* ═══════════════════════════════════════════════════════════════════════════
   VEREINE BLUEPRINT WIZARD - COMY Design System v3.0
   Exact match to verein.theoneagency.de landing page
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist+Mono:wght@400;500;700&family=Satoshi:wght@400;500;600;700;800;900&display=swap');

:root {
  --black: #0a0a0a;
  --white: #fafaf9;
  --cream: #f5f3ef;
  --warm: #ebe8e1;
  --sand: #d9d4ca;
  --muted: #8a857d;
  --text: #3d3a36;
  --green: #1a3a2a;
  --green-mid: #28574b;
  --green-bright: #34796a;
  --green-pop: #2dd4a0;
  --green-pale: rgba(40, 87, 75, 0.06);
  --green-glow: rgba(45, 212, 160, 0.15);
  --gold: #c4a44e;
  --gold-pale: rgba(196, 164, 78, 0.1);
  --error: #dc2626;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Satoshi', -apple-system, sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* RESET */
.vb-wizard *, .vb-wizard *::before, .vb-wizard *::after { margin: 0; padding: 0; box-sizing: border-box; }

.vb-wizard {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.vb-wizard ::selection {
  background: var(--green-pop);
  color: var(--black);
}

.vb-wizard img { max-width: 100%; height: auto; display: block; }
.vb-wizard a { text-decoration: none; color: inherit; }
.vb-wizard button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.6; } }
@keyframes breathe { 0%,100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════
   GRID BACKGROUND TEXTURE
═══════════════════════════════════════ */
.vb-hero-bg {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: -2;
}
.vb-hero-orb {
  display: none;
}
.vb-hero-orb--1,
.vb-hero-orb--2 {
  display: none;
}
.vb-hero-noise {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: -1;
}

/* Subtle glow effect */
.vb-wizard::after {
  content: '';
  position: fixed;
  top: 15%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 65%);
  pointer-events: none;
  animation: breathe 8s ease-in-out infinite;
  z-index: -1;
}

/* ═══════════════════════════════════════
   NAVIGATION (Sticky, not pill)
═══════════════════════════════════════ */
.vb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 32px;
  transition: all 0.5s var(--ease);
}
.vb-header.is-scrolled {
  padding: 14px 32px;
  background: rgba(245, 243, 239, 0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.vb-header__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vb-header__brand {
  display: flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}
.vb-header__name {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1.65rem;
  letter-spacing: -0.06em;
  color: var(--black);
}
.vb-header__dot {
  width: 8px;
  height: 8px;
  background: var(--green-pop);
  border-radius: 50%;
  margin-top: 8px;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
.vb-header__divider,
.vb-header__3d,
.vb-header__wireframe {
  display: none;
}
.vb-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.vb-header__link {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.vb-header__link:hover {
  color: var(--black);
}
.vb-header__cta {
  background: var(--black);
  color: var(--white);
  padding: 11px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: -0.01em;
  transition: all 0.4s var(--ease);
}
.vb-header__cta:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40,87,75,0.25);
}

@media (max-width: 768px) {
  .vb-header__nav { display: none; }
  .vb-header { padding: 16px 20px; }
}

/* ═══════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════ */
.vb-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 120px 32px 60px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 768px) {
  .vb-main { padding: 100px 20px 40px; }
}

/* ═══════════════════════════════════════
   PROGRESS STEPS
═══════════════════════════════════════ */
.vb-progress {
  max-width: 700px;
  margin: 0 auto 40px;
  width: 100%;
}
.vb-progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 4px;
}
.vb-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.vb-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--white);
  transition: all 0.4s var(--ease);
}
.vb-step.active .vb-step-num {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.vb-step.completed .vb-step-num {
  background: var(--green-pop);
  border-color: var(--green-pop);
  color: var(--black);
}
.vb-step.completed .vb-step-num::after {
  content: '✓';
  font-weight: 800;
}
.vb-step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.vb-step.active .vb-step-label {
  color: var(--black);
}
.vb-step.completed .vb-step-label {
  color: var(--green-mid);
}

@media (max-width: 600px) {
  .vb-step-label { display: none; }
  .vb-step-num { width: 36px; height: 36px; font-size: 0.85rem; }
}

.vb-progress-bar {
  height: 3px;
  background: var(--sand);
  border-radius: 100px;
  overflow: hidden;
}
.vb-progress-fill {
  height: 100%;
  background: var(--green-mid);
  border-radius: 100px;
  transition: width 0.6s var(--ease);
}

/* ═══════════════════════════════════════
   PANEL (Card)
═══════════════════════════════════════ */
.vb-panel {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  background: var(--white);
  border-radius: 24px;
  padding: 48px;
  animation: fadeIn 0.6s var(--ease);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.04),
    0 16px 64px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}
.vb-panel-wide {
  max-width: 900px;
}
.vb-panel-extra-wide {
  max-width: 1100px;
}

@media (max-width: 640px) {
  .vb-panel { padding: 32px 24px; border-radius: 20px; }
}

/* Panel Header */
.vb-panel-header {
  text-align: center;
  margin-bottom: 40px;
}
.vb-panel-header h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 12px;
}
.vb-panel-header h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green-mid);
}
.vb-panel-header p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

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

/* ═══════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════ */
.vb-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.vb-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vb-field-full {
  grid-column: 1 / -1;
}
.vb-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.vb-required {
  color: var(--green-mid);
}
.vb-field input[type="text"],
.vb-field input[type="email"],
.vb-field input[type="tel"],
.vb-field input[type="password"],
.vb-field textarea {
  width: 100%;
  padding: 16px 18px;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--black);
  transition: all 0.3s var(--ease);
}
.vb-field input::placeholder,
.vb-field textarea::placeholder {
  color: var(--muted);
}
.vb-field input:focus,
.vb-field textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--green-pale);
}
.vb-field input.error,
.vb-field textarea.error {
  border-color: var(--error);
}
.vb-field-hint {
  font-size: 0.8rem;
  color: var(--muted);
}
.vb-field-error {
  font-size: 0.8rem;
  color: var(--error);
  display: none;
}
.vb-field-error.visible {
  display: block;
}

/* DIVIDER */
.vb-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}
.vb-divider::before,
.vb-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sand);
}
.vb-divider span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* COLOR PICKER */
.vb-color-field {
  display: flex;
  align-items: center;
  gap: 14px;
}
.vb-color-field input[type="color"] {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: none;
  padding: 0;
}
.vb-color-field input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.vb-color-field input[type="color"]::-webkit-color-swatch {
  border: 2px solid var(--sand);
  border-radius: 12px;
}
.vb-color-field input[type="text"] {
  width: 110px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text);
  text-transform: uppercase;
}

/* UPLOAD ZONES */
.vb-upload-zone {
  position: relative;
  border: 2px dashed var(--sand);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  background: var(--cream);
}
.vb-upload-zone:hover {
  border-color: var(--green-mid);
  background: var(--white);
}
.vb-upload-zone.dragover {
  border-color: var(--green-mid);
  background: var(--green-pale);
}
.vb-upload-icon {
  font-size: 44px;
  margin-bottom: 12px;
  opacity: 0.7;
}
.vb-upload-content p {
  color: var(--text);
  font-size: 0.95rem;
}
.vb-upload-content p strong {
  color: var(--green-mid);
  font-weight: 700;
}
.vb-upload-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}
.vb-upload-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--green-pale);
  border: 1.5px solid var(--green-mid);
  border-radius: 14px;
}
.vb-upload-preview img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 8px;
  border: 1px solid var(--sand);
}
.vb-preview-meta {
  flex: 1;
  text-align: left;
}
.vb-preview-meta strong {
  display: block;
  color: var(--green-mid);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.vb-preview-meta span {
  font-size: 0.75rem;
  color: var(--muted);
}
.vb-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--warm);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.vb-btn-icon:hover {
  background: rgba(220, 38, 38, 0.1);
  color: var(--error);
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.vb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  border: none;
}
.vb-btn-primary {
  background: #28574b !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(40, 87, 75, 0.3);
}
.vb-btn-primary:hover {
  background: #1a3a2a !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(40, 87, 75, 0.4);
}
.vb-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.vb-btn-secondary {
  background: transparent;
  color: #3d3a36;
  border: 1.5px solid #d9d4ca;
}
.vb-btn-secondary:hover {
  border-color: #28574b;
  color: #28574b;
  transform: translateY(-2px);
}
.vb-btn-outline {
  background: transparent;
  color: #28574b;
  border: 1.5px solid #28574b;
}
.vb-btn-outline:hover {
  background: #28574b;
  color: #ffffff;
}
.vb-btn-sm {
  padding: 12px 20px;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* ═══════════════════════════════════════
   LOGO UPLOAD SECTION
═══════════════════════════════════════ */
.vb-logo-question {
  text-align: center;
  margin-bottom: 36px;
}
.vb-logo-question h3 {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.vb-logo-question-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.vb-logo-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.vb-logo-option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.vb-logo-option-card:hover {
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.vb-logo-option-card input {
  position: absolute;
  opacity: 0;
}
.vb-logo-option-card:has(input:checked) {
  border-color: var(--green-mid);
  background: var(--green-pale);
}
.vb-option-icon {
  flex-shrink: 0;
}
.vb-option-content {
  flex: 1;
  text-align: left;
}
.vb-option-content strong {
  display: block;
  color: var(--black);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.vb-option-content span {
  font-size: 0.8rem;
  color: var(--muted);
}
.vb-option-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  transition: all 0.3s;
}
.vb-logo-option-card input:checked ~ .vb-option-check {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
}

/* Logo Upload Grid */
.vb-logo-uploads-intro {
  margin-bottom: 28px;
}
.vb-logo-explanation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px;
  background: var(--cream);
  border-radius: 16px;
}
.vb-explanation-item {
  text-align: center;
}
.vb-explanation-item svg {
  margin-bottom: 10px;
}
.vb-explanation-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}
.vb-explanation-item strong {
  color: var(--text);
}
.vb-explanation-plus {
  font-size: 1.5rem;
  color: var(--sand);
  font-weight: 300;
}
.vb-logo-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.vb-logo-box {
  background: var(--cream);
  border: 1px solid var(--warm);
  border-radius: 16px;
  padding: 22px;
}
.vb-logo-header {
  margin-bottom: 14px;
}
.vb-logo-badge {
  display: inline-block;
  padding: 7px 14px;
  background: var(--warm);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.vb-badge-dark {
  background: var(--sand);
  color: var(--text);
}
.vb-badge-light {
  background: var(--green-pale);
  color: var(--green-mid);
}
.vb-logo-label {
  margin-bottom: 16px;
}
.vb-logo-label strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.vb-logo-label span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════
   PRICING CARDS
═══════════════════════════════════════ */
.vb-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.vb-pricing-card {
  position: relative;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 36px 28px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.vb-pricing-card:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.vb-pricing-card.selected {
  border-color: var(--green-mid);
  background: var(--green-pale);
}
.vb-pricing-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  padding: 8px 16px;
  background: var(--green-pop);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 100px;
}
.vb-pricing-header {
  margin-bottom: 24px;
}
.vb-pricing-header h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.vb-pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}
.vb-pricing-price .amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.04em;
}
.vb-pricing-price .period {
  font-size: 0.9rem;
  color: var(--muted);
}
.vb-pricing-setup {
  display: inline-block;
  padding: 8px 14px;
  background: var(--green-pale);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-mid);
}
.vb-pricing-features {
  list-style: none;
  margin-top: 24px;
}
.vb-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--warm);
}
.vb-pricing-features li:last-child {
  border-bottom: none;
}
.vb-pricing-features li::before {
  content: '✓';
  color: var(--green-pop);
  font-weight: 800;
}
.vb-pricing-features li.highlight {
  color: var(--green-mid);
  font-weight: 700;
}

/* ═══════════════════════════════════════
   SHOP PREVIEW
═══════════════════════════════════════ */
.vb-shop-preview,
.vb-landing-preview {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.04),
    0 16px 64px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.06);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.6s var(--ease);
}
.vb-shop-preview:hover,
.vb-landing-preview:hover {
  transform: perspective(1200px) rotateY(-0.5deg) rotateX(0.5deg);
}

/* ═══════════════════════════════════════
   SUCCESS SCREEN
═══════════════════════════════════════ */
.vb-success {
  text-align: center;
  padding: 48px 24px;
}
.vb-success-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  background: var(--green-pop);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  box-shadow: 0 12px 48px var(--green-glow);
}
.vb-success h2 {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.vb-success h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--green-mid);
}
.vb-success p,
#vb-success-text {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
#vb-success-link a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--black);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  transition: all 0.4s var(--ease);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
#vb-success-link a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(40,87,75,0.25);
  background: var(--green-mid);
}

/* ═══════════════════════════════════════
   LOADING OVERLAY
═══════════════════════════════════════ */
.vb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(245, 243, 239, 0.95);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10000;
}
.vb-overlay-content {
  text-align: center;
  max-width: 400px;
  padding: 48px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 16px 64px rgba(0,0,0,0.1);
}
.vb-overlay-spinner,
.vb-spinner {
  width: 52px;
  height: 52px;
  margin: 0 auto 28px;
  border: 3px solid var(--sand);
  border-top-color: var(--green-mid);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.vb-overlay-title {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 28px;
}
.vb-overlay-steps {
  text-align: left;
}
.vb-overlay-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid var(--warm);
  transition: all 0.3s;
}
.vb-overlay-step:last-child {
  border-bottom: none;
}
.vb-overlay-step.active {
  color: var(--text);
}
.vb-overlay-step.done {
  color: var(--green-mid);
}
.vb-overlay-step.error {
  color: var(--error);
}

/* ═══════════════════════════════════════
   ERROR MODAL
═══════════════════════════════════════ */
.vb-error-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
}
.vb-error-modal {
  background: var(--white);
  border-radius: 24px;
  padding: 44px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}
.vb-error-modal h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 24px;
}
.vb-error-list {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 14px;
  padding: 18px 22px;
}
.vb-error-list li {
  font-size: 0.9rem;
  color: var(--error);
  padding: 8px 0;
}
.vb-error-debug {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.vb-error-debug code {
  background: var(--cream);
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.vb-footer {
  padding: 48px 32px;
  border-top: 1px solid var(--warm);
  background: var(--cream);
}
.vb-footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}
.vb-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vb-footer-logo {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--black);
}
.vb-footer-logo .pop {
  color: var(--green-pop);
}
.vb-footer-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.6;
}
.vb-footer-links {
  display: flex;
  gap: 40px;
}
.vb-footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.vb-footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.vb-footer-col a:hover {
  color: var(--black);
}
.vb-footer-bottom {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--warm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vb-footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .vb-footer-content { flex-direction: column; text-align: center; align-items: center; }
  .vb-footer-links { flex-direction: column; gap: 32px; }
  .vb-footer-bottom { flex-direction: column; gap: 16px; }
}

/* ═══════════════════════════════════════
   PRODUCTS GRID (Step 3)
═══════════════════════════════════════ */
.vb-products-loading {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}
.vb-products-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.vb-products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--warm);
}
.vb-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.vb-product-card {
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.vb-product-card:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.vb-product-card.selected {
  border-color: var(--green-mid);
  background: var(--green-pale);
}
.vb-product-image {
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vb-product-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
.vb-product-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.vb-product-info p {
  font-size: 0.85rem;
  color: var(--muted);
}
.vb-product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-mid);
  margin-top: 10px;
}

/* Section Headers */
.vb-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.vb-section-icon {
  font-size: 1.3rem;
}
.vb-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

/* Password Section */
.vb-password-section {
  margin-bottom: 36px;
  padding: 28px;
  background: var(--cream);
  border-radius: 18px;
}
.vb-field-password {
  margin-top: 20px;
}

/* ═══════════════════════════════════════
   CHECKBOX
═══════════════════════════════════════ */
.vb-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
}
.vb-checkbox-label input {
  display: none;
}
.vb-checkbox-box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--sand);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  transition: all 0.2s;
}
.vb-checkbox-label input:checked + .vb-checkbox-box {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
}

/* ═══════════════════════════════════════
   SHOP MOCKUP PREVIEW (Step 4)
   Exact match to live Fanshop design
═══════════════════════════════════════ */
.vb-shop-mockup {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 20px 60px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  background: #1a3a2a;
}

/* Browser Chrome */
.vb-mockup-browser {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #f5f3ef;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.vb-mockup-dots {
  display: flex;
  gap: 6px;
}
.vb-mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.vb-mockup-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8a857d;
  border: 1px solid rgba(0,0,0,0.04);
}
.vb-mockup-lock {
  font-size: 0.7rem;
}

/* Shop Content Container */
.vb-mockup-content {
  position: relative;
}

/* Header Nav Pill */
.vb-mockup-header {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.vb-mockup-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(20px);
  border-radius: 100px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}
.vb-mockup-brand {
  font-weight: 700;
  color: #fff;
  padding-right: 8px;
}
.vb-mockup-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.2);
}
.vb-mockup-link {
  padding: 4px 8px;
}
.vb-mockup-cart {
  margin-left: 4px;
}

/* Hero Section */
.vb-mockup-hero {
  position: relative;
  padding: 80px 40px 50px;
  background: linear-gradient(135deg, #1a3a2a 0%, #28574b 50%, #1a3a2a 100%);
  overflow: hidden;
  min-height: 400px;
}
.vb-mockup-orb {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(45,212,160,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.vb-mockup-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Text */
.vb-mockup-hero-text {
  color: #fff;
}
.vb-mockup-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.vb-mockup-line {
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
.vb-mockup-headline {
  font-family: var(--font-sans);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}
.vb-mockup-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #a8c5b8;
}
.vb-mockup-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}
.vb-mockup-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.vb-mockup-btn-primary {
  padding: 12px 24px;
  background: #fff;
  color: #1a3a2a;
  border: none;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.vb-mockup-btn-secondary {
  padding: 12px 24px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

/* Stats */
.vb-mockup-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}
.vb-mockup-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vb-mockup-stat-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}
.vb-mockup-stat-num sup {
  font-size: 0.6em;
  opacity: 0.7;
}
.vb-mockup-stat-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
}
.vb-mockup-stat-flag {
  font-size: 1.1rem;
}
.vb-mockup-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* Hero Product Card */
.vb-mockup-hero-product {
  display: flex;
  justify-content: center;
}
.vb-mockup-product-card {
  position: relative;
  width: 220px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}
.vb-mockup-product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 100px;
}
.vb-mockup-product-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.vb-mockup-product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.vb-mockup-product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}
.vb-mockup-product-price small {
  font-size: 0.6em;
  font-weight: 500;
  opacity: 0.6;
}

/* Products Grid Section */
.vb-mockup-products {
  padding: 30px 40px 40px;
  background: linear-gradient(180deg, #28574b 0%, #1a3a2a 100%);
}
.vb-mockup-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.vb-mockup-product-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}
.vb-mockup-product-item-img {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.vb-mockup-product-item-img img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
.vb-mockup-product-item-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vb-mockup-product-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2dd4a0;
}

/* Responsive */
@media (max-width: 768px) {
  .vb-mockup-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .vb-mockup-hero-text {
    order: 2;
  }
  .vb-mockup-hero-product {
    order: 1;
  }
  .vb-mockup-headline {
    font-size: 2rem;
  }
  .vb-mockup-desc {
    max-width: 100%;
  }
  .vb-mockup-buttons {
    justify-content: center;
  }
  .vb-mockup-stats {
    justify-content: center;
  }
  .vb-mockup-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vb-mockup-hero {
    padding: 70px 24px 40px;
  }
  .vb-mockup-products {
    padding: 24px;
  }
}

/* Preview Color Picker */
.vb-preview-color-picker {
  margin-top: 24px;
  padding: 20px;
  background: var(--cream);
  border-radius: 14px;
  display: flex;
  justify-content: center;
}
.vb-preview-color-picker label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.vb-preview-color-picker input[type="color"] {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.vb-preview-color-picker input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.vb-preview-color-picker input[type="color"]::-webkit-color-swatch {
  border: 2px solid var(--sand);
  border-radius: 8px;
}
.vb-preview-color-picker input[type="text"] {
  width: 90px;
  padding: 10px 12px;
  background: var(--white);
  border: 1.5px solid var(--sand);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* Preview Summary */
.vb-preview-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.vb-summary-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.vb-summary-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}
.vb-summary-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}
.vb-summary-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
}
.vb-summary-email {
  font-size: 0.85rem;
  word-break: break-all;
}
.vb-summary-colors {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.vb-summary-color {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid rgba(0,0,0,0.1);
}

/* Terms Checkbox */
.vb-terms {
  margin-top: 28px;
  padding: 20px;
  background: var(--cream);
  border-radius: 14px;
}
.vb-terms a {
  color: var(--green-mid);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .vb-preview-summary {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════
   SUCCESS PAGE
═══════════════════════════════════════ */
.vb-success-email-box {
  background: #e8f5e9;
  border: 2px solid #2dd4a0;
  border-radius: 16px;
  padding: 24px 32px;
  margin: 24px 0;
  text-align: center;
}
.vb-success-email-label {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 12px;
}
.vb-success-email-address {
  font-size: 1.4rem;
  font-weight: 800;
  color: #28574b;
  margin: 0;
  word-break: break-all;
}
.vb-mockup-notice {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 10px;
  background: #FFF8E1;
  border: 1px solid #FFD54F;
  color: #5D4037;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}
.vb-mockup-notice strong {
  color: #E65100;
}
.vb-mockup-notice-success {
  background: #E8F5E9;
  border-color: #81C784;
  color: #1B5E20;
}
.vb-mockup-notice-success strong {
  color: #2E7D32;
}
.vb-success-link-container {
  margin-top: 28px;
}
.vb-success-link-container .vb-btn {
  font-size: 1rem;
}

/* ═══════════════════════════════════════
   LOADING OVERLAY - Progress Bar Style
═══════════════════════════════════════ */
.vb-overlay-progress {
  width: 100%;
  height: 6px;
  background: var(--sand);
  border-radius: 100px;
  overflow: hidden;
  margin: 24px 0;
}
.vb-overlay-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #28574b, #2dd4a0);
  border-radius: 100px;
  transition: width 0.1s linear;
}
.vb-overlay-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--warm);
}
.vb-overlay-step:last-child {
  border-bottom: none;
}
.vb-overlay-step.active {
  color: var(--text);
}
.vb-overlay-step.active .vb-step-indicator {
  animation: pulse-dot 1s ease-in-out infinite;
}
.vb-overlay-step.done {
  color: #28574b;
}
.vb-overlay-step.error {
  color: var(--error);
}
.vb-step-indicator {
  font-size: 1rem;
  width: 24px;
  text-align: center;
}
.vb-step-text {
  flex: 1;
}

/* ═══════════════════════════════════════
   COMPACT SHOP MOCKUP (smaller, cutoff)
═══════════════════════════════════════ */
.vb-shop-mockup {
  max-height: 500px;
  overflow: hidden;
  position: relative;
}
.vb-mockup-content {
  position: relative;
}
.vb-mockup-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #1a3a2a);
  pointer-events: none;
}
.vb-mockup-hero {
  padding: 60px 30px 40px;
  min-height: auto;
}
.vb-mockup-headline {
  font-size: 2.2rem;
}
.vb-mockup-products {
  padding: 20px 30px 60px;
}

/* Placeholder product images */
.vb-placeholder-img {
  background: rgba(255,255,255,0.08) !important;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vb-placeholder-img::before {
  content: '👕';
  font-size: 2rem;
  opacity: 0.4;
}

/* Button text always white in mockup */
.vb-mockup-btn-primary {
  color: #1a3a2a !important;
  background: #fff !important;
}
.vb-mockup-btn-secondary {
  color: #fff !important;
}
