/* ============================================================================
 * SociBoost Apple Liquid-Glass Light + Cyber-Midnight Dark Design System
 * Responsive 320px .. 1920px · Volumetric 3D Tiles · Floating Mobile + Dock
 * ============================================================================ */

:root,
html[data-theme="dark"] {
  --bg-canvas: #050811;
  --bg-surface: #0D1220;
  --bg-elevated: #141B2E;
  --bg-glass: rgba(15, 22, 42, 0.56);
  --bg-glass-strong: rgba(14, 21, 42, 0.68);
  --bg-soft: rgba(255, 255, 255, 0.06);
  --glass-specular: inset 0 1.5px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  --border: rgba(148, 163, 184, 0.22);
  --border-strong: rgba(148, 163, 184, 0.38);
  --border-glow: rgba(8, 199, 216, 0.44);
  --text-primary: #F4F7FC;
  --text-secondary: #C8D3E6;
  --text-muted: #93A2BA;
  --violet: #6D5BFF;
  --violet-deep: #4F3DF0;
  --cyan: #08C7D8;
  --mint: #00E2A0;
  --amber: #F59E0B;
  --rose: #F43F5E;
  --shadow-card: 0 20px 48px rgba(2, 6, 18, 0.56);
  --shadow-glow: 0 10px 30px rgba(97, 85, 245, 0.28);
  --banner-bg: radial-gradient(520px 240px at 86% 46%, rgba(109, 91, 255, 0.3), transparent 72%),
               radial-gradient(380px 200px at 14% 20%, rgba(8, 199, 216, 0.18), transparent 70%),
               linear-gradient(135deg, rgba(14, 21, 40, 0.96) 0%, rgba(20, 27, 51, 0.96) 100%);
  --cta-grad: linear-gradient(135deg, #6D28D9 0%, #4F46E5 52%, #0E7490 100%);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg-canvas: #F3F5FB;
  --bg-surface: rgba(255, 255, 255, 0.94);
  --bg-elevated: #ECF0F9;
  --bg-glass: rgba(255, 255, 255, 0.58);
  --bg-glass-strong: rgba(255, 255, 255, 0.74);
  --bg-soft: rgba(91, 33, 182, 0.06);
  --glass-specular: inset 0 1.5px 0 rgba(255, 255, 255, 0.96), inset 0 -1px 0 rgba(148, 163, 184, 0.18);
  --border: rgba(139, 128, 214, 0.28);
  --border-strong: rgba(124, 58, 237, 0.42);
  --border-glow: rgba(109, 40, 217, 0.36);
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --violet: #6D28D9;
  --violet-deep: #5B21B6;
  --cyan: #0891B2;
  --mint: #059669;
  --amber: #D97706;
  --rose: #E11D48;
  --shadow-card: 0 14px 36px rgba(45, 36, 98, 0.08);
  --shadow-glow: 0 12px 26px rgba(109, 40, 217, 0.24);
  --banner-bg: radial-gradient(480px 220px at 88% 45%, rgba(124, 58, 237, 0.14), transparent 72%),
               radial-gradient(340px 180px at 14% 18%, rgba(6, 182, 212, 0.13), transparent 70%),
               linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(242, 244, 255, 0.96) 100%);
  --cta-grad: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  color-scheme: light;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: -12% -10% -10% -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(680px 460px at 8% 8%, rgba(124, 58, 237, 0.19), transparent 68%),
    radial-gradient(620px 440px at 92% 14%, rgba(8, 199, 216, 0.18), transparent 68%),
    radial-gradient(540px 400px at 52% 88%, rgba(0, 226, 160, 0.11), transparent 72%);
  animation: auroraDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}
html[data-theme="light"] body::before {
  background:
    radial-gradient(680px 460px at 8% 8%, rgba(124, 58, 237, 0.13), transparent 68%),
    radial-gradient(620px 440px at 92% 14%, rgba(8, 199, 216, 0.14), transparent 68%),
    radial-gradient(540px 400px at 52% 88%, rgba(16, 185, 129, 0.09), transparent 72%);
}

h1, h2, h3, h4, .display-font {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }
a { color: var(--violet); text-decoration: none; }
html[data-theme="dark"] a { color: var(--cyan); }
a:hover { text-decoration: underline; }

.tabular { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-muted); }
.hidden { display: none !important; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 480px) { .container { padding: 0 12px; } }

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

@keyframes stageFloatA {
  0%, 100% { transform: translateY(0) rotate(-9deg); }
  50% { transform: translateY(-7px) rotate(-6deg); }
}
@keyframes stageFloatB {
  0%, 100% { transform: translateY(-3px) rotate(6deg); }
  50% { transform: translateY(5px) rotate(9deg); }
}
@keyframes stageFloatC {
  0%, 100% { transform: translateY(2px) rotate(-5deg); }
  50% { transform: translateY(-6px) rotate(-8deg); }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 226, 160, 0.65); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 226, 160, 0); }
}

@keyframes auroraDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-1.5%, 1.2%, 0) scale(1.04); }
  100% { transform: translate3d(1.5%, -1%, 0) scale(1.02); }
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-bar {
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.12) 25%, rgba(148, 163, 184, 0.24) 50%, rgba(148, 163, 184, 0.12) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
}

@keyframes sparkDraw {
  from { stroke-dashoffset: 320; }
  to { stroke-dashoffset: 0; }
}
.studio-spark-path {
  stroke-dasharray: 320;
  stroke-dashoffset: 0;
  animation: sparkDraw 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-pop { animation: glassRise 0.38s cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes cornerPopIn {
  0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.95); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* Compact Centered Promotional Announcement Ribbon (Non-Scrolling & Mobile Optimized) */
.announcement-bar {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.14), rgba(8, 199, 216, 0.13), rgba(0, 226, 160, 0.11));
  backdrop-filter: blur(20px) saturate(195%);
  -webkit-backdrop-filter: blur(20px) saturate(195%);
  border-bottom: 1px solid var(--border);
  padding: 5px 14px;
  min-height: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  flex-wrap: wrap;
}
.announcement-bar.announcement-maint {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.18), rgba(244, 63, 94, 0.16));
}
.announcement-pill {
  background: var(--cta-grad);
  color: #fff;
  font-weight: 800;
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 10px rgba(109, 40, 217, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.announcement-text {
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.3;
}
@media (max-width: 600px) {
  .announcement-bar { padding: 4px 10px; min-height: 26px; gap: 6px; font-size: 0.68rem; }
  .announcement-pill { padding: 1.5px 6px; font-size: 0.55rem; }
}

/* Liquid-Glass Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 65;
  background: var(--bg-glass);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--glass-specular);
  transform: translateZ(0);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 0 18px;
  max-width: 1520px;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .header-inner { padding: 0 10px; gap: 6px; min-height: 60px; }
}

.header-left { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 0; }

.icon-square-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-glass-strong);
  box-shadow: var(--glass-specular);
  color: var(--text-primary);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.icon-square-btn:hover { border-color: var(--violet); transform: translateY(-1px); }

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 480px) { .brand-logo { height: 30px; } }
@media (max-width: 360px) { .brand-logo { height: 26px; } }

/* Top Global Search Pill */
.global-search-box {
  position: relative;
  flex: 1 1 320px;
  max-width: 460px;
  display: flex;
  align-items: center;
}
.global-search-box .search-ico {
  position: absolute;
  left: 13px;
  color: var(--text-muted);
  pointer-events: none;
  display: inline-flex;
}
.global-search-input {
  width: 100%;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border);
  box-shadow: var(--glass-specular);
  color: var(--text-primary);
  border-radius: 13px;
  padding: 9px 64px 9px 38px;
  font-size: 0.86rem;
  font-family: inherit;
}
.global-search-input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.16);
}
.kbd-badge {
  position: absolute;
  right: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 6px;
  pointer-events: none;
}
@media (max-width: 960px) { .global-search-box { display: none; } }

.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--violet); }
html[data-theme="dark"] .nav-links a:hover { color: var(--cyan); }

.mobile-nav-drawer-top,
.mobile-only-nav-cta,
.mobile-only-nav-link {
  display: none;
}

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-left .mobile-menu-btn { display: none; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 6px);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 255, 0.95));
    backdrop-filter: blur(36px) saturate(210%);
    -webkit-backdrop-filter: blur(36px) saturate(210%);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 14px 16px;
    gap: 10px;
    align-items: stretch;
    z-index: 102;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.28), inset 0 1.5px 0 rgba(255, 255, 255, 0.98), inset 0 -1px 0 rgba(203, 213, 225, 0.35);
    animation: cornerPopIn 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  html[data-theme="dark"] .nav-links.open {
    background: linear-gradient(155deg, rgba(12, 18, 36, 0.97), rgba(18, 26, 50, 0.95));
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  }
  .mobile-nav-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-only-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--cta-grad);
    color: #fff !important;
    font-weight: 700;
    margin-top: 2px;
  }
  .mobile-only-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.36);
    border: 1px solid var(--border);
    font-weight: 600;
  }
  html[data-theme="dark"] .mobile-only-nav-link {
    background: rgba(255, 255, 255, 0.08);
  }
  .header-left .mobile-menu-btn { display: inline-flex; }
}
@media (max-width: 720px) {
  .header-new-order-btn { display: none !important; }
}

/* Segmented Theme Toggle */
.theme-pill-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border);
  box-shadow: var(--glass-specular);
  cursor: pointer;
  color: var(--text-muted);
}
.theme-pill-switch .theme-opt {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.theme-pill-switch .theme-opt.on {
  background: var(--cta-grad);
  color: #fff;
}

/* Header Wallet & Avatar Pills */
.wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(5, 150, 105, 0.35);
  background: rgba(5, 150, 105, 0.08);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none !important;
  box-shadow: var(--glass-specular);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.wallet-pill:hover { transform: translateY(-1px); border-color: var(--mint); }
.wallet-plus-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
html[data-theme="dark"] .wallet-plus-dot { color: #051612; }

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-glass-strong);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
}
.user-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--cta-grad);
  color: #fff;
  font-weight: 800;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(97, 85, 245, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
@media (max-width: 720px) {
  .user-pill-meta { display: none; }
  .wallet-pill { padding: 3px 6px 3px 9px; font-size: 0.76rem; gap: 5px; }
  .header-signout-text { display: none; }
  .user-avatar-circle { width: 34px; height: 34px; font-size: 0.8rem; }
}
@media (max-width: 420px) {
  .header-left { gap: 6px; }
  .header-actions { gap: 5px; }
  .notif-bell-wrap { display: none; }
  #logout-btn { display: none; }
  .user-pill { padding: 2px; border: none; background: transparent; gap: 0; }
  .user-avatar-circle { width: 34px; height: 34px; font-size: 0.78rem; }
  .theme-pill-switch .theme-opt { width: 22px; height: 22px; }
  .icon-square-btn { width: 32px; height: 32px; }
}

.notif-bell-btn { position: relative; }
.notif-dot {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

/* Liquid-Glass Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), filter 0.16s ease, box-shadow 0.18s ease, border-color 0.16s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 7px 12px; font-size: 0.8rem; border-radius: 10px; }

.btn-primary, a.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(2, 6, 18, 0.25);
  box-shadow: var(--shadow-glow);
}
.btn-gradient, a.btn-gradient {
  background: var(--cta-grad);
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(2, 6, 18, 0.28);
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}
.btn-gradient:hover, .btn-primary:hover { filter: brightness(1.06); }

.btn-secondary, a.btn-secondary {
  background: var(--bg-glass-strong);
  color: var(--text-primary);
  border-color: var(--border);
  box-shadow: var(--glass-specular);
}
.btn-secondary:hover { border-color: var(--border-strong); }

.btn-mint, a.btn-mint {
  background: rgba(5, 150, 105, 0.12);
  color: var(--mint);
  border-color: rgba(5, 150, 105, 0.38);
}
html[data-theme="dark"] .btn-mint, html[data-theme="dark"] a.btn-mint {
  background: rgba(0, 226, 160, 0.14);
  border-color: rgba(0, 226, 160, 0.42);
}
.btn-danger, a.btn-danger {
  background: rgba(225, 29, 72, 0.11);
  color: var(--rose);
  border-color: rgba(225, 29, 72, 0.32);
}

.btn-google {
  width: 100%;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  box-shadow: var(--glass-specular);
  padding: 11px 16px;
}
.btn-google:hover { border-color: var(--violet); }

/* Inputs */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }

.input, .select, .textarea {
  width: 100%;
  min-width: 0;
  background: var(--bg-glass-strong);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
html[data-theme="light"] .input,
html[data-theme="light"] .select,
html[data-theme="light"] .textarea { background: #FFFFFF; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.15);
}

.input-icon-wrap { position: relative; display: flex; align-items: center; }
.input-icon-wrap .input { padding-right: 42px; }
.input-eye-btn {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.input-eye-btn:hover { color: var(--violet); }

/* Required Field Star & True Apple Liquid Glass Cards */
.req-star {
  color: var(--rose);
  font-weight: 800;
  margin-left: 3px;
}

.card, .liquid-card {
  position: relative;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(22px) saturate(195%);
  -webkit-backdrop-filter: blur(22px) saturate(195%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--glass-specular), var(--shadow-card);
  min-width: 0;
  overflow-wrap: anywhere;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.24s ease;
}
.liquid-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.glow-card {
  position: relative;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(26px) saturate(210%);
  -webkit-backdrop-filter: blur(26px) saturate(210%);
  border: 1px solid var(--border-glow);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--glass-specular), var(--shadow-card), 0 0 34px rgba(109, 40, 217, 0.16);
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .card, .liquid-card, .glow-card { border-radius: 18px; padding: 15px; }
}

/* Interactive Hero Growth Studio & SLA Ribbon */
.hero-studio-card {
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(205%);
  -webkit-backdrop-filter: blur(24px) saturate(205%);
  border: 1px solid var(--border-glow);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--glass-specular), var(--shadow-card);
  margin-bottom: 16px;
}
.studio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.studio-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.studio-tab-btn.active {
  background: var(--cta-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.studio-chart-panel {
  background: var(--bg-glass-strong);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-sla-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.sla-item {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 8px 10px;
  text-align: center;
  box-shadow: var(--glass-specular);
}
@media (max-width: 580px) {
  .hero-sla-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.popup-icon-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.popup-icon-close:hover {
  transform: scale(1.06);
  border-color: var(--violet);
  color: var(--text-primary);
}
.legal-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.legal-sec-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
}

/* Radiant Glow Accents for Instant / Fast / CTA Elements */
.btn-gradient, a.btn-gradient {
  box-shadow: var(--shadow-glow), 0 0 22px rgba(109, 40, 217, 0.32);
}
.btn-gradient:hover, a.btn-gradient:hover {
  box-shadow: var(--shadow-glow), 0 0 28px rgba(8, 199, 216, 0.44);
}
.badge-glow-mint {
  box-shadow: 0 0 14px rgba(0, 226, 160, 0.28);
}
.badge-glow-cyan {
  box-shadow: 0 0 14px rgba(8, 199, 216, 0.28);
}

/* ============================================================================
 * Volumetric 3D Stage Artwork (Clean Clickable Tiles — No Pedestal Oval)
 * ============================================================================ */
.stage-3d-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  min-height: 120px;
  overflow: visible;
}
.stage-aura {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.48;
  pointer-events: none;
}
html[data-theme="light"] .stage-aura { opacity: 0.32; }
.aura-ig { background: radial-gradient(circle, #FF3B9A, #FF8E3C); left: 12%; top: 10%; }
.aura-fb { background: radial-gradient(circle, #1877F2, #38BDF8); left: 38%; top: 4%; }
.aura-yt { background: radial-gradient(circle, #FF0033, #FB7185); right: 16%; top: 14%; }
.aura-mint { background: radial-gradient(circle, #00E2A0, #08C7D8); left: 16%; top: 10%; }
.aura-cyan { background: radial-gradient(circle, #08C7D8, #38BDF8); left: 18%; top: 8%; }
.aura-violet { background: radial-gradient(circle, #7C3AED, #6366F1); right: 14%; top: 12%; }

.stage-tiles-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  flex-wrap: wrap;
}
.stage-tile {
  position: relative;
  overflow: hidden;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.62), inset 0 -2px 4px rgba(0, 0, 0, 0.22);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease;
  user-select: none;
}
.stage-tile svg, .stage-tile img { position: relative; z-index: 2; }
.stage-link-tile { cursor: pointer; padding: 0; }
.stage-tile:hover { transform: translateY(-4px) scale(1.13) rotate(0deg) !important; }
.stage-glare {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.14) 42%, transparent 60%);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.35s ease;
}
.stage-tile:hover .stage-glare {
  opacity: 0.95;
  transform: scale(1.06);
}
.stage-dome {
  position: absolute;
  top: -22%;
  left: -10%;
  right: -10%;
  height: 62%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 25%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.04) 70%, transparent 100%);
  pointer-events: none;
}

.stage-ig-tile {
  background: radial-gradient(circle at 28% 108%, #FED373 0%, #F15245 35%, #D92E7F 65%, #9B36B7 88%, #515ECF 100%);
  box-shadow: 0 14px 30px rgba(221, 42, 123, 0.46), inset 0 1.5px 1px rgba(255, 255, 255, 0.65);
}
.stage-fb-tile {
  background: linear-gradient(155deg, #2B88FF 0%, #1877F2 55%, #0D4ECA 100%);
  box-shadow: 0 14px 30px rgba(24, 119, 242, 0.46), inset 0 1.5px 1px rgba(255, 255, 255, 0.65);
}
.stage-yt-tile {
  background: linear-gradient(155deg, #FF3355 0%, #E11D48 52%, #B91C1C 100%);
  box-shadow: 0 14px 30px rgba(225, 29, 72, 0.46), inset 0 1.5px 1px rgba(255, 255, 255, 0.62);
}
.stage-tg-tile {
  background: linear-gradient(155deg, #38BDF8 0%, #229ED9 55%, #0284C7 100%);
  box-shadow: 0 14px 30px rgba(34, 158, 217, 0.46), inset 0 1.5px 1px rgba(255, 255, 255, 0.65);
}
.stage-emblem-card {
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, #0D1426, #182240);
  box-shadow: 0 14px 30px rgba(97, 85, 245, 0.42);
  border-color: rgba(0, 226, 160, 0.48);
}
.stage-emblem-img { width: 42px; height: 42px; object-fit: contain; display: block; z-index: 1; }

.stage-wallet-card {
  width: 96px;
  height: 64px;
  background: linear-gradient(135deg, #6D28D9, #0891B2);
  box-shadow: 0 14px 28px rgba(109, 40, 217, 0.36);
  justify-content: space-between;
  padding: 0 12px;
}
.stage-wallet-symbol { font-size: 1.7rem; font-weight: 800; }
.stage-wallet-chip { font-size: 0.72rem; background: rgba(0, 226, 160, 0.25); padding: 3px 7px; border-radius: 999px; }
.stage-upi-chip { width: 72px; height: 54px; background: linear-gradient(135deg, #059669, #0891B2); font-size: 0.8rem; }
.stage-code-tile { width: 66px; background: linear-gradient(135deg, #0F172A, #334155); border-color: #00E2A0; }
.stage-api-tile { width: 84px; background: linear-gradient(135deg, #7C3AED, #2563EB); }
.stage-chat-tile { background: linear-gradient(135deg, #7C3AED, #5B21B6); }
.stage-wa-tile { width: 64px; background: linear-gradient(135deg, #10B981, #059669); }
.stage-shield-tile { width: 66px; height: 66px; background: linear-gradient(135deg, #0891B2, #059669); }
.stage-mega-tile { width: 66px; height: 66px; background: linear-gradient(135deg, #7C3AED, #08C7D8); }

.stage-float-a { animation: stageFloatA 4.6s ease-in-out infinite; }
.stage-float-b { animation: stageFloatB 5.1s ease-in-out infinite; }
.stage-float-c { animation: stageFloatC 4.9s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .stage-float-a, .stage-float-b, .stage-float-c, .reveal-pop { animation: none !important; }
}

/* Workspace Hero Banner */
.hero-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.9fr);
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: var(--banner-bg);
  box-shadow: var(--glass-specular), var(--shadow-card);
  margin-bottom: 16px;
}
@media (max-width: 820px) { .hero-banner { grid-template-columns: 1fr; padding: 18px; } }
.hero-banner-title { font-size: clamp(1.32rem, 2.2vw, 1.85rem); font-weight: 800; line-height: 1.18; margin-bottom: 8px; }
.hero-banner-checks { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 12px; font-size: 0.8rem; color: var(--text-secondary); }
.hero-banner-checks span { display: inline-flex; align-items: center; gap: 5px; }
.hero-banner-checks .chk-dot { color: var(--mint); display: inline-flex; }

.landing-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.95fr);
  gap: 14px;
  align-items: center;
}
@media (max-width: 580px) { .landing-stage-grid { grid-template-columns: 1fr; } }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
}
.badge-mint { background: rgba(5, 150, 105, 0.13); border-color: rgba(5, 150, 105, 0.36); color: var(--mint); }
.badge-cyan { background: rgba(8, 145, 178, 0.13); border-color: rgba(8, 145, 178, 0.36); color: var(--cyan); }
.badge-violet { background: rgba(109, 40, 217, 0.13); border-color: rgba(109, 40, 217, 0.34); color: var(--violet); }
html[data-theme="dark"] .badge-violet { color: #A8A0FF; }
.badge-amber { background: rgba(217, 119, 6, 0.14); border-color: rgba(217, 119, 6, 0.38); color: var(--amber); }
.badge-rose { background: rgba(225, 29, 72, 0.13); border-color: rgba(225, 29, 72, 0.35); color: var(--rose); }

/* Slide Dashboard KPI Strip (Above New Order Home) */
.slide-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 960px) {
  .slide-kpi-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 6px;
  }
  .slide-kpi-card { flex: 0 0 218px; scroll-snap-align: start; }
}
.slide-kpi-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: var(--glass-specular), var(--shadow-card);
  min-width: 0;
}
.slide-kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.slide-kpi-val { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }

/* Landing Hero */
.hero-section {
  position: relative;
  padding: 36px 0 48px;
  background:
    radial-gradient(620px 320px at 14% 12%, rgba(8, 199, 216, 0.12), transparent 70%),
    radial-gradient(540px 320px at 86% 18%, rgba(124, 58, 237, 0.14), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 26px;
  align-items: start;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero-section { padding: 18px 0 32px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 14px;
}
html[data-theme="dark"] .hero-eyebrow { color: var(--cyan); }
.hero-title { font-size: clamp(1.95rem, 3.6vw, 2.95rem); font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
.gradient-text {
  background: linear-gradient(120deg, var(--violet), var(--cyan), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle { color: var(--text-muted); font-size: 1rem; max-width: 580px; margin-bottom: 18px; }

.platform-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.platform-chip:hover, .platform-chip.active {
  border-color: var(--violet);
  transform: translateY(-1px);
  background: var(--bg-soft);
}

/* Segmented Tabs */
.tab-row {
  display: flex;
  gap: 6px;
  background: var(--bg-elevated);
  padding: 4px;
  border-radius: 13px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  overflow-x: auto;
}
.tab-btn {
  flex: 1 1 auto;
  padding: 9px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.tab-btn.active {
  background: var(--cta-grad);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.25);
}

.divider-line { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--text-muted); font-size: 0.78rem; }
.divider-line::before, .divider-line::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.turnstile-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 0;
  margin: 2px 0;
  overflow: hidden;
  border-radius: 10px;
}

.hint-micro-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  opacity: 0.44;
  font-size: 0.7rem;
  font-weight: 500;
  cursor: pointer;
  padding: 2px 4px;
  transition: opacity 0.18s ease;
}
.hint-micro-btn:hover,
.hint-micro-btn:focus-visible {
  opacity: 0.92;
  text-decoration: underline;
}

.hint-box {
  background: rgba(8, 199, 216, 0.08);
  border: 1px dashed rgba(8, 199, 216, 0.45);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 0.84rem;
  margin-top: 8px;
}
.hint-box.hint-subtle {
  background: rgba(148, 163, 184, 0.09);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 7px 10px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* Grids */
.section { padding: 44px 0; }
.section-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }

@media (max-width: 1080px) { .grid-5, .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 920px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-6, .grid-5, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Service Cards & Low-Balance Operational Banners */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(22px) saturate(185%);
  -webkit-backdrop-filter: blur(22px) saturate(185%);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}
html[data-theme="dark"] .service-card {
  background: rgba(16, 23, 46, 0.62);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px rgba(109, 40, 217, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
html[data-theme="dark"] .service-card:hover {
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.service-card-featured {
  border-color: rgba(124, 58, 237, 0.34);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}
.service-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.service-card-id-row { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }
.plat-icon-chip {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(241, 245, 249, 0.62));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 12px rgba(15, 23, 42, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html[data-theme="dark"] .plat-icon-chip {
  background: linear-gradient(145deg, rgba(30, 41, 68, 0.82), rgba(15, 23, 42, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.low-balance-banner {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.14), rgba(245, 158, 11, 0.14));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(244, 63, 94, 0.45);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(244, 63, 94, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.icon-star-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9px;
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-star-btn.fav-active { color: var(--amber); border-color: rgba(245, 158, 11, 0.5); }
.service-rate { font-size: 1.18rem; font-weight: 800; color: var(--mint); }
.service-card-title { font-size: 0.98rem; line-height: 1.35; margin-bottom: 4px; }
.service-card-cat { font-size: 0.8rem; margin-bottom: 10px; }
.spec-row { display: flex; flex-wrap: wrap; gap: 6px; }
.service-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* Workspace Shell + Retractable Left Sidebar */
.workspace-shell {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1520px;
  margin: 0 auto;
  padding: 20px 18px 80px;
  min-height: calc(100vh - 120px);
}
.workspace-main { min-width: 0; padding-bottom: 108px; }
@media (max-width: 480px) {
  .workspace-shell { padding: 14px 12px 156px; gap: 0; }
  .workspace-main { padding-bottom: 146px; }
}

.sidebar-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.sidebar-logo-img { height: 26px; width: auto; max-width: 132px; object-fit: contain; display: block; }

.app-sidebar {
  width: 248px;
  flex-shrink: 0;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 12px;
  position: sticky;
  top: 84px;
  transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1), padding 0.22s ease;
  box-shadow: var(--glass-specular), var(--shadow-card);
  z-index: 40;
}

.sidebar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 4px 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.side-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.87rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.side-btn:hover { background: var(--bg-soft); color: var(--text-primary); }
.side-btn.active {
  background: var(--cta-grad);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.26);
}
.side-btn .side-ico {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--violet);
}
html[data-theme="dark"] .side-btn .side-ico { color: var(--cyan); }
.side-btn.active .side-ico { color: #FFFFFF; }
.side-btn .side-label { overflow: hidden; text-overflow: ellipsis; }

.nav-group {
  margin-bottom: 6px;
  border-radius: 12px;
}
.nav-group-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}
.nav-group-summary::-webkit-details-marker { display: none; }
.nav-group-arrow { transition: transform 0.18s ease; display: inline-flex; }
details.nav-group[open] .nav-group-arrow { transform: rotate(180deg); }
@media (min-width: 961px) {
  body.sidebar-collapsed .nav-group-summary { display: none; }
  body.sidebar-collapsed details.nav-group:not([open]) { display: none; }
}

@media (min-width: 961px) {
  body.sidebar-collapsed .app-sidebar { width: 72px; padding: 12px 10px; }
  body.sidebar-collapsed .app-sidebar .side-label,
  body.sidebar-collapsed .app-sidebar .sidebar-brand-tag,
  body.sidebar-collapsed .app-sidebar .sidebar-brand-full { display: none; }
  body.sidebar-collapsed .app-sidebar .side-btn { justify-content: center; padding: 11px 0; }
  body.sidebar-collapsed .app-sidebar .sidebar-top-row { justify-content: center; }
}

.sidebar-mobile-backdrop { display: none; }
@media (max-width: 960px) {
  .app-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 268px;
    border-radius: 0 22px 22px 0;
    z-index: 88;
    transform: translateX(-108%);
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    padding-top: 18px;
  }
  body.mobile-drawer-open .app-sidebar { transform: translateX(0); }
  body.mobile-drawer-open .sidebar-mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 15, 0.65);
    backdrop-filter: blur(5px);
    z-index: 84;
  }
}

.workspace-main { flex: 1 1 0; min-width: 0; }

/* Order Workspace */
.order-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.85fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 960px) { .order-workspace-grid { grid-template-columns: 1fr; } }

.platform-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 10px;
}
.platform-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 13px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  min-width: 0;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.platform-tile:hover { border-color: var(--violet); transform: translateY(-1px); }
.platform-tile.active {
  background: var(--cta-grad);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.qty-stepper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-glass-strong);
  overflow: hidden;
}
.qty-step-btn {
  width: 44px;
  border: none;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}
.qty-step-btn:hover { color: var(--violet); }
.qty-stepper .input { border: none; border-radius: 0; text-align: center; font-weight: 700; }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
}
.summary-row:last-child { border-bottom: none; }

/* Tables + Mobile Order Cards */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-glass-strong);
}
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { color: var(--text-muted); font-weight: 700; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.04em; background: var(--bg-elevated); }
tr:last-child td { border-bottom: none; }

.desktop-orders-table { display: block; }
.mobile-orders-cards { display: none; }
@media (max-width: 768px) {
  .desktop-orders-table { display: none; }
  .mobile-orders-cards { display: flex; flex-direction: column; gap: 10px; }
}
.order-mobile-card {
  padding: 14px;
  border-radius: 15px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border);
  box-shadow: var(--glass-specular);
}

.analytics-svg { width: 100%; height: auto; display: block; color: var(--text-primary); }

/* Method Selector Grid & Quick Amounts */
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.method-card {
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--bg-glass-strong);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.method-card.active {
  border-color: var(--violet);
  background: var(--bg-soft);
  box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.15);
}

.quick-amt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-amt-pill {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.quick-amt-pill:hover { border-color: var(--violet); transform: translateY(-1px); }
.quick-amt-pill.active {
  background: var(--cta-grad);
  border-color: transparent;
  color: #FFFFFF;
}

.upi-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-glow);
  text-align: center;
}
.upi-qr-svg {
  border-radius: 12px;
  padding: 6px;
  background: #FFFFFF;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
}

/* Timeline & Tickets */
.timeline-list { position: relative; display: flex; flex-direction: column; gap: 12px; padding-left: 22px; }
.timeline-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--violet), var(--cyan), var(--mint));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--border);
}
.timeline-dot { position: absolute; left: -20px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--violet); border: 2px solid var(--bg-canvas); }

.ticket-split-grid { display: grid; grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.35fr); gap: 16px; }
@media (max-width: 820px) { .ticket-split-grid { grid-template-columns: 1fr; } }
.ticket-item-btn {
  width: 100%;
  text-align: left;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-glass-strong);
  color: var(--text-primary);
  cursor: pointer;
  margin-bottom: 8px;
}
.ticket-item-btn.active { border-color: var(--violet); background: var(--bg-soft); }
.chat-bubble { padding: 10px 12px; border-radius: 12px; margin-bottom: 8px; font-size: 0.86rem; }
.chat-bubble.user { background: var(--bg-elevated); border: 1px solid var(--border); }
.chat-bubble.staff { background: rgba(109, 40, 217, 0.1); border: 1px solid rgba(109, 40, 217, 0.3); }

/* ============================================================================
 * Apple Liquid-Glass Floating Mobile Dock + Pop-Up (+ New Order) Center Orb
 * ============================================================================ */
.mobile-bottom-nav { display: none; }
@media (max-width: 768px) {
  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 70;
    height: 60px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 14px 32px rgba(15, 23, 42, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 4px 6px;
  }
  html[data-theme="dark"] .mobile-bottom-nav {
    background: rgba(15, 22, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 16px 36px rgba(2, 6, 18, 0.72);
  }
  .mob-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 5px 2px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.16s ease, color 0.16s ease;
  }
  .mob-nav-btn.active { color: var(--violet); transform: translateY(-1px); }
  html[data-theme="dark"] .mob-nav-btn.active { color: var(--cyan); }

  .mob-plus-fab-slot {
    flex: 0 0 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    height: 100%;
    padding-bottom: 4px;
  }
  .mob-plus-fab {
    position: absolute;
    top: -18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: var(--cta-grad);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(109, 40, 217, 0.45), 0 0 18px rgba(8, 199, 216, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
  }
  .mob-plus-fab:hover, .mob-plus-fab:active { transform: translateY(-3px) scale(1.06); }
  .mob-plus-label { font-size: 0.64rem; font-weight: 700; color: var(--violet); margin-top: 29px; }
  html[data-theme="dark"] .mob-plus-label { color: var(--cyan); }
}

/* Compare Dock & Modals */
.compare-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 69;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-glow);
  box-shadow: var(--glass-specular), 0 14px 36px rgba(2, 5, 14, 0.45);
  border-radius: 16px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 120px);
}
@media (max-width: 768px) {
  .compare-dock {
    left: 10px;
    right: 68px;
    bottom: 14px;
    transform: none;
    max-width: none;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 7px 10px;
  }
  .compare-dock .btn-sm { padding: 6px 8px; font-size: 0.72rem; }
  .compare-dock.with-bottom-nav { left: 10px; right: 10px; bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(6, 10, 22, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-panel {
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24), inset 0 1.5px 0 rgba(255, 255, 255, 0.88), inset 0 -1px 0 rgba(255, 255, 255, 0.24);
  animation: cornerPopIn 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
html[data-theme="dark"] .modal-panel {
  background: rgba(13, 19, 38, 0.64);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Support Circular Mobile FAB + Back-To-Top Button */
.assistant-launcher {
  position: fixed;
  right: 26px;
  bottom: 20px;
  z-index: 72;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.assistant-launcher.has-compare { bottom: 82px; }
@media (max-width: 768px) {
  .assistant-launcher { right: 22px; bottom: 20px; }
  .assistant-launcher.has-compare { bottom: 86px; }
  .assistant-launcher.with-bottom-nav { bottom: calc(106px + env(safe-area-inset-bottom, 0px)); right: 22px; }
  .assistant-launcher.with-bottom-nav.has-compare { bottom: calc(174px + env(safe-area-inset-bottom, 0px)); right: 22px; }
}
.assistant-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  min-height: 48px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.56);
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.92), rgba(8, 199, 216, 0.88));
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(109, 40, 217, 0.36), 0 0 18px rgba(8, 199, 216, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.assistant-pill-btn:hover { transform: translateY(-2px) scale(1.03); }
@media (max-width: 768px) {
  .assistant-pill-btn {
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    border-radius: 50%;
    position: relative;
  }
  .assistant-btn-label { display: none; }
  .assistant-pill-btn .assistant-online-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border: 1.5px solid #0D1220;
  }
}

.back-to-top-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-glass-strong);
  color: var(--text-primary);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--glass-specular), var(--shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.back-to-top-btn.visible { display: inline-flex; }
.back-to-top-btn:hover { transform: translateY(-2px); border-color: var(--cyan); color: var(--cyan); }

.assistant-online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00E2A0;
  animation: pulseDot 2.2s infinite;
}

.assistant-drawer {
  position: fixed;
  right: 16px;
  bottom: 72px;
  width: min(380px, calc(100vw - 24px));
  z-index: 80;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(28px) saturate(210%);
  -webkit-backdrop-filter: blur(28px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.22), inset 0 1.5px 0 rgba(255, 255, 255, 0.88);
  animation: cornerPopIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
html[data-theme="dark"] .assistant-drawer {
  background: rgba(14, 21, 42, 0.58);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
  .assistant-drawer { bottom: 158px; right: 12px; }
}

/* Apple Liquid-Glass Auth Corner Pop-Ups (Alternating Top-Left & Bottom-Right of Sign-In/Sign-Up) */
.auth-card-shell {
  position: relative;
  width: 100%;
  overflow: visible;
}
#auth-corner-host {
  pointer-events: none;
}
.auth-corner-popup {
  position: absolute;
  z-index: 16;
  pointer-events: auto;
  max-width: 248px;
  padding: 7px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(28px) saturate(215%);
  -webkit-backdrop-filter: blur(28px) saturate(215%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12), inset 0 1.5px 0 rgba(255, 255, 255, 0.88), inset 0 -1px 0 rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  line-height: 1.28;
  animation: cornerPopIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}
html[data-theme="dark"] .auth-corner-popup {
  background: rgba(14, 20, 42, 0.46);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.auth-corner-popup.pos-tl {
  top: -14px;
  left: -10px;
}
.auth-corner-popup.pos-br {
  bottom: -14px;
  right: -10px;
}
.proof-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 226, 160, 0.65);
}
.proof-plat-ico { display: inline-flex; flex-shrink: 0; }
.proof-text-col { min-width: 0; flex: 1; }
.proof-line-top { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.7rem; }
.proof-ago { color: var(--text-muted); }
.proof-line-act { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-secondary); font-size: 0.69rem; }
.proof-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1;
  padding: 2px 3px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .auth-corner-popup { max-width: 224px; padding: 6px 8px; }
  .auth-corner-popup.pos-tl { top: -12px; left: 6px; }
  .auth-corner-popup.pos-br { bottom: -12px; right: 6px; }
}

.toast-box {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  width: max-content;
  max-width: min(390px, calc(100vw - 24px));
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px) saturate(185%);
  -webkit-backdrop-filter: blur(20px) saturate(185%);
  border: 1px solid var(--violet);
  color: var(--text-primary);
  box-shadow: var(--glass-specular), var(--shadow-card);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

/* Account Overflow Prevention on Small Mobiles */
.account-id-block, .account-id-block * { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

/* Trust Strip & Footer */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-glass-strong);
  box-shadow: var(--glass-specular);
  margin-bottom: 24px;
}
@media (max-width: 820px) { .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .trust-strip { grid-template-columns: 1fr; } }

.site-footer { border-top: 1px solid var(--border); padding: 34px 0 32px; background: var(--bg-glass-strong); }
@media (max-width: 768px) { .site-footer.with-bottom-nav { padding-bottom: 126px; } }
.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 22px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 0.88rem; margin-bottom: 10px; color: var(--text-primary); }
.footer-col a, .footer-col button.footer-link-btn {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-col a:hover, .footer-col button.footer-link-btn:hover { color: var(--violet); text-decoration: none; }
html[data-theme="dark"] .footer-col a:hover, html[data-theme="dark"] .footer-col button.footer-link-btn:hover { color: var(--cyan); }
