/* tweakzen.com — shared brand layer (same DA, unique signature) */
:root {
  --tz-indigo: #6366f1;
  --tz-emerald: #10b981;
  --tz-violet: #8b5cf6;
  --tz-radius-xl: 1.25rem;
  --tz-radius-2xl: 1.75rem;
}

/* Diagonal mesh overlay — distinct from default grid-only bg */
.tz-mesh::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  background:
    linear-gradient(125deg, transparent 40%, rgba(99, 102, 241, 0.06) 40%, rgba(99, 102, 241, 0.06) 41%, transparent 41%),
    linear-gradient(235deg, transparent 55%, rgba(16, 185, 129, 0.05) 55%, rgba(16, 185, 129, 0.05) 56%, transparent 56%);
}
.dark .tz-mesh::before { opacity: 0.5; }

/* App cards — corner accent + launch pill (not generic download circle) */
.app-card {
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--tz-indigo), var(--tz-emerald));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.app-card:hover::before { opacity: 1; }

.tz-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--tz-indigo), var(--tz-violet));
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.app-card:hover .tz-launch {
  transform: scale(1.06);
  box-shadow: 0 6px 16px -4px rgba(99, 102, 241, 0.45);
}

.tz-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tz-emerald);
  margin-top: 4px;
}

/* Sidebar nav — unique index layout */
.tz-sidebar {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--tz-radius-2xl);
  padding: 1.25rem;
  backdrop-filter: blur(10px);
}
.dark .tz-sidebar {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(51, 65, 85, 0.6);
}
.tz-sidebar-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.dark .tz-sidebar-btn { color: #94a3b8; }
.tz-sidebar-btn:hover,
.tz-sidebar-btn.active {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
}
.dark .tz-sidebar-btn.active { color: #a5b4fc; background: rgba(99, 102, 241, 0.2); }

/* Claim pages — subtle top stripe */
.tz-claim-stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--tz-indigo), var(--tz-emerald), var(--tz-violet));
  border-radius: 999px;
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .app-card::before, .tz-launch { transition: none; }
}
