:root {
  --bg: #f3f2f8;
  --surface: #ffffff;
  --surface-soft: #f7f5fe;
  --border: #e9e6f5;
  --border-strong: #d8d2ef;
  --ink: #1b1730;
  --muted: #6c6786;
  --sidebar-bg: #161426;
  --sidebar-bg-2: #1d1933;
  --purple: #7c3aed;
  --purple-2: #8b5cf6;
  --purple-dark: #5b21b6;
  --purple-soft: #ede9fe;
  --green: #16a34a;
  --green-bg: #dcfce7;
  --danger: #dc2626;
  --danger-bg: #fee2e2;
  --gold: #fbbf24;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --shadow-sm: 0 4px 14px rgba(27, 23, 48, 0.04);
  --shadow-md: 0 10px 28px rgba(27, 23, 48, 0.07);
  --shadow-purple: 0 10px 24px rgba(124, 58, 237, 0.28);
  --sidebar-w: 252px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 60% 0%, #efeafc 0%, #f4f3f9 42%, #f6f6fb 100%);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Shared Buttons & Badges */
.btn-primary,
.btn-soft,
.btn-outline,
.btn-danger,
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-2) 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.34);
}

.btn-soft {
  background: var(--purple-soft);
  color: var(--purple-dark);
}

.btn-soft:hover {
  background: #e3dafb;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--purple-2);
  color: var(--purple-dark);
}

.btn-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.btn-danger:hover {
  background: #fecaca;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-sm {
  padding: 7px 12px;
  font-size: 12.5px;
  border-radius: 9px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.badge-green {
  background: var(--green-bg);
  color: #15803d;
}

.badge-purple {
  background: var(--purple-soft);
  color: var(--purple-dark);
}

.badge-soft {
  background: #f1f0f7;
  color: var(--muted);
}

/* App Shell */
.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-2) 60%, #131121 100%);
  color: #fff;
  padding: 20px 14px 16px;
  display: flex;
  flex-direction: column;
  z-index: 40;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 29, 0.55);
  backdrop-filter: blur(3px);
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.sidebar-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 8px 16px;
}

.brand-cube {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.brand-cube svg {
  width: 32px;
  height: 32px;
}

.sidebar-brand-text strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.sidebar-brand-text small {
  display: block;
  font-size: 10.5px;
  color: #a6a2c2;
  margin-top: 3px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  padding-right: 2px;
  flex: 1;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #d6d3ea;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.nav-item.active {
  background: linear-gradient(90deg, #7c3aed 0%, #8b5cf6 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.36);
}

.nav-item.active svg {
  opacity: 1;
}

.nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 8px;
}

.sidebar-support {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 13px;
}

.support-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}

.support-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #e9d5ff;
}

.support-head strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.support-head small {
  display: block;
  font-size: 11px;
  color: #a6a2c2;
}

.support-btn {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 9px 12px;
  background: linear-gradient(90deg, #7c3aed 0%, #9333ea 100%);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: filter 0.15s ease;
}

.support-btn:hover {
  filter: brightness(1.08);
}

/* Workspace & Topbars */
.workspace {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mobile-topbar {
  display: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px 10px;
  border-bottom: 1px solid rgba(226, 222, 243, 0.7);
  background: rgba(248, 247, 253, 0.78);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.biz-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 5px 12px 5px 6px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.biz-switcher:hover {
  border-color: var(--purple-2);
}

.biz-thumb {
  width: 38px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  background: #221c38;
}

.biz-name {
  font-weight: 700;
  font-size: 13.5px;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.bell-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #362f52;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bell-btn:hover {
  background: #fff;
  border-color: var(--border);
}

.bell-dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #f7f6fc;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px 4px 5px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.account-pill:hover {
  border-color: var(--purple-2);
}

.account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4c1d95, #7c3aed);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  letter-spacing: 0.02em;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 225px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: 0 18px 40px rgba(27, 23, 48, 0.14);
  padding: 8px;
  z-index: 30;
}

.dropdown-head {
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.dropdown-head strong {
  display: block;
  font-size: 13px;
}

.dropdown-head small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.dropdown-item:hover {
  background: var(--surface-soft);
  color: var(--purple-dark);
}

.dropdown-item.danger {
  color: var(--danger);
}

.dropdown-item.danger:hover {
  background: var(--danger-bg);
}

/* Main Content Area */
.content {
  padding: 18px 28px 32px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* Mobile-only greeting & switcher hidden on desktop */
.mobile-greeting,
.mobile-biz-bar,
.mobile-promo {
  display: none;
}

/* Hero Banner (Desktop) */
.hero-banner {
  position: relative;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 75% 15%, rgba(167, 139, 250, 0.45), transparent 44%),
    radial-gradient(circle at 20% 90%, rgba(109, 40, 217, 0.45), transparent 46%),
    linear-gradient(112deg, #2b1557 0%, #4d1e9a 48%, #7c3aed 100%);
  color: #fff;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 20px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(67, 29, 138, 0.24);
  margin-bottom: 22px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.25vw, 31px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hero-copy h1 span {
  color: #e9d5ff;
}

.hero-checks {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 8px 18px;
  margin-bottom: 20px;
}

.hero-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
}

.check-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.4);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 11px 22px;
  background: #f5f0ff;
  color: #4c1d95;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(23, 10, 54, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero-cta:hover {
  transform: translateY(-1px);
  background: #fff;
}

/* Hero Right Multi-Device Mockup Showcase */
.hero-showcase {
  position: relative;
  height: 196px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.showcase-upload-chip {
  position: absolute !important;
  top: -12px;
  right: 0;
  z-index: 8;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(19, 15, 38, 0.68);
  color: #fff;
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.88;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.showcase-upload-chip:hover {
  opacity: 1;
  background: rgba(124, 58, 237, 0.92);
}

.mock-laptop {
  position: relative;
  width: 244px;
  transform: translateX(-52px) translateY(8px);
  z-index: 2;
}

.mock-laptop-screen {
  background: #12101e;
  border: 5px solid #242138;
  border-bottom-width: 7px;
  border-radius: 12px 12px 4px 4px;
  height: 152px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 34px rgba(10, 6, 26, 0.45);
}

.mock-laptop-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
}

.mock-laptop-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(16, 13, 28, 0.94) 24%, rgba(16, 13, 28, 0.55) 58%, rgba(16, 13, 28, 0.1) 100%);
}

.mock-laptop-ui {
  position: relative;
  z-index: 2;
  padding: 12px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mock-laptop-bar {
  position: absolute;
  top: 7px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.65);
}

.mock-laptop-ui strong {
  font-size: 13px;
  line-height: 1.2;
  max-width: 118px;
  font-weight: 800;
  color: #fff;
}

.mock-laptop-ui small {
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.72);
  margin: 5px 0 8px;
  max-width: 112px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mock-laptop-btn {
  display: inline-block;
  align-self: flex-start;
  background: #f59e0b;
  color: #1a1204;
  font-size: 7.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
}

.mock-laptop-base {
  height: 9px;
  width: 286px;
  margin-left: -19px;
  background: linear-gradient(180deg, #cfd2e8 0%, #8f93b0 100%);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.mock-poster {
  position: absolute;
  right: -4px;
  bottom: -6px;
  width: 118px;
  height: 164px;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0d1f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(4deg);
  box-shadow: 0 16px 32px rgba(10, 6, 26, 0.45);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 8px 0;
  text-align: center;
}

.mock-poster-head small {
  display: block;
  font-size: 7px;
  color: #fcd34d;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mock-poster-head strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}

.mock-poster-price {
  font-size: 17px;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1.1;
}

.mock-poster img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  margin-top: auto;
  border-radius: 8px 8px 0 0;
}

.mock-phone {
  position: absolute;
  right: 104px;
  bottom: -14px;
  width: 94px;
  height: 156px;
  background: #110e1d;
  border: 4px solid #2b2742;
  border-radius: 18px;
  padding: 10px 8px;
  z-index: 4;
  box-shadow: 0 16px 30px rgba(10, 6, 26, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mock-phone-notch {
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background: #2f2a48;
  margin-bottom: 6px;
}

.mock-phone small {
  font-size: 6.5px;
  color: #fcd34d;
  font-weight: 700;
}

.mock-phone strong {
  font-size: 8.5px;
  color: #fff;
  margin: 2px 0 6px;
}

.mock-qr-box {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 8px;
  padding: 5px;
  display: grid;
  place-items: center;
}

.mock-qr-box svg {
  width: 100%;
  height: 100%;
}

/* Section Headers */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
}

.sec-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.sec-link {
  border: 0;
  background: transparent;
  color: var(--purple);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sec-link:hover {
  color: var(--purple-dark);
}

/* Hızlı Başlangıç (6 cards desktop, 2x3 mobile) */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.quick-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: #c4b5fd;
  box-shadow: 0 12px 26px rgba(124, 58, 237, 0.12);
}

.quick-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 3px;
}

.quick-icon svg {
  width: 24px;
  height: 24px;
}

.qi-purple { background: #f3eeff; color: #6d28d9; }
.qi-indigo { background: #eef2ff; color: #4f46e5; }
.qi-pink { background: #fdf2f8; color: #c026d3; }
.qi-amber { background: #fef3c7; color: #d97706; }
.qi-red { background: #fef2f2; color: #dc2626; }
.qi-violet { background: #f5f3ff; color: #7c3aed; }

.quick-card strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.quick-card small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}

/* Projelerim (5 cards desktop) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: #c4b5fd;
  box-shadow: var(--shadow-md);
}

.project-thumb {
  height: 112px;
  border-radius: 11px;
  background: linear-gradient(145deg, #f3f0fc, #eae5f8);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

/* Mini Thumb Previews */
.thumb-laptop {
  width: 86%;
  height: 82%;
  border-radius: 8px;
  border: 3px solid #1f1b33;
  background-size: cover;
  background-position: right center;
  position: relative;
  overflow: hidden;
}

.thumb-laptop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(16, 13, 28, 0.92) 30%, rgba(16, 13, 28, 0.25) 100%);
}

.thumb-laptop-txt {
  position: relative;
  z-index: 2;
  padding: 10px 8px;
  color: #fff;
}

.thumb-laptop-txt strong {
  display: block;
  font-size: 9.5px;
  line-height: 1.2;
  max-width: 72px;
}

.thumb-laptop-txt span {
  display: inline-block;
  margin-top: 6px;
  background: #f59e0b;
  color: #1c1204;
  font-size: 6.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
}

.thumb-phone {
  width: 62px;
  height: 94px;
  border-radius: 12px;
  border: 3px solid #201c34;
  background: linear-gradient(180deg, #2d1b4e, #151126);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  box-shadow: 0 8px 16px rgba(27, 23, 48, 0.22);
}

.thumb-phone small {
  color: #fcd34d;
  font-size: 6.5px;
  font-weight: 700;
}

.thumb-phone-qr {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 5px;
  padding: 3px;
}

.thumb-social {
  width: 100%;
  height: 100%;
  background: linear-gradient(125deg, #201538 20%, #151124 85%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  color: #fff;
}

.thumb-social img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
}

.thumb-social-txt {
  text-align: right;
  z-index: 2;
}

.thumb-social-txt small {
  display: block;
  font-size: 8px;
  color: #e9d5ff;
}

.thumb-social-txt strong {
  display: block;
  font-size: 16px;
  color: #fbbf24;
  font-weight: 800;
}

.thumb-ig-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(45deg, #f59e0b, #ec4899, #8b5cf6);
  display: grid;
  place-items: center;
  color: #fff;
}

.thumb-pdf {
  width: 78%;
  height: 86%;
  background: #fffcf5;
  border: 1px solid #e5decb;
  border-radius: 6px;
  padding: 8px 10px;
  box-shadow: 0 6px 14px rgba(27, 23, 48, 0.1);
}

.thumb-pdf-title {
  text-align: center;
  font-weight: 800;
  font-size: 11px;
  color: #3a2d21;
  margin-bottom: 6px;
  font-family: Georgia, serif;
}

.thumb-pdf-lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 8px;
}

.thumb-pdf-line {
  height: 4px;
  border-radius: 99px;
  background: #ddd5c4;
}

.thumb-tv {
  width: 90%;
  height: 78%;
  border-radius: 7px;
  border: 4px solid #1f1b33;
  background-size: cover;
  background-position: right center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 8px;
}

.thumb-tv::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(16, 13, 28, 0.94) 36%, rgba(16, 13, 28, 0.2) 100%);
}

.thumb-tv-txt {
  position: relative;
  z-index: 2;
  color: #fff;
}

.thumb-tv-txt small {
  display: block;
  font-size: 8px;
  color: #f3e8ff;
}

.thumb-tv-txt strong {
  display: block;
  font-size: 15px;
  color: #fbbf24;
  font-weight: 800;
}

.project-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 2px;
}

.project-foot-left strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.project-foot-left small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.project-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f5f3ff;
  color: var(--purple);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Bottom Row: Genel Durum & Hızlı İşlemler */
.bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 20px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f4f0ff;
  color: var(--purple);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.kpi-icon.green {
  background: #ecfdf5;
  color: #16a34a;
}

.kpi-text strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.kpi-text small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.25;
  margin-top: 2px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.action-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.action-pill:hover {
  transform: translateY(-2px);
  border-color: #c4b5fd;
  background: #fbfaff;
}

.action-pill-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f4f0ff;
  color: var(--purple);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Inner Subpages Common Layout */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.page-header h1 {
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

.card-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.card-panel h2,
.card-panel h3 {
  margin-top: 0;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.studio-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #4a4563;
  margin-bottom: 12px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14);
}

input[type="color"] {
  width: 100%;
  height: 42px;
  padding: 4px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: #fff;
  cursor: pointer;
}

/* Custom Media Upload Dropzones */
.media-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.upload-box {
  border: 1.5px dashed #cfc6ee;
  border-radius: 15px;
  background: #faf9fe;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upload-preview {
  height: 120px;
  border-radius: 11px;
  background: #1a162d;
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview.contain img {
  object-fit: contain;
  padding: 12px;
}

.upload-box strong {
  font-size: 13.5px;
}

.upload-box small {
  font-size: 11.5px;
  color: var(--muted);
}

.upload-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.file-trigger {
  position: relative;
  overflow: hidden;
}

.file-trigger input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 16px;
}

.product-edit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.product-photo-wrap {
  height: 156px;
  background: linear-gradient(135deg, #211a36, #3c266e);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-photo-placeholder {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
}

.product-photo-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.product-edit-body {
  padding: 14px;
}

/* Preview Canvas & Iframes */
.canvas-stage {
  background: radial-gradient(circle at center, #f4f1fe, #e7e2f7);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.canvas-stage canvas {
  max-width: 100%;
  max-height: 540px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(27, 23, 48, 0.22);
}

.preview-iframe {
  width: 100%;
  height: 560px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.url-bar {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.qr-stage {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Templates Grid */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.template-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.template-preview {
  height: 148px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  position: relative;
  background-size: cover;
  background-position: center;
}

.template-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 13, 30, 0.15), rgba(16, 13, 30, 0.85));
}

.template-preview > * {
  position: relative;
  z-index: 2;
}

.template-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.template-body p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  flex: 1;
}

/* Digital Business Card Phone Preview */
.vcard-phone-frame {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 30px;
  border: 8px solid #1b1730;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(27, 23, 48, 0.22);
}

/* Modal & Toast */
.modal-root {
  position: fixed;
  inset: 0;
  background: rgba(16, 13, 32, 0.56);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 60;
}

.modal-root[hidden] {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(16, 13, 32, 0.28);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 0;
  background: #f3f1fa;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1b1730;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(16, 13, 32, 0.28);
  z-index: 80;
  display: none;
}

/* Mobile Bottom Nav (Hidden on Desktop) */
.mobile-nav {
  display: none;
}

/* Auth Pages */
.auth-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background: #f5f4fa;
}

.auth-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.38), transparent 45%),
    linear-gradient(145deg, #161426 0%, #3b197a 55%, #6d28d9 100%);
  color: #fff;
  padding: 64px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-brand strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
}

.auth-brand small {
  color: #c8c2e6;
  font-size: 12px;
}

.auth-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.12;
  font-weight: 800;
}

.auth-hero h1 span {
  color: #e9d5ff;
}

.auth-hero p {
  margin: 0;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.auth-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-pills span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

.auth-form-panel {
  display: grid;
  place-items: center;
  padding: 40px 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
}

.auth-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13.5px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}

.auth-submit {
  width: 100%;
  padding: 12px;
  margin-top: 4px;
}

.auth-error {
  background: var(--danger-bg);
  color: var(--danger);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.auth-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
}

/* Admin Page */
.admin-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px;
}

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

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-brand strong {
  display: block;
  font-size: 18px;
}

.admin-brand small {
  color: var(--muted);
  font-size: 12px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.stat-card small {
  display: block;
  color: var(--muted);
  font-weight: 600;
}

.stat-card strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  margin-top: 4px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

th {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-form {
  display: flex;
  gap: 8px;
  min-width: 280px;
}

/* Public Site & vCard */
.public-body {
  background: #f5f4fa;
}

.public-site {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
}

.public-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.public-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.public-logo,
.public-logo-fallback {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.public-logo-fallback {
  background: var(--brand, var(--purple));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.public-brand strong {
  display: block;
  font-size: 16px;
}

.public-brand small {
  color: var(--muted);
}

.public-nav-actions {
  display: flex;
  gap: 8px;
}

.public-hero {
  border-radius: 22px;
  padding: 54px 36px;
  color: #fff;
  background-size: cover;
  background-position: center;
  margin-bottom: 24px;
}

.public-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.public-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
}

.public-hero p {
  margin: 0 0 22px;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.88);
}

.public-hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.public-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.public-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.public-product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.public-product-media {
  height: 165px;
  position: relative;
  background: linear-gradient(135deg, #241b3f, #4c1d95);
}

.public-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-product-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 40px;
  font-weight: 800;
}

.public-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(19, 15, 36, 0.72);
  color: #fff;
  backdrop-filter: blur(6px);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.public-product-body {
  padding: 14px;
}

.public-product-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.public-product-row h3 {
  margin: 0;
  font-size: 15.5px;
}

.public-product-row strong {
  color: var(--brand, var(--purple));
  font-size: 16px;
  font-weight: 800;
}

.public-product-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.public-footer {
  margin-top: 28px;
  padding: 20px 0 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.public-card-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.vcard-sheet {
  width: 100%;
  max-width: 390px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.vcard-banner {
  height: 128px;
  background-size: cover;
  background-position: center;
}

.vcard-avatar {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  border: 4px solid #fff;
  background: var(--brand, var(--purple));
  color: #fff;
  margin: -41px auto 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(27, 23, 48, 0.16);
}

.vcard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vcard-body {
  padding: 14px 22px 24px;
  text-align: center;
}

.vcard-tag {
  display: inline-block;
  background: var(--purple-soft);
  color: var(--purple-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.vcard-body h1 {
  margin: 8px 0 6px;
  font-size: 21px;
}

.vcard-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.vcard-actions {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.vcard-info {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
  text-align: left;
  display: grid;
  gap: 10px;
}

.vcard-info li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

.vcard-info strong {
  color: var(--muted);
}

/* Responsive Breakpoints */
@media (max-width: 1240px) {
  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero-banner {
    grid-template-columns: 1fr;
  }
  .hero-showcase {
    height: 185px;
  }
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .media-upload-grid {
    grid-template-columns: 1fr;
  }
  .auth-body {
    grid-template-columns: 1fr;
  }
  .auth-hero {
    padding: 36px 24px;
  }
}

@media (max-width: 820px) {
  .sidebar {
    transform: translateX(-100%);
    width: 268px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .workspace {
    margin-left: 0;
    padding-bottom: 84px;
  }

  .topbar {
    display: none;
  }

  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 10px;
    background: rgba(246, 245, 252, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
    color: var(--ink);
  }

  .mobile-brand .brand-cube {
    width: 28px;
    height: 28px;
  }

  .mobile-brand .brand-cube svg {
    width: 28px;
    height: 28px;
  }

  .hamburger-btn {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
  }

  .content {
    padding: 8px 16px 24px;
  }

  /* Match exact iPhone mockup layout on mobile Ana Panel */
  .mobile-biz-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px 12px 8px 8px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
  }

  .mobile-biz-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-greeting {
    display: block;
    margin-bottom: 14px;
  }

  .mobile-greeting h1 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .mobile-greeting p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
  }

  .hero-banner,
  .quick-heading-desktop {
    display: none;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 16px;
  }

  .quick-card {
    padding: 16px 10px;
    border-radius: 16px;
  }

  .quick-card small {
    display: none;
  }

  .mobile-promo {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 10px;
    background: linear-gradient(108deg, #1b1534 0%, #261b48 48%, #0d0d1f 68%, #0d0d1f 100%);
    border-radius: 20px;
    overflow: hidden;
    padding: 16px 6px 16px 18px;
    margin-bottom: 20px;
    color: #fff;
    box-shadow: 0 14px 30px rgba(25, 22, 43, 0.24);
  }

  .mobile-promo h3 {
    margin: 0 0 12px;
    font-size: 15.5px;
    line-height: 1.28;
    font-weight: 800;
  }

  .mobile-promo img {
    width: 100%;
    height: 122px;
    object-fit: contain;
    object-position: center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%);
    mask-image: linear-gradient(to right, transparent 0%, #000 18%);
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    box-shadow: 0 -8px 24px rgba(27, 23, 48, 0.06);
  }

  .mnav-item {
    border: 0;
    background: transparent;
    color: #7c7794;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 2px;
  }

  .mnav-item svg {
    width: 21px;
    height: 21px;
  }

  .mnav-item.active {
    color: var(--purple);
  }

  .mobile-fab {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    margin: -18px auto 0;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 22px rgba(124, 58, 237, 0.42);
    cursor: pointer;
  }

  .toast {
    bottom: 84px;
    right: 14px;
    left: 14px;
    text-align: center;
  }
}

@media print {
  .sidebar,
  .topbar,
  .mobile-topbar,
  .mobile-nav,
  .no-print,
  .page-header button {
    display: none !important;
  }
  .workspace {
    margin-left: 0 !important;
  }
  .content {
    padding: 0 !important;
  }
  .card-panel {
    border: 0 !important;
    box-shadow: none !important;
  }
  body {
    background: #fff !important;
  }
}


/* Website Builder: Segmented Tabs, 9-Sector Grid, Toggle Switches & CRUD Rows */
.seg-tabs {
  display: inline-flex;
  gap: 6px;
  background: #ece9f7;
  padding: 5px;
  border-radius: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.seg-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.seg-tab.active {
  background: #fff;
  color: var(--purple-dark);
  box-shadow: 0 4px 12px rgba(27, 23, 48, 0.08);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.sector-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sector-card.active {
  border-color: var(--purple);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.14);
  background: #fcfaff;
}
.sector-swatch {
  height: 52px;
  border-radius: 11px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr 0.8fr;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.sector-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sector-card-head strong {
  font-size: 15px;
}
.sector-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  flex: 1;
}
.sector-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.toggle-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #faf9fe;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.toggle-pill input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
  cursor: pointer;
}

.chip-edit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.chip-edit-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f6f4fc;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  padding: 5px 8px;
}
.chip-edit-item input {
  border: 0;
  background: transparent;
  padding: 3px 4px;
  width: 135px;
  font-weight: 600;
  font-size: 13px;
}
.chip-edit-item input:focus {
  box-shadow: none;
}
.chip-del {
  border: 0;
  background: #fee2e2;
  color: #dc2626;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
}

.preview-device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.preview-frame-shell {
  display: flex;
  justify-content: center;
  background: #efedf8;
  border-radius: 16px;
  padding: 14px;
}
.preview-frame-shell.mobile-mode iframe {
  width: 396px;
  max-width: 100%;
  height: 740px;
  border: 8px solid #1b1730;
  border-radius: 30px;
  box-shadow: 0 22px 44px rgba(27, 23, 48, 0.24);
}

.gallery-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery-edit-card {
  background: #faf9fe;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gallery-edit-card img {
  width: 100%;
  height: 124px;
  object-fit: cover;
}
.gallery-edit-body {
  padding: 10px;
  display: flex;
  gap: 6px;
}

@media (max-width: 1024px) {
  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .sector-grid {
    grid-template-columns: 1fr;
  }
}


/* Upgraded Social Media Studio Gallery, Swatches & Format Pills */
.social-tpl-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.social-tpl-card {
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 15px;
  padding: 9px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.social-tpl-card:hover {
  transform: translateY(-2px);
  border-color: #c4b5fd;
  box-shadow: var(--shadow-sm);
}
.social-tpl-card.active {
  border-color: var(--purple);
  background: #faf7ff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.16);
}
.social-tpl-thumb {
  height: 76px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.social-tpl-thumb span {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(15, 12, 28, 0.56);
  backdrop-filter: blur(4px);
}
.social-tpl-thumb b {
  font-size: 12px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.social-tpl-card small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

.fmt-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 14px;
}
.fmt-pill {
  border: 1px solid var(--border-strong);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.fmt-pill strong {
  display: block;
  font-size: 12px;
  color: var(--ink);
}
.fmt-pill small {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
}
.fmt-pill.active {
  border-color: var(--purple);
  background: #f5f0ff;
}
.fmt-pill.active strong {
  color: var(--purple-dark);
}

.palette-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 14px;
}
.palette-chip {
  border: 1px solid var(--border-strong);
  background: #fff;
  border-radius: 10px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}
.palette-chip.active {
  border-color: var(--purple);
  background: #f5f0ff;
  color: var(--purple-dark);
}
.palette-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 1120px) {
  .social-tpl-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@keyframes bsBellRing {
  0%, 100% { transform: rotate(0deg); }
  12% { transform: rotate(16deg); }
  24% { transform: rotate(-14deg); }
  36% { transform: rotate(11deg); }
  48% { transform: rotate(-8deg); }
  60% { transform: rotate(4deg); }
  72% { transform: rotate(0deg); }
}
.bell-btn { position: relative; }
.bell-btn.bell-ringing {
  background: #fef2f2 !important;
  border-color: #fca5a5 !important;
  color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.16);
}
.bell-btn.bell-ringing svg {
  animation: bsBellRing 1.2s ease-in-out infinite;
  transform-origin: top center;
}
.bell-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.order-alert-bar {
  background: linear-gradient(90deg, #dc2626, #ea580c);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 700;
}
