/* =====================================================
   vprint.ch — Premium SaaS Design System
   ===================================================== */

/* --- Variables --- */
:root {
  --primary:       #2D5BFF;
  --primary-dark:  #1a44e8;
  --primary-light: #EEF2FF;
  --secondary:     #FF6B35;
  --accent:        #00C896;
  --dark:          #0A0F1E;
  --dark-2:        #141928;
  --gray-900:      #111827;
  --gray-800:      #1F2937;
  --gray-700:      #374151;
  --gray-600:      #4B5563;
  --gray-500:      #6B7280;
  --gray-400:      #9CA3AF;
  --gray-300:      #D1D5DB;
  --gray-200:      #E5E7EB;
  --gray-100:      #F3F4F6;
  --gray-50:       #F9FAFB;
  --white:         #FFFFFF;
  --success:       #10B981;
  --warning:       #F59E0B;
  --error:         #EF4444;
  --info:          #3B82F6;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07);
  --shadow:     0 4px 12px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 50px rgba(0,0,0,0.12);
  --shadow-xl:  0 30px 80px rgba(0,0,0,0.16);
  --shadow-blue: 0 8px 32px rgba(45,91,255,0.25);
  --shadow-blue-lg: 0 20px 60px rgba(45,91,255,0.30);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.4s cubic-bezier(0.4,0,0.2,1);

  --sidebar-w: 260px;
  --sidebar-icon-w: 64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Helvetica, Arial, sans-serif; color: var(--gray-900); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; max-width: 100%; }
ul { list-style: none; }

/* --- Typography --- */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 0.95rem; font-weight: 600; }
p { line-height: 1.7; color: var(--gray-600); }

/* --- Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.w-100 { width: 100%; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AFF 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-2 {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-lg);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-secondary:hover { background: #e85c26; border-color: #e85c26; color: var(--white); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn-ghost { background: transparent; color: var(--gray-700); border-color: var(--gray-200); }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }
.btn-danger { background: var(--error); color: var(--white); border-color: var(--error); }
.btn-danger:hover { background: #dc2626; border-color: #dc2626; color: var(--white); }
.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-success:hover { background: #059669; color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: var(--radius-md); }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-sm); }
.btn-icon.btn-sm { width: 32px; height: 32px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge-new       { background: #EEF2FF; color: var(--primary); }
.badge-info      { background: #EFF6FF; color: #1D4ED8; }
.badge-warning   { background: #FFFBEB; color: #B45309; }
.badge-success   { background: #ECFDF5; color: #065F46; }
.badge-completed { background: #F0FDF4; color: #15803D; }
.badge-danger    { background: #FFF1F2; color: #BE123C; }
.badge-gray      { background: var(--gray-100); color: var(--gray-600); }
.badge-orange    { background: #FFF7ED; color: #C2410C; }
.badge-lg { font-size: 13px; padding: 5px 14px; }

/* --- Alerts --- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
}
.alert-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.alert-error   { background: #FFF1F2; border: 1px solid #FECACA; color: #991B1B; }
.alert-warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #78350F; }
.alert-info    { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-label .required { color: var(--error); margin-left: 2px; }
.form-control {
  display: block;
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,91,255,0.12); }
.form-control::placeholder { color: var(--gray-400); }
.form-control.is-invalid { border-color: var(--error); }
.form-hint { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--error); margin-top: 4px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check-input { width: 18px; height: 18px; border: 2px solid var(--gray-300); border-radius: 4px; cursor: pointer; accent-color: var(--primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-title { font-size: 16px; font-weight: 700; color: var(--gray-900); }
.card-body { padding: 24px; }
.card-hover { transition: var(--transition); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* =====================================================
   PUBLIC NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Home page: transparent until scroll */
.nav.is-home {
  background: transparent;
}
.nav.is-home.scrolled {
  background: rgba(10,15,30,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* Inner pages: always dark solid — never transparent */
.nav.is-inner {
  background: rgba(10,15,30,0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* Fallback: any nav that has been scrolled always gets dark bg */
.nav.scrolled {
  background: rgba(10,15,30,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: rgba(255,255,255,0.80);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.10); }
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-lang {
  display: flex;
  gap: 4px;
  margin-right: 8px;
}
.nav-lang a {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  padding: 4px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.nav-lang a:hover, .nav-lang a.active-lang { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 24px;
  padding: 6px;
  border-radius: var(--radius-sm);
  line-height: 1;
  flex-shrink: 0;
}
.nav-mobile-toggle:hover { background: rgba(255,255,255,0.1); }

/* --- Mobile Nav --- */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: #0d1320;
  padding: 12px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-mobile a.active { color: var(--white); font-weight: 600; }

/* Mobile nav CTA buttons */
.nav-mobile-cta {
  margin: 8px 24px 0 !important;
  border-bottom: none !important;
  border-radius: var(--radius) !important;
  text-align: center !important;
  padding: 14px 24px !important;
  font-weight: 600 !important;
  background: rgba(255,255,255,0.07) !important;
}
.nav-mobile-cta--primary {
  background: var(--primary) !important;
  color: var(--white) !important;
  margin-top: 6px !important;
}
.nav-mobile-lang {
  display: flex;
  gap: 8px;
  padding: 16px 24px 0;
}
.nav-mobile-lang a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: none !important;
  padding: 4px 8px !important;
}
.nav-mobile-lang a.active-lang { color: var(--white) !important; background: rgba(255,255,255,0.1) !important; border-radius: 4px; }

/* Full-screen overlay behind mobile menu */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
}
.nav-mobile-overlay.open { display: block; }

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(155deg, #08101F 0%, #0B1628 55%, #0A1220 100%);
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 65% at 20% 0%, rgba(45,91,255,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 88% 80%, rgba(0,200,150,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 65% 10%, rgba(124,58,255,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 30% 25% at 5% 75%, rgba(45,91,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: center;
}
.hero-content { position: relative; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,91,255,0.14);
  border: 1px solid rgba(45,91,255,0.28);
  color: #93BBFF;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}
.hero-headline {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-headline .gradient-text { display: block; }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.62);
  line-height: 1.72;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 32px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  background: rgba(0,200,150,0.11);
  border: 1px solid rgba(0,200,150,0.28);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: #6EE7B7;
  white-space: nowrap;
}
.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-microcopy {
  font-size: 13px;
  color: rgba(255,255,255,0.33);
  line-height: 1.6;
  margin-top: 4px;
}

/* --- Order Preview Card (OPC) --- */
.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
}
.opc {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 26px;
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 40px 90px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.opc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.opc-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2D5BFF, #7C3AFF);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.opc-shop-info { flex: 1; min-width: 0; }
.opc-shop-name { font-size: 14px; font-weight: 700; color: var(--white); }
.opc-shop-url { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 2px; }
.opc-live-badge {
  font-size: 11px;
  font-weight: 700;
  color: #6EE7B7;
  background: rgba(0,200,150,0.15);
  border: 1px solid rgba(0,200,150,0.3);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.opc-section { margin-bottom: 14px; }
.opc-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.28);
  margin-bottom: 7px;
}
.opc-product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(45,91,255,0.12);
  border: 1px solid rgba(45,91,255,0.25);
  border-radius: var(--radius);
  padding: 10px 14px;
}
.opc-product-icon { font-size: 18px; }
.opc-product-name { flex: 1; font-size: 14px; font-weight: 600; color: var(--white); }
.opc-check { color: #6EE7B7; font-weight: 800; font-size: 15px; }
.opc-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 8px 14px;
  width: fit-content;
}
.opc-qty-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-size: 16px;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.opc-qty-val { font-size: 14px; font-weight: 600; color: var(--white); min-width: 80px; text-align: center; }
.opc-file-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 13px;
}
.opc-file-name { flex: 1; color: rgba(255,255,255,0.75); }
.opc-file-done { color: #6EE7B7; font-size: 11px; font-weight: 700; white-space: nowrap; }
.opc-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.opc-total-label { font-size: 13px; color: rgba(255,255,255,0.5); }
.opc-total-price { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.opc-submit-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #2D5BFF 0%, #7C3AFF 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: default;
  margin-bottom: 12px;
}
.opc-notification {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,150,0.12);
  border: 1px solid rgba(0,200,150,0.25);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #6EE7B7;
}
.opc-notif-dot {
  width: 8px;
  height: 8px;
  background: #00C896;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* --- Why Strip --- */
.why-strip {
  background: rgba(10,15,30,0.97);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.why-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
}
.why-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.why-item span { font-size: 16px; }

/* --- Live Stats Bar --- */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 28px 0;
}
.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 40px;
}
.stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--gray-100);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .stats-bar-inner { gap: 20px 0; }
  .stat-sep { display: none; }
  .stat-item { padding: 0 20px; min-width: 140px; }
}

/* --- Feature Detail Section --- */
.fd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.fd-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}
.fd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fd-card.fd-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
}
.fd-icon {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
}
.fd-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
}
.fd-badge.fd-badge-biz {
  background: #FFF7ED;
  color: #C2410C;
}
.fd-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--gray-900);
}
.fd-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 18px;
}
.fd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fd-list li {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 500;
}
@media (max-width: 1024px) { .fd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .fd-grid { grid-template-columns: 1fr; } }

/* --- Steps Grid --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  text-align: center;
  transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.step-icon { font-size: 44px; margin-bottom: 18px; }
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.step-card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* Hero responsive */
@media (max-width: 1100px) {
  .hero-layout { gap: 40px; }
  .opc { max-width: 360px; }
}
@media (max-width: 900px) {
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-preview { order: -1; display: flex; justify-content: center; }
  .opc { max-width: 380px; }
}
@media (max-width: 640px) {
  .hero { padding: 90px 0 48px; }
  .hero-headline { font-size: clamp(1.85rem, 7vw, 2.5rem); }
  .hero-sub { font-size: 15px; }
  .hero-pills { gap: 7px; }
  .hero-pill { font-size: 12px; padding: 6px 12px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-preview { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-card { padding: 28px 22px; }
  .why-strip-inner { gap: 10px 20px; }
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.65); }
.section-gray { background: var(--gray-50); }
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--gray-500); margin-bottom: 56px; max-width: 560px; }
.section-sub.center { margin-left: auto; margin-right: auto; }

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.pricing-card.featured {
  background: var(--dark);
  border-color: var(--primary);
  box-shadow: var(--shadow-blue-lg);
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #7C3AFF);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.pricing-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 6px; }
.pricing-card.featured .pricing-name { color: #93BBFF; }
.pricing-desc { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }
.pricing-card.featured .pricing-desc { color: rgba(255,255,255,0.55); }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.pricing-price .amount { font-size: 44px; font-weight: 800; color: var(--gray-900); letter-spacing: -0.03em; }
.pricing-card.featured .pricing-price .amount { color: var(--white); }
.pricing-price .currency { font-size: 20px; font-weight: 700; color: var(--gray-500); }
.pricing-card.featured .pricing-price .currency { color: rgba(255,255,255,0.6); }
.pricing-period { font-size: 13px; color: var(--gray-400); margin-bottom: 28px; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.45); }
.pricing-divider { height: 1px; background: var(--gray-100); margin-bottom: 24px; }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.1); }
.pricing-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-700); }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.8); }
.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pricing-card.featured .pricing-features li::before { color: #6EE7B7; }
.pricing-cta { display: block; width: 100%; text-align: center; }

/* --- For Whom --- */
.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.for-whom-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}
.for-whom-card:hover { background: rgba(45,91,255,0.1); border-color: rgba(45,91,255,0.3); transform: translateY(-4px); }
.for-whom-icon { font-size: 40px; margin-bottom: 16px; }
.for-whom-card h3 { font-size: 17px; color: var(--white); margin-bottom: 8px; }
.for-whom-card p { font-size: 14px; color: rgba(255,255,255,0.55); }

/* --- FAQ --- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray-900);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-question .faq-icon { font-size: 20px; color: var(--gray-400); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-answer { display: none; padding-bottom: 20px; color: var(--gray-600); font-size: 15px; }
.faq-item.open .faq-answer { display: block; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AFF 60%, var(--primary-dark) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2 { color: var(--white); position: relative; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 18px; margin-bottom: 36px; position: relative; }
.cta-section .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* --- Footer --- */
.footer {
  background: var(--dark-2);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-desc { font-size: 14px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* =====================================================
   DASHBOARD LAYOUT
   ===================================================== */
.app-layout {
  display: flex;
  background: var(--gray-50);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ─── Sidebar ─── */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100dvh;
  background: #0E1325;
  display: flex;
  flex-direction: column;
  z-index: 200;
  border-right: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;                               /* no sidebar-level scrollbar gutter */
  will-change: width, transform;
  transition: width 0.24s cubic-bezier(0.4,0,0.2,1),
              transform 0.24s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.24s cubic-bezier(0.4,0,0.2,1);
}
.sidebar-logo {
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.sidebar-logo span { color: var(--primary); }
.sidebar-logo small { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.35); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.08em; }

/* Nav: scrollable zone — logo and footer remain fixed */
.sidebar-nav {
  flex: 1;
  min-height: 0;             /* allow flex child to shrink */
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.sidebar-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  padding: 14px 8px 5px;
  max-height: 48px;
  white-space: nowrap;
  overflow: hidden;
  flex-shrink: 0;
  transition: max-height 0.2s cubic-bezier(0.4,0,0.2,1), padding 0.2s cubic-bezier(0.4,0,0.2,1), opacity 0.15s;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: background 0.15s, color 0.15s,
              padding 0.2s cubic-bezier(0.4,0,0.2,1),
              gap 0.2s cubic-bezier(0.4,0,0.2,1);
}
.sidebar-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.sidebar-nav a.active { color: var(--white); background: rgba(45,91,255,0.28); font-weight: 600; }
.sidebar-nav a .nav-icon { font-size: 17px; min-width: 22px; width: 22px; text-align: center; flex-shrink: 0; }
.sidebar-nav a .nav-label { overflow: hidden; max-width: 180px; transition: max-width 0.2s cubic-bezier(0.4,0,0.2,1), opacity 0.15s; min-width: 0; flex: 1; }
.sidebar-nav a .nav-badge { margin-left: auto; background: var(--error); color: var(--white); font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: var(--radius-full); flex-shrink: 0; transition: opacity 0.15s; }

.sidebar-footer {
  padding: 12px 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.15s;
}
.sidebar-avatar {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), #7C3AFF);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.sidebar-user-info { flex: 1; min-width: 0; max-width: 160px; overflow: hidden; transition: max-width 0.2s cubic-bezier(0.4,0,0.2,1), opacity 0.15s; }
.sidebar-user-name { font-size: 13px; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: 11px; color: rgba(255,255,255,0.35); }
.sidebar-logout { color: rgba(255,255,255,0.35); font-size: 17px; max-width: 40px; transition: color 0.15s, max-width 0.2s cubic-bezier(0.4,0,0.2,1), opacity 0.15s; overflow: hidden; flex-shrink: 0; }
.sidebar-logout:hover { color: var(--error); }

/* ─── Main content ─── */
.app-main {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-width: 0;
  overflow-x: hidden;
  transition: margin-left 0.24s cubic-bezier(0.4,0,0.2,1);
}

/* ─── Topbar ─── */
.app-topbar {
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
  flex-shrink: 0;
}
.app-topbar-left { display: flex; align-items: center; gap: 12px; }
.app-topbar-title { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-notif {
  position: relative;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  font-size: 19px;
  cursor: pointer;
  transition: background 0.15s;
}
.topbar-notif:hover { background: var(--gray-100); }
.topbar-notif-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: var(--error); border: 2px solid var(--white); border-radius: 50%; }

.app-content { padding: 28px 32px; flex: 1; min-width: 0; overflow-x: hidden; }
@media (max-width: 900px) { .app-content { padding: 20px 16px; } }

/* ─── Mobile menu button (hidden on desktop) ─── */
.mobile-menu-btn {
  display: none;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 19px;
  cursor: pointer;
  color: var(--gray-700);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

/* ─── Mobile overlay ─── */
.app-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  -webkit-tap-highlight-color: transparent;
}
.app-sidebar-overlay.visible { display: block; }

/* ─── Mobile sidebar (≤900px): off-canvas drawer ─── */
@media (max-width: 900px) {
  .sidebar {
    width: var(--sidebar-w) !important;
    transform: translateX(calc(-1 * var(--sidebar-w)));
  }
  .sidebar.open { transform: translateX(0); box-shadow: 8px 0 40px rgba(0,0,0,0.5); }
  .app-main { margin-left: 0 !important; }
  .mobile-menu-btn { display: flex !important; }
  .app-topbar { padding: 0 14px; }
  .app-content { padding: 16px 14px; }
}
@media (max-width: 600px) {
  .app-topbar-right .btn-ghost { display: none; }
}

/* =====================================================
   DASHBOARD COMPONENTS
   ===================================================== */
/* Stat Cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.stat-card-icon.blue   { background: #EEF2FF; }
.stat-card-icon.green  { background: #ECFDF5; }
.stat-card-icon.orange { background: #FFF7ED; }
.stat-card-icon.purple { background: #F5F3FF; }
.stat-card-icon.red    { background: #FFF1F2; }
.stat-card-label { font-size: 13px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-card-value { font-size: 30px; font-weight: 800; color: var(--gray-900); letter-spacing: -0.02em; }
.stat-card-change { font-size: 13px; color: var(--success); font-weight: 500; }
.stat-card-change.down { color: var(--error); }

/* Page header */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.page-header h1 { font-size: 24px; font-weight: 800; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--gray-100); }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  white-space: nowrap;
}
.table thead tr { background: var(--gray-50); border-bottom: 1px solid var(--gray-100); }
.table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  white-space: nowrap;
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-50); color: var(--gray-700); }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--gray-50); }
.table .fw-bold { font-weight: 700; color: var(--gray-900); }
.table .text-muted { color: var(--gray-400); font-size: 13px; }
.table-actions { display: flex; gap: 6px; align-items: center; }
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { color: var(--gray-600); margin-bottom: 8px; }
.empty-state p { font-size: 14px; max-width: 320px; margin: 0 auto; }

/* Filters bar */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search-box {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
}
.search-box input { padding-left: 38px; }
.search-box::before { content: '🔍'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; }

/* Order Detail */
.order-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
@media (max-width: 900px) { .order-detail-grid { grid-template-columns: 1fr; } }
.order-timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 16px; padding-bottom: 24px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--gray-100); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 38px; height: 38px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.timeline-content { flex: 1; padding-top: 6px; }
.timeline-content strong { font-size: 14px; display: block; margin-bottom: 2px; }
.timeline-content small { font-size: 12px; color: var(--gray-400); }

/* Shop color theme variables */
.shop-themed {
  --shop-primary: #2D5BFF;
  --shop-secondary: #FF6B35;
  --shop-accent: #00C896;
}

/* File upload zone */
.upload-zone {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-50);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.upload-zone input { display: none; }
.upload-icon { font-size: 40px; margin-bottom: 12px; }
.upload-zone p { font-size: 14px; color: var(--gray-500); }
.upload-zone .upload-types { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.uploaded-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-top: 8px;
}
.uploaded-file .file-icon { font-size: 24px; }
.uploaded-file .file-name { font-size: 14px; font-weight: 500; }
.uploaded-file .file-size { font-size: 12px; color: var(--gray-400); }

/* Color picker */
.color-swatch { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 2px solid var(--gray-200); cursor: pointer; appearance: none; padding: 2px; }

/* Status flow */
.status-flow { display: flex; align-items: center; gap: 0; margin-bottom: 24px; overflow-x: auto; }
.status-flow-step {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  min-width: 80px;
}
.status-flow-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}
.status-flow-dot.done { background: var(--success); border-color: var(--success); color: var(--white); }
.status-flow-dot.current { background: var(--primary); border-color: var(--primary); color: var(--white); }
.status-flow-line { flex: 1; height: 2px; background: var(--gray-100); }
.status-flow-line.done { background: var(--success); }
.status-flow-label { font-size: 10px; text-align: center; color: var(--gray-400); margin-top: 6px; white-space: nowrap; }

/* Shop public page */
.shop-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--shop-primary, #2D5BFF) 0%, #7C3AFF 100%);
  color: var(--white);
  text-align: center;
}
.shop-hero h1 { color: var(--white); font-size: 2.5rem; }
.shop-hero p { color: rgba(255,255,255,0.8); font-size: 18px; margin: 12px 0 0; }
.shop-info-bar {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.shop-info-bar span { display: flex; align-items: center; gap: 6px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary); }
.product-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--gray-100), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}
.product-card-body { padding: 20px; }
.product-card-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 6px; }
.product-card-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.product-card-desc { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }
.product-card-price { font-size: 20px; font-weight: 800; color: var(--gray-900); }
.product-card-price small { font-size: 12px; color: var(--gray-400); font-weight: 400; }

/* Order form */
.order-form-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }
@media (max-width: 900px) { .order-form-wrap { grid-template-columns: 1fr; } }
.order-summary-sticky { position: sticky; top: 24px; }
.order-summary-box {
  background: var(--dark);
  border-radius: var(--radius-md);
  padding: 28px;
  color: var(--white);
}
.order-summary-box h3 { color: var(--white); margin-bottom: 20px; }
.order-summary-line { display: flex; justify-content: space-between; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.order-summary-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; color: var(--white); padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 8px; }
.option-selector { display: flex; flex-wrap: wrap; gap: 8px; }
.option-btn {
  padding: 8px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-700);
}
.option-btn:hover { border-color: var(--primary); color: var(--primary); }
.option-btn.selected { border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 600; }
.qty-control { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; width: fit-content; }
.qty-btn { width: 40px; height: 42px; background: var(--gray-50); border: none; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.qty-btn:hover { background: var(--gray-100); }
.qty-input { width: 72px; height: 42px; border: none; border-left: 1.5px solid var(--gray-200); border-right: 1.5px solid var(--gray-200); text-align: center; font-size: 16px; font-weight: 700; outline: none; }

/* Demo banner */
.demo-banner {
  background: linear-gradient(135deg, #7C3AFF, var(--primary));
  color: var(--white);
  text-align: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
}
.demo-banner strong { font-weight: 700; }
.demo-banner a { color: rgba(255,255,255,0.8); text-decoration: underline; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-400); margin-bottom: 20px; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--gray-300); }

/* Auth pages */
.auth-page { min-height: 100vh; background: var(--dark); display: flex; align-items: center; padding: 60px 24px; }
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } }
.auth-left {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  min-height: 100vh;
}
.auth-right {
  background: var(--white);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  overflow-y: auto;
}
@media (max-width: 900px) { .auth-left { display: none; } .auth-right { min-height: 100vh; } }
@media (max-width: 480px) { .auth-right { padding: 40px 24px; } }
.auth-logo-wrap { margin-bottom: 48px; }
.auth-logo { font-size: 26px; font-weight: 800; color: var(--white); }
.auth-logo span { color: var(--primary); }
.auth-left h2 { color: var(--white); font-size: 2rem; margin-bottom: 16px; }
.auth-left p { color: rgba(255,255,255,0.55); font-size: 16px; margin-bottom: 36px; }
.auth-feature { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.auth-feature-icon { width: 36px; height: 36px; background: rgba(45,91,255,0.2); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.auth-feature-text { font-size: 14px; color: rgba(255,255,255,0.7); }
.auth-right h1 { font-size: 2rem; margin-bottom: 6px; }
.auth-right .auth-sub { color: var(--gray-500); margin-bottom: 32px; }
.auth-form-header { margin-bottom: 32px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; font-size: 13px; color: var(--gray-400); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-100); }
.auth-footer { margin-top: 24px; font-size: 14px; text-align: center; color: var(--gray-500); }

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.95);
  transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-size: 18px; }
.modal-close { background: none; border: none; font-size: 24px; color: var(--gray-400); cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--gray-700); }
.modal-body { padding: 28px; }
.modal-footer { padding: 20px 28px; border-top: 1px solid var(--gray-100); display: flex; gap: 12px; justify-content: flex-end; }

/* Tabs */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--gray-100); margin-bottom: 28px; overflow-x: auto; }
.tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Coming soon modules */
.module-placeholder {
  background: var(--gray-50);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  color: var(--gray-400);
}
.module-placeholder .module-icon { font-size: 40px; margin-bottom: 12px; opacity: 0.5; }
.module-placeholder h3 { color: var(--gray-500); font-size: 16px; margin-bottom: 6px; }
.module-placeholder p { font-size: 13px; }
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #7C3AFF, var(--primary));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: 13px 24px; font-size: 15px; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
}

/* Print */
@media print {
  .sidebar, .app-topbar, .nav { display: none; }
  .app-main { margin-left: 0; }
}

/* =====================================================
   SETUP TAG & TRUST INDICATORS
   ===================================================== */
.setup-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0,200,150,0.10);
  border: 1px solid rgba(0,200,150,0.25);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.pricing-card.featured .setup-tag {
  color: #6EE7B7;
  background: rgba(0,200,150,0.15);
  border-color: rgba(0,200,150,0.35);
}

/* Hero key selling-point pills — directly under H1 */
.hero-key-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}
.hero-key-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: rgba(0,200,150,0.12);
  border: 1px solid rgba(0,200,150,0.30);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: #6EE7B7;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .hero-key-pill { font-size: 13px; padding: 8px 14px; }
}

/* Trust bar inside hero */
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.hero-trust-item .check { color: var(--accent); font-weight: 800; font-size: 14px; }

/* Guarantee bar below pricing */
.guarantee-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
  background: var(--white);
}
.guarantee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  gap: 5px;
  border-right: 1px solid var(--gray-100);
}
.guarantee-item:last-child { border-right: none; }
.guarantee-icon { font-size: 30px; margin-bottom: 6px; }
.guarantee-item strong { font-size: 15px; font-weight: 800; color: var(--gray-900); }
.guarantee-item span { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* Guarantee bar dark variant (for dark sections) */
.guarantee-bar.dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.guarantee-bar.dark .guarantee-item { border-color: rgba(255,255,255,0.08); }
.guarantee-bar.dark .guarantee-item strong { color: var(--white); }
.guarantee-bar.dark .guarantee-item span { color: rgba(255,255,255,0.5); }

@media (max-width: 640px) {
  .guarantee-bar { grid-template-columns: 1fr; }
  .guarantee-item { border-right: none; border-bottom: 1px solid var(--gray-100); padding: 20px 16px; }
  .guarantee-bar.dark .guarantee-item { border-color: rgba(255,255,255,0.08); }
  .guarantee-item:last-child { border-bottom: none; }
  .hero-trust-bar { gap: 12px; }
  .hero-trust-item { font-size: 12px; }
}

/* =====================================================
   MOBILE RESPONSIVE — COMPREHENSIVE
   ===================================================== */

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 72px 0; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  h3 { font-size: 1.15rem; }

  /* Layout */
  .container { padding: 0 16px; }
  .container-sm { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }

  /* Hero */
  .hero { padding: 88px 0 44px; min-height: auto; }
  .hero-sub { font-size: 15px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature-card { padding: 24px 20px; }
  .feature-icon { width: 48px; height: 48px; font-size: 22px; }

  /* For-whom */
  .for-whom-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .for-whom-card { padding: 20px 16px; }
  .for-whom-icon { font-size: 32px; margin-bottom: 10px; }

  /* Pricing */
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .pricing-card { padding: 28px 24px; }

  /* Section header */
  .section-sub { font-size: 16px; margin-bottom: 36px; }

  /* CTA section */
  .cta-section { padding: 64px 0; }
  .cta-section .cta-btns { flex-direction: column; align-items: center; gap: 10px; }
  .cta-section .cta-btns .btn { width: 100%; max-width: 320px; }

  /* Footer */
  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .form-control { font-size: 16px; } /* prevent iOS zoom */

  /* Auth pages */
  .auth-left { display: none !important; }
  .auth-right { padding: 40px 20px; min-height: 100vh; }

  /* Dashboard */
  .app-topbar { padding: 0 16px; }
  .app-content { padding: 20px 16px; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-header h1 { font-size: 20px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 18px; }
  .stat-card-value { font-size: 24px; }

  /* Filters bar */
  .filters-bar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: 100%; }

  /* Tables */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
  .table { white-space: nowrap; min-width: 600px; }
  .table-actions { flex-wrap: nowrap; }

  /* Order forms */
  .order-form-wrap { grid-template-columns: 1fr; gap: 20px; }
  .order-detail-grid { grid-template-columns: 1fr; gap: 16px; }
  .order-summary-sticky { position: static; }

  /* Shop public */
  .shop-hero { padding: 56px 0 40px; }
  .shop-hero h1 { font-size: 1.8rem; }
  .shop-info-bar { gap: 14px; font-size: 13px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  /* Modals */
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal { border-radius: var(--radius-md) var(--radius-md) 0 0; max-width: 100%; }
  .modal-header { padding: 20px; }
  .modal-body { padding: 20px; }
  .modal-footer { padding: 16px 20px; flex-wrap: wrap; }

  /* Tabs */
  .tabs { gap: 0; }
  .tab-btn { padding: 10px 14px; font-size: 13px; }

  /* Cards padding */
  .card-body { padding: 16px; }
  .card-header { padding: 14px 16px; }

  /* Btn adjustments */
  .btn-lg { padding: 13px 24px; font-size: 15px; }
}

/* --- Small mobile (≤480px) --- */
@media (max-width: 480px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }

  .container { padding: 0 14px; }
  .section { padding: 44px 0; }

  /* Single-column everything */
  .features-grid { grid-template-columns: 1fr; }
  .for-whom-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Products */
  .product-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding: 76px 0 36px; }
  .hero-eyebrow { font-size: 12px; padding: 5px 12px; }
  .hero-microcopy { font-size: 12px; }

  /* Auth */
  .auth-right { padding: 32px 16px; }
  .auth-right h1 { font-size: 1.6rem; }

  /* Topbar */
  .app-topbar-title { font-size: 16px; }

  /* Buttons */
  .btn { padding: 10px 18px; font-size: 14px; }
  .btn-sm { padding: 7px 14px; font-size: 12px; }
  .btn-lg { padding: 13px 20px; font-size: 14px; }

  /* Modal full height on very small screens */
  .modal { max-height: 90vh; overflow-y: auto; }

  /* Nav height adjust for small phones */
  .nav-inner { height: 60px; }
  .nav-mobile { top: 60px; max-height: calc(100vh - 60px); }
  .nav-logo { font-size: 19px; }

  /* Table responsive */
  .table { min-width: 480px; }
}

/* =====================================================
   COMPREHENSIVE MOBILE FIXES
   ===================================================== */

/* ── Card tables scroll ── */
.table-wrap, .card-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Topbar title truncate ── */
.app-topbar-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100vw - 200px);
}

/* ── Page header flex-wrap ── */
.page-header { flex-wrap: wrap; gap: 12px; }
.page-header-actions { flex-wrap: wrap; gap: 8px; }

/* ── Input font-size ≥16px on mobile to prevent iOS zoom ── */
@media (max-width: 900px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="date"],
  input[type="search"],
  select,
  textarea { font-size: 16px !important; }

  /* Topbar title smaller */
  .app-topbar-title { font-size: 15px; max-width: calc(100vw - 180px); }

  /* Better touch targets for sidebar nav links */
  .sidebar-nav a { padding: 12px 14px; min-height: 44px; }

  /* Table full-width scroll */
  .table-wrap, .card-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Stat grid 2-col on tablet */
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Analytics chart height */
  canvas { max-height: 280px !important; }

  /* Notif panel full-width on small screens */
  .notif-panel { width: calc(100vw - 24px); right: -12px; }

  /* Modal sheet from bottom */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
  }

  /* Filters bar stack */
  .filters-bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .search-box { max-width: 100%; }
  .filters-bar .btn { width: 100%; justify-content: center; }

  /* Coupon / domain tables */
  .coupon-table, .dom-table { min-width: 600px; }

  /* Page header buttons stack */
  .page-header { flex-direction: column; align-items: flex-start; }
  .page-header > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }

  /* Demo banner padding */
  .demo-banner { padding: 10px 14px; font-size: 12.5px; }

  /* Guarantee bar */
  .guarantee-bar { flex-direction: column; gap: 18px; }
  .guarantee-item { text-align: center; }

  /* Feature detail grid */
  .fd-grid { grid-template-columns: 1fr; }

  /* Steps grid */
  .steps-grid { grid-template-columns: 1fr; }

  /* Pricing grid single col */
  .pricing-grid { grid-template-columns: 1fr; }

  /* For-whom grid 1-col */
  .for-whom-grid { grid-template-columns: 1fr; }

  /* Stats bar stacked */
  .stats-bar-inner { flex-direction: column; gap: 18px; }
  .stat-sep { display: none; }
  .stat-item { padding: 0; }
}

/* ── Small phones: single-column grids ── */
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .app-topbar-title { font-size: 14px; max-width: calc(100vw - 150px); }
  .mobile-menu-btn { width: 36px; height: 36px; font-size: 18px; }

  /* Product grid 1 col */
  .product-grid { grid-template-columns: 1fr; }

  /* Pricing 1 col */
  .pricing-grid { grid-template-columns: 1fr; }

  /* Features 1 col */
  .features-grid { grid-template-columns: 1fr; }

  /* Shop public hero */
  .shop-hero h1 { font-size: 1.5rem; }

  /* Coupon form grid */
  .form-row { grid-template-columns: 1fr !important; }

  /* Warum section */
  .warum-compare { grid-template-columns: 1fr; gap: 0; }
  .warum-before { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: none; }
  .warum-after { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .warum-arrow-col { padding-top: 0; font-size: 1.6rem; transform: rotate(90deg); justify-content: center; padding: 12px 0; }
}

/* ── Warum vprint.ch? — Before/After comparison ── */
.warum-compare {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  align-items: start;
  margin-top: 56px;
}
.warum-side {
  padding: 36px 32px;
}
.warum-before {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.warum-after {
  background: linear-gradient(135deg, #EEF4FF 0%, #F0FDF9 100%);
  border: 2px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-blue);
}
.warum-side-header {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
}
.warum-before .warum-side-header {
  color: var(--gray-500);
  border-bottom: 1.5px solid var(--gray-200);
}
.warum-after .warum-side-header {
  color: var(--primary);
  border-bottom: 1.5px solid rgba(45,91,255,0.2);
}
.warum-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.warum-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.935rem;
  line-height: 1.55;
}
.warum-list-bad li { color: var(--gray-400); }
.warum-list-bad li::before {
  content: '✗';
  flex-shrink: 0;
  color: var(--error);
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 3px;
}
.warum-list-good li { color: var(--gray-800); font-weight: 500; }
.warum-list-good li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 3px;
}
.warum-arrow-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 88px;
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 800;
}

/* =====================================================
   SIDEBAR COLLAPSE
   ===================================================== */

/* ─── Toggle button in topbar ─── */
.sidebar-collapse-btn {
  display: flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: transparent;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  color: var(--gray-500);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.sidebar-collapse-btn:hover { background: var(--gray-100); color: var(--gray-800); border-color: var(--gray-300); }
.sidebar-collapse-btn svg { transition: transform 0.24s cubic-bezier(0.4,0,0.2,1); }
.sidebar-collapsed .sidebar-collapse-btn svg { transform: rotate(180deg); }
@media (max-width: 900px) { .sidebar-collapse-btn { display: none !important; } }

/* ─── Collapsed: icon-only narrow sidebar ─── */
.sidebar-collapsed .sidebar { width: var(--sidebar-icon-w); }
.sidebar-collapsed .app-main { margin-left: var(--sidebar-icon-w); }

/* ─── Hover-expand: flies over content as overlay ─── */
.sidebar-collapsed .sidebar:hover {
  width: var(--sidebar-w);
  z-index: 250;
  box-shadow: 4px 0 32px rgba(0,0,0,0.4);
}

/* ─── Logo: hide shop name & plan badge when collapsed ─── */
.sidebar-name-wrap {
  overflow: hidden;
  min-width: 0;
  max-width: 160px;
  transition: max-width 0.2s cubic-bezier(0.4,0,0.2,1), opacity 0.15s;
}
.sidebar-collapsed .sidebar:not(:hover) .sidebar-name-wrap { max-width: 0; opacity: 0; }
.sidebar-collapsed .sidebar:not(:hover) .sidebar-logo-inner { justify-content: center; }

.sidebar-plan-wrap {
  overflow: hidden;
  max-height: 60px;
  transition: max-height 0.2s cubic-bezier(0.4,0,0.2,1), opacity 0.15s, margin 0.2s;
}
.sidebar-collapsed .sidebar:not(:hover) .sidebar-plan-wrap { max-height: 0; opacity: 0; margin-top: 0 !important; }

/* ─── Section labels: collapse when icon-only ─── */
.sidebar-collapsed .sidebar:not(:hover) .sidebar-section-label {
  max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0;
}

/* ─── Nav links: center icon, hide label & badge ─── */
.sidebar-collapsed .sidebar:not(:hover) .sidebar-nav a {
  padding-left: 0; padding-right: 0; gap: 0; justify-content: center;
}
.sidebar-collapsed .sidebar:not(:hover) .sidebar-nav a .nav-icon {
  width: var(--sidebar-icon-w); font-size: 19px;
}
.sidebar-collapsed .sidebar:not(:hover) .sidebar-nav a .nav-label { max-width: 0; opacity: 0; }
.sidebar-collapsed .sidebar:not(:hover) .sidebar-nav a .nav-badge { opacity: 0; pointer-events: none; }

/* ─── Progress bar: hide when collapsed ─── */
.sidebar-progress-wrap { overflow: hidden; max-height: 80px; transition: max-height 0.2s cubic-bezier(0.4,0,0.2,1), opacity 0.15s; }
.sidebar-collapsed .sidebar:not(:hover) .sidebar-progress-wrap { max-height: 0; opacity: 0; }

/* ─── User row: center avatar, hide name & logout ─── */
.sidebar-collapsed .sidebar:not(:hover) .sidebar-user-info { max-width: 0; opacity: 0; }
.sidebar-collapsed .sidebar:not(:hover) .sidebar-logout { max-width: 0; opacity: 0; }
.sidebar-collapsed .sidebar:not(:hover) .sidebar-user { justify-content: center; }
